mrmeval

Fiasco fixed patch fractal codec compressor

Jun 17th, 2019
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 MB | None | 0 0
  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 <[email protected]>."
  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. -
  2804. -_LT_EOF
  2805. - fi ;;
  2806. - esac
  2807. - fi
  2808. - break
  2809. - fi
  2810. - done
  2811. - IFS="$lt_save_ifs"
  2812. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  2813. - ;;
  2814. -esac])
  2815. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2816. -if test -n "$MAGIC_CMD"; then
  2817. - AC_MSG_RESULT($MAGIC_CMD)
  2818. -else
  2819. - AC_MSG_RESULT(no)
  2820. -fi
  2821. -_LT_DECL([], [MAGIC_CMD], [0],
  2822. - [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2823. -])# _LT_PATH_TOOL_PREFIX
  2824. -
  2825. -# Old name:
  2826. -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2827. -dnl aclocal-1.4 backwards compatibility:
  2828. -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2829. -
  2830. -
  2831. -# _LT_PATH_MAGIC
  2832. -# --------------
  2833. -# find a file program which can recognize a shared library
  2834. -m4_defun([_LT_PATH_MAGIC],
  2835. -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2836. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  2837. - if test -n "$ac_tool_prefix"; then
  2838. - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2839. - else
  2840. - MAGIC_CMD=:
  2841. - fi
  2842. -fi
  2843. -])# _LT_PATH_MAGIC
  2844. -
  2845. -
  2846. -# LT_PATH_LD
  2847. -# ----------
  2848. -# find the pathname to the GNU or non-GNU linker
  2849. -AC_DEFUN([LT_PATH_LD],
  2850. -[AC_REQUIRE([AC_PROG_CC])dnl
  2851. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2852. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2853. -m4_require([_LT_DECL_SED])dnl
  2854. -m4_require([_LT_DECL_EGREP])dnl
  2855. -
  2856. -AC_ARG_WITH([gnu-ld],
  2857. - [AS_HELP_STRING([--with-gnu-ld],
  2858. - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2859. - [test "$withval" = no || with_gnu_ld=yes],
  2860. - [with_gnu_ld=no])dnl
  2861. -
  2862. -ac_prog=ld
  2863. -if test "$GCC" = yes; then
  2864. - # Check if gcc -print-prog-name=ld gives a path.
  2865. - AC_MSG_CHECKING([for ld used by $CC])
  2866. - case $host in
  2867. - *-*-mingw*)
  2868. - # gcc leaves a trailing carriage return which upsets mingw
  2869. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  2870. - *)
  2871. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2872. - esac
  2873. - case $ac_prog in
  2874. - # Accept absolute paths.
  2875. - [[\\/]]* | ?:[[\\/]]*)
  2876. - re_direlt='/[[^/]][[^/]]*/\.\./'
  2877. - # Canonicalize the pathname of ld
  2878. - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2879. - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2880. - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2881. - done
  2882. - test -z "$LD" && LD="$ac_prog"
  2883. - ;;
  2884. - "")
  2885. - # If it fails, then pretend we aren't using GCC.
  2886. - ac_prog=ld
  2887. - ;;
  2888. - *)
  2889. - # If it is relative, then search for the first ld in PATH.
  2890. - with_gnu_ld=unknown
  2891. - ;;
  2892. - esac
  2893. -elif test "$with_gnu_ld" = yes; then
  2894. - AC_MSG_CHECKING([for GNU ld])
  2895. -else
  2896. - AC_MSG_CHECKING([for non-GNU ld])
  2897. -fi
  2898. -AC_CACHE_VAL(lt_cv_path_LD,
  2899. -[if test -z "$LD"; then
  2900. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2901. - for ac_dir in $PATH; do
  2902. - IFS="$lt_save_ifs"
  2903. - test -z "$ac_dir" && ac_dir=.
  2904. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  2905. - lt_cv_path_LD="$ac_dir/$ac_prog"
  2906. - # Check to see if the program is GNU ld. I'd rather use --version,
  2907. - # but apparently some variants of GNU ld only accept -v.
  2908. - # Break only if it was the GNU/non-GNU ld that we prefer.
  2909. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  2910. - *GNU* | *'with BFD'*)
  2911. - test "$with_gnu_ld" != no && break
  2912. - ;;
  2913. - *)
  2914. - test "$with_gnu_ld" != yes && break
  2915. - ;;
  2916. - esac
  2917. - fi
  2918. - done
  2919. - IFS="$lt_save_ifs"
  2920. -else
  2921. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2922. -fi])
  2923. -LD="$lt_cv_path_LD"
  2924. -if test -n "$LD"; then
  2925. - AC_MSG_RESULT($LD)
  2926. -else
  2927. - AC_MSG_RESULT(no)
  2928. -fi
  2929. -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2930. -_LT_PATH_LD_GNU
  2931. -AC_SUBST([LD])
  2932. -
  2933. -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2934. -])# LT_PATH_LD
  2935. -
  2936. -# Old names:
  2937. -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  2938. -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  2939. -dnl aclocal-1.4 backwards compatibility:
  2940. -dnl AC_DEFUN([AM_PROG_LD], [])
  2941. -dnl AC_DEFUN([AC_PROG_LD], [])
  2942. -
  2943. -
  2944. -# _LT_PATH_LD_GNU
  2945. -#- --------------
  2946. -m4_defun([_LT_PATH_LD_GNU],
  2947. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2948. -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  2949. -case `$LD -v 2>&1 </dev/null` in
  2950. -*GNU* | *'with BFD'*)
  2951. - lt_cv_prog_gnu_ld=yes
  2952. - ;;
  2953. -*)
  2954. - lt_cv_prog_gnu_ld=no
  2955. - ;;
  2956. -esac])
  2957. -with_gnu_ld=$lt_cv_prog_gnu_ld
  2958. -])# _LT_PATH_LD_GNU
  2959. -
  2960. -
  2961. -# _LT_CMD_RELOAD
  2962. -# --------------
  2963. -# find reload flag for linker
  2964. -# -- PORTME Some linkers may need a different reload flag.
  2965. -m4_defun([_LT_CMD_RELOAD],
  2966. -[AC_CACHE_CHECK([for $LD option to reload object files],
  2967. - lt_cv_ld_reload_flag,
  2968. - [lt_cv_ld_reload_flag='-r'])
  2969. -reload_flag=$lt_cv_ld_reload_flag
  2970. -case $reload_flag in
  2971. -"" | " "*) ;;
  2972. -*) reload_flag=" $reload_flag" ;;
  2973. -esac
  2974. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2975. -case $host_os in
  2976. - darwin*)
  2977. - if test "$GCC" = yes; then
  2978. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  2979. - else
  2980. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2981. - fi
  2982. - ;;
  2983. -esac
  2984. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  2985. -_LT_DECL([], [reload_cmds], [2])dnl
  2986. -])# _LT_CMD_RELOAD
  2987. -
  2988. -
  2989. -# _LT_CHECK_MAGIC_METHOD
  2990. -# ----------------------
  2991. -# how to check for library dependencies
  2992. -# -- PORTME fill in with the dynamic library characteristics
  2993. -m4_defun([_LT_CHECK_MAGIC_METHOD],
  2994. -[m4_require([_LT_DECL_EGREP])
  2995. -m4_require([_LT_DECL_OBJDUMP])
  2996. -AC_CACHE_CHECK([how to recognize dependent libraries],
  2997. -lt_cv_deplibs_check_method,
  2998. -[lt_cv_file_magic_cmd='$MAGIC_CMD'
  2999. -lt_cv_file_magic_test_file=
  3000. -lt_cv_deplibs_check_method='unknown'
  3001. -# Need to set the preceding variable on all platforms that support
  3002. -# interlibrary dependencies.
  3003. -# 'none' -- dependencies not supported.
  3004. -# `unknown' -- same as none, but documents that we really don't know.
  3005. -# 'pass_all' -- all dependencies passed with no checks.
  3006. -# 'test_compile' -- check by making test program.
  3007. -# 'file_magic [[regex]]' -- check by looking for files in library path
  3008. -# which responds to the $file_magic_cmd with a given extended regex.
  3009. -# If you have `file' or equivalent on your system and you're not sure
  3010. -# whether `pass_all' will *always* work, you probably want this one.
  3011. -
  3012. -case $host_os in
  3013. -aix[[4-9]]*)
  3014. - lt_cv_deplibs_check_method=pass_all
  3015. - ;;
  3016. -
  3017. -beos*)
  3018. - lt_cv_deplibs_check_method=pass_all
  3019. - ;;
  3020. -
  3021. -bsdi[[45]]*)
  3022. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  3023. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  3024. - lt_cv_file_magic_test_file=/shlib/libc.so
  3025. - ;;
  3026. -
  3027. -cygwin*)
  3028. - # func_win32_libid is a shell function defined in ltmain.sh
  3029. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3030. - lt_cv_file_magic_cmd='func_win32_libid'
  3031. - ;;
  3032. -
  3033. -mingw* | pw32*)
  3034. - # Base MSYS/MinGW do not provide the 'file' command needed by
  3035. - # func_win32_libid shell function, so use a weaker test based on 'objdump',
  3036. - # unless we find 'file', for example because we are cross-compiling.
  3037. - if ( file / ) >/dev/null 2>&1; then
  3038. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3039. - lt_cv_file_magic_cmd='func_win32_libid'
  3040. - else
  3041. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3042. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  3043. - fi
  3044. - ;;
  3045. -
  3046. -cegcc)
  3047. - # use the weaker test based on 'objdump'. See mingw*.
  3048. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  3049. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  3050. - ;;
  3051. -
  3052. -darwin* | rhapsody*)
  3053. - lt_cv_deplibs_check_method=pass_all
  3054. - ;;
  3055. -
  3056. -freebsd* | dragonfly*)
  3057. - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3058. - case $host_cpu in
  3059. - i*86 )
  3060. - # Not sure whether the presence of OpenBSD here was a mistake.
  3061. - # Let's accept both of them until this is cleared up.
  3062. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  3063. - lt_cv_file_magic_cmd=/usr/bin/file
  3064. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3065. - ;;
  3066. - esac
  3067. - else
  3068. - lt_cv_deplibs_check_method=pass_all
  3069. - fi
  3070. - ;;
  3071. -
  3072. -gnu*)
  3073. - lt_cv_deplibs_check_method=pass_all
  3074. - ;;
  3075. -
  3076. -hpux10.20* | hpux11*)
  3077. - lt_cv_file_magic_cmd=/usr/bin/file
  3078. - case $host_cpu in
  3079. - ia64*)
  3080. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  3081. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3082. - ;;
  3083. - hppa*64*)
  3084. - [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]']
  3085. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3086. - ;;
  3087. - *)
  3088. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  3089. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3090. - ;;
  3091. - esac
  3092. - ;;
  3093. -
  3094. -interix[[3-9]]*)
  3095. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  3096. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  3097. - ;;
  3098. -
  3099. -irix5* | irix6* | nonstopux*)
  3100. - case $LD in
  3101. - *-32|*"-32 ") libmagic=32-bit;;
  3102. - *-n32|*"-n32 ") libmagic=N32;;
  3103. - *-64|*"-64 ") libmagic=64-bit;;
  3104. - *) libmagic=never-match;;
  3105. - esac
  3106. - lt_cv_deplibs_check_method=pass_all
  3107. - ;;
  3108. -
  3109. -# This must be Linux ELF.
  3110. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3111. - lt_cv_deplibs_check_method=pass_all
  3112. - ;;
  3113. -
  3114. -netbsd* | netbsdelf*-gnu)
  3115. - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3116. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3117. - else
  3118. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3119. - fi
  3120. - ;;
  3121. -
  3122. -newos6*)
  3123. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  3124. - lt_cv_file_magic_cmd=/usr/bin/file
  3125. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3126. - ;;
  3127. -
  3128. -*nto* | *qnx*)
  3129. - lt_cv_deplibs_check_method=pass_all
  3130. - ;;
  3131. -
  3132. -openbsd*)
  3133. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3134. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  3135. - else
  3136. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3137. - fi
  3138. - ;;
  3139. -
  3140. -osf3* | osf4* | osf5*)
  3141. - lt_cv_deplibs_check_method=pass_all
  3142. - ;;
  3143. -
  3144. -rdos*)
  3145. - lt_cv_deplibs_check_method=pass_all
  3146. - ;;
  3147. -
  3148. -solaris*)
  3149. - lt_cv_deplibs_check_method=pass_all
  3150. - ;;
  3151. -
  3152. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3153. - lt_cv_deplibs_check_method=pass_all
  3154. - ;;
  3155. -
  3156. -sysv4 | sysv4.3*)
  3157. - case $host_vendor in
  3158. - motorola)
  3159. - 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]]'
  3160. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3161. - ;;
  3162. - ncr)
  3163. - lt_cv_deplibs_check_method=pass_all
  3164. - ;;
  3165. - sequent)
  3166. - lt_cv_file_magic_cmd='/bin/file'
  3167. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  3168. - ;;
  3169. - sni)
  3170. - lt_cv_file_magic_cmd='/bin/file'
  3171. - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  3172. - lt_cv_file_magic_test_file=/lib/libc.so
  3173. - ;;
  3174. - siemens)
  3175. - lt_cv_deplibs_check_method=pass_all
  3176. - ;;
  3177. - pc)
  3178. - lt_cv_deplibs_check_method=pass_all
  3179. - ;;
  3180. - esac
  3181. - ;;
  3182. -
  3183. -tpf*)
  3184. - lt_cv_deplibs_check_method=pass_all
  3185. - ;;
  3186. -esac
  3187. -])
  3188. -file_magic_cmd=$lt_cv_file_magic_cmd
  3189. -deplibs_check_method=$lt_cv_deplibs_check_method
  3190. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3191. -
  3192. -_LT_DECL([], [deplibs_check_method], [1],
  3193. - [Method to check whether dependent libraries are shared objects])
  3194. -_LT_DECL([], [file_magic_cmd], [1],
  3195. - [Command to use when deplibs_check_method == "file_magic"])
  3196. -])# _LT_CHECK_MAGIC_METHOD
  3197. -
  3198. -
  3199. -# LT_PATH_NM
  3200. -# ----------
  3201. -# find the pathname to a BSD- or MS-compatible name lister
  3202. -AC_DEFUN([LT_PATH_NM],
  3203. -[AC_REQUIRE([AC_PROG_CC])dnl
  3204. -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  3205. -[if test -n "$NM"; then
  3206. - # Let the user override the test.
  3207. - lt_cv_path_NM="$NM"
  3208. -else
  3209. - lt_nm_to_check="${ac_tool_prefix}nm"
  3210. - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3211. - lt_nm_to_check="$lt_nm_to_check nm"
  3212. - fi
  3213. - for lt_tmp_nm in $lt_nm_to_check; do
  3214. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3215. - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3216. - IFS="$lt_save_ifs"
  3217. - test -z "$ac_dir" && ac_dir=.
  3218. - tmp_nm="$ac_dir/$lt_tmp_nm"
  3219. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3220. - # Check to see if the nm accepts a BSD-compat flag.
  3221. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3222. - # nm: unknown option "B" ignored
  3223. - # Tru64's nm complains that /dev/null is an invalid object file
  3224. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3225. - */dev/null* | *'Invalid file or object type'*)
  3226. - lt_cv_path_NM="$tmp_nm -B"
  3227. - break
  3228. - ;;
  3229. - *)
  3230. - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3231. - */dev/null*)
  3232. - lt_cv_path_NM="$tmp_nm -p"
  3233. - break
  3234. - ;;
  3235. - *)
  3236. - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3237. - continue # so that we can try to find one that supports BSD flags
  3238. - ;;
  3239. - esac
  3240. - ;;
  3241. - esac
  3242. - fi
  3243. - done
  3244. - IFS="$lt_save_ifs"
  3245. - done
  3246. - : ${lt_cv_path_NM=no}
  3247. -fi])
  3248. -if test "$lt_cv_path_NM" != "no"; then
  3249. - NM="$lt_cv_path_NM"
  3250. -else
  3251. - # Didn't find any BSD compatible name lister, look for dumpbin.
  3252. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  3253. - AC_SUBST([DUMPBIN])
  3254. - if test "$DUMPBIN" != ":"; then
  3255. - NM="$DUMPBIN"
  3256. - fi
  3257. -fi
  3258. -test -z "$NM" && NM=nm
  3259. -AC_SUBST([NM])
  3260. -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  3261. -
  3262. -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  3263. - [lt_cv_nm_interface="BSD nm"
  3264. - echo "int some_variable = 0;" > conftest.$ac_ext
  3265. - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  3266. - (eval "$ac_compile" 2>conftest.err)
  3267. - cat conftest.err >&AS_MESSAGE_LOG_FD
  3268. - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  3269. - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3270. - cat conftest.err >&AS_MESSAGE_LOG_FD
  3271. - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  3272. - cat conftest.out >&AS_MESSAGE_LOG_FD
  3273. - if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3274. - lt_cv_nm_interface="MS dumpbin"
  3275. - fi
  3276. - rm -f conftest*])
  3277. -])# LT_PATH_NM
  3278. -
  3279. -# Old names:
  3280. -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  3281. -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  3282. -dnl aclocal-1.4 backwards compatibility:
  3283. -dnl AC_DEFUN([AM_PROG_NM], [])
  3284. -dnl AC_DEFUN([AC_PROG_NM], [])
  3285. -
  3286. -
  3287. -# LT_LIB_M
  3288. -# --------
  3289. -# check for math library
  3290. -AC_DEFUN([LT_LIB_M],
  3291. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3292. -LIBM=
  3293. -case $host in
  3294. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  3295. - # These system don't have libm, or don't need it
  3296. - ;;
  3297. -*-ncr-sysv4.3*)
  3298. - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  3299. - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  3300. - ;;
  3301. -*)
  3302. - AC_CHECK_LIB(m, cos, LIBM="-lm")
  3303. - ;;
  3304. -esac
  3305. -AC_SUBST([LIBM])
  3306. -])# LT_LIB_M
  3307. -
  3308. -# Old name:
  3309. -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  3310. -dnl aclocal-1.4 backwards compatibility:
  3311. -dnl AC_DEFUN([AC_CHECK_LIBM], [])
  3312. -
  3313. -
  3314. -# _LT_COMPILER_NO_RTTI([TAGNAME])
  3315. -# -------------------------------
  3316. -m4_defun([_LT_COMPILER_NO_RTTI],
  3317. -[m4_require([_LT_TAG_COMPILER])dnl
  3318. -
  3319. -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3320. -
  3321. -if test "$GCC" = yes; then
  3322. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3323. -
  3324. - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3325. - lt_cv_prog_compiler_rtti_exceptions,
  3326. - [-fno-rtti -fno-exceptions], [],
  3327. - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3328. -fi
  3329. -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  3330. - [Compiler flag to turn off builtin functions])
  3331. -])# _LT_COMPILER_NO_RTTI
  3332. -
  3333. -
  3334. -# _LT_CMD_GLOBAL_SYMBOLS
  3335. -# ----------------------
  3336. -m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  3337. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3338. -AC_REQUIRE([AC_PROG_CC])dnl
  3339. -AC_REQUIRE([LT_PATH_NM])dnl
  3340. -AC_REQUIRE([LT_PATH_LD])dnl
  3341. -m4_require([_LT_DECL_SED])dnl
  3342. -m4_require([_LT_DECL_EGREP])dnl
  3343. -m4_require([_LT_TAG_COMPILER])dnl
  3344. -
  3345. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  3346. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3347. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3348. -[
  3349. -# These are sane defaults that work on at least a few old systems.
  3350. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  3351. -
  3352. -# Character class describing NM global symbol codes.
  3353. -symcode='[[BCDEGRST]]'
  3354. -
  3355. -# Regexp to match symbols that can be accessed directly from C.
  3356. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3357. -
  3358. -# Define system-specific variables.
  3359. -case $host_os in
  3360. -aix*)
  3361. - symcode='[[BCDT]]'
  3362. - ;;
  3363. -cygwin* | mingw* | pw32* | cegcc*)
  3364. - symcode='[[ABCDGISTW]]'
  3365. - ;;
  3366. -hpux*)
  3367. - if test "$host_cpu" = ia64; then
  3368. - symcode='[[ABCDEGRST]]'
  3369. - fi
  3370. - ;;
  3371. -irix* | nonstopux*)
  3372. - symcode='[[BCDEGRST]]'
  3373. - ;;
  3374. -osf*)
  3375. - symcode='[[BCDEGQRST]]'
  3376. - ;;
  3377. -solaris*)
  3378. - symcode='[[BDRT]]'
  3379. - ;;
  3380. -sco3.2v5*)
  3381. - symcode='[[DT]]'
  3382. - ;;
  3383. -sysv4.2uw2*)
  3384. - symcode='[[DT]]'
  3385. - ;;
  3386. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  3387. - symcode='[[ABDT]]'
  3388. - ;;
  3389. -sysv4)
  3390. - symcode='[[DFNSTU]]'
  3391. - ;;
  3392. -esac
  3393. -
  3394. -# If we're using GNU nm, then use its standard symbol codes.
  3395. -case `$NM -V 2>&1` in
  3396. -*GNU* | *'with BFD'*)
  3397. - symcode='[[ABCDGIRSTW]]' ;;
  3398. -esac
  3399. -
  3400. -# Transform an extracted symbol line into a proper C declaration.
  3401. -# Some systems (esp. on ia64) link data and code symbols differently,
  3402. -# so use this general approach.
  3403. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3404. -
  3405. -# Transform an extracted symbol line into symbol name and symbol address
  3406. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  3407. -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'"
  3408. -
  3409. -# Handle CRLF in mingw tool chain
  3410. -opt_cr=
  3411. -case $build_os in
  3412. -mingw*)
  3413. - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3414. - ;;
  3415. -esac
  3416. -
  3417. -# Try without a prefix underscore, then with it.
  3418. -for ac_symprfx in "" "_"; do
  3419. -
  3420. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  3421. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  3422. -
  3423. - # Write the raw and C identifiers.
  3424. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  3425. - # Fake it for dumpbin and say T for any non-static function
  3426. - # and D for any global variable.
  3427. - # Also find C++ and __fastcall symbols from MSVC++,
  3428. - # which start with @ or ?.
  3429. - lt_cv_sys_global_symbol_pipe="$AWK ['"\
  3430. -" {last_section=section; section=\$ 3};"\
  3431. -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  3432. -" \$ 0!~/External *\|/{next};"\
  3433. -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  3434. -" {if(hide[section]) next};"\
  3435. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  3436. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  3437. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  3438. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  3439. -" ' prfx=^$ac_symprfx]"
  3440. - else
  3441. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  3442. - fi
  3443. -
  3444. - # Check to see that the pipe works correctly.
  3445. - pipe_works=no
  3446. -
  3447. - rm -f conftest*
  3448. - cat > conftest.$ac_ext <<_LT_EOF
  3449. -#ifdef __cplusplus
  3450. -extern "C" {
  3451. -#endif
  3452. -char nm_test_var;
  3453. -void nm_test_func(void);
  3454. -void nm_test_func(void){}
  3455. -#ifdef __cplusplus
  3456. -}
  3457. -#endif
  3458. -int main(){nm_test_var='a';nm_test_func();return(0);}
  3459. -_LT_EOF
  3460. -
  3461. - if AC_TRY_EVAL(ac_compile); then
  3462. - # Now try to grab the symbols.
  3463. - nlist=conftest.nm
  3464. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3465. - # Try sorting and uniquifying the output.
  3466. - if sort "$nlist" | uniq > "$nlist"T; then
  3467. - mv -f "$nlist"T "$nlist"
  3468. - else
  3469. - rm -f "$nlist"T
  3470. - fi
  3471. -
  3472. - # Make sure that we snagged all the symbols we need.
  3473. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  3474. - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  3475. - cat <<_LT_EOF > conftest.$ac_ext
  3476. -#ifdef __cplusplus
  3477. -extern "C" {
  3478. -#endif
  3479. -
  3480. -_LT_EOF
  3481. - # Now generate the symbol file.
  3482. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  3483. -
  3484. - cat <<_LT_EOF >> conftest.$ac_ext
  3485. -
  3486. -/* The mapping between symbol names and symbols. */
  3487. -const struct {
  3488. - const char *name;
  3489. - void *address;
  3490. -}
  3491. -lt__PROGRAM__LTX_preloaded_symbols[[]] =
  3492. -{
  3493. - { "@PROGRAM@", (void *) 0 },
  3494. -_LT_EOF
  3495. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  3496. - cat <<\_LT_EOF >> conftest.$ac_ext
  3497. - {0, (void *) 0}
  3498. -};
  3499. -
  3500. -/* This works around a problem in FreeBSD linker */
  3501. -#ifdef FREEBSD_WORKAROUND
  3502. -static const void *lt_preloaded_setup() {
  3503. - return lt__PROGRAM__LTX_preloaded_symbols;
  3504. -}
  3505. -#endif
  3506. -
  3507. -#ifdef __cplusplus
  3508. -}
  3509. -#endif
  3510. -_LT_EOF
  3511. - # Now try linking the two files.
  3512. - mv conftest.$ac_objext conftstm.$ac_objext
  3513. - lt_save_LIBS="$LIBS"
  3514. - lt_save_CFLAGS="$CFLAGS"
  3515. - LIBS="conftstm.$ac_objext"
  3516. - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3517. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3518. - pipe_works=yes
  3519. - fi
  3520. - LIBS="$lt_save_LIBS"
  3521. - CFLAGS="$lt_save_CFLAGS"
  3522. - else
  3523. - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3524. - fi
  3525. - else
  3526. - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3527. - fi
  3528. - else
  3529. - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3530. - fi
  3531. - else
  3532. - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3533. - cat conftest.$ac_ext >&5
  3534. - fi
  3535. - rm -rf conftest* conftst*
  3536. -
  3537. - # Do not use the global_symbol_pipe unless it works.
  3538. - if test "$pipe_works" = yes; then
  3539. - break
  3540. - else
  3541. - lt_cv_sys_global_symbol_pipe=
  3542. - fi
  3543. -done
  3544. -])
  3545. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3546. - lt_cv_sys_global_symbol_to_cdecl=
  3547. -fi
  3548. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3549. - AC_MSG_RESULT(failed)
  3550. -else
  3551. - AC_MSG_RESULT(ok)
  3552. -fi
  3553. -
  3554. -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  3555. - [Take the output of nm and produce a listing of raw symbols and C names])
  3556. -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  3557. - [Transform the output of nm in a proper C declaration])
  3558. -_LT_DECL([global_symbol_to_c_name_address],
  3559. - [lt_cv_sys_global_symbol_to_c_name_address], [1],
  3560. - [Transform the output of nm in a C name address pair])
  3561. -_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  3562. - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  3563. - [Transform the output of nm in a C name address pair when lib prefix is needed])
  3564. -]) # _LT_CMD_GLOBAL_SYMBOLS
  3565. -
  3566. -
  3567. -# _LT_COMPILER_PIC([TAGNAME])
  3568. -# ---------------------------
  3569. -m4_defun([_LT_COMPILER_PIC],
  3570. -[m4_require([_LT_TAG_COMPILER])dnl
  3571. -_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  3572. -_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3573. -_LT_TAGVAR(lt_prog_compiler_static, $1)=
  3574. -
  3575. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  3576. -m4_if([$1], [CXX], [
  3577. - # C++ specific cases for pic, static, wl, etc.
  3578. - if test "$GXX" = yes; then
  3579. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3580. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3581. -
  3582. - case $host_os in
  3583. - aix*)
  3584. - # All AIX code is PIC.
  3585. - if test "$host_cpu" = ia64; then
  3586. - # AIX 5 now supports IA64 processor
  3587. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3588. - fi
  3589. - ;;
  3590. -
  3591. - amigaos*)
  3592. - case $host_cpu in
  3593. - powerpc)
  3594. - # see comment about AmigaOS4 .so support
  3595. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3596. - ;;
  3597. - m68k)
  3598. - # FIXME: we need at least 68020 code to build shared libraries, but
  3599. - # adding the `-m68020' flag to GCC prevents building anything better,
  3600. - # like `-m68040'.
  3601. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3602. - ;;
  3603. - esac
  3604. - ;;
  3605. -
  3606. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3607. - # PIC is the default for these OSes.
  3608. - ;;
  3609. - mingw* | cygwin* | os2* | pw32* | cegcc*)
  3610. - # This hack is so that the source file can tell whether it is being
  3611. - # built for inclusion in a dll (and should export symbols for example).
  3612. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3613. - # (--disable-auto-import) libraries
  3614. - m4_if([$1], [GCJ], [],
  3615. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3616. - ;;
  3617. - darwin* | rhapsody*)
  3618. - # PIC is the default on this platform
  3619. - # Common symbols not allowed in MH_DYLIB files
  3620. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3621. - ;;
  3622. - *djgpp*)
  3623. - # DJGPP does not support shared libraries at all
  3624. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3625. - ;;
  3626. - interix[[3-9]]*)
  3627. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3628. - # Instead, we relocate shared libraries at runtime.
  3629. - ;;
  3630. - sysv4*MP*)
  3631. - if test -d /usr/nec; then
  3632. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3633. - fi
  3634. - ;;
  3635. - hpux*)
  3636. - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3637. - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3638. - # sets the default TLS model and affects inlining.
  3639. - case $host_cpu in
  3640. - hppa*64*)
  3641. - ;;
  3642. - *)
  3643. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3644. - ;;
  3645. - esac
  3646. - ;;
  3647. - *qnx* | *nto*)
  3648. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3649. - # it will coredump.
  3650. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3651. - ;;
  3652. - *)
  3653. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3654. - ;;
  3655. - esac
  3656. - else
  3657. - case $host_os in
  3658. - aix[[4-9]]*)
  3659. - # All AIX code is PIC.
  3660. - if test "$host_cpu" = ia64; then
  3661. - # AIX 5 now supports IA64 processor
  3662. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3663. - else
  3664. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3665. - fi
  3666. - ;;
  3667. - chorus*)
  3668. - case $cc_basename in
  3669. - cxch68*)
  3670. - # Green Hills C++ Compiler
  3671. - # _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"
  3672. - ;;
  3673. - esac
  3674. - ;;
  3675. - dgux*)
  3676. - case $cc_basename in
  3677. - ec++*)
  3678. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3679. - ;;
  3680. - ghcx*)
  3681. - # Green Hills C++ Compiler
  3682. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3683. - ;;
  3684. - *)
  3685. - ;;
  3686. - esac
  3687. - ;;
  3688. - freebsd* | dragonfly*)
  3689. - # FreeBSD uses GNU C++
  3690. - ;;
  3691. - hpux9* | hpux10* | hpux11*)
  3692. - case $cc_basename in
  3693. - CC*)
  3694. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3695. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3696. - if test "$host_cpu" != ia64; then
  3697. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3698. - fi
  3699. - ;;
  3700. - aCC*)
  3701. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3702. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3703. - case $host_cpu in
  3704. - hppa*64*|ia64*)
  3705. - # +Z the default
  3706. - ;;
  3707. - *)
  3708. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3709. - ;;
  3710. - esac
  3711. - ;;
  3712. - *)
  3713. - ;;
  3714. - esac
  3715. - ;;
  3716. - interix*)
  3717. - # This is c89, which is MS Visual C++ (no shared libs)
  3718. - # Anyone wants to do a port?
  3719. - ;;
  3720. - irix5* | irix6* | nonstopux*)
  3721. - case $cc_basename in
  3722. - CC*)
  3723. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3724. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3725. - # CC pic flag -KPIC is the default.
  3726. - ;;
  3727. - *)
  3728. - ;;
  3729. - esac
  3730. - ;;
  3731. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3732. - case $cc_basename in
  3733. - KCC*)
  3734. - # KAI C++ Compiler
  3735. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3736. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3737. - ;;
  3738. - ecpc* )
  3739. - # old Intel C++ for x86_64 which still supported -KPIC.
  3740. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3741. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3742. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3743. - ;;
  3744. - icpc* )
  3745. - # Intel C++, used to be incompatible with GCC.
  3746. - # ICC 10 doesn't accept -KPIC any more.
  3747. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3748. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3749. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3750. - ;;
  3751. - pgCC* | pgcpp*)
  3752. - # Portland Group C++ compiler
  3753. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3754. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  3755. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3756. - ;;
  3757. - cxx*)
  3758. - # Compaq C++
  3759. - # Make sure the PIC flag is empty. It appears that all Alpha
  3760. - # Linux and Compaq Tru64 Unix objects are PIC.
  3761. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3762. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3763. - ;;
  3764. - xlc* | xlC*)
  3765. - # IBM XL 8.0 on PPC
  3766. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3767. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  3768. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  3769. - ;;
  3770. - *)
  3771. - case `$CC -V 2>&1 | sed 5q` in
  3772. - *Sun\ C*)
  3773. - # Sun C++ 5.9
  3774. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3775. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3776. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3777. - ;;
  3778. - esac
  3779. - ;;
  3780. - esac
  3781. - ;;
  3782. - lynxos*)
  3783. - ;;
  3784. - m88k*)
  3785. - ;;
  3786. - mvs*)
  3787. - case $cc_basename in
  3788. - cxx*)
  3789. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  3790. - ;;
  3791. - *)
  3792. - ;;
  3793. - esac
  3794. - ;;
  3795. - netbsd* | netbsdelf*-gnu)
  3796. - ;;
  3797. - *qnx* | *nto*)
  3798. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3799. - # it will coredump.
  3800. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3801. - ;;
  3802. - osf3* | osf4* | osf5*)
  3803. - case $cc_basename in
  3804. - KCC*)
  3805. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3806. - ;;
  3807. - RCC*)
  3808. - # Rational C++ 2.4.1
  3809. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3810. - ;;
  3811. - cxx*)
  3812. - # Digital/Compaq C++
  3813. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3814. - # Make sure the PIC flag is empty. It appears that all Alpha
  3815. - # Linux and Compaq Tru64 Unix objects are PIC.
  3816. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3817. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3818. - ;;
  3819. - *)
  3820. - ;;
  3821. - esac
  3822. - ;;
  3823. - psos*)
  3824. - ;;
  3825. - solaris*)
  3826. - case $cc_basename in
  3827. - CC*)
  3828. - # Sun C++ 4.2, 5.x and Centerline C++
  3829. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3830. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3831. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3832. - ;;
  3833. - gcx*)
  3834. - # Green Hills C++ Compiler
  3835. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  3836. - ;;
  3837. - *)
  3838. - ;;
  3839. - esac
  3840. - ;;
  3841. - sunos4*)
  3842. - case $cc_basename in
  3843. - CC*)
  3844. - # Sun C++ 4.x
  3845. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3846. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3847. - ;;
  3848. - lcc*)
  3849. - # Lucid
  3850. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3851. - ;;
  3852. - *)
  3853. - ;;
  3854. - esac
  3855. - ;;
  3856. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  3857. - case $cc_basename in
  3858. - CC*)
  3859. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3860. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3861. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3862. - ;;
  3863. - esac
  3864. - ;;
  3865. - tandem*)
  3866. - case $cc_basename in
  3867. - NCC*)
  3868. - # NonStop-UX NCC 3.20
  3869. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3870. - ;;
  3871. - *)
  3872. - ;;
  3873. - esac
  3874. - ;;
  3875. - vxworks*)
  3876. - ;;
  3877. - *)
  3878. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3879. - ;;
  3880. - esac
  3881. - fi
  3882. -],
  3883. -[
  3884. - if test "$GCC" = yes; then
  3885. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3886. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3887. -
  3888. - case $host_os in
  3889. - aix*)
  3890. - # All AIX code is PIC.
  3891. - if test "$host_cpu" = ia64; then
  3892. - # AIX 5 now supports IA64 processor
  3893. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3894. - fi
  3895. - ;;
  3896. -
  3897. - amigaos*)
  3898. - case $host_cpu in
  3899. - powerpc)
  3900. - # see comment about AmigaOS4 .so support
  3901. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3902. - ;;
  3903. - m68k)
  3904. - # FIXME: we need at least 68020 code to build shared libraries, but
  3905. - # adding the `-m68020' flag to GCC prevents building anything better,
  3906. - # like `-m68040'.
  3907. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3908. - ;;
  3909. - esac
  3910. - ;;
  3911. -
  3912. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3913. - # PIC is the default for these OSes.
  3914. - ;;
  3915. -
  3916. - mingw* | cygwin* | pw32* | os2* | cegcc*)
  3917. - # This hack is so that the source file can tell whether it is being
  3918. - # built for inclusion in a dll (and should export symbols for example).
  3919. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3920. - # (--disable-auto-import) libraries
  3921. - m4_if([$1], [GCJ], [],
  3922. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3923. - ;;
  3924. -
  3925. - darwin* | rhapsody*)
  3926. - # PIC is the default on this platform
  3927. - # Common symbols not allowed in MH_DYLIB files
  3928. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3929. - ;;
  3930. -
  3931. - hpux*)
  3932. - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3933. - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3934. - # sets the default TLS model and affects inlining.
  3935. - case $host_cpu in
  3936. - hppa*64*)
  3937. - # +Z the default
  3938. - ;;
  3939. - *)
  3940. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3941. - ;;
  3942. - esac
  3943. - ;;
  3944. -
  3945. - interix[[3-9]]*)
  3946. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3947. - # Instead, we relocate shared libraries at runtime.
  3948. - ;;
  3949. -
  3950. - msdosdjgpp*)
  3951. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  3952. - # on systems that don't support them.
  3953. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3954. - enable_shared=no
  3955. - ;;
  3956. -
  3957. - *nto* | *qnx*)
  3958. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3959. - # it will coredump.
  3960. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3961. - ;;
  3962. -
  3963. - sysv4*MP*)
  3964. - if test -d /usr/nec; then
  3965. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3966. - fi
  3967. - ;;
  3968. -
  3969. - *)
  3970. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3971. - ;;
  3972. - esac
  3973. - else
  3974. - # PORTME Check for flag to pass linker flags through the system compiler.
  3975. - case $host_os in
  3976. - aix*)
  3977. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3978. - if test "$host_cpu" = ia64; then
  3979. - # AIX 5 now supports IA64 processor
  3980. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3981. - else
  3982. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3983. - fi
  3984. - ;;
  3985. -
  3986. - mingw* | cygwin* | pw32* | os2* | cegcc*)
  3987. - # This hack is so that the source file can tell whether it is being
  3988. - # built for inclusion in a dll (and should export symbols for example).
  3989. - m4_if([$1], [GCJ], [],
  3990. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3991. - ;;
  3992. -
  3993. - hpux9* | hpux10* | hpux11*)
  3994. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3995. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3996. - # not for PA HP-UX.
  3997. - case $host_cpu in
  3998. - hppa*64*|ia64*)
  3999. - # +Z the default
  4000. - ;;
  4001. - *)
  4002. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4003. - ;;
  4004. - esac
  4005. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  4006. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4007. - ;;
  4008. -
  4009. - irix5* | irix6* | nonstopux*)
  4010. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4011. - # PIC (with -KPIC) is the default.
  4012. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4013. - ;;
  4014. -
  4015. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4016. - case $cc_basename in
  4017. - # old Intel for x86_64 which still supported -KPIC.
  4018. - ecc*)
  4019. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4020. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4021. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4022. - ;;
  4023. - # icc used to be incompatible with GCC.
  4024. - # ICC 10 doesn't accept -KPIC any more.
  4025. - icc* | ifort*)
  4026. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4027. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4028. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4029. - ;;
  4030. - # Lahey Fortran 8.1.
  4031. - lf95*)
  4032. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4033. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  4034. - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  4035. - ;;
  4036. - pgcc* | pgf77* | pgf90* | pgf95*)
  4037. - # Portland Group compilers (*not* the Pentium gcc compiler,
  4038. - # which looks to be a dead project)
  4039. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4040. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4041. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4042. - ;;
  4043. - ccc*)
  4044. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4045. - # All Alpha code is PIC.
  4046. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4047. - ;;
  4048. - xl*)
  4049. - # IBM XL C 8.0/Fortran 10.1 on PPC
  4050. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4051. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  4052. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  4053. - ;;
  4054. - *)
  4055. - case `$CC -V 2>&1 | sed 5q` in
  4056. - *Sun\ C*)
  4057. - # Sun C 5.9
  4058. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4059. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4060. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4061. - ;;
  4062. - *Sun\ F*)
  4063. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  4064. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4065. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4066. - _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  4067. - ;;
  4068. - esac
  4069. - ;;
  4070. - esac
  4071. - ;;
  4072. -
  4073. - newsos6)
  4074. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4075. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4076. - ;;
  4077. -
  4078. - *nto* | *qnx*)
  4079. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  4080. - # it will coredump.
  4081. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4082. - ;;
  4083. -
  4084. - osf3* | osf4* | osf5*)
  4085. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4086. - # All OSF/1 code is PIC.
  4087. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4088. - ;;
  4089. -
  4090. - rdos*)
  4091. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4092. - ;;
  4093. -
  4094. - solaris*)
  4095. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4096. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4097. - case $cc_basename in
  4098. - f77* | f90* | f95*)
  4099. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  4100. - *)
  4101. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  4102. - esac
  4103. - ;;
  4104. -
  4105. - sunos4*)
  4106. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4107. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  4108. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4109. - ;;
  4110. -
  4111. - sysv4 | sysv4.2uw2* | sysv4.3*)
  4112. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4113. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4114. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4115. - ;;
  4116. -
  4117. - sysv4*MP*)
  4118. - if test -d /usr/nec ;then
  4119. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  4120. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4121. - fi
  4122. - ;;
  4123. -
  4124. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  4125. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4126. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4127. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4128. - ;;
  4129. -
  4130. - unicos*)
  4131. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4132. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4133. - ;;
  4134. -
  4135. - uts4*)
  4136. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4137. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4138. - ;;
  4139. -
  4140. - *)
  4141. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4142. - ;;
  4143. - esac
  4144. - fi
  4145. -])
  4146. -case $host_os in
  4147. - # For platforms which do not support PIC, -DPIC is meaningless:
  4148. - *djgpp*)
  4149. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4150. - ;;
  4151. - *)
  4152. - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  4153. - ;;
  4154. -esac
  4155. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  4156. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  4157. - [How to pass a linker flag through the compiler])
  4158. -
  4159. -#
  4160. -# Check to make sure the PIC flag actually works.
  4161. -#
  4162. -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  4163. - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  4164. - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  4165. - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  4166. - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  4167. - "" | " "*) ;;
  4168. - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  4169. - esac],
  4170. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4171. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  4172. -fi
  4173. -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  4174. - [Additional compiler flags for building library objects])
  4175. -
  4176. -#
  4177. -# Check to make sure the static flag actually works.
  4178. -#
  4179. -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  4180. -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  4181. - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  4182. - $lt_tmp_static_flag,
  4183. - [],
  4184. - [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  4185. -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  4186. - [Compiler flag to prevent dynamic linking])
  4187. -])# _LT_COMPILER_PIC
  4188. -
  4189. -
  4190. -# _LT_LINKER_SHLIBS([TAGNAME])
  4191. -# ----------------------------
  4192. -# See if the linker supports building shared libraries.
  4193. -m4_defun([_LT_LINKER_SHLIBS],
  4194. -[AC_REQUIRE([LT_PATH_LD])dnl
  4195. -AC_REQUIRE([LT_PATH_NM])dnl
  4196. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  4197. -m4_require([_LT_DECL_EGREP])dnl
  4198. -m4_require([_LT_DECL_SED])dnl
  4199. -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  4200. -m4_require([_LT_TAG_COMPILER])dnl
  4201. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  4202. -m4_if([$1], [CXX], [
  4203. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4204. - case $host_os in
  4205. - aix[[4-9]]*)
  4206. - # If we're using GNU nm, then we don't want the "-C" option.
  4207. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4208. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4209. - _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'
  4210. - else
  4211. - _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'
  4212. - fi
  4213. - ;;
  4214. - pw32*)
  4215. - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  4216. - ;;
  4217. - cygwin* | mingw* | cegcc*)
  4218. - _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'
  4219. - ;;
  4220. - linux* | k*bsd*-gnu)
  4221. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4222. - ;;
  4223. - *)
  4224. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4225. - ;;
  4226. - esac
  4227. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4228. -], [
  4229. - runpath_var=
  4230. - _LT_TAGVAR(allow_undefined_flag, $1)=
  4231. - _LT_TAGVAR(always_export_symbols, $1)=no
  4232. - _LT_TAGVAR(archive_cmds, $1)=
  4233. - _LT_TAGVAR(archive_expsym_cmds, $1)=
  4234. - _LT_TAGVAR(compiler_needs_object, $1)=no
  4235. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  4236. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4237. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4238. - _LT_TAGVAR(hardcode_automatic, $1)=no
  4239. - _LT_TAGVAR(hardcode_direct, $1)=no
  4240. - _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  4241. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4242. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  4243. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4244. - _LT_TAGVAR(hardcode_minus_L, $1)=no
  4245. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  4246. - _LT_TAGVAR(inherit_rpath, $1)=no
  4247. - _LT_TAGVAR(link_all_deplibs, $1)=unknown
  4248. - _LT_TAGVAR(module_cmds, $1)=
  4249. - _LT_TAGVAR(module_expsym_cmds, $1)=
  4250. - _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  4251. - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  4252. - _LT_TAGVAR(thread_safe_flag_spec, $1)=
  4253. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4254. - # include_expsyms should be a list of space-separated symbols to be *always*
  4255. - # included in the symbol list
  4256. - _LT_TAGVAR(include_expsyms, $1)=
  4257. - # exclude_expsyms can be an extended regexp of symbols to exclude
  4258. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  4259. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  4260. - # as well as any symbol that contains `d'.
  4261. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4262. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  4263. - # platforms (ab)use it in PIC code, but their linkers get confused if
  4264. - # the symbol is explicitly referenced. Since portable code cannot
  4265. - # rely on this symbol name, it's probably fine to never include it in
  4266. - # preloaded symbol tables.
  4267. - # Exclude shared library initialization/finalization symbols.
  4268. -dnl Note also adjust exclude_expsyms for C++ above.
  4269. - extract_expsyms_cmds=
  4270. -
  4271. - case $host_os in
  4272. - cygwin* | mingw* | pw32* | cegcc*)
  4273. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  4274. - # When not using gcc, we currently assume that we are using
  4275. - # Microsoft Visual C++.
  4276. - if test "$GCC" != yes; then
  4277. - with_gnu_ld=no
  4278. - fi
  4279. - ;;
  4280. - interix*)
  4281. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  4282. - with_gnu_ld=yes
  4283. - ;;
  4284. - openbsd*)
  4285. - with_gnu_ld=no
  4286. - ;;
  4287. - linux* | k*bsd*-gnu)
  4288. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4289. - ;;
  4290. - esac
  4291. -
  4292. - _LT_TAGVAR(ld_shlibs, $1)=yes
  4293. - if test "$with_gnu_ld" = yes; then
  4294. - # If archive_cmds runs LD, not CC, wlarc should be empty
  4295. - wlarc='${wl}'
  4296. -
  4297. - # Set some defaults for GNU ld with shared library support. These
  4298. - # are reset later if shared libraries are not supported. Putting them
  4299. - # here allows them to be overridden if necessary.
  4300. - runpath_var=LD_RUN_PATH
  4301. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4302. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4303. - # ancient GNU ld didn't support --whole-archive et. al.
  4304. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  4305. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  4306. - else
  4307. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4308. - fi
  4309. - supports_anon_versioning=no
  4310. - case `$LD -v 2>&1` in
  4311. - *GNU\ gold*) supports_anon_versioning=yes ;;
  4312. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  4313. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  4314. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  4315. - *\ 2.11.*) ;; # other 2.11 versions
  4316. - *) supports_anon_versioning=yes ;;
  4317. - esac
  4318. -
  4319. - # See if GNU ld supports shared libraries.
  4320. - case $host_os in
  4321. - aix[[3-9]]*)
  4322. - # On AIX/PPC, the GNU linker is very broken
  4323. - if test "$host_cpu" != ia64; then
  4324. - _LT_TAGVAR(ld_shlibs, $1)=no
  4325. - cat <<_LT_EOF 1>&2
  4326. -
  4327. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  4328. -*** to be unable to reliably create shared libraries on AIX.
  4329. -*** Therefore, libtool is disabling shared libraries support. If you
  4330. -*** really care for shared libraries, you may want to modify your PATH
  4331. -*** so that a non-GNU linker is found, and then restart.
  4332. -
  4333. -_LT_EOF
  4334. - fi
  4335. - ;;
  4336. -
  4337. - amigaos*)
  4338. - case $host_cpu in
  4339. - powerpc)
  4340. - # see comment about AmigaOS4 .so support
  4341. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4342. - _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4343. - ;;
  4344. - m68k)
  4345. - _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)'
  4346. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4347. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4348. - ;;
  4349. - esac
  4350. - ;;
  4351. -
  4352. - beos*)
  4353. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4354. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4355. - # Joseph Beckenbach <[email protected]> says some releases of gcc
  4356. - # support --undefined. This deserves some investigation. FIXME
  4357. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4358. - else
  4359. - _LT_TAGVAR(ld_shlibs, $1)=no
  4360. - fi
  4361. - ;;
  4362. -
  4363. - cygwin* | mingw* | pw32* | cegcc*)
  4364. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  4365. - # as there is no search path for DLLs.
  4366. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4367. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4368. - _LT_TAGVAR(always_export_symbols, $1)=no
  4369. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4370. - _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'
  4371. -
  4372. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  4373. - _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'
  4374. - # If the export-symbols file already is a .def file (1st line
  4375. - # is EXPORTS), use it as is; otherwise, prepend...
  4376. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  4377. - cp $export_symbols $output_objdir/$soname.def;
  4378. - else
  4379. - echo EXPORTS > $output_objdir/$soname.def;
  4380. - cat $export_symbols >> $output_objdir/$soname.def;
  4381. - fi~
  4382. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4383. - else
  4384. - _LT_TAGVAR(ld_shlibs, $1)=no
  4385. - fi
  4386. - ;;
  4387. -
  4388. - interix[[3-9]]*)
  4389. - _LT_TAGVAR(hardcode_direct, $1)=no
  4390. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4391. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4392. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4393. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  4394. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  4395. - # default) and relocated if they conflict, which is a slow very memory
  4396. - # consuming and fragmenting process. To avoid this, we pick a random,
  4397. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  4398. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  4399. - _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'
  4400. - _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'
  4401. - ;;
  4402. -
  4403. - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  4404. - tmp_diet=no
  4405. - if test "$host_os" = linux-dietlibc; then
  4406. - case $cc_basename in
  4407. - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  4408. - esac
  4409. - fi
  4410. - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  4411. - && test "$tmp_diet" = no
  4412. - then
  4413. - tmp_addflag=
  4414. - tmp_sharedflag='-shared'
  4415. - case $cc_basename,$host_cpu in
  4416. - pgcc*) # Portland Group C compiler
  4417. - _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'
  4418. - tmp_addflag=' $pic_flag'
  4419. - ;;
  4420. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  4421. - _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'
  4422. - tmp_addflag=' $pic_flag -Mnomain' ;;
  4423. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  4424. - tmp_addflag=' -i_dynamic' ;;
  4425. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  4426. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  4427. - ifc* | ifort*) # Intel Fortran compiler
  4428. - tmp_addflag=' -nofor_main' ;;
  4429. - lf95*) # Lahey Fortran 8.1
  4430. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4431. - tmp_sharedflag='--shared' ;;
  4432. - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  4433. - tmp_sharedflag='-qmkshrobj'
  4434. - tmp_addflag= ;;
  4435. - esac
  4436. - case `$CC -V 2>&1 | sed 5q` in
  4437. - *Sun\ C*) # Sun C 5.9
  4438. - _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'
  4439. - _LT_TAGVAR(compiler_needs_object, $1)=yes
  4440. - tmp_sharedflag='-G' ;;
  4441. - *Sun\ F*) # Sun Fortran 8.3
  4442. - tmp_sharedflag='-G' ;;
  4443. - esac
  4444. - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4445. -
  4446. - if test "x$supports_anon_versioning" = xyes; then
  4447. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4448. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4449. - echo "local: *; };" >> $output_objdir/$libname.ver~
  4450. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  4451. - fi
  4452. -
  4453. - case $cc_basename in
  4454. - xlf*)
  4455. - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  4456. - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  4457. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4458. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  4459. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  4460. - if test "x$supports_anon_versioning" = xyes; then
  4461. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4462. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4463. - echo "local: *; };" >> $output_objdir/$libname.ver~
  4464. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  4465. - fi
  4466. - ;;
  4467. - esac
  4468. - else
  4469. - _LT_TAGVAR(ld_shlibs, $1)=no
  4470. - fi
  4471. - ;;
  4472. -
  4473. - netbsd* | netbsdelf*-gnu)
  4474. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4475. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  4476. - wlarc=
  4477. - else
  4478. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4479. - _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'
  4480. - fi
  4481. - ;;
  4482. -
  4483. - solaris*)
  4484. - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  4485. - _LT_TAGVAR(ld_shlibs, $1)=no
  4486. - cat <<_LT_EOF 1>&2
  4487. -
  4488. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  4489. -*** create shared libraries on Solaris systems. Therefore, libtool
  4490. -*** is disabling shared libraries support. We urge you to upgrade GNU
  4491. -*** binutils to release 2.9.1 or newer. Another option is to modify
  4492. -*** your PATH or compiler configuration so that the native linker is
  4493. -*** used, and then restart.
  4494. -
  4495. -_LT_EOF
  4496. - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4497. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4498. - _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'
  4499. - else
  4500. - _LT_TAGVAR(ld_shlibs, $1)=no
  4501. - fi
  4502. - ;;
  4503. -
  4504. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  4505. - case `$LD -v 2>&1` in
  4506. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  4507. - _LT_TAGVAR(ld_shlibs, $1)=no
  4508. - cat <<_LT_EOF 1>&2
  4509. -
  4510. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  4511. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  4512. -*** is disabling shared libraries support. We urge you to upgrade GNU
  4513. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  4514. -*** your PATH or compiler configuration so that the native linker is
  4515. -*** used, and then restart.
  4516. -
  4517. -_LT_EOF
  4518. - ;;
  4519. - *)
  4520. - # For security reasons, it is highly recommended that you always
  4521. - # use absolute paths for naming shared libraries, and exclude the
  4522. - # DT_RUNPATH tag from executables and libraries. But doing so
  4523. - # requires that you compile everything twice, which is a pain.
  4524. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4525. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4526. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4527. - _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'
  4528. - else
  4529. - _LT_TAGVAR(ld_shlibs, $1)=no
  4530. - fi
  4531. - ;;
  4532. - esac
  4533. - ;;
  4534. -
  4535. - sunos4*)
  4536. - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4537. - wlarc=
  4538. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4539. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4540. - ;;
  4541. -
  4542. - *)
  4543. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4544. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4545. - _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'
  4546. - else
  4547. - _LT_TAGVAR(ld_shlibs, $1)=no
  4548. - fi
  4549. - ;;
  4550. - esac
  4551. -
  4552. - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  4553. - runpath_var=
  4554. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4555. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4556. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4557. - fi
  4558. - else
  4559. - # PORTME fill in a description of your system's linker (not GNU ld)
  4560. - case $host_os in
  4561. - aix3*)
  4562. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4563. - _LT_TAGVAR(always_export_symbols, $1)=yes
  4564. - _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'
  4565. - # Note: this linker hardcodes the directories in LIBPATH if there
  4566. - # are no directories specified by -L.
  4567. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4568. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  4569. - # Neither direct hardcoding nor static linking is supported with a
  4570. - # broken collect2.
  4571. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4572. - fi
  4573. - ;;
  4574. -
  4575. - aix[[4-9]]*)
  4576. - if test "$host_cpu" = ia64; then
  4577. - # On IA64, the linker does run time linking by default, so we don't
  4578. - # have to do anything special.
  4579. - aix_use_runtimelinking=no
  4580. - exp_sym_flag='-Bexport'
  4581. - no_entry_flag=""
  4582. - else
  4583. - # If we're using GNU nm, then we don't want the "-C" option.
  4584. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4585. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4586. - _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'
  4587. - else
  4588. - _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'
  4589. - fi
  4590. - aix_use_runtimelinking=no
  4591. -
  4592. - # Test if we are trying to use run time linking or normal
  4593. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  4594. - # need to do runtime linking.
  4595. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  4596. - for ld_flag in $LDFLAGS; do
  4597. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  4598. - aix_use_runtimelinking=yes
  4599. - break
  4600. - fi
  4601. - done
  4602. - ;;
  4603. - esac
  4604. -
  4605. - exp_sym_flag='-bexport'
  4606. - no_entry_flag='-bnoentry'
  4607. - fi
  4608. -
  4609. - # When large executables or shared objects are built, AIX ld can
  4610. - # have problems creating the table of contents. If linking a library
  4611. - # or program results in "error TOC overflow" add -mminimal-toc to
  4612. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  4613. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  4614. -
  4615. - _LT_TAGVAR(archive_cmds, $1)=''
  4616. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4617. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4618. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  4619. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  4620. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  4621. -
  4622. - if test "$GCC" = yes; then
  4623. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  4624. - # We only want to do this on AIX 4.2 and lower, the check
  4625. - # below for broken collect2 doesn't work under 4.3+
  4626. - collect2name=`${CC} -print-prog-name=collect2`
  4627. - if test -f "$collect2name" &&
  4628. - strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  4629. - then
  4630. - # We have reworked collect2
  4631. - :
  4632. - else
  4633. - # We have old collect2
  4634. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4635. - # It fails to find uninstalled libraries when the uninstalled
  4636. - # path is not listed in the libpath. Setting hardcode_minus_L
  4637. - # to unsupported forces relinking
  4638. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4639. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4640. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4641. - fi
  4642. - ;;
  4643. - esac
  4644. - shared_flag='-shared'
  4645. - if test "$aix_use_runtimelinking" = yes; then
  4646. - shared_flag="$shared_flag "'${wl}-G'
  4647. - fi
  4648. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4649. - else
  4650. - # not using gcc
  4651. - if test "$host_cpu" = ia64; then
  4652. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  4653. - # chokes on -Wl,-G. The following line is correct:
  4654. - shared_flag='-G'
  4655. - else
  4656. - if test "$aix_use_runtimelinking" = yes; then
  4657. - shared_flag='${wl}-G'
  4658. - else
  4659. - shared_flag='${wl}-bM:SRE'
  4660. - fi
  4661. - fi
  4662. - fi
  4663. -
  4664. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  4665. - # It seems that -bexpall does not export symbols beginning with
  4666. - # underscore (_), so it is better to generate a list of symbols to export.
  4667. - _LT_TAGVAR(always_export_symbols, $1)=yes
  4668. - if test "$aix_use_runtimelinking" = yes; then
  4669. - # Warning - without using the other runtime loading flags (-brtl),
  4670. - # -berok will link without error, but may produce a broken library.
  4671. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  4672. - # Determine the default libpath from the value encoded in an
  4673. - # empty executable.
  4674. - _LT_SYS_MODULE_PATH_AIX
  4675. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4676. - _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"
  4677. - else
  4678. - if test "$host_cpu" = ia64; then
  4679. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  4680. - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  4681. - _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"
  4682. - else
  4683. - # Determine the default libpath from the value encoded in an
  4684. - # empty executable.
  4685. - _LT_SYS_MODULE_PATH_AIX
  4686. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4687. - # Warning - without using the other run time loading flags,
  4688. - # -berok will link without error, but may produce a broken library.
  4689. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  4690. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  4691. - # Exported symbols can be pulled into shared objects from archives
  4692. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  4693. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  4694. - # This is similar to how AIX traditionally builds its shared libraries.
  4695. - _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'
  4696. - fi
  4697. - fi
  4698. - ;;
  4699. -
  4700. - amigaos*)
  4701. - case $host_cpu in
  4702. - powerpc)
  4703. - # see comment about AmigaOS4 .so support
  4704. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4705. - _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4706. - ;;
  4707. - m68k)
  4708. - _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)'
  4709. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4710. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4711. - ;;
  4712. - esac
  4713. - ;;
  4714. -
  4715. - bsdi[[45]]*)
  4716. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  4717. - ;;
  4718. -
  4719. - cygwin* | mingw* | pw32* | cegcc*)
  4720. - # When not using gcc, we currently assume that we are using
  4721. - # Microsoft Visual C++.
  4722. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  4723. - # no search path for DLLs.
  4724. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  4725. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4726. - # Tell ltmain to make .lib files, not .a files.
  4727. - libext=lib
  4728. - # Tell ltmain to make .dll files, not .so files.
  4729. - shrext_cmds=".dll"
  4730. - # FIXME: Setting linknames here is a bad hack.
  4731. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  4732. - # The linker will automatically build a .lib file if we build a DLL.
  4733. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  4734. - # FIXME: Should let the user specify the lib program.
  4735. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  4736. - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  4737. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4738. - ;;
  4739. -
  4740. - darwin* | rhapsody*)
  4741. - _LT_DARWIN_LINKER_FEATURES($1)
  4742. - ;;
  4743. -
  4744. - dgux*)
  4745. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4746. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4747. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4748. - ;;
  4749. -
  4750. - freebsd1*)
  4751. - _LT_TAGVAR(ld_shlibs, $1)=no
  4752. - ;;
  4753. -
  4754. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  4755. - # support. Future versions do this automatically, but an explicit c++rt0.o
  4756. - # does not break anything, and helps significantly (at the cost of a little
  4757. - # extra space).
  4758. - freebsd2.2*)
  4759. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  4760. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4761. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4762. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4763. - ;;
  4764. -
  4765. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  4766. - freebsd2*)
  4767. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4768. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4769. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4770. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4771. - ;;
  4772. -
  4773. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  4774. - freebsd* | dragonfly*)
  4775. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  4776. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4777. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4778. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4779. - ;;
  4780. -
  4781. - hpux9*)
  4782. - if test "$GCC" = yes; then
  4783. - _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'
  4784. - else
  4785. - _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'
  4786. - fi
  4787. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4788. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4789. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4790. -
  4791. - # hardcode_minus_L: Not really in the search PATH,
  4792. - # but as the default location of the library.
  4793. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4794. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4795. - ;;
  4796. -
  4797. - hpux10*)
  4798. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4799. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4800. - else
  4801. - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  4802. - fi
  4803. - if test "$with_gnu_ld" = no; then
  4804. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4805. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  4806. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4807. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4808. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4809. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4810. - # hardcode_minus_L: Not really in the search PATH,
  4811. - # but as the default location of the library.
  4812. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4813. - fi
  4814. - ;;
  4815. -
  4816. - hpux11*)
  4817. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4818. - case $host_cpu in
  4819. - hppa*64*)
  4820. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4821. - ;;
  4822. - ia64*)
  4823. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4824. - ;;
  4825. - *)
  4826. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4827. - ;;
  4828. - esac
  4829. - else
  4830. - case $host_cpu in
  4831. - hppa*64*)
  4832. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4833. - ;;
  4834. - ia64*)
  4835. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4836. - ;;
  4837. - *)
  4838. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4839. - ;;
  4840. - esac
  4841. - fi
  4842. - if test "$with_gnu_ld" = no; then
  4843. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4844. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4845. -
  4846. - case $host_cpu in
  4847. - hppa*64*|ia64*)
  4848. - _LT_TAGVAR(hardcode_direct, $1)=no
  4849. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4850. - ;;
  4851. - *)
  4852. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4853. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4854. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4855. -
  4856. - # hardcode_minus_L: Not really in the search PATH,
  4857. - # but as the default location of the library.
  4858. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4859. - ;;
  4860. - esac
  4861. - fi
  4862. - ;;
  4863. -
  4864. - irix5* | irix6* | nonstopux*)
  4865. - if test "$GCC" = yes; then
  4866. - _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'
  4867. - # Try to use the -exported_symbol ld option, if it does not
  4868. - # work, assume that -exports_file does not work either and
  4869. - # implicitly export all symbols.
  4870. - save_LDFLAGS="$LDFLAGS"
  4871. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  4872. - AC_LINK_IFELSE(int foo(void) {},
  4873. - _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'
  4874. - )
  4875. - LDFLAGS="$save_LDFLAGS"
  4876. - else
  4877. - _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'
  4878. - _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'
  4879. - fi
  4880. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4881. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4882. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4883. - _LT_TAGVAR(inherit_rpath, $1)=yes
  4884. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  4885. - ;;
  4886. -
  4887. - netbsd* | netbsdelf*-gnu)
  4888. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4889. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  4890. - else
  4891. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  4892. - fi
  4893. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4894. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4895. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4896. - ;;
  4897. -
  4898. - newsos6)
  4899. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4900. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4901. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4902. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4903. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4904. - ;;
  4905. -
  4906. - *nto* | *qnx*)
  4907. - ;;
  4908. -
  4909. - openbsd*)
  4910. - if test -f /usr/libexec/ld.so; then
  4911. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4912. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4913. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4914. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4915. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4916. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  4917. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4918. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4919. - else
  4920. - case $host_os in
  4921. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  4922. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4923. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4924. - ;;
  4925. - *)
  4926. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4927. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4928. - ;;
  4929. - esac
  4930. - fi
  4931. - else
  4932. - _LT_TAGVAR(ld_shlibs, $1)=no
  4933. - fi
  4934. - ;;
  4935. -
  4936. - os2*)
  4937. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4938. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4939. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4940. - _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'
  4941. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  4942. - ;;
  4943. -
  4944. - osf3*)
  4945. - if test "$GCC" = yes; then
  4946. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4947. - _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'
  4948. - else
  4949. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4950. - _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'
  4951. - fi
  4952. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4953. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4954. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4955. - ;;
  4956. -
  4957. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  4958. - if test "$GCC" = yes; then
  4959. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4960. - _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'
  4961. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4962. - else
  4963. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4964. - _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'
  4965. - _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~
  4966. - $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'
  4967. -
  4968. - # Both c and cxx compiler support -rpath directly
  4969. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4970. - fi
  4971. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4972. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4973. - ;;
  4974. -
  4975. - solaris*)
  4976. - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  4977. - if test "$GCC" = yes; then
  4978. - wlarc='${wl}'
  4979. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4980. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4981. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4982. - else
  4983. - case `$CC -V 2>&1` in
  4984. - *"Compilers 5.0"*)
  4985. - wlarc=''
  4986. - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4987. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4988. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  4989. - ;;
  4990. - *)
  4991. - wlarc='${wl}'
  4992. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  4993. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4994. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4995. - ;;
  4996. - esac
  4997. - fi
  4998. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4999. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5000. - case $host_os in
  5001. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  5002. - *)
  5003. - # The compiler driver will combine and reorder linker options,
  5004. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  5005. - # but is careful enough not to reorder.
  5006. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  5007. - if test "$GCC" = yes; then
  5008. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  5009. - else
  5010. - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  5011. - fi
  5012. - ;;
  5013. - esac
  5014. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5015. - ;;
  5016. -
  5017. - sunos4*)
  5018. - if test "x$host_vendor" = xsequent; then
  5019. - # Use $CC to link under sequent, because it throws in some extra .o
  5020. - # files that make .init and .fini sections work.
  5021. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  5022. - else
  5023. - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  5024. - fi
  5025. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5026. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5027. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5028. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5029. - ;;
  5030. -
  5031. - sysv4)
  5032. - case $host_vendor in
  5033. - sni)
  5034. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5035. - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  5036. - ;;
  5037. - siemens)
  5038. - ## LD is ld it makes a PLAMLIB
  5039. - ## CC just makes a GrossModule.
  5040. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  5041. - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  5042. - _LT_TAGVAR(hardcode_direct, $1)=no
  5043. - ;;
  5044. - motorola)
  5045. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5046. - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  5047. - ;;
  5048. - esac
  5049. - runpath_var='LD_RUN_PATH'
  5050. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5051. - ;;
  5052. -
  5053. - sysv4.3*)
  5054. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5055. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5056. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  5057. - ;;
  5058. -
  5059. - sysv4*MP*)
  5060. - if test -d /usr/nec; then
  5061. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5062. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5063. - runpath_var=LD_RUN_PATH
  5064. - hardcode_runpath_var=yes
  5065. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5066. - fi
  5067. - ;;
  5068. -
  5069. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  5070. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5071. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5072. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5073. - runpath_var='LD_RUN_PATH'
  5074. -
  5075. - if test "$GCC" = yes; then
  5076. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5077. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5078. - else
  5079. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5080. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5081. - fi
  5082. - ;;
  5083. -
  5084. - sysv5* | sco3.2v5* | sco5v6*)
  5085. - # Note: We can NOT use -z defs as we might desire, because we do not
  5086. - # link with -lc, and that would cause any symbols used from libc to
  5087. - # always be unresolved, which means just about no library would
  5088. - # ever link correctly. If we're not using GNU ld we use -z text
  5089. - # though, which does catch some bad symbols but isn't as heavy-handed
  5090. - # as -z defs.
  5091. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5092. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  5093. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5094. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5095. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  5096. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5097. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5098. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  5099. - runpath_var='LD_RUN_PATH'
  5100. -
  5101. - if test "$GCC" = yes; then
  5102. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5103. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5104. - else
  5105. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5106. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5107. - fi
  5108. - ;;
  5109. -
  5110. - uts4*)
  5111. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5112. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5113. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5114. - ;;
  5115. -
  5116. - *)
  5117. - _LT_TAGVAR(ld_shlibs, $1)=no
  5118. - ;;
  5119. - esac
  5120. -
  5121. - if test x$host_vendor = xsni; then
  5122. - case $host in
  5123. - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  5124. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  5125. - ;;
  5126. - esac
  5127. - fi
  5128. - fi
  5129. -])
  5130. -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  5131. -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  5132. -
  5133. -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  5134. -
  5135. -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  5136. -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  5137. -_LT_DECL([], [extract_expsyms_cmds], [2],
  5138. - [The commands to extract the exported symbol list from a shared archive])
  5139. -
  5140. -#
  5141. -# Do we need to explicitly link libc?
  5142. -#
  5143. -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  5144. -x|xyes)
  5145. - # Assume -lc should be added
  5146. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5147. -
  5148. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  5149. - case $_LT_TAGVAR(archive_cmds, $1) in
  5150. - *'~'*)
  5151. - # FIXME: we may have to deal with multi-command sequences.
  5152. - ;;
  5153. - '$CC '*)
  5154. - # Test whether the compiler implicitly links with -lc since on some
  5155. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  5156. - # to ld, don't add -lc before -lgcc.
  5157. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  5158. - $RM conftest*
  5159. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  5160. -
  5161. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  5162. - soname=conftest
  5163. - lib=conftest
  5164. - libobjs=conftest.$ac_objext
  5165. - deplibs=
  5166. - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  5167. - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  5168. - compiler_flags=-v
  5169. - linker_flags=-v
  5170. - verstring=
  5171. - output_objdir=.
  5172. - libname=conftest
  5173. - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  5174. - _LT_TAGVAR(allow_undefined_flag, $1)=
  5175. - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  5176. - then
  5177. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5178. - else
  5179. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5180. - fi
  5181. - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  5182. - else
  5183. - cat conftest.err 1>&5
  5184. - fi
  5185. - $RM conftest*
  5186. - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  5187. - ;;
  5188. - esac
  5189. - fi
  5190. - ;;
  5191. -esac
  5192. -
  5193. -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  5194. - [Whether or not to add -lc for building shared libraries])
  5195. -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  5196. - [enable_shared_with_static_runtimes], [0],
  5197. - [Whether or not to disallow shared libs when runtime libs are static])
  5198. -_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  5199. - [Compiler flag to allow reflexive dlopens])
  5200. -_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  5201. - [Compiler flag to generate shared objects directly from archives])
  5202. -_LT_TAGDECL([], [compiler_needs_object], [1],
  5203. - [Whether the compiler copes with passing no objects directly])
  5204. -_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  5205. - [Create an old-style archive from a shared archive])
  5206. -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  5207. - [Create a temporary old-style archive to link instead of a shared archive])
  5208. -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  5209. -_LT_TAGDECL([], [archive_expsym_cmds], [2])
  5210. -_LT_TAGDECL([], [module_cmds], [2],
  5211. - [Commands used to build a loadable module if different from building
  5212. - a shared archive.])
  5213. -_LT_TAGDECL([], [module_expsym_cmds], [2])
  5214. -_LT_TAGDECL([], [with_gnu_ld], [1],
  5215. - [Whether we are building with GNU ld or not])
  5216. -_LT_TAGDECL([], [allow_undefined_flag], [1],
  5217. - [Flag that allows shared libraries with undefined symbols to be built])
  5218. -_LT_TAGDECL([], [no_undefined_flag], [1],
  5219. - [Flag that enforces no undefined symbols])
  5220. -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  5221. - [Flag to hardcode $libdir into a binary during linking.
  5222. - This must work even if $libdir does not exist])
  5223. -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  5224. - [[If ld is used when linking, flag to hardcode $libdir into a binary
  5225. - during linking. This must work even if $libdir does not exist]])
  5226. -_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  5227. - [Whether we need a single "-rpath" flag with a separated argument])
  5228. -_LT_TAGDECL([], [hardcode_direct], [0],
  5229. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5230. - DIR into the resulting binary])
  5231. -_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  5232. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5233. - DIR into the resulting binary and the resulting library dependency is
  5234. - "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  5235. - library is relocated])
  5236. -_LT_TAGDECL([], [hardcode_minus_L], [0],
  5237. - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  5238. - into the resulting binary])
  5239. -_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  5240. - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  5241. - into the resulting binary])
  5242. -_LT_TAGDECL([], [hardcode_automatic], [0],
  5243. - [Set to "yes" if building a shared library automatically hardcodes DIR
  5244. - into the library and all subsequent libraries and executables linked
  5245. - against it])
  5246. -_LT_TAGDECL([], [inherit_rpath], [0],
  5247. - [Set to yes if linker adds runtime paths of dependent libraries
  5248. - to runtime path list])
  5249. -_LT_TAGDECL([], [link_all_deplibs], [0],
  5250. - [Whether libtool must link a program against all its dependency libraries])
  5251. -_LT_TAGDECL([], [fix_srcfile_path], [1],
  5252. - [Fix the shell variable $srcfile for the compiler])
  5253. -_LT_TAGDECL([], [always_export_symbols], [0],
  5254. - [Set to "yes" if exported symbols are required])
  5255. -_LT_TAGDECL([], [export_symbols_cmds], [2],
  5256. - [The commands to list exported symbols])
  5257. -_LT_TAGDECL([], [exclude_expsyms], [1],
  5258. - [Symbols that should not be listed in the preloaded symbols])
  5259. -_LT_TAGDECL([], [include_expsyms], [1],
  5260. - [Symbols that must always be exported])
  5261. -_LT_TAGDECL([], [prelink_cmds], [2],
  5262. - [Commands necessary for linking programs (against libraries) with templates])
  5263. -_LT_TAGDECL([], [file_list_spec], [1],
  5264. - [Specify filename containing input files])
  5265. -dnl FIXME: Not yet implemented
  5266. -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  5267. -dnl [Compiler flag to generate thread safe objects])
  5268. -])# _LT_LINKER_SHLIBS
  5269. -
  5270. -
  5271. -# _LT_LANG_C_CONFIG([TAG])
  5272. -# ------------------------
  5273. -# Ensure that the configuration variables for a C compiler are suitably
  5274. -# defined. These variables are subsequently used by _LT_CONFIG to write
  5275. -# the compiler configuration to `libtool'.
  5276. -m4_defun([_LT_LANG_C_CONFIG],
  5277. -[m4_require([_LT_DECL_EGREP])dnl
  5278. -lt_save_CC="$CC"
  5279. -AC_LANG_PUSH(C)
  5280. -
  5281. -# Source file extension for C test sources.
  5282. -ac_ext=c
  5283. -
  5284. -# Object file extension for compiled C test sources.
  5285. -objext=o
  5286. -_LT_TAGVAR(objext, $1)=$objext
  5287. -
  5288. -# Code to be used in simple compile tests
  5289. -lt_simple_compile_test_code="int some_variable = 0;"
  5290. -
  5291. -# Code to be used in simple link tests
  5292. -lt_simple_link_test_code='int main(){return(0);}'
  5293. -
  5294. -_LT_TAG_COMPILER
  5295. -# Save the default compiler, since it gets overwritten when the other
  5296. -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  5297. -compiler_DEFAULT=$CC
  5298. -
  5299. -# save warnings/boilerplate of simple test code
  5300. -_LT_COMPILER_BOILERPLATE
  5301. -_LT_LINKER_BOILERPLATE
  5302. -
  5303. -if test -n "$compiler"; then
  5304. - _LT_COMPILER_NO_RTTI($1)
  5305. - _LT_COMPILER_PIC($1)
  5306. - _LT_COMPILER_C_O($1)
  5307. - _LT_COMPILER_FILE_LOCKS($1)
  5308. - _LT_LINKER_SHLIBS($1)
  5309. - _LT_SYS_DYNAMIC_LINKER($1)
  5310. - _LT_LINKER_HARDCODE_LIBPATH($1)
  5311. - LT_SYS_DLOPEN_SELF
  5312. - _LT_CMD_STRIPLIB
  5313. -
  5314. - # Report which library types will actually be built
  5315. - AC_MSG_CHECKING([if libtool supports shared libraries])
  5316. - AC_MSG_RESULT([$can_build_shared])
  5317. -
  5318. - AC_MSG_CHECKING([whether to build shared libraries])
  5319. - test "$can_build_shared" = "no" && enable_shared=no
  5320. -
  5321. - # On AIX, shared libraries and static libraries use the same namespace, and
  5322. - # are all built from PIC.
  5323. - case $host_os in
  5324. - aix3*)
  5325. - test "$enable_shared" = yes && enable_static=no
  5326. - if test -n "$RANLIB"; then
  5327. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  5328. - postinstall_cmds='$RANLIB $lib'
  5329. - fi
  5330. - ;;
  5331. -
  5332. - aix[[4-9]]*)
  5333. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  5334. - test "$enable_shared" = yes && enable_static=no
  5335. - fi
  5336. - ;;
  5337. - esac
  5338. - AC_MSG_RESULT([$enable_shared])
  5339. -
  5340. - AC_MSG_CHECKING([whether to build static libraries])
  5341. - # Make sure either enable_shared or enable_static is yes.
  5342. - test "$enable_shared" = yes || enable_static=yes
  5343. - AC_MSG_RESULT([$enable_static])
  5344. -
  5345. - _LT_CONFIG($1)
  5346. -fi
  5347. -AC_LANG_POP
  5348. -CC="$lt_save_CC"
  5349. -])# _LT_LANG_C_CONFIG
  5350. -
  5351. -
  5352. -# _LT_PROG_CXX
  5353. -# ------------
  5354. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  5355. -# compiler, we have our own version here.
  5356. -m4_defun([_LT_PROG_CXX],
  5357. -[
  5358. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  5359. -AC_PROG_CXX
  5360. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  5361. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  5362. - (test "X$CXX" != "Xg++"))) ; then
  5363. - AC_PROG_CXXCPP
  5364. -else
  5365. - _lt_caught_CXX_error=yes
  5366. -fi
  5367. -popdef([AC_MSG_ERROR])
  5368. -])# _LT_PROG_CXX
  5369. -
  5370. -dnl aclocal-1.4 backwards compatibility:
  5371. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  5372. -
  5373. -
  5374. -# _LT_LANG_CXX_CONFIG([TAG])
  5375. -# --------------------------
  5376. -# Ensure that the configuration variables for a C++ compiler are suitably
  5377. -# defined. These variables are subsequently used by _LT_CONFIG to write
  5378. -# the compiler configuration to `libtool'.
  5379. -m4_defun([_LT_LANG_CXX_CONFIG],
  5380. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  5381. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  5382. -m4_require([_LT_DECL_EGREP])dnl
  5383. -
  5384. -AC_LANG_PUSH(C++)
  5385. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5386. -_LT_TAGVAR(allow_undefined_flag, $1)=
  5387. -_LT_TAGVAR(always_export_symbols, $1)=no
  5388. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  5389. -_LT_TAGVAR(compiler_needs_object, $1)=no
  5390. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5391. -_LT_TAGVAR(hardcode_direct, $1)=no
  5392. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  5393. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5394. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5395. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  5396. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  5397. -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5398. -_LT_TAGVAR(hardcode_automatic, $1)=no
  5399. -_LT_TAGVAR(inherit_rpath, $1)=no
  5400. -_LT_TAGVAR(module_cmds, $1)=
  5401. -_LT_TAGVAR(module_expsym_cmds, $1)=
  5402. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  5403. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5404. -_LT_TAGVAR(no_undefined_flag, $1)=
  5405. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  5406. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5407. -
  5408. -# Source file extension for C++ test sources.
  5409. -ac_ext=cpp
  5410. -
  5411. -# Object file extension for compiled C++ test sources.
  5412. -objext=o
  5413. -_LT_TAGVAR(objext, $1)=$objext
  5414. -
  5415. -# No sense in running all these tests if we already determined that
  5416. -# the CXX compiler isn't working. Some variables (like enable_shared)
  5417. -# are currently assumed to apply to all compilers on this platform,
  5418. -# and will be corrupted by setting them based on a non-working compiler.
  5419. -if test "$_lt_caught_CXX_error" != yes; then
  5420. - # Code to be used in simple compile tests
  5421. - lt_simple_compile_test_code="int some_variable = 0;"
  5422. -
  5423. - # Code to be used in simple link tests
  5424. - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  5425. -
  5426. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5427. - _LT_TAG_COMPILER
  5428. -
  5429. - # save warnings/boilerplate of simple test code
  5430. - _LT_COMPILER_BOILERPLATE
  5431. - _LT_LINKER_BOILERPLATE
  5432. -
  5433. - # Allow CC to be a program name with arguments.
  5434. - lt_save_CC=$CC
  5435. - lt_save_LD=$LD
  5436. - lt_save_GCC=$GCC
  5437. - GCC=$GXX
  5438. - lt_save_with_gnu_ld=$with_gnu_ld
  5439. - lt_save_path_LD=$lt_cv_path_LD
  5440. - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  5441. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  5442. - else
  5443. - $as_unset lt_cv_prog_gnu_ld
  5444. - fi
  5445. - if test -n "${lt_cv_path_LDCXX+set}"; then
  5446. - lt_cv_path_LD=$lt_cv_path_LDCXX
  5447. - else
  5448. - $as_unset lt_cv_path_LD
  5449. - fi
  5450. - test -z "${LDCXX+set}" || LD=$LDCXX
  5451. - CC=${CXX-"c++"}
  5452. - compiler=$CC
  5453. - _LT_TAGVAR(compiler, $1)=$CC
  5454. - _LT_CC_BASENAME([$compiler])
  5455. -
  5456. - if test -n "$compiler"; then
  5457. - # We don't want -fno-exception when compiling C++ code, so set the
  5458. - # no_builtin_flag separately
  5459. - if test "$GXX" = yes; then
  5460. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  5461. - else
  5462. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  5463. - fi
  5464. -
  5465. - if test "$GXX" = yes; then
  5466. - # Set up default GNU C++ configuration
  5467. -
  5468. - LT_PATH_LD
  5469. -
  5470. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  5471. - # archiving commands below assume that GNU ld is being used.
  5472. - if test "$with_gnu_ld" = yes; then
  5473. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5474. - _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'
  5475. -
  5476. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5477. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5478. -
  5479. - # If archive_cmds runs LD, not CC, wlarc should be empty
  5480. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  5481. - # investigate it a little bit more. (MM)
  5482. - wlarc='${wl}'
  5483. -
  5484. - # ancient GNU ld didn't support --whole-archive et. al.
  5485. - if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  5486. - $GREP 'no-whole-archive' > /dev/null; then
  5487. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5488. - else
  5489. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5490. - fi
  5491. - else
  5492. - with_gnu_ld=no
  5493. - wlarc=
  5494. -
  5495. - # A generic and very simple default shared library creation
  5496. - # command for GNU C++ for the case where it uses the native
  5497. - # linker, instead of GNU ld. If possible, this setting should
  5498. - # overridden to take advantage of the native linker features on
  5499. - # the platform it is being used on.
  5500. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  5501. - fi
  5502. -
  5503. - # Commands to make compiler produce verbose output that lists
  5504. - # what "hidden" libraries, object files and flags are used when
  5505. - # linking a shared library.
  5506. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  5507. -
  5508. - else
  5509. - GXX=no
  5510. - with_gnu_ld=no
  5511. - wlarc=
  5512. - fi
  5513. -
  5514. - # PORTME: fill in a description of your system's C++ link characteristics
  5515. - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5516. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5517. - case $host_os in
  5518. - aix3*)
  5519. - # FIXME: insert proper C++ library support
  5520. - _LT_TAGVAR(ld_shlibs, $1)=no
  5521. - ;;
  5522. - aix[[4-9]]*)
  5523. - if test "$host_cpu" = ia64; then
  5524. - # On IA64, the linker does run time linking by default, so we don't
  5525. - # have to do anything special.
  5526. - aix_use_runtimelinking=no
  5527. - exp_sym_flag='-Bexport'
  5528. - no_entry_flag=""
  5529. - else
  5530. - aix_use_runtimelinking=no
  5531. -
  5532. - # Test if we are trying to use run time linking or normal
  5533. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  5534. - # need to do runtime linking.
  5535. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  5536. - for ld_flag in $LDFLAGS; do
  5537. - case $ld_flag in
  5538. - *-brtl*)
  5539. - aix_use_runtimelinking=yes
  5540. - break
  5541. - ;;
  5542. - esac
  5543. - done
  5544. - ;;
  5545. - esac
  5546. -
  5547. - exp_sym_flag='-bexport'
  5548. - no_entry_flag='-bnoentry'
  5549. - fi
  5550. -
  5551. - # When large executables or shared objects are built, AIX ld can
  5552. - # have problems creating the table of contents. If linking a library
  5553. - # or program results in "error TOC overflow" add -mminimal-toc to
  5554. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  5555. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  5556. -
  5557. - _LT_TAGVAR(archive_cmds, $1)=''
  5558. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5559. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5560. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5561. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5562. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  5563. -
  5564. - if test "$GXX" = yes; then
  5565. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  5566. - # We only want to do this on AIX 4.2 and lower, the check
  5567. - # below for broken collect2 doesn't work under 4.3+
  5568. - collect2name=`${CC} -print-prog-name=collect2`
  5569. - if test -f "$collect2name" &&
  5570. - strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  5571. - then
  5572. - # We have reworked collect2
  5573. - :
  5574. - else
  5575. - # We have old collect2
  5576. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  5577. - # It fails to find uninstalled libraries when the uninstalled
  5578. - # path is not listed in the libpath. Setting hardcode_minus_L
  5579. - # to unsupported forces relinking
  5580. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5581. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5582. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  5583. - fi
  5584. - esac
  5585. - shared_flag='-shared'
  5586. - if test "$aix_use_runtimelinking" = yes; then
  5587. - shared_flag="$shared_flag "'${wl}-G'
  5588. - fi
  5589. - else
  5590. - # not using gcc
  5591. - if test "$host_cpu" = ia64; then
  5592. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  5593. - # chokes on -Wl,-G. The following line is correct:
  5594. - shared_flag='-G'
  5595. - else
  5596. - if test "$aix_use_runtimelinking" = yes; then
  5597. - shared_flag='${wl}-G'
  5598. - else
  5599. - shared_flag='${wl}-bM:SRE'
  5600. - fi
  5601. - fi
  5602. - fi
  5603. -
  5604. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  5605. - # It seems that -bexpall does not export symbols beginning with
  5606. - # underscore (_), so it is better to generate a list of symbols to
  5607. - # export.
  5608. - _LT_TAGVAR(always_export_symbols, $1)=yes
  5609. - if test "$aix_use_runtimelinking" = yes; then
  5610. - # Warning - without using the other runtime loading flags (-brtl),
  5611. - # -berok will link without error, but may produce a broken library.
  5612. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  5613. - # Determine the default libpath from the value encoded in an empty
  5614. - # executable.
  5615. - _LT_SYS_MODULE_PATH_AIX
  5616. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5617. -
  5618. - _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"
  5619. - else
  5620. - if test "$host_cpu" = ia64; then
  5621. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  5622. - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  5623. - _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"
  5624. - else
  5625. - # Determine the default libpath from the value encoded in an
  5626. - # empty executable.
  5627. - _LT_SYS_MODULE_PATH_AIX
  5628. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5629. - # Warning - without using the other run time loading flags,
  5630. - # -berok will link without error, but may produce a broken library.
  5631. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  5632. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  5633. - # Exported symbols can be pulled into shared objects from archives
  5634. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  5635. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5636. - # This is similar to how AIX traditionally builds its shared
  5637. - # libraries.
  5638. - _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'
  5639. - fi
  5640. - fi
  5641. - ;;
  5642. -
  5643. - beos*)
  5644. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5645. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5646. - # Joseph Beckenbach <[email protected]> says some releases of gcc
  5647. - # support --undefined. This deserves some investigation. FIXME
  5648. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5649. - else
  5650. - _LT_TAGVAR(ld_shlibs, $1)=no
  5651. - fi
  5652. - ;;
  5653. -
  5654. - chorus*)
  5655. - case $cc_basename in
  5656. - *)
  5657. - # FIXME: insert proper C++ library support
  5658. - _LT_TAGVAR(ld_shlibs, $1)=no
  5659. - ;;
  5660. - esac
  5661. - ;;
  5662. -
  5663. - cygwin* | mingw* | pw32* | cegcc*)
  5664. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5665. - # as there is no search path for DLLs.
  5666. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5667. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5668. - _LT_TAGVAR(always_export_symbols, $1)=no
  5669. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5670. -
  5671. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  5672. - _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'
  5673. - # If the export-symbols file already is a .def file (1st line
  5674. - # is EXPORTS), use it as is; otherwise, prepend...
  5675. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5676. - cp $export_symbols $output_objdir/$soname.def;
  5677. - else
  5678. - echo EXPORTS > $output_objdir/$soname.def;
  5679. - cat $export_symbols >> $output_objdir/$soname.def;
  5680. - fi~
  5681. - $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'
  5682. - else
  5683. - _LT_TAGVAR(ld_shlibs, $1)=no
  5684. - fi
  5685. - ;;
  5686. - darwin* | rhapsody*)
  5687. - _LT_DARWIN_LINKER_FEATURES($1)
  5688. - ;;
  5689. -
  5690. - dgux*)
  5691. - case $cc_basename in
  5692. - ec++*)
  5693. - # FIXME: insert proper C++ library support
  5694. - _LT_TAGVAR(ld_shlibs, $1)=no
  5695. - ;;
  5696. - ghcx*)
  5697. - # Green Hills C++ Compiler
  5698. - # FIXME: insert proper C++ library support
  5699. - _LT_TAGVAR(ld_shlibs, $1)=no
  5700. - ;;
  5701. - *)
  5702. - # FIXME: insert proper C++ library support
  5703. - _LT_TAGVAR(ld_shlibs, $1)=no
  5704. - ;;
  5705. - esac
  5706. - ;;
  5707. -
  5708. - freebsd[[12]]*)
  5709. - # C++ shared libraries reported to be fairly broken before
  5710. - # switch to ELF
  5711. - _LT_TAGVAR(ld_shlibs, $1)=no
  5712. - ;;
  5713. -
  5714. - freebsd-elf*)
  5715. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5716. - ;;
  5717. -
  5718. - freebsd* | dragonfly*)
  5719. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  5720. - # conventions
  5721. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5722. - ;;
  5723. -
  5724. - gnu*)
  5725. - ;;
  5726. -
  5727. - hpux9*)
  5728. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5729. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5730. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5731. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5732. - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5733. - # but as the default
  5734. - # location of the library.
  5735. -
  5736. - case $cc_basename in
  5737. - CC*)
  5738. - # FIXME: insert proper C++ library support
  5739. - _LT_TAGVAR(ld_shlibs, $1)=no
  5740. - ;;
  5741. - aCC*)
  5742. - _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'
  5743. - # Commands to make compiler produce verbose output that lists
  5744. - # what "hidden" libraries, object files and flags are used when
  5745. - # linking a shared library.
  5746. - #
  5747. - # There doesn't appear to be a way to prevent this compiler from
  5748. - # explicitly linking system object files so we need to strip them
  5749. - # from the output so that they don't get included in the library
  5750. - # dependencies.
  5751. - 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'
  5752. - ;;
  5753. - *)
  5754. - if test "$GXX" = yes; then
  5755. - _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'
  5756. - else
  5757. - # FIXME: insert proper C++ library support
  5758. - _LT_TAGVAR(ld_shlibs, $1)=no
  5759. - fi
  5760. - ;;
  5761. - esac
  5762. - ;;
  5763. -
  5764. - hpux10*|hpux11*)
  5765. - if test $with_gnu_ld = no; then
  5766. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5767. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5768. -
  5769. - case $host_cpu in
  5770. - hppa*64*|ia64*)
  5771. - ;;
  5772. - *)
  5773. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5774. - ;;
  5775. - esac
  5776. - fi
  5777. - case $host_cpu in
  5778. - hppa*64*|ia64*)
  5779. - _LT_TAGVAR(hardcode_direct, $1)=no
  5780. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5781. - ;;
  5782. - *)
  5783. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5784. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5785. - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5786. - # but as the default
  5787. - # location of the library.
  5788. - ;;
  5789. - esac
  5790. -
  5791. - case $cc_basename in
  5792. - CC*)
  5793. - # FIXME: insert proper C++ library support
  5794. - _LT_TAGVAR(ld_shlibs, $1)=no
  5795. - ;;
  5796. - aCC*)
  5797. - case $host_cpu in
  5798. - hppa*64*)
  5799. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5800. - ;;
  5801. - ia64*)
  5802. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5803. - ;;
  5804. - *)
  5805. - _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'
  5806. - ;;
  5807. - esac
  5808. - # Commands to make compiler produce verbose output that lists
  5809. - # what "hidden" libraries, object files and flags are used when
  5810. - # linking a shared library.
  5811. - #
  5812. - # There doesn't appear to be a way to prevent this compiler from
  5813. - # explicitly linking system object files so we need to strip them
  5814. - # from the output so that they don't get included in the library
  5815. - # dependencies.
  5816. - 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'
  5817. - ;;
  5818. - *)
  5819. - if test "$GXX" = yes; then
  5820. - if test $with_gnu_ld = no; then
  5821. - case $host_cpu in
  5822. - hppa*64*)
  5823. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5824. - ;;
  5825. - ia64*)
  5826. - _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'
  5827. - ;;
  5828. - *)
  5829. - _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'
  5830. - ;;
  5831. - esac
  5832. - fi
  5833. - else
  5834. - # FIXME: insert proper C++ library support
  5835. - _LT_TAGVAR(ld_shlibs, $1)=no
  5836. - fi
  5837. - ;;
  5838. - esac
  5839. - ;;
  5840. -
  5841. - interix[[3-9]]*)
  5842. - _LT_TAGVAR(hardcode_direct, $1)=no
  5843. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5844. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5845. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5846. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5847. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  5848. - # default) and relocated if they conflict, which is a slow very memory
  5849. - # consuming and fragmenting process. To avoid this, we pick a random,
  5850. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5851. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  5852. - _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'
  5853. - _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'
  5854. - ;;
  5855. - irix5* | irix6*)
  5856. - case $cc_basename in
  5857. - CC*)
  5858. - # SGI C++
  5859. - _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'
  5860. -
  5861. - # Archives containing C++ object files must be created using
  5862. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  5863. - # necessary to make sure instantiated templates are included
  5864. - # in the archive.
  5865. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  5866. - ;;
  5867. - *)
  5868. - if test "$GXX" = yes; then
  5869. - if test "$with_gnu_ld" = no; then
  5870. - _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'
  5871. - else
  5872. - _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'
  5873. - fi
  5874. - fi
  5875. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5876. - ;;
  5877. - esac
  5878. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5879. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5880. - _LT_TAGVAR(inherit_rpath, $1)=yes
  5881. - ;;
  5882. -
  5883. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5884. - case $cc_basename in
  5885. - KCC*)
  5886. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  5887. -
  5888. - # KCC will only create a shared library if the output file
  5889. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  5890. - # to its proper name (with version) after linking.
  5891. - _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'
  5892. - _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'
  5893. - # Commands to make compiler produce verbose output that lists
  5894. - # what "hidden" libraries, object files and flags are used when
  5895. - # linking a shared library.
  5896. - #
  5897. - # There doesn't appear to be a way to prevent this compiler from
  5898. - # explicitly linking system object files so we need to strip them
  5899. - # from the output so that they don't get included in the library
  5900. - # dependencies.
  5901. - 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'
  5902. -
  5903. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5904. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5905. -
  5906. - # Archives containing C++ object files must be created using
  5907. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  5908. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  5909. - ;;
  5910. - icpc* | ecpc* )
  5911. - # Intel C++
  5912. - with_gnu_ld=yes
  5913. - # version 8.0 and above of icpc choke on multiply defined symbols
  5914. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  5915. - # earlier do not add the objects themselves.
  5916. - case `$CC -V 2>&1` in
  5917. - *"Version 7."*)
  5918. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5919. - _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'
  5920. - ;;
  5921. - *) # Version 8.0 or newer
  5922. - tmp_idyn=
  5923. - case $host_cpu in
  5924. - ia64*) tmp_idyn=' -i_dynamic';;
  5925. - esac
  5926. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5927. - _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'
  5928. - ;;
  5929. - esac
  5930. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5931. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5932. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5933. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  5934. - ;;
  5935. - pgCC* | pgcpp*)
  5936. - # Portland Group C++ compiler
  5937. - case `$CC -V` in
  5938. - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  5939. - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  5940. - rm -rf $tpldir~
  5941. - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  5942. - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  5943. - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  5944. - rm -rf $tpldir~
  5945. - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  5946. - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  5947. - $RANLIB $oldlib'
  5948. - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  5949. - rm -rf $tpldir~
  5950. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5951. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5952. - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  5953. - rm -rf $tpldir~
  5954. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5955. - $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'
  5956. - ;;
  5957. - *) # Version 6 will use weak symbols
  5958. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5959. - _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'
  5960. - ;;
  5961. - esac
  5962. -
  5963. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  5964. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5965. - _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'
  5966. - ;;
  5967. - cxx*)
  5968. - # Compaq C++
  5969. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5970. - _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'
  5971. -
  5972. - runpath_var=LD_RUN_PATH
  5973. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  5974. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5975. -
  5976. - # Commands to make compiler produce verbose output that lists
  5977. - # what "hidden" libraries, object files and flags are used when
  5978. - # linking a shared library.
  5979. - #
  5980. - # There doesn't appear to be a way to prevent this compiler from
  5981. - # explicitly linking system object files so we need to strip them
  5982. - # from the output so that they don't get included in the library
  5983. - # dependencies.
  5984. - 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'
  5985. - ;;
  5986. - xl*)
  5987. - # IBM XL 8.0 on PPC, with GNU ld
  5988. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5989. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5990. - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5991. - if test "x$supports_anon_versioning" = xyes; then
  5992. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  5993. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5994. - echo "local: *; };" >> $output_objdir/$libname.ver~
  5995. - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  5996. - fi
  5997. - ;;
  5998. - *)
  5999. - case `$CC -V 2>&1 | sed 5q` in
  6000. - *Sun\ C*)
  6001. - # Sun C++ 5.9
  6002. - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6003. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6004. - _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'
  6005. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6006. - _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'
  6007. - _LT_TAGVAR(compiler_needs_object, $1)=yes
  6008. -
  6009. - # Not sure whether something based on
  6010. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  6011. - # would be better.
  6012. - output_verbose_link_cmd='echo'
  6013. -
  6014. - # Archives containing C++ object files must be created using
  6015. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  6016. - # necessary to make sure instantiated templates are included
  6017. - # in the archive.
  6018. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6019. - ;;
  6020. - esac
  6021. - ;;
  6022. - esac
  6023. - ;;
  6024. -
  6025. - lynxos*)
  6026. - # FIXME: insert proper C++ library support
  6027. - _LT_TAGVAR(ld_shlibs, $1)=no
  6028. - ;;
  6029. -
  6030. - m88k*)
  6031. - # FIXME: insert proper C++ library support
  6032. - _LT_TAGVAR(ld_shlibs, $1)=no
  6033. - ;;
  6034. -
  6035. - mvs*)
  6036. - case $cc_basename in
  6037. - cxx*)
  6038. - # FIXME: insert proper C++ library support
  6039. - _LT_TAGVAR(ld_shlibs, $1)=no
  6040. - ;;
  6041. - *)
  6042. - # FIXME: insert proper C++ library support
  6043. - _LT_TAGVAR(ld_shlibs, $1)=no
  6044. - ;;
  6045. - esac
  6046. - ;;
  6047. -
  6048. - netbsd*)
  6049. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6050. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  6051. - wlarc=
  6052. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6053. - _LT_TAGVAR(hardcode_direct, $1)=yes
  6054. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6055. - fi
  6056. - # Workaround some broken pre-1.5 toolchains
  6057. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  6058. - ;;
  6059. -
  6060. - *nto* | *qnx*)
  6061. - _LT_TAGVAR(ld_shlibs, $1)=yes
  6062. - ;;
  6063. -
  6064. - openbsd2*)
  6065. - # C++ shared libraries are fairly broken
  6066. - _LT_TAGVAR(ld_shlibs, $1)=no
  6067. - ;;
  6068. -
  6069. - openbsd*)
  6070. - if test -f /usr/libexec/ld.so; then
  6071. - _LT_TAGVAR(hardcode_direct, $1)=yes
  6072. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6073. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6074. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  6075. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6076. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6077. - _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'
  6078. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6079. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6080. - fi
  6081. - output_verbose_link_cmd=echo
  6082. - else
  6083. - _LT_TAGVAR(ld_shlibs, $1)=no
  6084. - fi
  6085. - ;;
  6086. -
  6087. - osf3* | osf4* | osf5*)
  6088. - case $cc_basename in
  6089. - KCC*)
  6090. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  6091. -
  6092. - # KCC will only create a shared library if the output file
  6093. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  6094. - # to its proper name (with version) after linking.
  6095. - _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'
  6096. -
  6097. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6098. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6099. -
  6100. - # Archives containing C++ object files must be created using
  6101. - # the KAI C++ compiler.
  6102. - case $host in
  6103. - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  6104. - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  6105. - esac
  6106. - ;;
  6107. - RCC*)
  6108. - # Rational C++ 2.4.1
  6109. - # FIXME: insert proper C++ library support
  6110. - _LT_TAGVAR(ld_shlibs, $1)=no
  6111. - ;;
  6112. - cxx*)
  6113. - case $host in
  6114. - osf3*)
  6115. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6116. - _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'
  6117. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6118. - ;;
  6119. - *)
  6120. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6121. - _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'
  6122. - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  6123. - echo "-hidden">> $lib.exp~
  6124. - $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~
  6125. - $RM $lib.exp'
  6126. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6127. - ;;
  6128. - esac
  6129. -
  6130. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6131. -
  6132. - # Commands to make compiler produce verbose output that lists
  6133. - # what "hidden" libraries, object files and flags are used when
  6134. - # linking a shared library.
  6135. - #
  6136. - # There doesn't appear to be a way to prevent this compiler from
  6137. - # explicitly linking system object files so we need to strip them
  6138. - # from the output so that they don't get included in the library
  6139. - # dependencies.
  6140. - 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'
  6141. - ;;
  6142. - *)
  6143. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6144. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6145. - case $host in
  6146. - osf3*)
  6147. - _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'
  6148. - ;;
  6149. - *)
  6150. - _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'
  6151. - ;;
  6152. - esac
  6153. -
  6154. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6155. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6156. -
  6157. - # Commands to make compiler produce verbose output that lists
  6158. - # what "hidden" libraries, object files and flags are used when
  6159. - # linking a shared library.
  6160. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6161. -
  6162. - else
  6163. - # FIXME: insert proper C++ library support
  6164. - _LT_TAGVAR(ld_shlibs, $1)=no
  6165. - fi
  6166. - ;;
  6167. - esac
  6168. - ;;
  6169. -
  6170. - psos*)
  6171. - # FIXME: insert proper C++ library support
  6172. - _LT_TAGVAR(ld_shlibs, $1)=no
  6173. - ;;
  6174. -
  6175. - sunos4*)
  6176. - case $cc_basename in
  6177. - CC*)
  6178. - # Sun C++ 4.x
  6179. - # FIXME: insert proper C++ library support
  6180. - _LT_TAGVAR(ld_shlibs, $1)=no
  6181. - ;;
  6182. - lcc*)
  6183. - # Lucid
  6184. - # FIXME: insert proper C++ library support
  6185. - _LT_TAGVAR(ld_shlibs, $1)=no
  6186. - ;;
  6187. - *)
  6188. - # FIXME: insert proper C++ library support
  6189. - _LT_TAGVAR(ld_shlibs, $1)=no
  6190. - ;;
  6191. - esac
  6192. - ;;
  6193. -
  6194. - solaris*)
  6195. - case $cc_basename in
  6196. - CC*)
  6197. - # Sun C++ 4.2, 5.x and Centerline C++
  6198. - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  6199. - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6200. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6201. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6202. - $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'
  6203. -
  6204. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6205. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6206. - case $host_os in
  6207. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6208. - *)
  6209. - # The compiler driver will combine and reorder linker options,
  6210. - # but understands `-z linker_flag'.
  6211. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  6212. - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  6213. - ;;
  6214. - esac
  6215. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  6216. -
  6217. - output_verbose_link_cmd='echo'
  6218. -
  6219. - # Archives containing C++ object files must be created using
  6220. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  6221. - # necessary to make sure instantiated templates are included
  6222. - # in the archive.
  6223. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6224. - ;;
  6225. - gcx*)
  6226. - # Green Hills C++ Compiler
  6227. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6228. -
  6229. - # The C++ compiler must be used to create the archive.
  6230. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  6231. - ;;
  6232. - *)
  6233. - # GNU C++ compiler with Solaris linker
  6234. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6235. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  6236. - if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  6237. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6238. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6239. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6240. -
  6241. - # Commands to make compiler produce verbose output that lists
  6242. - # what "hidden" libraries, object files and flags are used when
  6243. - # linking a shared library.
  6244. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6245. - else
  6246. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  6247. - # platform.
  6248. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6249. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6250. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6251. -
  6252. - # Commands to make compiler produce verbose output that lists
  6253. - # what "hidden" libraries, object files and flags are used when
  6254. - # linking a shared library.
  6255. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6256. - fi
  6257. -
  6258. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  6259. - case $host_os in
  6260. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6261. - *)
  6262. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  6263. - ;;
  6264. - esac
  6265. - fi
  6266. - ;;
  6267. - esac
  6268. - ;;
  6269. -
  6270. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  6271. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6272. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6273. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6274. - runpath_var='LD_RUN_PATH'
  6275. -
  6276. - case $cc_basename in
  6277. - CC*)
  6278. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6279. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6280. - ;;
  6281. - *)
  6282. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6283. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6284. - ;;
  6285. - esac
  6286. - ;;
  6287. -
  6288. - sysv5* | sco3.2v5* | sco5v6*)
  6289. - # Note: We can NOT use -z defs as we might desire, because we do not
  6290. - # link with -lc, and that would cause any symbols used from libc to
  6291. - # always be unresolved, which means just about no library would
  6292. - # ever link correctly. If we're not using GNU ld we use -z text
  6293. - # though, which does catch some bad symbols but isn't as heavy-handed
  6294. - # as -z defs.
  6295. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6296. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6297. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6298. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6299. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  6300. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6301. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  6302. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6303. - runpath_var='LD_RUN_PATH'
  6304. -
  6305. - case $cc_basename in
  6306. - CC*)
  6307. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6308. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6309. - ;;
  6310. - *)
  6311. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6312. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6313. - ;;
  6314. - esac
  6315. - ;;
  6316. -
  6317. - tandem*)
  6318. - case $cc_basename in
  6319. - NCC*)
  6320. - # NonStop-UX NCC 3.20
  6321. - # FIXME: insert proper C++ library support
  6322. - _LT_TAGVAR(ld_shlibs, $1)=no
  6323. - ;;
  6324. - *)
  6325. - # FIXME: insert proper C++ library support
  6326. - _LT_TAGVAR(ld_shlibs, $1)=no
  6327. - ;;
  6328. - esac
  6329. - ;;
  6330. -
  6331. - vxworks*)
  6332. - # FIXME: insert proper C++ library support
  6333. - _LT_TAGVAR(ld_shlibs, $1)=no
  6334. - ;;
  6335. -
  6336. - *)
  6337. - # FIXME: insert proper C++ library support
  6338. - _LT_TAGVAR(ld_shlibs, $1)=no
  6339. - ;;
  6340. - esac
  6341. -
  6342. - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  6343. - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6344. -
  6345. - _LT_TAGVAR(GCC, $1)="$GXX"
  6346. - _LT_TAGVAR(LD, $1)="$LD"
  6347. -
  6348. - ## CAVEAT EMPTOR:
  6349. - ## There is no encapsulation within the following macros, do not change
  6350. - ## the running order or otherwise move them around unless you know exactly
  6351. - ## what you are doing...
  6352. - _LT_SYS_HIDDEN_LIBDEPS($1)
  6353. - _LT_COMPILER_PIC($1)
  6354. - _LT_COMPILER_C_O($1)
  6355. - _LT_COMPILER_FILE_LOCKS($1)
  6356. - _LT_LINKER_SHLIBS($1)
  6357. - _LT_SYS_DYNAMIC_LINKER($1)
  6358. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6359. -
  6360. - _LT_CONFIG($1)
  6361. - fi # test -n "$compiler"
  6362. -
  6363. - CC=$lt_save_CC
  6364. - LDCXX=$LD
  6365. - LD=$lt_save_LD
  6366. - GCC=$lt_save_GCC
  6367. - with_gnu_ld=$lt_save_with_gnu_ld
  6368. - lt_cv_path_LDCXX=$lt_cv_path_LD
  6369. - lt_cv_path_LD=$lt_save_path_LD
  6370. - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  6371. - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  6372. -fi # test "$_lt_caught_CXX_error" != yes
  6373. -
  6374. -AC_LANG_POP
  6375. -])# _LT_LANG_CXX_CONFIG
  6376. -
  6377. -
  6378. -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  6379. -# ---------------------------------
  6380. -# Figure out "hidden" library dependencies from verbose
  6381. -# compiler output when linking a shared library.
  6382. -# Parse the compiler output and extract the necessary
  6383. -# objects, libraries and library flags.
  6384. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  6385. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  6386. -# Dependencies to place before and after the object being linked:
  6387. -_LT_TAGVAR(predep_objects, $1)=
  6388. -_LT_TAGVAR(postdep_objects, $1)=
  6389. -_LT_TAGVAR(predeps, $1)=
  6390. -_LT_TAGVAR(postdeps, $1)=
  6391. -_LT_TAGVAR(compiler_lib_search_path, $1)=
  6392. -
  6393. -dnl we can't use the lt_simple_compile_test_code here,
  6394. -dnl because it contains code intended for an executable,
  6395. -dnl not a library. It's possible we should let each
  6396. -dnl tag define a new lt_????_link_test_code variable,
  6397. -dnl but it's only used here...
  6398. -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  6399. -int a;
  6400. -void foo (void) { a = 0; }
  6401. -_LT_EOF
  6402. -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  6403. -class Foo
  6404. -{
  6405. -public:
  6406. - Foo (void) { a = 0; }
  6407. -private:
  6408. - int a;
  6409. -};
  6410. -_LT_EOF
  6411. -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  6412. - subroutine foo
  6413. - implicit none
  6414. - integer*4 a
  6415. - a=0
  6416. - return
  6417. - end
  6418. -_LT_EOF
  6419. -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  6420. - subroutine foo
  6421. - implicit none
  6422. - integer a
  6423. - a=0
  6424. - return
  6425. - end
  6426. -_LT_EOF
  6427. -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  6428. -public class foo {
  6429. - private int a;
  6430. - public void bar (void) {
  6431. - a = 0;
  6432. - }
  6433. -};
  6434. -_LT_EOF
  6435. -])
  6436. -dnl Parse the compiler output and extract the necessary
  6437. -dnl objects, libraries and library flags.
  6438. -if AC_TRY_EVAL(ac_compile); then
  6439. - # Parse the compiler output and extract the necessary
  6440. - # objects, libraries and library flags.
  6441. -
  6442. - # Sentinel used to keep track of whether or not we are before
  6443. - # the conftest object file.
  6444. - pre_test_object_deps_done=no
  6445. -
  6446. - for p in `eval "$output_verbose_link_cmd"`; do
  6447. - case $p in
  6448. -
  6449. - -L* | -R* | -l*)
  6450. - # Some compilers place space between "-{L,R}" and the path.
  6451. - # Remove the space.
  6452. - if test $p = "-L" ||
  6453. - test $p = "-R"; then
  6454. - prev=$p
  6455. - continue
  6456. - else
  6457. - prev=
  6458. - fi
  6459. -
  6460. - if test "$pre_test_object_deps_done" = no; then
  6461. - case $p in
  6462. - -L* | -R*)
  6463. - # Internal compiler library paths should come after those
  6464. - # provided the user. The postdeps already come after the
  6465. - # user supplied libs so there is no need to process them.
  6466. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  6467. - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  6468. - else
  6469. - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  6470. - fi
  6471. - ;;
  6472. - # The "-l" case would never come before the object being
  6473. - # linked, so don't bother handling this case.
  6474. - esac
  6475. - else
  6476. - if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  6477. - _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  6478. - else
  6479. - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  6480. - fi
  6481. - fi
  6482. - ;;
  6483. -
  6484. - *.$objext)
  6485. - # This assumes that the test object file only shows up
  6486. - # once in the compiler output.
  6487. - if test "$p" = "conftest.$objext"; then
  6488. - pre_test_object_deps_done=yes
  6489. - continue
  6490. - fi
  6491. -
  6492. - if test "$pre_test_object_deps_done" = no; then
  6493. - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  6494. - _LT_TAGVAR(predep_objects, $1)="$p"
  6495. - else
  6496. - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  6497. - fi
  6498. - else
  6499. - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  6500. - _LT_TAGVAR(postdep_objects, $1)="$p"
  6501. - else
  6502. - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  6503. - fi
  6504. - fi
  6505. - ;;
  6506. -
  6507. - *) ;; # Ignore the rest.
  6508. -
  6509. - esac
  6510. - done
  6511. -
  6512. - # Clean up.
  6513. - rm -f a.out a.exe
  6514. -else
  6515. - echo "libtool.m4: error: problem compiling $1 test program"
  6516. -fi
  6517. -
  6518. -$RM -f confest.$objext
  6519. -
  6520. -# PORTME: override above test on systems where it is broken
  6521. -m4_if([$1], [CXX],
  6522. -[case $host_os in
  6523. -interix[[3-9]]*)
  6524. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  6525. - # hack all around it, let's just trust "g++" to DTRT.
  6526. - _LT_TAGVAR(predep_objects,$1)=
  6527. - _LT_TAGVAR(postdep_objects,$1)=
  6528. - _LT_TAGVAR(postdeps,$1)=
  6529. - ;;
  6530. -
  6531. -linux*)
  6532. - case `$CC -V 2>&1 | sed 5q` in
  6533. - *Sun\ C*)
  6534. - # Sun C++ 5.9
  6535. -
  6536. - # The more standards-conforming stlport4 library is
  6537. - # incompatible with the Cstd library. Avoid specifying
  6538. - # it if it's in CXXFLAGS. Ignore libCrun as
  6539. - # -library=stlport4 depends on it.
  6540. - case " $CXX $CXXFLAGS " in
  6541. - *" -library=stlport4 "*)
  6542. - solaris_use_stlport4=yes
  6543. - ;;
  6544. - esac
  6545. -
  6546. - if test "$solaris_use_stlport4" != yes; then
  6547. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6548. - fi
  6549. - ;;
  6550. - esac
  6551. - ;;
  6552. -
  6553. -solaris*)
  6554. - case $cc_basename in
  6555. - CC*)
  6556. - # The more standards-conforming stlport4 library is
  6557. - # incompatible with the Cstd library. Avoid specifying
  6558. - # it if it's in CXXFLAGS. Ignore libCrun as
  6559. - # -library=stlport4 depends on it.
  6560. - case " $CXX $CXXFLAGS " in
  6561. - *" -library=stlport4 "*)
  6562. - solaris_use_stlport4=yes
  6563. - ;;
  6564. - esac
  6565. -
  6566. - # Adding this requires a known-good setup of shared libraries for
  6567. - # Sun compiler versions before 5.6, else PIC objects from an old
  6568. - # archive will be linked into the output, leading to subtle bugs.
  6569. - if test "$solaris_use_stlport4" != yes; then
  6570. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6571. - fi
  6572. - ;;
  6573. - esac
  6574. - ;;
  6575. -esac
  6576. -])
  6577. -
  6578. -case " $_LT_TAGVAR(postdeps, $1) " in
  6579. -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  6580. -esac
  6581. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  6582. -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  6583. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  6584. -fi
  6585. -_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  6586. - [The directories searched by this compiler when creating a shared library])
  6587. -_LT_TAGDECL([], [predep_objects], [1],
  6588. - [Dependencies to place before and after the objects being linked to
  6589. - create a shared library])
  6590. -_LT_TAGDECL([], [postdep_objects], [1])
  6591. -_LT_TAGDECL([], [predeps], [1])
  6592. -_LT_TAGDECL([], [postdeps], [1])
  6593. -_LT_TAGDECL([], [compiler_lib_search_path], [1],
  6594. - [The library search path used internally by the compiler when linking
  6595. - a shared library])
  6596. -])# _LT_SYS_HIDDEN_LIBDEPS
  6597. -
  6598. -
  6599. -# _LT_PROG_F77
  6600. -# ------------
  6601. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  6602. -# if there is no fortran compiler, we have our own version here.
  6603. -m4_defun([_LT_PROG_F77],
  6604. -[
  6605. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  6606. -AC_PROG_F77
  6607. -if test -z "$F77" || test "X$F77" = "Xno"; then
  6608. - _lt_disable_F77=yes
  6609. -fi
  6610. -popdef([AC_MSG_ERROR])
  6611. -])# _LT_PROG_F77
  6612. -
  6613. -dnl aclocal-1.4 backwards compatibility:
  6614. -dnl AC_DEFUN([_LT_PROG_F77], [])
  6615. -
  6616. -
  6617. -# _LT_LANG_F77_CONFIG([TAG])
  6618. -# --------------------------
  6619. -# Ensure that the configuration variables for a Fortran 77 compiler are
  6620. -# suitably defined. These variables are subsequently used by _LT_CONFIG
  6621. -# to write the compiler configuration to `libtool'.
  6622. -m4_defun([_LT_LANG_F77_CONFIG],
  6623. -[AC_REQUIRE([_LT_PROG_F77])dnl
  6624. -AC_LANG_PUSH(Fortran 77)
  6625. -
  6626. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6627. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6628. -_LT_TAGVAR(always_export_symbols, $1)=no
  6629. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6630. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6631. -_LT_TAGVAR(hardcode_direct, $1)=no
  6632. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6633. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6634. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6635. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6636. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6637. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6638. -_LT_TAGVAR(inherit_rpath, $1)=no
  6639. -_LT_TAGVAR(module_cmds, $1)=
  6640. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6641. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6642. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6643. -_LT_TAGVAR(no_undefined_flag, $1)=
  6644. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6645. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6646. -
  6647. -# Source file extension for f77 test sources.
  6648. -ac_ext=f
  6649. -
  6650. -# Object file extension for compiled f77 test sources.
  6651. -objext=o
  6652. -_LT_TAGVAR(objext, $1)=$objext
  6653. -
  6654. -# No sense in running all these tests if we already determined that
  6655. -# the F77 compiler isn't working. Some variables (like enable_shared)
  6656. -# are currently assumed to apply to all compilers on this platform,
  6657. -# and will be corrupted by setting them based on a non-working compiler.
  6658. -if test "$_lt_disable_F77" != yes; then
  6659. - # Code to be used in simple compile tests
  6660. - lt_simple_compile_test_code="\
  6661. - subroutine t
  6662. - return
  6663. - end
  6664. -"
  6665. -
  6666. - # Code to be used in simple link tests
  6667. - lt_simple_link_test_code="\
  6668. - program t
  6669. - end
  6670. -"
  6671. -
  6672. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6673. - _LT_TAG_COMPILER
  6674. -
  6675. - # save warnings/boilerplate of simple test code
  6676. - _LT_COMPILER_BOILERPLATE
  6677. - _LT_LINKER_BOILERPLATE
  6678. -
  6679. - # Allow CC to be a program name with arguments.
  6680. - lt_save_CC="$CC"
  6681. - lt_save_GCC=$GCC
  6682. - CC=${F77-"f77"}
  6683. - compiler=$CC
  6684. - _LT_TAGVAR(compiler, $1)=$CC
  6685. - _LT_CC_BASENAME([$compiler])
  6686. - GCC=$G77
  6687. - if test -n "$compiler"; then
  6688. - AC_MSG_CHECKING([if libtool supports shared libraries])
  6689. - AC_MSG_RESULT([$can_build_shared])
  6690. -
  6691. - AC_MSG_CHECKING([whether to build shared libraries])
  6692. - test "$can_build_shared" = "no" && enable_shared=no
  6693. -
  6694. - # On AIX, shared libraries and static libraries use the same namespace, and
  6695. - # are all built from PIC.
  6696. - case $host_os in
  6697. - aix3*)
  6698. - test "$enable_shared" = yes && enable_static=no
  6699. - if test -n "$RANLIB"; then
  6700. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6701. - postinstall_cmds='$RANLIB $lib'
  6702. - fi
  6703. - ;;
  6704. - aix[[4-9]]*)
  6705. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6706. - test "$enable_shared" = yes && enable_static=no
  6707. - fi
  6708. - ;;
  6709. - esac
  6710. - AC_MSG_RESULT([$enable_shared])
  6711. -
  6712. - AC_MSG_CHECKING([whether to build static libraries])
  6713. - # Make sure either enable_shared or enable_static is yes.
  6714. - test "$enable_shared" = yes || enable_static=yes
  6715. - AC_MSG_RESULT([$enable_static])
  6716. -
  6717. - _LT_TAGVAR(GCC, $1)="$G77"
  6718. - _LT_TAGVAR(LD, $1)="$LD"
  6719. -
  6720. - ## CAVEAT EMPTOR:
  6721. - ## There is no encapsulation within the following macros, do not change
  6722. - ## the running order or otherwise move them around unless you know exactly
  6723. - ## what you are doing...
  6724. - _LT_COMPILER_PIC($1)
  6725. - _LT_COMPILER_C_O($1)
  6726. - _LT_COMPILER_FILE_LOCKS($1)
  6727. - _LT_LINKER_SHLIBS($1)
  6728. - _LT_SYS_DYNAMIC_LINKER($1)
  6729. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6730. -
  6731. - _LT_CONFIG($1)
  6732. - fi # test -n "$compiler"
  6733. -
  6734. - GCC=$lt_save_GCC
  6735. - CC="$lt_save_CC"
  6736. -fi # test "$_lt_disable_F77" != yes
  6737. -
  6738. -AC_LANG_POP
  6739. -])# _LT_LANG_F77_CONFIG
  6740. -
  6741. -
  6742. -# _LT_PROG_FC
  6743. -# -----------
  6744. -# Since AC_PROG_FC is broken, in that it returns the empty string
  6745. -# if there is no fortran compiler, we have our own version here.
  6746. -m4_defun([_LT_PROG_FC],
  6747. -[
  6748. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  6749. -AC_PROG_FC
  6750. -if test -z "$FC" || test "X$FC" = "Xno"; then
  6751. - _lt_disable_FC=yes
  6752. -fi
  6753. -popdef([AC_MSG_ERROR])
  6754. -])# _LT_PROG_FC
  6755. -
  6756. -dnl aclocal-1.4 backwards compatibility:
  6757. -dnl AC_DEFUN([_LT_PROG_FC], [])
  6758. -
  6759. -
  6760. -# _LT_LANG_FC_CONFIG([TAG])
  6761. -# -------------------------
  6762. -# Ensure that the configuration variables for a Fortran compiler are
  6763. -# suitably defined. These variables are subsequently used by _LT_CONFIG
  6764. -# to write the compiler configuration to `libtool'.
  6765. -m4_defun([_LT_LANG_FC_CONFIG],
  6766. -[AC_REQUIRE([_LT_PROG_FC])dnl
  6767. -AC_LANG_PUSH(Fortran)
  6768. -
  6769. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6770. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6771. -_LT_TAGVAR(always_export_symbols, $1)=no
  6772. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6773. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6774. -_LT_TAGVAR(hardcode_direct, $1)=no
  6775. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6776. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6777. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6778. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6779. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6780. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6781. -_LT_TAGVAR(inherit_rpath, $1)=no
  6782. -_LT_TAGVAR(module_cmds, $1)=
  6783. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6784. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6785. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6786. -_LT_TAGVAR(no_undefined_flag, $1)=
  6787. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6788. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6789. -
  6790. -# Source file extension for fc test sources.
  6791. -ac_ext=${ac_fc_srcext-f}
  6792. -
  6793. -# Object file extension for compiled fc test sources.
  6794. -objext=o
  6795. -_LT_TAGVAR(objext, $1)=$objext
  6796. -
  6797. -# No sense in running all these tests if we already determined that
  6798. -# the FC compiler isn't working. Some variables (like enable_shared)
  6799. -# are currently assumed to apply to all compilers on this platform,
  6800. -# and will be corrupted by setting them based on a non-working compiler.
  6801. -if test "$_lt_disable_FC" != yes; then
  6802. - # Code to be used in simple compile tests
  6803. - lt_simple_compile_test_code="\
  6804. - subroutine t
  6805. - return
  6806. - end
  6807. -"
  6808. -
  6809. - # Code to be used in simple link tests
  6810. - lt_simple_link_test_code="\
  6811. - program t
  6812. - end
  6813. -"
  6814. -
  6815. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6816. - _LT_TAG_COMPILER
  6817. -
  6818. - # save warnings/boilerplate of simple test code
  6819. - _LT_COMPILER_BOILERPLATE
  6820. - _LT_LINKER_BOILERPLATE
  6821. -
  6822. - # Allow CC to be a program name with arguments.
  6823. - lt_save_CC="$CC"
  6824. - lt_save_GCC=$GCC
  6825. - CC=${FC-"f95"}
  6826. - compiler=$CC
  6827. - GCC=$ac_cv_fc_compiler_gnu
  6828. -
  6829. - _LT_TAGVAR(compiler, $1)=$CC
  6830. - _LT_CC_BASENAME([$compiler])
  6831. -
  6832. - if test -n "$compiler"; then
  6833. - AC_MSG_CHECKING([if libtool supports shared libraries])
  6834. - AC_MSG_RESULT([$can_build_shared])
  6835. -
  6836. - AC_MSG_CHECKING([whether to build shared libraries])
  6837. - test "$can_build_shared" = "no" && enable_shared=no
  6838. -
  6839. - # On AIX, shared libraries and static libraries use the same namespace, and
  6840. - # are all built from PIC.
  6841. - case $host_os in
  6842. - aix3*)
  6843. - test "$enable_shared" = yes && enable_static=no
  6844. - if test -n "$RANLIB"; then
  6845. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6846. - postinstall_cmds='$RANLIB $lib'
  6847. - fi
  6848. - ;;
  6849. - aix[[4-9]]*)
  6850. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6851. - test "$enable_shared" = yes && enable_static=no
  6852. - fi
  6853. - ;;
  6854. - esac
  6855. - AC_MSG_RESULT([$enable_shared])
  6856. -
  6857. - AC_MSG_CHECKING([whether to build static libraries])
  6858. - # Make sure either enable_shared or enable_static is yes.
  6859. - test "$enable_shared" = yes || enable_static=yes
  6860. - AC_MSG_RESULT([$enable_static])
  6861. -
  6862. - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  6863. - _LT_TAGVAR(LD, $1)="$LD"
  6864. -
  6865. - ## CAVEAT EMPTOR:
  6866. - ## There is no encapsulation within the following macros, do not change
  6867. - ## the running order or otherwise move them around unless you know exactly
  6868. - ## what you are doing...
  6869. - _LT_SYS_HIDDEN_LIBDEPS($1)
  6870. - _LT_COMPILER_PIC($1)
  6871. - _LT_COMPILER_C_O($1)
  6872. - _LT_COMPILER_FILE_LOCKS($1)
  6873. - _LT_LINKER_SHLIBS($1)
  6874. - _LT_SYS_DYNAMIC_LINKER($1)
  6875. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6876. -
  6877. - _LT_CONFIG($1)
  6878. - fi # test -n "$compiler"
  6879. -
  6880. - GCC=$lt_save_GCC
  6881. - CC="$lt_save_CC"
  6882. -fi # test "$_lt_disable_FC" != yes
  6883. -
  6884. -AC_LANG_POP
  6885. -])# _LT_LANG_FC_CONFIG
  6886. -
  6887. -
  6888. -# _LT_LANG_GCJ_CONFIG([TAG])
  6889. -# --------------------------
  6890. -# Ensure that the configuration variables for the GNU Java Compiler compiler
  6891. -# are suitably defined. These variables are subsequently used by _LT_CONFIG
  6892. -# to write the compiler configuration to `libtool'.
  6893. -m4_defun([_LT_LANG_GCJ_CONFIG],
  6894. -[AC_REQUIRE([LT_PROG_GCJ])dnl
  6895. -AC_LANG_SAVE
  6896. -
  6897. -# Source file extension for Java test sources.
  6898. -ac_ext=java
  6899. -
  6900. -# Object file extension for compiled Java test sources.
  6901. -objext=o
  6902. -_LT_TAGVAR(objext, $1)=$objext
  6903. -
  6904. -# Code to be used in simple compile tests
  6905. -lt_simple_compile_test_code="class foo {}"
  6906. -
  6907. -# Code to be used in simple link tests
  6908. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  6909. -
  6910. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6911. -_LT_TAG_COMPILER
  6912. -
  6913. -# save warnings/boilerplate of simple test code
  6914. -_LT_COMPILER_BOILERPLATE
  6915. -_LT_LINKER_BOILERPLATE
  6916. -
  6917. -# Allow CC to be a program name with arguments.
  6918. -lt_save_CC="$CC"
  6919. -lt_save_GCC=$GCC
  6920. -GCC=yes
  6921. -CC=${GCJ-"gcj"}
  6922. -compiler=$CC
  6923. -_LT_TAGVAR(compiler, $1)=$CC
  6924. -_LT_TAGVAR(LD, $1)="$LD"
  6925. -_LT_CC_BASENAME([$compiler])
  6926. -
  6927. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  6928. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6929. -
  6930. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6931. -
  6932. -if test -n "$compiler"; then
  6933. - _LT_COMPILER_NO_RTTI($1)
  6934. - _LT_COMPILER_PIC($1)
  6935. - _LT_COMPILER_C_O($1)
  6936. - _LT_COMPILER_FILE_LOCKS($1)
  6937. - _LT_LINKER_SHLIBS($1)
  6938. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6939. -
  6940. - _LT_CONFIG($1)
  6941. -fi
  6942. -
  6943. -AC_LANG_RESTORE
  6944. -
  6945. -GCC=$lt_save_GCC
  6946. -CC="$lt_save_CC"
  6947. -])# _LT_LANG_GCJ_CONFIG
  6948. -
  6949. -
  6950. -# _LT_LANG_RC_CONFIG([TAG])
  6951. -# -------------------------
  6952. -# Ensure that the configuration variables for the Windows resource compiler
  6953. -# are suitably defined. These variables are subsequently used by _LT_CONFIG
  6954. -# to write the compiler configuration to `libtool'.
  6955. -m4_defun([_LT_LANG_RC_CONFIG],
  6956. -[AC_REQUIRE([LT_PROG_RC])dnl
  6957. -AC_LANG_SAVE
  6958. -
  6959. -# Source file extension for RC test sources.
  6960. -ac_ext=rc
  6961. -
  6962. -# Object file extension for compiled RC test sources.
  6963. -objext=o
  6964. -_LT_TAGVAR(objext, $1)=$objext
  6965. -
  6966. -# Code to be used in simple compile tests
  6967. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  6968. -
  6969. -# Code to be used in simple link tests
  6970. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  6971. -
  6972. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6973. -_LT_TAG_COMPILER
  6974. -
  6975. -# save warnings/boilerplate of simple test code
  6976. -_LT_COMPILER_BOILERPLATE
  6977. -_LT_LINKER_BOILERPLATE
  6978. -
  6979. -# Allow CC to be a program name with arguments.
  6980. -lt_save_CC="$CC"
  6981. -lt_save_GCC=$GCC
  6982. -GCC=
  6983. -CC=${RC-"windres"}
  6984. -compiler=$CC
  6985. -_LT_TAGVAR(compiler, $1)=$CC
  6986. -_LT_CC_BASENAME([$compiler])
  6987. -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  6988. -
  6989. -if test -n "$compiler"; then
  6990. - :
  6991. - _LT_CONFIG($1)
  6992. -fi
  6993. -
  6994. -GCC=$lt_save_GCC
  6995. -AC_LANG_RESTORE
  6996. -CC="$lt_save_CC"
  6997. -])# _LT_LANG_RC_CONFIG
  6998. -
  6999. -
  7000. -# LT_PROG_GCJ
  7001. -# -----------
  7002. -AC_DEFUN([LT_PROG_GCJ],
  7003. -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  7004. - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  7005. - [AC_CHECK_TOOL(GCJ, gcj,)
  7006. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  7007. - AC_SUBST(GCJFLAGS)])])[]dnl
  7008. -])
  7009. -
  7010. -# Old name:
  7011. -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  7012. -dnl aclocal-1.4 backwards compatibility:
  7013. -dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  7014. -
  7015. -
  7016. -# LT_PROG_RC
  7017. -# ----------
  7018. -AC_DEFUN([LT_PROG_RC],
  7019. -[AC_CHECK_TOOL(RC, windres,)
  7020. -])
  7021. -
  7022. -# Old name:
  7023. -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  7024. -dnl aclocal-1.4 backwards compatibility:
  7025. -dnl AC_DEFUN([LT_AC_PROG_RC], [])
  7026. -
  7027. -
  7028. -# _LT_DECL_EGREP
  7029. -# --------------
  7030. -# If we don't have a new enough Autoconf to choose the best grep
  7031. -# available, choose the one first in the user's PATH.
  7032. -m4_defun([_LT_DECL_EGREP],
  7033. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  7034. -AC_REQUIRE([AC_PROG_FGREP])dnl
  7035. -test -z "$GREP" && GREP=grep
  7036. -_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  7037. -_LT_DECL([], [EGREP], [1], [An ERE matcher])
  7038. -_LT_DECL([], [FGREP], [1], [A literal string matcher])
  7039. -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  7040. -AC_SUBST([GREP])
  7041. -])
  7042. -
  7043. -
  7044. -# _LT_DECL_OBJDUMP
  7045. -# --------------
  7046. -# If we don't have a new enough Autoconf to choose the best objdump
  7047. -# available, choose the one first in the user's PATH.
  7048. -m4_defun([_LT_DECL_OBJDUMP],
  7049. -[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7050. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7051. -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  7052. -AC_SUBST([OBJDUMP])
  7053. -])
  7054. -
  7055. -
  7056. -# _LT_DECL_SED
  7057. -# ------------
  7058. -# Check for a fully-functional sed program, that truncates
  7059. -# as few characters as possible. Prefer GNU sed if found.
  7060. -m4_defun([_LT_DECL_SED],
  7061. -[AC_PROG_SED
  7062. -test -z "$SED" && SED=sed
  7063. -Xsed="$SED -e 1s/^X//"
  7064. -_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  7065. -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  7066. - [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  7067. -])# _LT_DECL_SED
  7068. -
  7069. -m4_ifndef([AC_PROG_SED], [
  7070. -# NOTE: This macro has been submitted for inclusion into #
  7071. -# GNU Autoconf as AC_PROG_SED. When it is available in #
  7072. -# a released version of Autoconf we should remove this #
  7073. -# macro and use it instead. #
  7074. -
  7075. -m4_defun([AC_PROG_SED],
  7076. -[AC_MSG_CHECKING([for a sed that does not truncate output])
  7077. -AC_CACHE_VAL(lt_cv_path_SED,
  7078. -[# Loop through the user's path and test for sed and gsed.
  7079. -# Then use that list of sed's as ones to test for truncation.
  7080. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7081. -for as_dir in $PATH
  7082. -do
  7083. - IFS=$as_save_IFS
  7084. - test -z "$as_dir" && as_dir=.
  7085. - for lt_ac_prog in sed gsed; do
  7086. - for ac_exec_ext in '' $ac_executable_extensions; do
  7087. - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  7088. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  7089. - fi
  7090. - done
  7091. - done
  7092. -done
  7093. -IFS=$as_save_IFS
  7094. -lt_ac_max=0
  7095. -lt_ac_count=0
  7096. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  7097. -# along with /bin/sed that truncates output.
  7098. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  7099. - test ! -f $lt_ac_sed && continue
  7100. - cat /dev/null > conftest.in
  7101. - lt_ac_count=0
  7102. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  7103. - # Check for GNU sed and select it if it is found.
  7104. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  7105. - lt_cv_path_SED=$lt_ac_sed
  7106. - break
  7107. - fi
  7108. - while true; do
  7109. - cat conftest.in conftest.in >conftest.tmp
  7110. - mv conftest.tmp conftest.in
  7111. - cp conftest.in conftest.nl
  7112. - echo >>conftest.nl
  7113. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  7114. - cmp -s conftest.out conftest.nl || break
  7115. - # 10000 chars as input seems more than enough
  7116. - test $lt_ac_count -gt 10 && break
  7117. - lt_ac_count=`expr $lt_ac_count + 1`
  7118. - if test $lt_ac_count -gt $lt_ac_max; then
  7119. - lt_ac_max=$lt_ac_count
  7120. - lt_cv_path_SED=$lt_ac_sed
  7121. - fi
  7122. - done
  7123. -done
  7124. -])
  7125. -SED=$lt_cv_path_SED
  7126. -AC_SUBST([SED])
  7127. -AC_MSG_RESULT([$SED])
  7128. -])#AC_PROG_SED
  7129. -])#m4_ifndef
  7130. -
  7131. -# Old name:
  7132. -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  7133. -dnl aclocal-1.4 backwards compatibility:
  7134. -dnl AC_DEFUN([LT_AC_PROG_SED], [])
  7135. -
  7136. -
  7137. -# _LT_CHECK_SHELL_FEATURES
  7138. -# ------------------------
  7139. -# Find out whether the shell is Bourne or XSI compatible,
  7140. -# or has some other useful features.
  7141. -m4_defun([_LT_CHECK_SHELL_FEATURES],
  7142. -[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  7143. -# Try some XSI features
  7144. -xsi_shell=no
  7145. -( _lt_dummy="a/b/c"
  7146. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  7147. - = c,a/b,, \
  7148. - && eval 'test $(( 1 + 1 )) -eq 2 \
  7149. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  7150. - && xsi_shell=yes
  7151. -AC_MSG_RESULT([$xsi_shell])
  7152. -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  7153. -
  7154. -AC_MSG_CHECKING([whether the shell understands "+="])
  7155. -lt_shell_append=no
  7156. -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  7157. - >/dev/null 2>&1 \
  7158. - && lt_shell_append=yes
  7159. -AC_MSG_RESULT([$lt_shell_append])
  7160. -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  7161. -
  7162. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7163. - lt_unset=unset
  7164. -else
  7165. - lt_unset=false
  7166. -fi
  7167. -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  7168. -
  7169. -# test EBCDIC or ASCII
  7170. -case `echo X|tr X '\101'` in
  7171. - A) # ASCII based system
  7172. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  7173. - lt_SP2NL='tr \040 \012'
  7174. - lt_NL2SP='tr \015\012 \040\040'
  7175. - ;;
  7176. - *) # EBCDIC based system
  7177. - lt_SP2NL='tr \100 \n'
  7178. - lt_NL2SP='tr \r\n \100\100'
  7179. - ;;
  7180. -esac
  7181. -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  7182. -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  7183. -])# _LT_CHECK_SHELL_FEATURES
  7184. -
  7185. -
  7186. -# _LT_PROG_XSI_SHELLFNS
  7187. -# ---------------------
  7188. -# Bourne and XSI compatible variants of some useful shell functions.
  7189. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  7190. -[case $xsi_shell in
  7191. - yes)
  7192. - cat << \_LT_EOF >> "$cfgfile"
  7193. -
  7194. -# func_dirname file append nondir_replacement
  7195. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  7196. -# otherwise set result to NONDIR_REPLACEMENT.
  7197. -func_dirname ()
  7198. -{
  7199. - case ${1} in
  7200. - */*) func_dirname_result="${1%/*}${2}" ;;
  7201. - * ) func_dirname_result="${3}" ;;
  7202. - esac
  7203. -}
  7204. -
  7205. -# func_basename file
  7206. -func_basename ()
  7207. -{
  7208. - func_basename_result="${1##*/}"
  7209. -}
  7210. -
  7211. -# func_dirname_and_basename file append nondir_replacement
  7212. -# perform func_basename and func_dirname in a single function
  7213. -# call:
  7214. -# dirname: Compute the dirname of FILE. If nonempty,
  7215. -# add APPEND to the result, otherwise set result
  7216. -# to NONDIR_REPLACEMENT.
  7217. -# value returned in "$func_dirname_result"
  7218. -# basename: Compute filename of FILE.
  7219. -# value retuned in "$func_basename_result"
  7220. -# Implementation must be kept synchronized with func_dirname
  7221. -# and func_basename. For efficiency, we do not delegate to
  7222. -# those functions but instead duplicate the functionality here.
  7223. -func_dirname_and_basename ()
  7224. -{
  7225. - case ${1} in
  7226. - */*) func_dirname_result="${1%/*}${2}" ;;
  7227. - * ) func_dirname_result="${3}" ;;
  7228. - esac
  7229. - func_basename_result="${1##*/}"
  7230. -}
  7231. -
  7232. -# func_stripname prefix suffix name
  7233. -# strip PREFIX and SUFFIX off of NAME.
  7234. -# PREFIX and SUFFIX must not contain globbing or regex special
  7235. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7236. -# dot (in which case that matches only a dot).
  7237. -func_stripname ()
  7238. -{
  7239. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  7240. - # positional parameters, so assign one to ordinary parameter first.
  7241. - func_stripname_result=${3}
  7242. - func_stripname_result=${func_stripname_result#"${1}"}
  7243. - func_stripname_result=${func_stripname_result%"${2}"}
  7244. -}
  7245. -
  7246. -# func_opt_split
  7247. -func_opt_split ()
  7248. -{
  7249. - func_opt_split_opt=${1%%=*}
  7250. - func_opt_split_arg=${1#*=}
  7251. -}
  7252. -
  7253. -# func_lo2o object
  7254. -func_lo2o ()
  7255. -{
  7256. - case ${1} in
  7257. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  7258. - *) func_lo2o_result=${1} ;;
  7259. - esac
  7260. -}
  7261. -
  7262. -# func_xform libobj-or-source
  7263. -func_xform ()
  7264. -{
  7265. - func_xform_result=${1%.*}.lo
  7266. -}
  7267. -
  7268. -# func_arith arithmetic-term...
  7269. -func_arith ()
  7270. -{
  7271. - func_arith_result=$(( $[*] ))
  7272. -}
  7273. -
  7274. -# func_len string
  7275. -# STRING may not start with a hyphen.
  7276. -func_len ()
  7277. -{
  7278. - func_len_result=${#1}
  7279. -}
  7280. -
  7281. -_LT_EOF
  7282. - ;;
  7283. - *) # Bourne compatible functions.
  7284. - cat << \_LT_EOF >> "$cfgfile"
  7285. -
  7286. -# func_dirname file append nondir_replacement
  7287. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  7288. -# otherwise set result to NONDIR_REPLACEMENT.
  7289. -func_dirname ()
  7290. -{
  7291. - # Extract subdirectory from the argument.
  7292. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  7293. - if test "X$func_dirname_result" = "X${1}"; then
  7294. - func_dirname_result="${3}"
  7295. - else
  7296. - func_dirname_result="$func_dirname_result${2}"
  7297. - fi
  7298. -}
  7299. -
  7300. -# func_basename file
  7301. -func_basename ()
  7302. -{
  7303. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  7304. -}
  7305. -
  7306. -dnl func_dirname_and_basename
  7307. -dnl A portable version of this function is already defined in general.m4sh
  7308. -dnl so there is no need for it here.
  7309. -
  7310. -# func_stripname prefix suffix name
  7311. -# strip PREFIX and SUFFIX off of NAME.
  7312. -# PREFIX and SUFFIX must not contain globbing or regex special
  7313. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7314. -# dot (in which case that matches only a dot).
  7315. -# func_strip_suffix prefix name
  7316. -func_stripname ()
  7317. -{
  7318. - case ${2} in
  7319. - .*) func_stripname_result=`$ECHO "X${3}" \
  7320. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  7321. - *) func_stripname_result=`$ECHO "X${3}" \
  7322. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  7323. - esac
  7324. -}
  7325. -
  7326. -# sed scripts:
  7327. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  7328. -my_sed_long_arg='1s/^-[[^=]]*=//'
  7329. -
  7330. -# func_opt_split
  7331. -func_opt_split ()
  7332. -{
  7333. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  7334. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  7335. -}
  7336. -
  7337. -# func_lo2o object
  7338. -func_lo2o ()
  7339. -{
  7340. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  7341. -}
  7342. -
  7343. -# func_xform libobj-or-source
  7344. -func_xform ()
  7345. -{
  7346. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  7347. -}
  7348. -
  7349. -# func_arith arithmetic-term...
  7350. -func_arith ()
  7351. -{
  7352. - func_arith_result=`expr "$[@]"`
  7353. -}
  7354. -
  7355. -# func_len string
  7356. -# STRING may not start with a hyphen.
  7357. -func_len ()
  7358. -{
  7359. - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  7360. -}
  7361. -
  7362. -_LT_EOF
  7363. -esac
  7364. -
  7365. -case $lt_shell_append in
  7366. - yes)
  7367. - cat << \_LT_EOF >> "$cfgfile"
  7368. -
  7369. -# func_append var value
  7370. -# Append VALUE to the end of shell variable VAR.
  7371. -func_append ()
  7372. -{
  7373. - eval "$[1]+=\$[2]"
  7374. -}
  7375. -_LT_EOF
  7376. - ;;
  7377. - *)
  7378. - cat << \_LT_EOF >> "$cfgfile"
  7379. -
  7380. -# func_append var value
  7381. -# Append VALUE to the end of shell variable VAR.
  7382. -func_append ()
  7383. -{
  7384. - eval "$[1]=\$$[1]\$[2]"
  7385. -}
  7386. -
  7387. -_LT_EOF
  7388. - ;;
  7389. - esac
  7390. -])
  7391. -
  7392. -# Helper functions for option handling. -*- Autoconf -*-
  7393. -#
  7394. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7395. -# Written by Gary V. Vaughan, 2004
  7396. -#
  7397. -# This file is free software; the Free Software Foundation gives
  7398. -# unlimited permission to copy and/or distribute it, with or without
  7399. -# modifications, as long as this notice is preserved.
  7400. -
  7401. -# serial 6 ltoptions.m4
  7402. -
  7403. -# This is to help aclocal find these macros, as it can't see m4_define.
  7404. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  7405. -
  7406. -
  7407. -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  7408. -# ------------------------------------------
  7409. -m4_define([_LT_MANGLE_OPTION],
  7410. -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  7411. -
  7412. -
  7413. -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  7414. -# ---------------------------------------
  7415. -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  7416. -# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  7417. -# saved as a flag.
  7418. -m4_define([_LT_SET_OPTION],
  7419. -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  7420. -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  7421. - _LT_MANGLE_DEFUN([$1], [$2]),
  7422. - [m4_warning([Unknown $1 option `$2'])])[]dnl
  7423. -])
  7424. -
  7425. -
  7426. -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  7427. -# ------------------------------------------------------------
  7428. -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  7429. -m4_define([_LT_IF_OPTION],
  7430. -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  7431. -
  7432. -
  7433. -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  7434. -# -------------------------------------------------------
  7435. -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  7436. -# are set.
  7437. -m4_define([_LT_UNLESS_OPTIONS],
  7438. -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7439. - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  7440. - [m4_define([$0_found])])])[]dnl
  7441. -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  7442. -])[]dnl
  7443. -])
  7444. -
  7445. -
  7446. -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  7447. -# ----------------------------------------
  7448. -# OPTION-LIST is a space-separated list of Libtool options associated
  7449. -# with MACRO-NAME. If any OPTION has a matching handler declared with
  7450. -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  7451. -# the unknown option and exit.
  7452. -m4_defun([_LT_SET_OPTIONS],
  7453. -[# Set options
  7454. -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7455. - [_LT_SET_OPTION([$1], _LT_Option)])
  7456. -
  7457. -m4_if([$1],[LT_INIT],[
  7458. - dnl
  7459. - dnl Simply set some default values (i.e off) if boolean options were not
  7460. - dnl specified:
  7461. - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  7462. - ])
  7463. - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  7464. - ])
  7465. - dnl
  7466. - dnl If no reference was made to various pairs of opposing options, then
  7467. - dnl we run the default mode handler for the pair. For example, if neither
  7468. - dnl `shared' nor `disable-shared' was passed, we enable building of shared
  7469. - dnl archives by default:
  7470. - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  7471. - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  7472. - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  7473. - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  7474. - [_LT_ENABLE_FAST_INSTALL])
  7475. - ])
  7476. -])# _LT_SET_OPTIONS
  7477. -
  7478. -
  7479. -
  7480. -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  7481. -# -----------------------------------------
  7482. -m4_define([_LT_MANGLE_DEFUN],
  7483. -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  7484. -
  7485. -
  7486. -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  7487. -# -----------------------------------------------
  7488. -m4_define([LT_OPTION_DEFINE],
  7489. -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  7490. -])# LT_OPTION_DEFINE
  7491. -
  7492. -
  7493. -# dlopen
  7494. -# ------
  7495. -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  7496. -])
  7497. -
  7498. -AU_DEFUN([AC_LIBTOOL_DLOPEN],
  7499. -[_LT_SET_OPTION([LT_INIT], [dlopen])
  7500. -AC_DIAGNOSE([obsolete],
  7501. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7502. -put the `dlopen' option into LT_INIT's first parameter.])
  7503. -])
  7504. -
  7505. -dnl aclocal-1.4 backwards compatibility:
  7506. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  7507. -
  7508. -
  7509. -# win32-dll
  7510. -# ---------
  7511. -# Declare package support for building win32 dll's.
  7512. -LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  7513. -[enable_win32_dll=yes
  7514. -
  7515. -case $host in
  7516. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  7517. - AC_CHECK_TOOL(AS, as, false)
  7518. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  7519. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7520. - ;;
  7521. -esac
  7522. -
  7523. -test -z "$AS" && AS=as
  7524. -_LT_DECL([], [AS], [0], [Assembler program])dnl
  7525. -
  7526. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  7527. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  7528. -
  7529. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7530. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  7531. -])# win32-dll
  7532. -
  7533. -AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  7534. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  7535. -_LT_SET_OPTION([LT_INIT], [win32-dll])
  7536. -AC_DIAGNOSE([obsolete],
  7537. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7538. -put the `win32-dll' option into LT_INIT's first parameter.])
  7539. -])
  7540. -
  7541. -dnl aclocal-1.4 backwards compatibility:
  7542. -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  7543. -
  7544. -
  7545. -# _LT_ENABLE_SHARED([DEFAULT])
  7546. -# ----------------------------
  7547. -# implement the --enable-shared flag, and supports the `shared' and
  7548. -# `disable-shared' LT_INIT options.
  7549. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7550. -m4_define([_LT_ENABLE_SHARED],
  7551. -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7552. -AC_ARG_ENABLE([shared],
  7553. - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  7554. - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  7555. - [p=${PACKAGE-default}
  7556. - case $enableval in
  7557. - yes) enable_shared=yes ;;
  7558. - no) enable_shared=no ;;
  7559. - *)
  7560. - enable_shared=no
  7561. - # Look at the argument we got. We use all the common list separators.
  7562. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7563. - for pkg in $enableval; do
  7564. - IFS="$lt_save_ifs"
  7565. - if test "X$pkg" = "X$p"; then
  7566. - enable_shared=yes
  7567. - fi
  7568. - done
  7569. - IFS="$lt_save_ifs"
  7570. - ;;
  7571. - esac],
  7572. - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  7573. -
  7574. - _LT_DECL([build_libtool_libs], [enable_shared], [0],
  7575. - [Whether or not to build shared libraries])
  7576. -])# _LT_ENABLE_SHARED
  7577. -
  7578. -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  7579. -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  7580. -
  7581. -# Old names:
  7582. -AC_DEFUN([AC_ENABLE_SHARED],
  7583. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  7584. -])
  7585. -
  7586. -AC_DEFUN([AC_DISABLE_SHARED],
  7587. -[_LT_SET_OPTION([LT_INIT], [disable-shared])
  7588. -])
  7589. -
  7590. -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  7591. -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  7592. -
  7593. -dnl aclocal-1.4 backwards compatibility:
  7594. -dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  7595. -dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  7596. -
  7597. -
  7598. -
  7599. -# _LT_ENABLE_STATIC([DEFAULT])
  7600. -# ----------------------------
  7601. -# implement the --enable-static flag, and support the `static' and
  7602. -# `disable-static' LT_INIT options.
  7603. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7604. -m4_define([_LT_ENABLE_STATIC],
  7605. -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7606. -AC_ARG_ENABLE([static],
  7607. - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  7608. - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  7609. - [p=${PACKAGE-default}
  7610. - case $enableval in
  7611. - yes) enable_static=yes ;;
  7612. - no) enable_static=no ;;
  7613. - *)
  7614. - enable_static=no
  7615. - # Look at the argument we got. We use all the common list separators.
  7616. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7617. - for pkg in $enableval; do
  7618. - IFS="$lt_save_ifs"
  7619. - if test "X$pkg" = "X$p"; then
  7620. - enable_static=yes
  7621. - fi
  7622. - done
  7623. - IFS="$lt_save_ifs"
  7624. - ;;
  7625. - esac],
  7626. - [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  7627. -
  7628. - _LT_DECL([build_old_libs], [enable_static], [0],
  7629. - [Whether or not to build static libraries])
  7630. -])# _LT_ENABLE_STATIC
  7631. -
  7632. -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  7633. -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  7634. -
  7635. -# Old names:
  7636. -AC_DEFUN([AC_ENABLE_STATIC],
  7637. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  7638. -])
  7639. -
  7640. -AC_DEFUN([AC_DISABLE_STATIC],
  7641. -[_LT_SET_OPTION([LT_INIT], [disable-static])
  7642. -])
  7643. -
  7644. -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  7645. -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  7646. -
  7647. -dnl aclocal-1.4 backwards compatibility:
  7648. -dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  7649. -dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  7650. -
  7651. -
  7652. -
  7653. -# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  7654. -# ----------------------------------
  7655. -# implement the --enable-fast-install flag, and support the `fast-install'
  7656. -# and `disable-fast-install' LT_INIT options.
  7657. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7658. -m4_define([_LT_ENABLE_FAST_INSTALL],
  7659. -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7660. -AC_ARG_ENABLE([fast-install],
  7661. - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  7662. - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  7663. - [p=${PACKAGE-default}
  7664. - case $enableval in
  7665. - yes) enable_fast_install=yes ;;
  7666. - no) enable_fast_install=no ;;
  7667. - *)
  7668. - enable_fast_install=no
  7669. - # Look at the argument we got. We use all the common list separators.
  7670. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7671. - for pkg in $enableval; do
  7672. - IFS="$lt_save_ifs"
  7673. - if test "X$pkg" = "X$p"; then
  7674. - enable_fast_install=yes
  7675. - fi
  7676. - done
  7677. - IFS="$lt_save_ifs"
  7678. - ;;
  7679. - esac],
  7680. - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  7681. -
  7682. -_LT_DECL([fast_install], [enable_fast_install], [0],
  7683. - [Whether or not to optimize for fast installation])dnl
  7684. -])# _LT_ENABLE_FAST_INSTALL
  7685. -
  7686. -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  7687. -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  7688. -
  7689. -# Old names:
  7690. -AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  7691. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  7692. -AC_DIAGNOSE([obsolete],
  7693. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7694. -the `fast-install' option into LT_INIT's first parameter.])
  7695. -])
  7696. -
  7697. -AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  7698. -[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  7699. -AC_DIAGNOSE([obsolete],
  7700. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7701. -the `disable-fast-install' option into LT_INIT's first parameter.])
  7702. -])
  7703. -
  7704. -dnl aclocal-1.4 backwards compatibility:
  7705. -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  7706. -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  7707. -
  7708. -
  7709. -# _LT_WITH_PIC([MODE])
  7710. -# --------------------
  7711. -# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  7712. -# LT_INIT options.
  7713. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  7714. -m4_define([_LT_WITH_PIC],
  7715. -[AC_ARG_WITH([pic],
  7716. - [AS_HELP_STRING([--with-pic],
  7717. - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  7718. - [pic_mode="$withval"],
  7719. - [pic_mode=default])
  7720. -
  7721. -test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  7722. -
  7723. -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  7724. -])# _LT_WITH_PIC
  7725. -
  7726. -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  7727. -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  7728. -
  7729. -# Old name:
  7730. -AU_DEFUN([AC_LIBTOOL_PICMODE],
  7731. -[_LT_SET_OPTION([LT_INIT], [pic-only])
  7732. -AC_DIAGNOSE([obsolete],
  7733. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7734. -put the `pic-only' option into LT_INIT's first parameter.])
  7735. -])
  7736. -
  7737. -dnl aclocal-1.4 backwards compatibility:
  7738. -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  7739. -
  7740. -
  7741. -m4_define([_LTDL_MODE], [])
  7742. -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  7743. - [m4_define([_LTDL_MODE], [nonrecursive])])
  7744. -LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  7745. - [m4_define([_LTDL_MODE], [recursive])])
  7746. -LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  7747. - [m4_define([_LTDL_MODE], [subproject])])
  7748. -
  7749. -m4_define([_LTDL_TYPE], [])
  7750. -LT_OPTION_DEFINE([LTDL_INIT], [installable],
  7751. - [m4_define([_LTDL_TYPE], [installable])])
  7752. -LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  7753. - [m4_define([_LTDL_TYPE], [convenience])])
  7754. -
  7755. -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  7756. -#
  7757. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7758. -# Written by Gary V. Vaughan, 2004
  7759. -#
  7760. -# This file is free software; the Free Software Foundation gives
  7761. -# unlimited permission to copy and/or distribute it, with or without
  7762. -# modifications, as long as this notice is preserved.
  7763. -
  7764. -# serial 6 ltsugar.m4
  7765. -
  7766. -# This is to help aclocal find these macros, as it can't see m4_define.
  7767. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  7768. -
  7769. -
  7770. -# lt_join(SEP, ARG1, [ARG2...])
  7771. -# -----------------------------
  7772. -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  7773. -# associated separator.
  7774. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  7775. -# versions in m4sugar had bugs.
  7776. -m4_define([lt_join],
  7777. -[m4_if([$#], [1], [],
  7778. - [$#], [2], [[$2]],
  7779. - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  7780. -m4_define([_lt_join],
  7781. -[m4_if([$#$2], [2], [],
  7782. - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  7783. -
  7784. -
  7785. -# lt_car(LIST)
  7786. -# lt_cdr(LIST)
  7787. -# ------------
  7788. -# Manipulate m4 lists.
  7789. -# These macros are necessary as long as will still need to support
  7790. -# Autoconf-2.59 which quotes differently.
  7791. -m4_define([lt_car], [[$1]])
  7792. -m4_define([lt_cdr],
  7793. -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  7794. - [$#], 1, [],
  7795. - [m4_dquote(m4_shift($@))])])
  7796. -m4_define([lt_unquote], $1)
  7797. -
  7798. -
  7799. -# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  7800. -# ------------------------------------------
  7801. -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  7802. -# Note that neither SEPARATOR nor STRING are expanded; they are appended
  7803. -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  7804. -# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  7805. -# than defined and empty).
  7806. -#
  7807. -# This macro is needed until we can rely on Autoconf 2.62, since earlier
  7808. -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  7809. -m4_define([lt_append],
  7810. -[m4_define([$1],
  7811. - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  7812. -
  7813. -
  7814. -
  7815. -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  7816. -# ----------------------------------------------------------
  7817. -# Produce a SEP delimited list of all paired combinations of elements of
  7818. -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  7819. -# has the form PREFIXmINFIXSUFFIXn.
  7820. -# Needed until we can rely on m4_combine added in Autoconf 2.62.
  7821. -m4_define([lt_combine],
  7822. -[m4_if(m4_eval([$# > 3]), [1],
  7823. - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  7824. -[[m4_foreach([_Lt_prefix], [$2],
  7825. - [m4_foreach([_Lt_suffix],
  7826. - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  7827. - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  7828. -
  7829. -
  7830. -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  7831. -# -----------------------------------------------------------------------
  7832. -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  7833. -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  7834. -m4_define([lt_if_append_uniq],
  7835. -[m4_ifdef([$1],
  7836. - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  7837. - [lt_append([$1], [$2], [$3])$4],
  7838. - [$5])],
  7839. - [lt_append([$1], [$2], [$3])$4])])
  7840. -
  7841. -
  7842. -# lt_dict_add(DICT, KEY, VALUE)
  7843. -# -----------------------------
  7844. -m4_define([lt_dict_add],
  7845. -[m4_define([$1($2)], [$3])])
  7846. -
  7847. -
  7848. -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  7849. -# --------------------------------------------
  7850. -m4_define([lt_dict_add_subkey],
  7851. -[m4_define([$1($2:$3)], [$4])])
  7852. -
  7853. -
  7854. -# lt_dict_fetch(DICT, KEY, [SUBKEY])
  7855. -# ----------------------------------
  7856. -m4_define([lt_dict_fetch],
  7857. -[m4_ifval([$3],
  7858. - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  7859. - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  7860. -
  7861. -
  7862. -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  7863. -# -----------------------------------------------------------------
  7864. -m4_define([lt_if_dict_fetch],
  7865. -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  7866. - [$5],
  7867. - [$6])])
  7868. -
  7869. -
  7870. -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  7871. -# --------------------------------------------------------------
  7872. -m4_define([lt_dict_filter],
  7873. -[m4_if([$5], [], [],
  7874. - [lt_join(m4_quote(m4_default([$4], [[, ]])),
  7875. - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  7876. - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  7877. -])
  7878. -
  7879. -# ltversion.m4 -- version numbers -*- Autoconf -*-
  7880. -#
  7881. -# Copyright (C) 2004 Free Software Foundation, Inc.
  7882. -# Written by Scott James Remnant, 2004
  7883. -#
  7884. -# This file is free software; the Free Software Foundation gives
  7885. -# unlimited permission to copy and/or distribute it, with or without
  7886. -# modifications, as long as this notice is preserved.
  7887. -
  7888. -# Generated from ltversion.in.
  7889. -
  7890. -# serial 3017 ltversion.m4
  7891. -# This file is part of GNU Libtool
  7892. -
  7893. -m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  7894. -m4_define([LT_PACKAGE_REVISION], [1.3017])
  7895. -
  7896. -AC_DEFUN([LTVERSION_VERSION],
  7897. -[macro_version='2.2.6b'
  7898. -macro_revision='1.3017'
  7899. -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  7900. -_LT_DECL(, macro_revision, 0)
  7901. -])
  7902. -
  7903. -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  7904. -#
  7905. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  7906. -# Written by Scott James Remnant, 2004.
  7907. -#
  7908. -# This file is free software; the Free Software Foundation gives
  7909. -# unlimited permission to copy and/or distribute it, with or without
  7910. -# modifications, as long as this notice is preserved.
  7911. -
  7912. -# serial 4 lt~obsolete.m4
  7913. -
  7914. -# These exist entirely to fool aclocal when bootstrapping libtool.
  7915. -#
  7916. -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  7917. -# which have later been changed to m4_define as they aren't part of the
  7918. -# exported API, or moved to Autoconf or Automake where they belong.
  7919. -#
  7920. -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  7921. -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  7922. -# using a macro with the same name in our local m4/libtool.m4 it'll
  7923. -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  7924. -# and doesn't know about Autoconf macros at all.)
  7925. -#
  7926. -# So we provide this file, which has a silly filename so it's always
  7927. -# included after everything else. This provides aclocal with the
  7928. -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  7929. -# because those macros already exist, or will be overwritten later.
  7930. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  7931. -#
  7932. -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  7933. -# Yes, that means every name once taken will need to remain here until
  7934. -# we give up compatibility with versions before 1.7, at which point
  7935. -# we need to keep only those names which we still refer to.
  7936. -
  7937. -# This is to help aclocal find these macros, as it can't see m4_define.
  7938. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  7939. -
  7940. -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  7941. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  7942. -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  7943. -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  7944. -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  7945. -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  7946. -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  7947. -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  7948. -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  7949. -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  7950. -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  7951. -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  7952. -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  7953. -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  7954. -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  7955. -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  7956. -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  7957. -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  7958. -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  7959. -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  7960. -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  7961. -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  7962. -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  7963. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  7964. -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  7965. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  7966. -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  7967. -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  7968. -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  7969. -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  7970. -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  7971. -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  7972. -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  7973. -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  7974. -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  7975. -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  7976. -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  7977. -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  7978. -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  7979. -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  7980. -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  7981. -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  7982. -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  7983. -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  7984. -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  7985. -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  7986. -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  7987. -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  7988. -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  7989. -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  7990. -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  7991. -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  7992. -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  7993. -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  7994. -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  7995. -
  7996. -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  7997. +# Copyright (C) 2002-2018 Free Software Foundation, Inc.
  7998. #
  7999. # This file is free software; the Free Software Foundation
  8000. # gives unlimited permission to copy and/or distribute it,
  8001. @@ -7997,10 +32,10 @@
  8002. # generated from the m4 files accompanying Automake X.Y.
  8003. # (This private macro should not be called outside this file.)
  8004. AC_DEFUN([AM_AUTOMAKE_VERSION],
  8005. -[am__api_version='1.11'
  8006. +[am__api_version='1.16'
  8007. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  8008. dnl require some minimum version. Point them to the right macro.
  8009. -m4_if([$1], [1.11.1], [],
  8010. +m4_if([$1], [1.16.1], [],
  8011. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  8012. ])
  8013.  
  8014. @@ -8016,22 +51,22 @@
  8015. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  8016. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  8017. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  8018. -[AM_AUTOMAKE_VERSION([1.11.1])dnl
  8019. +[AM_AUTOMAKE_VERSION([1.16.1])dnl
  8020. m4_ifndef([AC_AUTOCONF_VERSION],
  8021. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  8022. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  8023.  
  8024. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  8025.  
  8026. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  8027. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8028. #
  8029. # This file is free software; the Free Software Foundation
  8030. # gives unlimited permission to copy and/or distribute it,
  8031. # with or without modifications, as long as this notice is preserved.
  8032.  
  8033. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  8034. -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  8035. -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  8036. +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
  8037. +# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  8038. #
  8039. # Of course, Automake must honor this variable whenever it calls a
  8040. # tool from the auxiliary directory. The problem is that $srcdir (and
  8041. @@ -8050,7 +85,7 @@
  8042. #
  8043. # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  8044. # are both prefixed by $srcdir. In an in-source build this is usually
  8045. -# harmless because $srcdir is `.', but things will broke when you
  8046. +# harmless because $srcdir is '.', but things will broke when you
  8047. # start a VPATH build or use an absolute $srcdir.
  8048. #
  8049. # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  8050. @@ -8068,30 +103,26 @@
  8051. # configured tree to be moved without reconfiguration.
  8052.  
  8053. AC_DEFUN([AM_AUX_DIR_EXPAND],
  8054. -[dnl Rely on autoconf to set up CDPATH properly.
  8055. -AC_PREREQ([2.50])dnl
  8056. -# expand $ac_aux_dir to an absolute path
  8057. -am_aux_dir=`cd $ac_aux_dir && pwd`
  8058. +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  8059. +# Expand $ac_aux_dir to an absolute path.
  8060. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  8061. ])
  8062.  
  8063. # AM_CONDITIONAL -*- Autoconf -*-
  8064.  
  8065. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  8066. -# Free Software Foundation, Inc.
  8067. +# Copyright (C) 1997-2018 Free Software Foundation, Inc.
  8068. #
  8069. # This file is free software; the Free Software Foundation
  8070. # gives unlimited permission to copy and/or distribute it,
  8071. # with or without modifications, as long as this notice is preserved.
  8072.  
  8073. -# serial 9
  8074. -
  8075. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  8076. # -------------------------------------
  8077. # Define a conditional.
  8078. AC_DEFUN([AM_CONDITIONAL],
  8079. -[AC_PREREQ(2.52)dnl
  8080. - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  8081. - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  8082. +[AC_PREREQ([2.52])dnl
  8083. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  8084. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  8085. AC_SUBST([$1_TRUE])dnl
  8086. AC_SUBST([$1_FALSE])dnl
  8087. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  8088. @@ -8110,16 +141,14 @@
  8089. Usually this means the macro was only invoked conditionally.]])
  8090. fi])])
  8091.  
  8092. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  8093. -# Free Software Foundation, Inc.
  8094. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8095. #
  8096. # This file is free software; the Free Software Foundation
  8097. # gives unlimited permission to copy and/or distribute it,
  8098. # with or without modifications, as long as this notice is preserved.
  8099.  
  8100. -# serial 10
  8101.  
  8102. -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  8103. +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  8104. # written in clear, in which case automake, when reading aclocal.m4,
  8105. # will think it sees a *use*, and therefore will trigger all it's
  8106. # C support machinery. Also note that it means that autoscan, seeing
  8107. @@ -8129,7 +158,7 @@
  8108. # _AM_DEPENDENCIES(NAME)
  8109. # ----------------------
  8110. # See how the compiler implements dependency checking.
  8111. -# NAME is "CC", "CXX", "GCJ", or "OBJC".
  8112. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  8113. # We try a few techniques and use that to set a single cache variable.
  8114. #
  8115. # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  8116. @@ -8142,12 +171,13 @@
  8117. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  8118. AC_REQUIRE([AM_DEP_TRACK])dnl
  8119.  
  8120. -ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  8121. - [$1], CXX, [depcc="$CXX" am_compiler_list=],
  8122. - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  8123. - [$1], UPC, [depcc="$UPC" am_compiler_list=],
  8124. - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  8125. - [depcc="$$1" am_compiler_list=])
  8126. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  8127. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  8128. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  8129. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  8130. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  8131. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  8132. + [depcc="$$1" am_compiler_list=])
  8133.  
  8134. AC_CACHE_CHECK([dependency style of $depcc],
  8135. [am_cv_$1_dependencies_compiler_type],
  8136. @@ -8155,8 +185,9 @@
  8137. # We make a subdir and do the tests there. Otherwise we can end up
  8138. # making bogus files that we don't know about and never remove. For
  8139. # instance it was reported that on HP-UX the gcc test will end up
  8140. - # making a dummy file named `D' -- because `-MD' means `put the output
  8141. - # in D'.
  8142. + # making a dummy file named 'D' -- because '-MD' means "put the output
  8143. + # in D".
  8144. + rm -rf conftest.dir
  8145. mkdir conftest.dir
  8146. # Copy depcomp to subdir because otherwise we won't find it if we're
  8147. # using a relative directory.
  8148. @@ -8195,16 +226,16 @@
  8149. : > sub/conftest.c
  8150. for i in 1 2 3 4 5 6; do
  8151. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8152. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8153. - # Solaris 8's {/usr,}/bin/sh.
  8154. - touch sub/conftst$i.h
  8155. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  8156. + # Solaris 10 /bin/sh.
  8157. + echo '/* dummy */' > sub/conftst$i.h
  8158. done
  8159. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8160.  
  8161. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8162. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  8163. # mode. It turns out that the SunPro C++ compiler does not properly
  8164. - # handle `-M -o', and we need to detect this. Also, some Intel
  8165. - # versions had trouble with output in subdirs
  8166. + # handle '-M -o', and we need to detect this. Also, some Intel
  8167. + # versions had trouble with output in subdirs.
  8168. am__obj=sub/conftest.${OBJEXT-o}
  8169. am__minus_obj="-o $am__obj"
  8170. case $depmode in
  8171. @@ -8213,16 +244,16 @@
  8172. test "$am__universal" = false || continue
  8173. ;;
  8174. nosideeffect)
  8175. - # after this tag, mechanisms are not by side-effect, so they'll
  8176. - # only be used when explicitly requested
  8177. + # After this tag, mechanisms are not by side-effect, so they'll
  8178. + # only be used when explicitly requested.
  8179. if test "x$enable_dependency_tracking" = xyes; then
  8180. continue
  8181. else
  8182. break
  8183. fi
  8184. ;;
  8185. - msvisualcpp | msvcmsys)
  8186. - # This compiler won't grok `-c -o', but also, the minuso test has
  8187. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  8188. + # This compiler won't grok '-c -o', but also, the minuso test has
  8189. # not run yet. These depmodes are late enough in the game, and
  8190. # so weak that their functioning should not be impacted.
  8191. am__obj=conftest.${OBJEXT-o}
  8192. @@ -8270,7 +301,7 @@
  8193. # AM_SET_DEPDIR
  8194. # -------------
  8195. # Choose a directory name for dependency files.
  8196. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  8197. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
  8198. AC_DEFUN([AM_SET_DEPDIR],
  8199. [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8200. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  8201. @@ -8280,81 +311,75 @@
  8202. # AM_DEP_TRACK
  8203. # ------------
  8204. AC_DEFUN([AM_DEP_TRACK],
  8205. -[AC_ARG_ENABLE(dependency-tracking,
  8206. -[ --disable-dependency-tracking speeds up one-time build
  8207. - --enable-dependency-tracking do not reject slow dependency extractors])
  8208. +[AC_ARG_ENABLE([dependency-tracking], [dnl
  8209. +AS_HELP_STRING(
  8210. + [--enable-dependency-tracking],
  8211. + [do not reject slow dependency extractors])
  8212. +AS_HELP_STRING(
  8213. + [--disable-dependency-tracking],
  8214. + [speeds up one-time build])])
  8215. if test "x$enable_dependency_tracking" != xno; then
  8216. am_depcomp="$ac_aux_dir/depcomp"
  8217. AMDEPBACKSLASH='\'
  8218. + am__nodep='_no'
  8219. fi
  8220. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  8221. AC_SUBST([AMDEPBACKSLASH])dnl
  8222. _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  8223. +AC_SUBST([am__nodep])dnl
  8224. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  8225. ])
  8226.  
  8227. # Generate code to set up dependency tracking. -*- Autoconf -*-
  8228.  
  8229. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  8230. -# Free Software Foundation, Inc.
  8231. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8232. #
  8233. # This file is free software; the Free Software Foundation
  8234. # gives unlimited permission to copy and/or distribute it,
  8235. # with or without modifications, as long as this notice is preserved.
  8236.  
  8237. -#serial 5
  8238. -
  8239. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  8240. # ------------------------------
  8241. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  8242. [{
  8243. - # Autoconf 2.62 quotes --file arguments for eval, but not when files
  8244. + # Older Autoconf quotes --file arguments for eval, but not when files
  8245. # are listed without --file. Let's play safe and only enable the eval
  8246. # if we detect the quoting.
  8247. - case $CONFIG_FILES in
  8248. - *\'*) eval set x "$CONFIG_FILES" ;;
  8249. - *) set x $CONFIG_FILES ;;
  8250. - esac
  8251. + # TODO: see whether this extra hack can be removed once we start
  8252. + # requiring Autoconf 2.70 or later.
  8253. + AS_CASE([$CONFIG_FILES],
  8254. + [*\'*], [eval set x "$CONFIG_FILES"],
  8255. + [*], [set x $CONFIG_FILES])
  8256. shift
  8257. - for mf
  8258. + # Used to flag and report bootstrapping failures.
  8259. + am_rc=0
  8260. + for am_mf
  8261. do
  8262. # Strip MF so we end up with the name of the file.
  8263. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  8264. - # Check whether this is an Automake generated Makefile or not.
  8265. - # We used to match only the files named `Makefile.in', but
  8266. - # some people rename them; so instead we look at the file content.
  8267. - # Grep'ing the first line is not enough: some people post-process
  8268. - # each Makefile.in and add a new line on top of each file to say so.
  8269. - # Grep'ing the whole file is not good either: AIX grep has a line
  8270. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  8271. + # Check whether this is an Automake generated Makefile which includes
  8272. + # dependency-tracking related rules and includes.
  8273. + # Grep'ing the whole file directly is not great: AIX grep has a line
  8274. # limit of 2048, but all sed's we know have understand at least 4000.
  8275. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  8276. - dirpart=`AS_DIRNAME("$mf")`
  8277. - else
  8278. - continue
  8279. - fi
  8280. - # Extract the definition of DEPDIR, am__include, and am__quote
  8281. - # from the Makefile without running `make'.
  8282. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  8283. - test -z "$DEPDIR" && continue
  8284. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  8285. - test -z "am__include" && continue
  8286. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  8287. - # When using ansi2knr, U may be empty or an underscore; expand it
  8288. - U=`sed -n 's/^U = //p' < "$mf"`
  8289. - # Find all dependency output files, they are included files with
  8290. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  8291. - # simplest approach to changing $(DEPDIR) to its actual value in the
  8292. - # expansion.
  8293. - for file in `sed -n "
  8294. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  8295. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8296. - # Make sure the directory exists.
  8297. - test -f "$dirpart/$file" && continue
  8298. - fdir=`AS_DIRNAME(["$file"])`
  8299. - AS_MKDIR_P([$dirpart/$fdir])
  8300. - # echo "creating $dirpart/$file"
  8301. - echo '# dummy' > "$dirpart/$file"
  8302. - done
  8303. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  8304. + || continue
  8305. + am_dirpart=`AS_DIRNAME(["$am_mf"])`
  8306. + am_filepart=`AS_BASENAME(["$am_mf"])`
  8307. + AM_RUN_LOG([cd "$am_dirpart" \
  8308. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  8309. + | $MAKE -f - am--depfiles]) || am_rc=$?
  8310. done
  8311. + if test $am_rc -ne 0; then
  8312. + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  8313. + for automatic dependency tracking. Try re-running configure with the
  8314. + '--disable-dependency-tracking' option to at least be able to build
  8315. + the package (albeit without support for automatic dependency tracking).])
  8316. + fi
  8317. + AS_UNSET([am_dirpart])
  8318. + AS_UNSET([am_filepart])
  8319. + AS_UNSET([am_mf])
  8320. + AS_UNSET([am_rc])
  8321. + rm -f conftest-deps.mk
  8322. }
  8323. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  8324.  
  8325. @@ -8363,41 +388,31 @@
  8326. # -----------------------------
  8327. # This macro should only be invoked once -- use via AC_REQUIRE.
  8328. #
  8329. -# This code is only required when automatic dependency tracking
  8330. -# is enabled. FIXME. This creates each `.P' file that we will
  8331. -# need in order to bootstrap the dependency handling code.
  8332. +# This code is only required when automatic dependency tracking is enabled.
  8333. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
  8334. +# order to bootstrap the dependency handling code.
  8335. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  8336. [AC_CONFIG_COMMANDS([depfiles],
  8337. [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  8338. - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  8339. -])
  8340. -
  8341. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  8342. -# Free Software Foundation, Inc.
  8343. -#
  8344. -# This file is free software; the Free Software Foundation
  8345. -# gives unlimited permission to copy and/or distribute it,
  8346. -# with or without modifications, as long as this notice is preserved.
  8347. -
  8348. -# serial 8
  8349. -
  8350. -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
  8351. -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
  8352. + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  8353.  
  8354. # Do all the work for Automake. -*- Autoconf -*-
  8355.  
  8356. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8357. -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  8358. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8359. #
  8360. # This file is free software; the Free Software Foundation
  8361. # gives unlimited permission to copy and/or distribute it,
  8362. # with or without modifications, as long as this notice is preserved.
  8363.  
  8364. -# serial 16
  8365. -
  8366. # This macro actually does too much. Some checks are only needed if
  8367. # your package does certain things. But this isn't really a big deal.
  8368.  
  8369. +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
  8370. +m4_define([AC_PROG_CC],
  8371. +m4_defn([AC_PROG_CC])
  8372. +[_AM_PROG_CC_C_O
  8373. +])
  8374. +
  8375. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  8376. # AM_INIT_AUTOMAKE([OPTIONS])
  8377. # -----------------------------------------------
  8378. @@ -8410,7 +425,7 @@
  8379. # arguments mandatory, and then we can depend on a new Autoconf
  8380. # release and drop the old call support.
  8381. AC_DEFUN([AM_INIT_AUTOMAKE],
  8382. -[AC_PREREQ([2.62])dnl
  8383. +[AC_PREREQ([2.65])dnl
  8384. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  8385. dnl the ones we care about.
  8386. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  8387. @@ -8439,33 +454,42 @@
  8388. # Define the identity of the package.
  8389. dnl Distinguish between old-style and new-style calls.
  8390. m4_ifval([$2],
  8391. -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  8392. +[AC_DIAGNOSE([obsolete],
  8393. + [$0: two- and three-arguments forms are deprecated.])
  8394. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  8395. AC_SUBST([PACKAGE], [$1])dnl
  8396. AC_SUBST([VERSION], [$2])],
  8397. [_AM_SET_OPTIONS([$1])dnl
  8398. dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  8399. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  8400. +m4_if(
  8401. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  8402. + [ok:ok],,
  8403. [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  8404. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  8405. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  8406.  
  8407. _AM_IF_OPTION([no-define],,
  8408. -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  8409. - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  8410. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  8411. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  8412.  
  8413. # Some tools Automake needs.
  8414. AC_REQUIRE([AM_SANITY_CHECK])dnl
  8415. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  8416. -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  8417. -AM_MISSING_PROG(AUTOCONF, autoconf)
  8418. -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  8419. -AM_MISSING_PROG(AUTOHEADER, autoheader)
  8420. -AM_MISSING_PROG(MAKEINFO, makeinfo)
  8421. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  8422. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  8423. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  8424. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  8425. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  8426. AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  8427. AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  8428. -AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  8429. -# We need awk for the "check" target. The system "awk" is bad on
  8430. -# some platforms.
  8431. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  8432. +# For better backward compatibility. To be removed once Automake 1.9.x
  8433. +# dies out for good. For more background, see:
  8434. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  8435. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  8436. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  8437. +# We need awk for the "check" target (and possibly the TAP driver). The
  8438. +# system "awk" is bad on some platforms.
  8439. AC_REQUIRE([AC_PROG_AWK])dnl
  8440. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  8441. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8442. @@ -8474,34 +498,82 @@
  8443. [_AM_PROG_TAR([v7])])])
  8444. _AM_IF_OPTION([no-dependencies],,
  8445. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  8446. - [_AM_DEPENDENCIES(CC)],
  8447. - [define([AC_PROG_CC],
  8448. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  8449. + [_AM_DEPENDENCIES([CC])],
  8450. + [m4_define([AC_PROG_CC],
  8451. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  8452. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  8453. - [_AM_DEPENDENCIES(CXX)],
  8454. - [define([AC_PROG_CXX],
  8455. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  8456. + [_AM_DEPENDENCIES([CXX])],
  8457. + [m4_define([AC_PROG_CXX],
  8458. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  8459. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  8460. - [_AM_DEPENDENCIES(OBJC)],
  8461. - [define([AC_PROG_OBJC],
  8462. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  8463. -])
  8464. -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  8465. -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  8466. -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  8467. -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8468. + [_AM_DEPENDENCIES([OBJC])],
  8469. + [m4_define([AC_PROG_OBJC],
  8470. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  8471. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  8472. + [_AM_DEPENDENCIES([OBJCXX])],
  8473. + [m4_define([AC_PROG_OBJCXX],
  8474. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  8475. +])
  8476. +AC_REQUIRE([AM_SILENT_RULES])dnl
  8477. +dnl The testsuite driver may need to know about EXEEXT, so add the
  8478. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  8479. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8480. AC_CONFIG_COMMANDS_PRE(dnl
  8481. [m4_provide_if([_AM_COMPILER_EXEEXT],
  8482. [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  8483. +
  8484. +# POSIX will say in a future version that running "rm -f" with no argument
  8485. +# is OK; and we want to be able to make that assumption in our Makefile
  8486. +# recipes. So use an aggressive probe to check that the usage we want is
  8487. +# actually supported "in the wild" to an acceptable degree.
  8488. +# See automake bug#10828.
  8489. +# To make any issue more visible, cause the running configure to be aborted
  8490. +# by default if the 'rm' program in use doesn't match our expectations; the
  8491. +# user can still override this though.
  8492. +if rm -f && rm -fr && rm -rf; then : OK; else
  8493. + cat >&2 <<'END'
  8494. +Oops!
  8495. +
  8496. +Your 'rm' program seems unable to run without file operands specified
  8497. +on the command line, even when the '-f' option is present. This is contrary
  8498. +to the behaviour of most rm programs out there, and not conforming with
  8499. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  8500. +
  8501. +Please tell [email protected] about your system, including the value
  8502. +of your $PATH and any error possibly output before this message. This
  8503. +can help us improve future automake versions.
  8504. +
  8505. +END
  8506. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  8507. + echo 'Configuration will proceed anyway, since you have set the' >&2
  8508. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  8509. + echo >&2
  8510. + else
  8511. + cat >&2 <<'END'
  8512. +Aborting the configuration process, to ensure you take notice of the issue.
  8513. +
  8514. +You can download and install GNU coreutils to get an 'rm' implementation
  8515. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  8516. +
  8517. +If you want to complete the configuration process using your problematic
  8518. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  8519. +to "yes", and re-run configure.
  8520. +
  8521. +END
  8522. + AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  8523. + fi
  8524. +fi
  8525. +dnl The trailing newline in this macro's definition is deliberate, for
  8526. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  8527. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  8528. ])
  8529.  
  8530. -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  8531. +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  8532. dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  8533. dnl mangled by Autoconf and run in a shell conditional statement.
  8534. m4_define([_AC_COMPILER_EXEEXT],
  8535. m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  8536.  
  8537. -
  8538. # When config.status generates a header, we must update the stamp-h file.
  8539. # This file resides in the same directory as the config header
  8540. # that is generated. The stamp files are numbered to have different names.
  8541. @@ -8523,7 +595,7 @@
  8542. done
  8543. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  8544.  
  8545. -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  8546. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8547. #
  8548. # This file is free software; the Free Software Foundation
  8549. # gives unlimited permission to copy and/or distribute it,
  8550. @@ -8534,7 +606,7 @@
  8551. # Define $install_sh.
  8552. AC_DEFUN([AM_PROG_INSTALL_SH],
  8553. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8554. -if test x"${install_sh}" != xset; then
  8555. +if test x"${install_sh+set}" != xset; then
  8556. case $am_aux_dir in
  8557. *\ * | *\ *)
  8558. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  8559. @@ -8542,16 +614,14 @@
  8560. install_sh="\${SHELL} $am_aux_dir/install-sh"
  8561. esac
  8562. fi
  8563. -AC_SUBST(install_sh)])
  8564. +AC_SUBST([install_sh])])
  8565.  
  8566. -# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  8567. +# Copyright (C) 2003-2018 Free Software Foundation, Inc.
  8568. #
  8569. # This file is free software; the Free Software Foundation
  8570. # gives unlimited permission to copy and/or distribute it,
  8571. # with or without modifications, as long as this notice is preserved.
  8572.  
  8573. -# serial 2
  8574. -
  8575. # Check whether the underlying file-system supports filenames
  8576. # with a leading dot. For instance MS-DOS doesn't.
  8577. AC_DEFUN([AM_SET_LEADING_DOT],
  8578. @@ -8567,67 +637,55 @@
  8579.  
  8580. # Check to see how 'make' treats includes. -*- Autoconf -*-
  8581.  
  8582. -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  8583. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8584. #
  8585. # This file is free software; the Free Software Foundation
  8586. # gives unlimited permission to copy and/or distribute it,
  8587. # with or without modifications, as long as this notice is preserved.
  8588.  
  8589. -# serial 4
  8590. -
  8591. # AM_MAKE_INCLUDE()
  8592. # -----------------
  8593. -# Check to see how make treats includes.
  8594. +# Check whether make has an 'include' directive that can support all
  8595. +# the idioms we need for our automatic dependency tracking code.
  8596. AC_DEFUN([AM_MAKE_INCLUDE],
  8597. -[am_make=${MAKE-make}
  8598. -cat > confinc << 'END'
  8599. +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
  8600. +cat > confinc.mk << 'END'
  8601. am__doit:
  8602. - @echo this is the am__doit target
  8603. + @echo this is the am__doit target >confinc.out
  8604. .PHONY: am__doit
  8605. END
  8606. -# If we don't find an include directive, just comment out the code.
  8607. -AC_MSG_CHECKING([for style of include used by $am_make])
  8608. am__include="#"
  8609. am__quote=
  8610. -_am_result=none
  8611. -# First try GNU make style include.
  8612. -echo "include confinc" > confmf
  8613. -# Ignore all kinds of additional output from `make'.
  8614. -case `$am_make -s -f confmf 2> /dev/null` in #(
  8615. -*the\ am__doit\ target*)
  8616. - am__include=include
  8617. - am__quote=
  8618. - _am_result=GNU
  8619. - ;;
  8620. -esac
  8621. -# Now try BSD make style include.
  8622. -if test "$am__include" = "#"; then
  8623. - echo '.include "confinc"' > confmf
  8624. - case `$am_make -s -f confmf 2> /dev/null` in #(
  8625. - *the\ am__doit\ target*)
  8626. - am__include=.include
  8627. - am__quote="\""
  8628. - _am_result=BSD
  8629. - ;;
  8630. - esac
  8631. -fi
  8632. -AC_SUBST([am__include])
  8633. -AC_SUBST([am__quote])
  8634. -AC_MSG_RESULT([$_am_result])
  8635. -rm -f confinc confmf
  8636. -])
  8637. +# BSD make does it like this.
  8638. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  8639. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  8640. +echo 'include confinc.mk # ignored' > confmf.GNU
  8641. +_am_result=no
  8642. +for s in GNU BSD; do
  8643. + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  8644. + AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  8645. + ['0:this is the am__doit target'],
  8646. + [AS_CASE([$s],
  8647. + [BSD], [am__include='.include' am__quote='"'],
  8648. + [am__include='include' am__quote=''])])
  8649. + if test "$am__include" != "#"; then
  8650. + _am_result="yes ($s style)"
  8651. + break
  8652. + fi
  8653. +done
  8654. +rm -f confinc.* confmf.*
  8655. +AC_MSG_RESULT([${_am_result}])
  8656. +AC_SUBST([am__include])])
  8657. +AC_SUBST([am__quote])])
  8658.  
  8659. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  8660.  
  8661. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  8662. -# Free Software Foundation, Inc.
  8663. +# Copyright (C) 1997-2018 Free Software Foundation, Inc.
  8664. #
  8665. # This file is free software; the Free Software Foundation
  8666. # gives unlimited permission to copy and/or distribute it,
  8667. # with or without modifications, as long as this notice is preserved.
  8668.  
  8669. -# serial 6
  8670. -
  8671. # AM_MISSING_PROG(NAME, PROGRAM)
  8672. # ------------------------------
  8673. AC_DEFUN([AM_MISSING_PROG],
  8674. @@ -8635,11 +693,10 @@
  8675. $1=${$1-"${am_missing_run}$2"}
  8676. AC_SUBST($1)])
  8677.  
  8678. -
  8679. # AM_MISSING_HAS_RUN
  8680. # ------------------
  8681. -# Define MISSING if not defined so far and test if it supports --run.
  8682. -# If it does, set am_missing_run to use it, otherwise, to nothing.
  8683. +# Define MISSING if not defined so far and test if it is modern enough.
  8684. +# If it is, set am_missing_run to use it, otherwise, to nothing.
  8685. AC_DEFUN([AM_MISSING_HAS_RUN],
  8686. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8687. AC_REQUIRE_AUX_FILE([missing])dnl
  8688. @@ -8652,63 +709,64 @@
  8689. esac
  8690. fi
  8691. # Use eval to expand $SHELL
  8692. -if eval "$MISSING --run true"; then
  8693. - am_missing_run="$MISSING --run "
  8694. +if eval "$MISSING --is-lightweight"; then
  8695. + am_missing_run="$MISSING "
  8696. else
  8697. am_missing_run=
  8698. - AC_MSG_WARN([`missing' script is too old or missing])
  8699. + AC_MSG_WARN(['missing' script is too old or missing])
  8700. fi
  8701. ])
  8702.  
  8703. -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  8704. +# -*- Autoconf -*-
  8705. +# Obsolete and "removed" macros, that must however still report explicit
  8706. +# error messages when used, to smooth transition.
  8707. +#
  8708. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8709. #
  8710. # This file is free software; the Free Software Foundation
  8711. # gives unlimited permission to copy and/or distribute it,
  8712. # with or without modifications, as long as this notice is preserved.
  8713.  
  8714. -# AM_PROG_MKDIR_P
  8715. -# ---------------
  8716. -# Check for `mkdir -p'.
  8717. -AC_DEFUN([AM_PROG_MKDIR_P],
  8718. -[AC_PREREQ([2.60])dnl
  8719. -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  8720. -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  8721. -dnl while keeping a definition of mkdir_p for backward compatibility.
  8722. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  8723. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  8724. -dnl Makefile.ins that do not define MKDIR_P, so we do our own
  8725. -dnl adjustment using top_builddir (which is defined more often than
  8726. -dnl MKDIR_P).
  8727. -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  8728. -case $mkdir_p in
  8729. - [[\\/$]]* | ?:[[\\/]]*) ;;
  8730. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  8731. -esac
  8732. -])
  8733. +AC_DEFUN([AM_CONFIG_HEADER],
  8734. +[AC_DIAGNOSE([obsolete],
  8735. +['$0': this macro is obsolete.
  8736. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  8737. +AC_CONFIG_HEADERS($@)])
  8738. +
  8739. +AC_DEFUN([AM_PROG_CC_STDC],
  8740. +[AC_PROG_CC
  8741. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  8742. +AC_DIAGNOSE([obsolete],
  8743. +['$0': this macro is obsolete.
  8744. +You should simply use the 'AC][_PROG_CC' macro instead.
  8745. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  8746. +but upon 'ac_cv_prog_cc_stdc'.])])
  8747. +
  8748. +AC_DEFUN([AM_C_PROTOTYPES],
  8749. + [AC_FATAL([automatic de-ANSI-fication support has been removed])])
  8750. +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  8751.  
  8752. # Helper functions for option handling. -*- Autoconf -*-
  8753.  
  8754. -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  8755. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8756. #
  8757. # This file is free software; the Free Software Foundation
  8758. # gives unlimited permission to copy and/or distribute it,
  8759. # with or without modifications, as long as this notice is preserved.
  8760.  
  8761. -# serial 4
  8762. -
  8763. # _AM_MANGLE_OPTION(NAME)
  8764. # -----------------------
  8765. AC_DEFUN([_AM_MANGLE_OPTION],
  8766. [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  8767.  
  8768. # _AM_SET_OPTION(NAME)
  8769. -# ------------------------------
  8770. +# --------------------
  8771. # Set option NAME. Presently that only means defining a flag for this option.
  8772. AC_DEFUN([_AM_SET_OPTION],
  8773. -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  8774. +[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  8775.  
  8776. # _AM_SET_OPTIONS(OPTIONS)
  8777. -# ----------------------------------
  8778. +# ------------------------
  8779. # OPTIONS is a space-separated list of Automake options.
  8780. AC_DEFUN([_AM_SET_OPTIONS],
  8781. [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  8782. @@ -8719,24 +777,82 @@
  8783. AC_DEFUN([_AM_IF_OPTION],
  8784. [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  8785.  
  8786. -# Check to make sure that the build environment is sane. -*- Autoconf -*-
  8787. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8788. +#
  8789. +# This file is free software; the Free Software Foundation
  8790. +# gives unlimited permission to copy and/or distribute it,
  8791. +# with or without modifications, as long as this notice is preserved.
  8792.  
  8793. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  8794. -# Free Software Foundation, Inc.
  8795. +# _AM_PROG_CC_C_O
  8796. +# ---------------
  8797. +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
  8798. +# to automatically call this.
  8799. +AC_DEFUN([_AM_PROG_CC_C_O],
  8800. +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8801. +AC_REQUIRE_AUX_FILE([compile])dnl
  8802. +AC_LANG_PUSH([C])dnl
  8803. +AC_CACHE_CHECK(
  8804. + [whether $CC understands -c and -o together],
  8805. + [am_cv_prog_cc_c_o],
  8806. + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  8807. + # Make sure it works both with $CC and with simple cc.
  8808. + # Following AC_PROG_CC_C_O, we do the test twice because some
  8809. + # compilers refuse to overwrite an existing .o file with -o,
  8810. + # though they will create one.
  8811. + am_cv_prog_cc_c_o=yes
  8812. + for am_i in 1 2; do
  8813. + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  8814. + && test -f conftest2.$ac_objext; then
  8815. + : OK
  8816. + else
  8817. + am_cv_prog_cc_c_o=no
  8818. + break
  8819. + fi
  8820. + done
  8821. + rm -f core conftest*
  8822. + unset am_i])
  8823. +if test "$am_cv_prog_cc_c_o" != yes; then
  8824. + # Losing compiler, so override with the script.
  8825. + # FIXME: It is wrong to rewrite CC.
  8826. + # But if we don't then we get into trouble of one sort or another.
  8827. + # A longer-term fix would be to have automake use am__CC in this case,
  8828. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  8829. + CC="$am_aux_dir/compile $CC"
  8830. +fi
  8831. +AC_LANG_POP([C])])
  8832. +
  8833. +# For backward compatibility.
  8834. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  8835. +
  8836. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8837. #
  8838. # This file is free software; the Free Software Foundation
  8839. # gives unlimited permission to copy and/or distribute it,
  8840. # with or without modifications, as long as this notice is preserved.
  8841.  
  8842. -# serial 5
  8843. +# AM_RUN_LOG(COMMAND)
  8844. +# -------------------
  8845. +# Run COMMAND, save the exit status in ac_status, and log it.
  8846. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
  8847. +AC_DEFUN([AM_RUN_LOG],
  8848. +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  8849. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  8850. + ac_status=$?
  8851. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8852. + (exit $ac_status); }])
  8853. +
  8854. +# Check to make sure that the build environment is sane. -*- Autoconf -*-
  8855. +
  8856. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8857. +#
  8858. +# This file is free software; the Free Software Foundation
  8859. +# gives unlimited permission to copy and/or distribute it,
  8860. +# with or without modifications, as long as this notice is preserved.
  8861.  
  8862. # AM_SANITY_CHECK
  8863. # ---------------
  8864. AC_DEFUN([AM_SANITY_CHECK],
  8865. [AC_MSG_CHECKING([whether build environment is sane])
  8866. -# Just in case
  8867. -sleep 1
  8868. -echo timestamp > conftest.file
  8869. # Reject unsafe characters in $srcdir or the absolute working directory
  8870. # name. Accept space and tab only in the latter.
  8871. am_lf='
  8872. @@ -8747,32 +863,40 @@
  8873. esac
  8874. case $srcdir in
  8875. *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  8876. - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  8877. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  8878. esac
  8879.  
  8880. -# Do `set' in a subshell so we don't clobber the current shell's
  8881. +# Do 'set' in a subshell so we don't clobber the current shell's
  8882. # arguments. Must try -L first in case configure is actually a
  8883. # symlink; some systems play weird games with the mod time of symlinks
  8884. # (eg FreeBSD returns the mod time of the symlink's containing
  8885. # directory).
  8886. if (
  8887. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8888. - if test "$[*]" = "X"; then
  8889. - # -L didn't work.
  8890. - set X `ls -t "$srcdir/configure" conftest.file`
  8891. - fi
  8892. - rm -f conftest.file
  8893. - if test "$[*]" != "X $srcdir/configure conftest.file" \
  8894. - && test "$[*]" != "X conftest.file $srcdir/configure"; then
  8895. -
  8896. - # If neither matched, then we have a broken ls. This can happen
  8897. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  8898. - # broken ls alias from the environment. This has actually
  8899. - # happened. Such a system could not be considered "sane".
  8900. - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  8901. -alias in your environment])
  8902. - fi
  8903. + am_has_slept=no
  8904. + for am_try in 1 2; do
  8905. + echo "timestamp, slept: $am_has_slept" > conftest.file
  8906. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8907. + if test "$[*]" = "X"; then
  8908. + # -L didn't work.
  8909. + set X `ls -t "$srcdir/configure" conftest.file`
  8910. + fi
  8911. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  8912. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  8913.  
  8914. + # If neither matched, then we have a broken ls. This can happen
  8915. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  8916. + # broken ls alias from the environment. This has actually
  8917. + # happened. Such a system could not be considered "sane".
  8918. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  8919. + alias in your environment])
  8920. + fi
  8921. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  8922. + break
  8923. + fi
  8924. + # Just in case.
  8925. + sleep 1
  8926. + am_has_slept=yes
  8927. + done
  8928. test "$[2]" = conftest.file
  8929. )
  8930. then
  8931. @@ -8782,9 +906,85 @@
  8932. AC_MSG_ERROR([newly created file is older than distributed files!
  8933. Check your system clock])
  8934. fi
  8935. -AC_MSG_RESULT(yes)])
  8936. +AC_MSG_RESULT([yes])
  8937. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  8938. +# generated files are strictly newer.
  8939. +am_sleep_pid=
  8940. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  8941. + ( sleep 1 ) &
  8942. + am_sleep_pid=$!
  8943. +fi
  8944. +AC_CONFIG_COMMANDS_PRE(
  8945. + [AC_MSG_CHECKING([that generated files are newer than configure])
  8946. + if test -n "$am_sleep_pid"; then
  8947. + # Hide warnings about reused PIDs.
  8948. + wait $am_sleep_pid 2>/dev/null
  8949. + fi
  8950. + AC_MSG_RESULT([done])])
  8951. +rm -f conftest.file
  8952. +])
  8953. +
  8954. +# Copyright (C) 2009-2018 Free Software Foundation, Inc.
  8955. +#
  8956. +# This file is free software; the Free Software Foundation
  8957. +# gives unlimited permission to copy and/or distribute it,
  8958. +# with or without modifications, as long as this notice is preserved.
  8959. +
  8960. +# AM_SILENT_RULES([DEFAULT])
  8961. +# --------------------------
  8962. +# Enable less verbose build rules; with the default set to DEFAULT
  8963. +# ("yes" being less verbose, "no" or empty being verbose).
  8964. +AC_DEFUN([AM_SILENT_RULES],
  8965. +[AC_ARG_ENABLE([silent-rules], [dnl
  8966. +AS_HELP_STRING(
  8967. + [--enable-silent-rules],
  8968. + [less verbose build output (undo: "make V=1")])
  8969. +AS_HELP_STRING(
  8970. + [--disable-silent-rules],
  8971. + [verbose build output (undo: "make V=0")])dnl
  8972. +])
  8973. +case $enable_silent_rules in @%:@ (((
  8974. + yes) AM_DEFAULT_VERBOSITY=0;;
  8975. + no) AM_DEFAULT_VERBOSITY=1;;
  8976. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  8977. +esac
  8978. +dnl
  8979. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  8980. +dnl do not support nested variable expansions.
  8981. +dnl See automake bug#9928 and bug#10237.
  8982. +am_make=${MAKE-make}
  8983. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  8984. + [am_cv_make_support_nested_variables],
  8985. + [if AS_ECHO([['TRUE=$(BAR$(V))
  8986. +BAR0=false
  8987. +BAR1=true
  8988. +V=1
  8989. +am__doit:
  8990. + @$(TRUE)
  8991. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  8992. + am_cv_make_support_nested_variables=yes
  8993. +else
  8994. + am_cv_make_support_nested_variables=no
  8995. +fi])
  8996. +if test $am_cv_make_support_nested_variables = yes; then
  8997. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  8998. + AM_V='$(V)'
  8999. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  9000. +else
  9001. + AM_V=$AM_DEFAULT_VERBOSITY
  9002. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  9003. +fi
  9004. +AC_SUBST([AM_V])dnl
  9005. +AM_SUBST_NOTMAKE([AM_V])dnl
  9006. +AC_SUBST([AM_DEFAULT_V])dnl
  9007. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  9008. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  9009. +AM_BACKSLASH='\'
  9010. +AC_SUBST([AM_BACKSLASH])dnl
  9011. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  9012. +])
  9013.  
  9014. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  9015. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  9016. #
  9017. # This file is free software; the Free Software Foundation
  9018. # gives unlimited permission to copy and/or distribute it,
  9019. @@ -8792,34 +992,32 @@
  9020.  
  9021. # AM_PROG_INSTALL_STRIP
  9022. # ---------------------
  9023. -# One issue with vendor `install' (even GNU) is that you can't
  9024. +# One issue with vendor 'install' (even GNU) is that you can't
  9025. # specify the program used to strip binaries. This is especially
  9026. # annoying in cross-compiling environments, where the build's strip
  9027. # is unlikely to handle the host's binaries.
  9028. # Fortunately install-sh will honor a STRIPPROG variable, so we
  9029. -# always use install-sh in `make install-strip', and initialize
  9030. +# always use install-sh in "make install-strip", and initialize
  9031. # STRIPPROG with the value of the STRIP variable (set by the user).
  9032. AC_DEFUN([AM_PROG_INSTALL_STRIP],
  9033. [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  9034. -# Installed binaries are usually stripped using `strip' when the user
  9035. -# run `make install-strip'. However `strip' might not be the right
  9036. +# Installed binaries are usually stripped using 'strip' when the user
  9037. +# run "make install-strip". However 'strip' might not be the right
  9038. # tool to use in cross-compilation environments, therefore Automake
  9039. -# will honor the `STRIP' environment variable to overrule this program.
  9040. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  9041. +# will honor the 'STRIP' environment variable to overrule this program.
  9042. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  9043. if test "$cross_compiling" != no; then
  9044. AC_CHECK_TOOL([STRIP], [strip], :)
  9045. fi
  9046. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  9047. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  9048.  
  9049. -# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  9050. +# Copyright (C) 2006-2018 Free Software Foundation, Inc.
  9051. #
  9052. # This file is free software; the Free Software Foundation
  9053. # gives unlimited permission to copy and/or distribute it,
  9054. # with or without modifications, as long as this notice is preserved.
  9055.  
  9056. -# serial 2
  9057. -
  9058. # _AM_SUBST_NOTMAKE(VARIABLE)
  9059. # ---------------------------
  9060. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  9061. @@ -8827,24 +1025,22 @@
  9062. AC_DEFUN([_AM_SUBST_NOTMAKE])
  9063.  
  9064. # AM_SUBST_NOTMAKE(VARIABLE)
  9065. -# ---------------------------
  9066. +# --------------------------
  9067. # Public sister of _AM_SUBST_NOTMAKE.
  9068. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  9069.  
  9070. # Check how to create a tarball. -*- Autoconf -*-
  9071.  
  9072. -# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  9073. +# Copyright (C) 2004-2018 Free Software Foundation, Inc.
  9074. #
  9075. # This file is free software; the Free Software Foundation
  9076. # gives unlimited permission to copy and/or distribute it,
  9077. # with or without modifications, as long as this notice is preserved.
  9078.  
  9079. -# serial 2
  9080. -
  9081. # _AM_PROG_TAR(FORMAT)
  9082. # --------------------
  9083. # Check how to create a tarball in format FORMAT.
  9084. -# FORMAT should be one of `v7', `ustar', or `pax'.
  9085. +# FORMAT should be one of 'v7', 'ustar', or 'pax'.
  9086. #
  9087. # Substitute a variable $(am__tar) that is a command
  9088. # writing to stdout a FORMAT-tarball containing the directory
  9089. @@ -8854,76 +1050,120 @@
  9090. # Substitute a variable $(am__untar) that extract such
  9091. # a tarball read from stdin.
  9092. # $(am__untar) < result.tar
  9093. +#
  9094. AC_DEFUN([_AM_PROG_TAR],
  9095. -[# Always define AMTAR for backward compatibility.
  9096. -AM_MISSING_PROG([AMTAR], [tar])
  9097. -m4_if([$1], [v7],
  9098. - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  9099. - [m4_case([$1], [ustar],, [pax],,
  9100. - [m4_fatal([Unknown tar format])])
  9101. -AC_MSG_CHECKING([how to create a $1 tar archive])
  9102. -# Loop over all known methods to create a tar archive until one works.
  9103. +[# Always define AMTAR for backward compatibility. Yes, it's still used
  9104. +# in the wild :-( We should find a proper way to deprecate it ...
  9105. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  9106. +
  9107. +# We'll loop over all known methods to create a tar archive until one works.
  9108. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  9109. -_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  9110. -# Do not fold the above two line into one, because Tru64 sh and
  9111. -# Solaris sh will not grok spaces in the rhs of `-'.
  9112. -for _am_tool in $_am_tools
  9113. -do
  9114. - case $_am_tool in
  9115. - gnutar)
  9116. - for _am_tar in tar gnutar gtar;
  9117. - do
  9118. - AM_RUN_LOG([$_am_tar --version]) && break
  9119. - done
  9120. - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  9121. - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  9122. - am__untar="$_am_tar -xf -"
  9123. - ;;
  9124. - plaintar)
  9125. - # Must skip GNU tar: if it does not support --format= it doesn't create
  9126. - # ustar tarball either.
  9127. - (tar --version) >/dev/null 2>&1 && continue
  9128. - am__tar='tar chf - "$$tardir"'
  9129. - am__tar_='tar chf - "$tardir"'
  9130. - am__untar='tar xf -'
  9131. - ;;
  9132. - pax)
  9133. - am__tar='pax -L -x $1 -w "$$tardir"'
  9134. - am__tar_='pax -L -x $1 -w "$tardir"'
  9135. - am__untar='pax -r'
  9136. - ;;
  9137. - cpio)
  9138. - am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  9139. - am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  9140. - am__untar='cpio -i -H $1 -d'
  9141. - ;;
  9142. - none)
  9143. - am__tar=false
  9144. - am__tar_=false
  9145. - am__untar=false
  9146. - ;;
  9147. - esac
  9148.  
  9149. - # If the value was cached, stop now. We just wanted to have am__tar
  9150. - # and am__untar set.
  9151. - test -n "${am_cv_prog_tar_$1}" && break
  9152. +m4_if([$1], [v7],
  9153. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  9154.  
  9155. - # tar/untar a dummy directory, and stop if the command works
  9156. - rm -rf conftest.dir
  9157. - mkdir conftest.dir
  9158. - echo GrepMe > conftest.dir/file
  9159. - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  9160. + [m4_case([$1],
  9161. + [ustar],
  9162. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  9163. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  9164. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  9165. + # and bug#13588).
  9166. + am_max_uid=2097151 # 2^21 - 1
  9167. + am_max_gid=$am_max_uid
  9168. + # The $UID and $GID variables are not portable, so we need to resort
  9169. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  9170. + # below are definitely unexpected, so allow the users to see them
  9171. + # (that is, avoid stderr redirection).
  9172. + am_uid=`id -u || echo unknown`
  9173. + am_gid=`id -g || echo unknown`
  9174. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  9175. + if test $am_uid -le $am_max_uid; then
  9176. + AC_MSG_RESULT([yes])
  9177. + else
  9178. + AC_MSG_RESULT([no])
  9179. + _am_tools=none
  9180. + fi
  9181. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  9182. + if test $am_gid -le $am_max_gid; then
  9183. + AC_MSG_RESULT([yes])
  9184. + else
  9185. + AC_MSG_RESULT([no])
  9186. + _am_tools=none
  9187. + fi],
  9188. +
  9189. + [pax],
  9190. + [],
  9191. +
  9192. + [m4_fatal([Unknown tar format])])
  9193. +
  9194. + AC_MSG_CHECKING([how to create a $1 tar archive])
  9195. +
  9196. + # Go ahead even if we have the value already cached. We do so because we
  9197. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  9198. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  9199. +
  9200. + for _am_tool in $_am_tools; do
  9201. + case $_am_tool in
  9202. + gnutar)
  9203. + for _am_tar in tar gnutar gtar; do
  9204. + AM_RUN_LOG([$_am_tar --version]) && break
  9205. + done
  9206. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  9207. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  9208. + am__untar="$_am_tar -xf -"
  9209. + ;;
  9210. + plaintar)
  9211. + # Must skip GNU tar: if it does not support --format= it doesn't create
  9212. + # ustar tarball either.
  9213. + (tar --version) >/dev/null 2>&1 && continue
  9214. + am__tar='tar chf - "$$tardir"'
  9215. + am__tar_='tar chf - "$tardir"'
  9216. + am__untar='tar xf -'
  9217. + ;;
  9218. + pax)
  9219. + am__tar='pax -L -x $1 -w "$$tardir"'
  9220. + am__tar_='pax -L -x $1 -w "$tardir"'
  9221. + am__untar='pax -r'
  9222. + ;;
  9223. + cpio)
  9224. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  9225. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  9226. + am__untar='cpio -i -H $1 -d'
  9227. + ;;
  9228. + none)
  9229. + am__tar=false
  9230. + am__tar_=false
  9231. + am__untar=false
  9232. + ;;
  9233. + esac
  9234. +
  9235. + # If the value was cached, stop now. We just wanted to have am__tar
  9236. + # and am__untar set.
  9237. + test -n "${am_cv_prog_tar_$1}" && break
  9238. +
  9239. + # tar/untar a dummy directory, and stop if the command works.
  9240. + rm -rf conftest.dir
  9241. + mkdir conftest.dir
  9242. + echo GrepMe > conftest.dir/file
  9243. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  9244. + rm -rf conftest.dir
  9245. + if test -s conftest.tar; then
  9246. + AM_RUN_LOG([$am__untar <conftest.tar])
  9247. + AM_RUN_LOG([cat conftest.dir/file])
  9248. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  9249. + fi
  9250. + done
  9251. rm -rf conftest.dir
  9252. - if test -s conftest.tar; then
  9253. - AM_RUN_LOG([$am__untar <conftest.tar])
  9254. - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  9255. - fi
  9256. -done
  9257. -rm -rf conftest.dir
  9258.  
  9259. -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  9260. -AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  9261. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  9262. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  9263. +
  9264. AC_SUBST([am__tar])
  9265. AC_SUBST([am__untar])
  9266. ]) # _AM_PROG_TAR
  9267.  
  9268. +m4_include([m4/libtool.m4])
  9269. +m4_include([m4/ltoptions.m4])
  9270. +m4_include([m4/ltsugar.m4])
  9271. +m4_include([m4/ltversion.m4])
  9272. +m4_include([m4/lt~obsolete.m4])
  9273. diff -Nru Fiasco-master/autom4te.cache/output.0 Fiasco-master-pfiasco/autom4te.cache/output.0
  9274. --- Fiasco-master/autom4te.cache/output.0 1969-12-31 19:00:00.000000000 -0500
  9275. +++ Fiasco-master-pfiasco/autom4te.cache/output.0 2019-06-17 20:58:41.120215281 -0400
  9276. @@ -0,0 +1,14757 @@
  9277. +@%:@! /bin/sh
  9278. +@%:@ Guess values for system-dependent variables and create Makefiles.
  9279. +@%:@ Generated by GNU Autoconf 2.69.
  9280. +@%:@
  9281. +@%:@
  9282. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9283. +@%:@
  9284. +@%:@
  9285. +@%:@ This configure script is free software; the Free Software Foundation
  9286. +@%:@ gives unlimited permission to copy, distribute and modify it.
  9287. +## -------------------- ##
  9288. +## M4sh Initialization. ##
  9289. +## -------------------- ##
  9290. +
  9291. +# Be more Bourne compatible
  9292. +DUALCASE=1; export DUALCASE # for MKS sh
  9293. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  9294. + emulate sh
  9295. + NULLCMD=:
  9296. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  9297. + # is contrary to our usage. Disable this feature.
  9298. + alias -g '${1+"$@"}'='"$@"'
  9299. + setopt NO_GLOB_SUBST
  9300. +else
  9301. + case `(set -o) 2>/dev/null` in @%:@(
  9302. + *posix*) :
  9303. + set -o posix ;; @%:@(
  9304. + *) :
  9305. + ;;
  9306. +esac
  9307. +fi
  9308. +
  9309. +
  9310. +as_nl='
  9311. +'
  9312. +export as_nl
  9313. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  9314. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9315. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  9316. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  9317. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  9318. +# but without wasting forks for bash or zsh.
  9319. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  9320. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  9321. + as_echo='print -r --'
  9322. + as_echo_n='print -rn --'
  9323. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  9324. + as_echo='printf %s\n'
  9325. + as_echo_n='printf %s'
  9326. +else
  9327. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  9328. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  9329. + as_echo_n='/usr/ucb/echo -n'
  9330. + else
  9331. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  9332. + as_echo_n_body='eval
  9333. + arg=$1;
  9334. + case $arg in @%:@(
  9335. + *"$as_nl"*)
  9336. + expr "X$arg" : "X\\(.*\\)$as_nl";
  9337. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  9338. + esac;
  9339. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  9340. + '
  9341. + export as_echo_n_body
  9342. + as_echo_n='sh -c $as_echo_n_body as_echo'
  9343. + fi
  9344. + export as_echo_body
  9345. + as_echo='sh -c $as_echo_body as_echo'
  9346. +fi
  9347. +
  9348. +# The user is always right.
  9349. +if test "${PATH_SEPARATOR+set}" != set; then
  9350. + PATH_SEPARATOR=:
  9351. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  9352. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  9353. + PATH_SEPARATOR=';'
  9354. + }
  9355. +fi
  9356. +
  9357. +
  9358. +# IFS
  9359. +# We need space, tab and new line, in precisely that order. Quoting is
  9360. +# there to prevent editors from complaining about space-tab.
  9361. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9362. +# splitting by setting IFS to empty value.)
  9363. +IFS=" "" $as_nl"
  9364. +
  9365. +# Find who we are. Look in the path if we contain no directory separator.
  9366. +as_myself=
  9367. +case $0 in @%:@((
  9368. + *[\\/]* ) as_myself=$0 ;;
  9369. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9370. +for as_dir in $PATH
  9371. +do
  9372. + IFS=$as_save_IFS
  9373. + test -z "$as_dir" && as_dir=.
  9374. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9375. + done
  9376. +IFS=$as_save_IFS
  9377. +
  9378. + ;;
  9379. +esac
  9380. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  9381. +# in which case we are not to be found in the path.
  9382. +if test "x$as_myself" = x; then
  9383. + as_myself=$0
  9384. +fi
  9385. +if test ! -f "$as_myself"; then
  9386. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9387. + exit 1
  9388. +fi
  9389. +
  9390. +# Unset variables that we do not need and which cause bugs (e.g. in
  9391. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  9392. +# suppresses any "Segmentation fault" message there. '((' could
  9393. +# trigger a bug in pdksh 5.2.14.
  9394. +for as_var in BASH_ENV ENV MAIL MAILPATH
  9395. +do eval test x\${$as_var+set} = xset \
  9396. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  9397. +done
  9398. +PS1='$ '
  9399. +PS2='> '
  9400. +PS4='+ '
  9401. +
  9402. +# NLS nuisances.
  9403. +LC_ALL=C
  9404. +export LC_ALL
  9405. +LANGUAGE=C
  9406. +export LANGUAGE
  9407. +
  9408. +# CDPATH.
  9409. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9410. +
  9411. +# Use a proper internal environment variable to ensure we don't fall
  9412. + # into an infinite loop, continuously re-executing ourselves.
  9413. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  9414. + _as_can_reexec=no; export _as_can_reexec;
  9415. + # We cannot yet assume a decent shell, so we have to provide a
  9416. +# neutralization value for shells without unset; and this also
  9417. +# works around shells that cannot unset nonexistent variables.
  9418. +# Preserve -v and -x to the replacement shell.
  9419. +BASH_ENV=/dev/null
  9420. +ENV=/dev/null
  9421. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9422. +case $- in @%:@ ((((
  9423. + *v*x* | *x*v* ) as_opts=-vx ;;
  9424. + *v* ) as_opts=-v ;;
  9425. + *x* ) as_opts=-x ;;
  9426. + * ) as_opts= ;;
  9427. +esac
  9428. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  9429. +# Admittedly, this is quite paranoid, since all the known shells bail
  9430. +# out after a failed `exec'.
  9431. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  9432. +as_fn_exit 255
  9433. + fi
  9434. + # We don't want this to propagate to other subprocesses.
  9435. + { _as_can_reexec=; unset _as_can_reexec;}
  9436. +if test "x$CONFIG_SHELL" = x; then
  9437. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  9438. + emulate sh
  9439. + NULLCMD=:
  9440. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  9441. + # is contrary to our usage. Disable this feature.
  9442. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  9443. + setopt NO_GLOB_SUBST
  9444. +else
  9445. + case \`(set -o) 2>/dev/null\` in @%:@(
  9446. + *posix*) :
  9447. + set -o posix ;; @%:@(
  9448. + *) :
  9449. + ;;
  9450. +esac
  9451. +fi
  9452. +"
  9453. + as_required="as_fn_return () { (exit \$1); }
  9454. +as_fn_success () { as_fn_return 0; }
  9455. +as_fn_failure () { as_fn_return 1; }
  9456. +as_fn_ret_success () { return 0; }
  9457. +as_fn_ret_failure () { return 1; }
  9458. +
  9459. +exitcode=0
  9460. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  9461. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  9462. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  9463. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  9464. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  9465. +
  9466. +else
  9467. + exitcode=1; echo positional parameters were not saved.
  9468. +fi
  9469. +test x\$exitcode = x0 || exit 1
  9470. +test -x / || exit 1"
  9471. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  9472. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  9473. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  9474. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  9475. +test \$(( 1 + 1 )) = 2 || exit 1"
  9476. + if (eval "$as_required") 2>/dev/null; then :
  9477. + as_have_required=yes
  9478. +else
  9479. + as_have_required=no
  9480. +fi
  9481. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  9482. +
  9483. +else
  9484. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9485. +as_found=false
  9486. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  9487. +do
  9488. + IFS=$as_save_IFS
  9489. + test -z "$as_dir" && as_dir=.
  9490. + as_found=:
  9491. + case $as_dir in @%:@(
  9492. + /*)
  9493. + for as_base in sh bash ksh sh5; do
  9494. + # Try only shells that exist, to save several forks.
  9495. + as_shell=$as_dir/$as_base
  9496. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  9497. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9498. + CONFIG_SHELL=$as_shell as_have_required=yes
  9499. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9500. + break 2
  9501. +fi
  9502. +fi
  9503. + done;;
  9504. + esac
  9505. + as_found=false
  9506. +done
  9507. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  9508. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  9509. + CONFIG_SHELL=$SHELL as_have_required=yes
  9510. +fi; }
  9511. +IFS=$as_save_IFS
  9512. +
  9513. +
  9514. + if test "x$CONFIG_SHELL" != x; then :
  9515. + export CONFIG_SHELL
  9516. + # We cannot yet assume a decent shell, so we have to provide a
  9517. +# neutralization value for shells without unset; and this also
  9518. +# works around shells that cannot unset nonexistent variables.
  9519. +# Preserve -v and -x to the replacement shell.
  9520. +BASH_ENV=/dev/null
  9521. +ENV=/dev/null
  9522. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9523. +case $- in @%:@ ((((
  9524. + *v*x* | *x*v* ) as_opts=-vx ;;
  9525. + *v* ) as_opts=-v ;;
  9526. + *x* ) as_opts=-x ;;
  9527. + * ) as_opts= ;;
  9528. +esac
  9529. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  9530. +# Admittedly, this is quite paranoid, since all the known shells bail
  9531. +# out after a failed `exec'.
  9532. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  9533. +exit 255
  9534. +fi
  9535. +
  9536. + if test x$as_have_required = xno; then :
  9537. + $as_echo "$0: This script requires a shell more modern than all"
  9538. + $as_echo "$0: the shells that I found on your system."
  9539. + if test x${ZSH_VERSION+set} = xset ; then
  9540. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  9541. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  9542. + else
  9543. + $as_echo "$0: Please tell [email protected] about your system,
  9544. +$0: including any error possibly output before this
  9545. +$0: message. Then install a modern shell, or manually run
  9546. +$0: the script under such a shell if you do have one."
  9547. + fi
  9548. + exit 1
  9549. +fi
  9550. +fi
  9551. +fi
  9552. +SHELL=${CONFIG_SHELL-/bin/sh}
  9553. +export SHELL
  9554. +# Unset more variables known to interfere with behavior of common tools.
  9555. +CLICOLOR_FORCE= GREP_OPTIONS=
  9556. +unset CLICOLOR_FORCE GREP_OPTIONS
  9557. +
  9558. +## --------------------- ##
  9559. +## M4sh Shell Functions. ##
  9560. +## --------------------- ##
  9561. +@%:@ as_fn_unset VAR
  9562. +@%:@ ---------------
  9563. +@%:@ Portably unset VAR.
  9564. +as_fn_unset ()
  9565. +{
  9566. + { eval $1=; unset $1;}
  9567. +}
  9568. +as_unset=as_fn_unset
  9569. +
  9570. +@%:@ as_fn_set_status STATUS
  9571. +@%:@ -----------------------
  9572. +@%:@ Set @S|@? to STATUS, without forking.
  9573. +as_fn_set_status ()
  9574. +{
  9575. + return $1
  9576. +} @%:@ as_fn_set_status
  9577. +
  9578. +@%:@ as_fn_exit STATUS
  9579. +@%:@ -----------------
  9580. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  9581. +as_fn_exit ()
  9582. +{
  9583. + set +e
  9584. + as_fn_set_status $1
  9585. + exit $1
  9586. +} @%:@ as_fn_exit
  9587. +
  9588. +@%:@ as_fn_mkdir_p
  9589. +@%:@ -------------
  9590. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  9591. +as_fn_mkdir_p ()
  9592. +{
  9593. +
  9594. + case $as_dir in #(
  9595. + -*) as_dir=./$as_dir;;
  9596. + esac
  9597. + test -d "$as_dir" || eval $as_mkdir_p || {
  9598. + as_dirs=
  9599. + while :; do
  9600. + case $as_dir in #(
  9601. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  9602. + *) as_qdir=$as_dir;;
  9603. + esac
  9604. + as_dirs="'$as_qdir' $as_dirs"
  9605. + as_dir=`$as_dirname -- "$as_dir" ||
  9606. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9607. + X"$as_dir" : 'X\(//\)[^/]' \| \
  9608. + X"$as_dir" : 'X\(//\)$' \| \
  9609. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9610. +$as_echo X"$as_dir" |
  9611. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9612. + s//\1/
  9613. + q
  9614. + }
  9615. + /^X\(\/\/\)[^/].*/{
  9616. + s//\1/
  9617. + q
  9618. + }
  9619. + /^X\(\/\/\)$/{
  9620. + s//\1/
  9621. + q
  9622. + }
  9623. + /^X\(\/\).*/{
  9624. + s//\1/
  9625. + q
  9626. + }
  9627. + s/.*/./; q'`
  9628. + test -d "$as_dir" && break
  9629. + done
  9630. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  9631. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  9632. +
  9633. +
  9634. +} @%:@ as_fn_mkdir_p
  9635. +
  9636. +@%:@ as_fn_executable_p FILE
  9637. +@%:@ -----------------------
  9638. +@%:@ Test if FILE is an executable regular file.
  9639. +as_fn_executable_p ()
  9640. +{
  9641. + test -f "$1" && test -x "$1"
  9642. +} @%:@ as_fn_executable_p
  9643. +@%:@ as_fn_append VAR VALUE
  9644. +@%:@ ----------------------
  9645. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  9646. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  9647. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  9648. +@%:@ implementations.
  9649. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  9650. + eval 'as_fn_append ()
  9651. + {
  9652. + eval $1+=\$2
  9653. + }'
  9654. +else
  9655. + as_fn_append ()
  9656. + {
  9657. + eval $1=\$$1\$2
  9658. + }
  9659. +fi # as_fn_append
  9660. +
  9661. +@%:@ as_fn_arith ARG...
  9662. +@%:@ ------------------
  9663. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  9664. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  9665. +@%:@ must be portable across @S|@(()) and expr.
  9666. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  9667. + eval 'as_fn_arith ()
  9668. + {
  9669. + as_val=$(( $* ))
  9670. + }'
  9671. +else
  9672. + as_fn_arith ()
  9673. + {
  9674. + as_val=`expr "$@" || test $? -eq 1`
  9675. + }
  9676. +fi # as_fn_arith
  9677. +
  9678. +
  9679. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  9680. +@%:@ ----------------------------------------
  9681. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  9682. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  9683. +@%:@ script with STATUS, using 1 if that was 0.
  9684. +as_fn_error ()
  9685. +{
  9686. + as_status=$1; test $as_status -eq 0 && as_status=1
  9687. + if test "$4"; then
  9688. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9689. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  9690. + fi
  9691. + $as_echo "$as_me: error: $2" >&2
  9692. + as_fn_exit $as_status
  9693. +} @%:@ as_fn_error
  9694. +
  9695. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  9696. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9697. + as_expr=expr
  9698. +else
  9699. + as_expr=false
  9700. +fi
  9701. +
  9702. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9703. + as_basename=basename
  9704. +else
  9705. + as_basename=false
  9706. +fi
  9707. +
  9708. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9709. + as_dirname=dirname
  9710. +else
  9711. + as_dirname=false
  9712. +fi
  9713. +
  9714. +as_me=`$as_basename -- "$0" ||
  9715. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9716. + X"$0" : 'X\(//\)$' \| \
  9717. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9718. +$as_echo X/"$0" |
  9719. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  9720. + s//\1/
  9721. + q
  9722. + }
  9723. + /^X\/\(\/\/\)$/{
  9724. + s//\1/
  9725. + q
  9726. + }
  9727. + /^X\/\(\/\).*/{
  9728. + s//\1/
  9729. + q
  9730. + }
  9731. + s/.*/./; q'`
  9732. +
  9733. +# Avoid depending upon Character Ranges.
  9734. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9735. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9736. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9737. +as_cr_digits='0123456789'
  9738. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  9739. +
  9740. +
  9741. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  9742. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  9743. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  9744. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  9745. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  9746. + sed -n '
  9747. + p
  9748. + /[$]LINENO/=
  9749. + ' <$as_myself |
  9750. + sed '
  9751. + s/[$]LINENO.*/&-/
  9752. + t lineno
  9753. + b
  9754. + :lineno
  9755. + N
  9756. + :loop
  9757. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  9758. + t loop
  9759. + s/-\n.*//
  9760. + ' >$as_me.lineno &&
  9761. + chmod +x "$as_me.lineno" ||
  9762. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  9763. +
  9764. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  9765. + # already done that, so ensure we don't try to do so again and fall
  9766. + # in an infinite loop. This has already happened in practice.
  9767. + _as_can_reexec=no; export _as_can_reexec
  9768. + # Don't try to exec as it changes $[0], causing all sort of problems
  9769. + # (the dirname of $[0] is not the place where we might find the
  9770. + # original and so on. Autoconf is especially sensitive to this).
  9771. + . "./$as_me.lineno"
  9772. + # Exit status is that of the last command.
  9773. + exit
  9774. +}
  9775. +
  9776. +ECHO_C= ECHO_N= ECHO_T=
  9777. +case `echo -n x` in @%:@(((((
  9778. +-n*)
  9779. + case `echo 'xy\c'` in
  9780. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9781. + xy) ECHO_C='\c';;
  9782. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9783. + ECHO_T=' ';;
  9784. + esac;;
  9785. +*)
  9786. + ECHO_N='-n';;
  9787. +esac
  9788. +
  9789. +rm -f conf$$ conf$$.exe conf$$.file
  9790. +if test -d conf$$.dir; then
  9791. + rm -f conf$$.dir/conf$$.file
  9792. +else
  9793. + rm -f conf$$.dir
  9794. + mkdir conf$$.dir 2>/dev/null
  9795. +fi
  9796. +if (echo >conf$$.file) 2>/dev/null; then
  9797. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  9798. + as_ln_s='ln -s'
  9799. + # ... but there are two gotchas:
  9800. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9801. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9802. + # In both cases, we have to default to `cp -pR'.
  9803. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9804. + as_ln_s='cp -pR'
  9805. + elif ln conf$$.file conf$$ 2>/dev/null; then
  9806. + as_ln_s=ln
  9807. + else
  9808. + as_ln_s='cp -pR'
  9809. + fi
  9810. +else
  9811. + as_ln_s='cp -pR'
  9812. +fi
  9813. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  9814. +rmdir conf$$.dir 2>/dev/null
  9815. +
  9816. +if mkdir -p . 2>/dev/null; then
  9817. + as_mkdir_p='mkdir -p "$as_dir"'
  9818. +else
  9819. + test -d ./-p && rmdir ./-p
  9820. + as_mkdir_p=false
  9821. +fi
  9822. +
  9823. +as_test_x='test -x'
  9824. +as_executable_p=as_fn_executable_p
  9825. +
  9826. +# Sed expression to map a string onto a valid CPP name.
  9827. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9828. +
  9829. +# Sed expression to map a string onto a valid variable name.
  9830. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9831. +
  9832. +
  9833. +
  9834. +# Check that we are running under the correct shell.
  9835. +SHELL=${CONFIG_SHELL-/bin/sh}
  9836. +
  9837. +case X$lt_ECHO in
  9838. +X*--fallback-echo)
  9839. + # Remove one level of quotation (which was required for Make).
  9840. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  9841. + ;;
  9842. +esac
  9843. +
  9844. +ECHO=${lt_ECHO-echo}
  9845. +if test "X$1" = X--no-reexec; then
  9846. + # Discard the --no-reexec flag, and continue.
  9847. + shift
  9848. +elif test "X$1" = X--fallback-echo; then
  9849. + # Avoid inline document here, it may be left over
  9850. + :
  9851. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  9852. + # Yippee, $ECHO works!
  9853. + :
  9854. +else
  9855. + # Restart under the correct shell.
  9856. + exec $SHELL "$0" --no-reexec ${1+"$@"}
  9857. +fi
  9858. +
  9859. +if test "X$1" = X--fallback-echo; then
  9860. + # used as fallback echo
  9861. + shift
  9862. + cat <<_LT_EOF
  9863. +$*
  9864. +_LT_EOF
  9865. + exit 0
  9866. +fi
  9867. +
  9868. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  9869. +# if CDPATH is set.
  9870. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9871. +
  9872. +if test -z "$lt_ECHO"; then
  9873. + if test "X${echo_test_string+set}" != Xset; then
  9874. + # find a string as large as possible, as long as the shell can cope with it
  9875. + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  9876. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  9877. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  9878. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  9879. + then
  9880. + break
  9881. + fi
  9882. + done
  9883. + fi
  9884. +
  9885. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9886. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9887. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9888. + :
  9889. + else
  9890. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  9891. + # backslashes. This makes it impossible to quote backslashes using
  9892. + # echo "$something" | sed 's/\\/\\\\/g'
  9893. + #
  9894. + # So, first we look for a working echo in the user's PATH.
  9895. +
  9896. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9897. + for dir in $PATH /usr/ucb; do
  9898. + IFS="$lt_save_ifs"
  9899. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  9900. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  9901. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  9902. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9903. + ECHO="$dir/echo"
  9904. + break
  9905. + fi
  9906. + done
  9907. + IFS="$lt_save_ifs"
  9908. +
  9909. + if test "X$ECHO" = Xecho; then
  9910. + # We didn't find a better echo, so look for alternatives.
  9911. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  9912. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  9913. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9914. + # This shell has a builtin print -r that does the trick.
  9915. + ECHO='print -r'
  9916. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  9917. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  9918. + # If we have ksh, try running configure again with it.
  9919. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  9920. + export ORIGINAL_CONFIG_SHELL
  9921. + CONFIG_SHELL=/bin/ksh
  9922. + export CONFIG_SHELL
  9923. + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  9924. + else
  9925. + # Try using printf.
  9926. + ECHO='printf %s\n'
  9927. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9928. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9929. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9930. + # Cool, printf works
  9931. + :
  9932. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9933. + test "X$echo_testing_string" = 'X\t' &&
  9934. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9935. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9936. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  9937. + export CONFIG_SHELL
  9938. + SHELL="$CONFIG_SHELL"
  9939. + export SHELL
  9940. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9941. + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9942. + test "X$echo_testing_string" = 'X\t' &&
  9943. + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9944. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9945. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9946. + else
  9947. + # maybe with a smaller string...
  9948. + prev=:
  9949. +
  9950. + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  9951. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  9952. + then
  9953. + break
  9954. + fi
  9955. + prev="$cmd"
  9956. + done
  9957. +
  9958. + if test "$prev" != 'sed 50q "$0"'; then
  9959. + echo_test_string=`eval $prev`
  9960. + export echo_test_string
  9961. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  9962. + else
  9963. + # Oops. We lost completely, so just stick with echo.
  9964. + ECHO=echo
  9965. + fi
  9966. + fi
  9967. + fi
  9968. + fi
  9969. + fi
  9970. +fi
  9971. +
  9972. +# Copy echo and quote the copy suitably for passing to libtool from
  9973. +# the Makefile, instead of quoting the original, which is used later.
  9974. +lt_ECHO=$ECHO
  9975. +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  9976. + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  9977. +fi
  9978. +
  9979. +
  9980. +
  9981. +
  9982. +test -n "$DJDIR" || exec 7<&0 </dev/null
  9983. +exec 6>&1
  9984. +
  9985. +# Name of the host.
  9986. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  9987. +# so uname gets run too.
  9988. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  9989. +
  9990. +#
  9991. +# Initializations.
  9992. +#
  9993. +ac_default_prefix=/usr/local
  9994. +ac_clean_files=
  9995. +ac_config_libobj_dir=.
  9996. +LIB@&t@OBJS=
  9997. +cross_compiling=no
  9998. +subdirs=
  9999. +MFLAGS=
  10000. +MAKEFLAGS=
  10001. +
  10002. +# Identity of this package.
  10003. +PACKAGE_NAME=
  10004. +PACKAGE_TARNAME=
  10005. +PACKAGE_VERSION=
  10006. +PACKAGE_STRING=
  10007. +PACKAGE_BUGREPORT=
  10008. +PACKAGE_URL=
  10009. +
  10010. +ac_unique_file="system.fiascorc"
  10011. +# Factoring default headers for most tests.
  10012. +ac_includes_default="\
  10013. +#include <stdio.h>
  10014. +#ifdef HAVE_SYS_TYPES_H
  10015. +# include <sys/types.h>
  10016. +#endif
  10017. +#ifdef HAVE_SYS_STAT_H
  10018. +# include <sys/stat.h>
  10019. +#endif
  10020. +#ifdef STDC_HEADERS
  10021. +# include <stdlib.h>
  10022. +# include <stddef.h>
  10023. +#else
  10024. +# ifdef HAVE_STDLIB_H
  10025. +# include <stdlib.h>
  10026. +# endif
  10027. +#endif
  10028. +#ifdef HAVE_STRING_H
  10029. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10030. +# include <memory.h>
  10031. +# endif
  10032. +# include <string.h>
  10033. +#endif
  10034. +#ifdef HAVE_STRINGS_H
  10035. +# include <strings.h>
  10036. +#endif
  10037. +#ifdef HAVE_INTTYPES_H
  10038. +# include <inttypes.h>
  10039. +#endif
  10040. +#ifdef HAVE_STDINT_H
  10041. +# include <stdint.h>
  10042. +#endif
  10043. +#ifdef HAVE_UNISTD_H
  10044. +# include <unistd.h>
  10045. +#endif"
  10046. +
  10047. +ac_subst_vars='am__EXEEXT_FALSE
  10048. +am__EXEEXT_TRUE
  10049. +LTLIBOBJS
  10050. +LIB@&t@OBJS
  10051. +xmag
  10052. +xfig
  10053. +INCLUDES
  10054. +LIBTOOL_DEPS
  10055. +CPP
  10056. +OTOOL64
  10057. +OTOOL
  10058. +LIPO
  10059. +NMEDIT
  10060. +DSYMUTIL
  10061. +lt_ECHO
  10062. +RANLIB
  10063. +AR
  10064. +OBJDUMP
  10065. +LN_S
  10066. +NM
  10067. +ac_ct_DUMPBIN
  10068. +DUMPBIN
  10069. +LD
  10070. +FGREP
  10071. +EGREP
  10072. +GREP
  10073. +SED
  10074. +am__fastdepCC_FALSE
  10075. +am__fastdepCC_TRUE
  10076. +CCDEPMODE
  10077. +am__nodep
  10078. +AMDEPBACKSLASH
  10079. +AMDEP_FALSE
  10080. +AMDEP_TRUE
  10081. +am__include
  10082. +DEPDIR
  10083. +OBJEXT
  10084. +EXEEXT
  10085. +ac_ct_CC
  10086. +CPPFLAGS
  10087. +LDFLAGS
  10088. +CFLAGS
  10089. +CC
  10090. +host_os
  10091. +host_vendor
  10092. +host_cpu
  10093. +host
  10094. +build_os
  10095. +build_vendor
  10096. +build_cpu
  10097. +build
  10098. +LIBTOOL
  10099. +AM_BACKSLASH
  10100. +AM_DEFAULT_VERBOSITY
  10101. +AM_DEFAULT_V
  10102. +AM_V
  10103. +am__untar
  10104. +am__tar
  10105. +AMTAR
  10106. +am__leading_dot
  10107. +SET_MAKE
  10108. +AWK
  10109. +mkdir_p
  10110. +MKDIR_P
  10111. +INSTALL_STRIP_PROGRAM
  10112. +STRIP
  10113. +install_sh
  10114. +MAKEINFO
  10115. +AUTOHEADER
  10116. +AUTOMAKE
  10117. +AUTOCONF
  10118. +ACLOCAL
  10119. +VERSION
  10120. +PACKAGE
  10121. +CYGPATH_W
  10122. +am__isrc
  10123. +INSTALL_DATA
  10124. +INSTALL_SCRIPT
  10125. +INSTALL_PROGRAM
  10126. +target_alias
  10127. +host_alias
  10128. +build_alias
  10129. +LIBS
  10130. +ECHO_T
  10131. +ECHO_N
  10132. +ECHO_C
  10133. +DEFS
  10134. +mandir
  10135. +localedir
  10136. +libdir
  10137. +psdir
  10138. +pdfdir
  10139. +dvidir
  10140. +htmldir
  10141. +infodir
  10142. +docdir
  10143. +oldincludedir
  10144. +includedir
  10145. +localstatedir
  10146. +sharedstatedir
  10147. +sysconfdir
  10148. +datadir
  10149. +datarootdir
  10150. +libexecdir
  10151. +sbindir
  10152. +bindir
  10153. +program_transform_name
  10154. +prefix
  10155. +exec_prefix
  10156. +PACKAGE_URL
  10157. +PACKAGE_BUGREPORT
  10158. +PACKAGE_STRING
  10159. +PACKAGE_VERSION
  10160. +PACKAGE_TARNAME
  10161. +PACKAGE_NAME
  10162. +PATH_SEPARATOR
  10163. +SHELL
  10164. +am__quote'
  10165. +ac_subst_files=''
  10166. +ac_user_opts='
  10167. +enable_option_checking
  10168. +enable_silent_rules
  10169. +enable_shared
  10170. +enable_static
  10171. +with_pic
  10172. +enable_fast_install
  10173. +enable_dependency_tracking
  10174. +with_gnu_ld
  10175. +enable_libtool_lock
  10176. +'
  10177. + ac_precious_vars='build_alias
  10178. +host_alias
  10179. +target_alias
  10180. +CC
  10181. +CFLAGS
  10182. +LDFLAGS
  10183. +LIBS
  10184. +CPPFLAGS
  10185. +CPP'
  10186. +
  10187. +
  10188. +# Initialize some variables set by options.
  10189. +ac_init_help=
  10190. +ac_init_version=false
  10191. +ac_unrecognized_opts=
  10192. +ac_unrecognized_sep=
  10193. +# The variables have the same names as the options, with
  10194. +# dashes changed to underlines.
  10195. +cache_file=/dev/null
  10196. +exec_prefix=NONE
  10197. +no_create=
  10198. +no_recursion=
  10199. +prefix=NONE
  10200. +program_prefix=NONE
  10201. +program_suffix=NONE
  10202. +program_transform_name=s,x,x,
  10203. +silent=
  10204. +site=
  10205. +srcdir=
  10206. +verbose=
  10207. +x_includes=NONE
  10208. +x_libraries=NONE
  10209. +
  10210. +# Installation directory options.
  10211. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  10212. +# and all the variables that are supposed to be based on exec_prefix
  10213. +# by default will actually change.
  10214. +# Use braces instead of parens because sh, perl, etc. also accept them.
  10215. +# (The list follows the same order as the GNU Coding Standards.)
  10216. +bindir='${exec_prefix}/bin'
  10217. +sbindir='${exec_prefix}/sbin'
  10218. +libexecdir='${exec_prefix}/libexec'
  10219. +datarootdir='${prefix}/share'
  10220. +datadir='${datarootdir}'
  10221. +sysconfdir='${prefix}/etc'
  10222. +sharedstatedir='${prefix}/com'
  10223. +localstatedir='${prefix}/var'
  10224. +includedir='${prefix}/include'
  10225. +oldincludedir='/usr/include'
  10226. +docdir='${datarootdir}/doc/${PACKAGE}'
  10227. +infodir='${datarootdir}/info'
  10228. +htmldir='${docdir}'
  10229. +dvidir='${docdir}'
  10230. +pdfdir='${docdir}'
  10231. +psdir='${docdir}'
  10232. +libdir='${exec_prefix}/lib'
  10233. +localedir='${datarootdir}/locale'
  10234. +mandir='${datarootdir}/man'
  10235. +
  10236. +ac_prev=
  10237. +ac_dashdash=
  10238. +for ac_option
  10239. +do
  10240. + # If the previous option needs an argument, assign it.
  10241. + if test -n "$ac_prev"; then
  10242. + eval $ac_prev=\$ac_option
  10243. + ac_prev=
  10244. + continue
  10245. + fi
  10246. +
  10247. + case $ac_option in
  10248. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  10249. + *=) ac_optarg= ;;
  10250. + *) ac_optarg=yes ;;
  10251. + esac
  10252. +
  10253. + # Accept the important Cygnus configure options, so we can diagnose typos.
  10254. +
  10255. + case $ac_dashdash$ac_option in
  10256. + --)
  10257. + ac_dashdash=yes ;;
  10258. +
  10259. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  10260. + ac_prev=bindir ;;
  10261. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  10262. + bindir=$ac_optarg ;;
  10263. +
  10264. + -build | --build | --buil | --bui | --bu)
  10265. + ac_prev=build_alias ;;
  10266. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  10267. + build_alias=$ac_optarg ;;
  10268. +
  10269. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  10270. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  10271. + ac_prev=cache_file ;;
  10272. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  10273. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  10274. + cache_file=$ac_optarg ;;
  10275. +
  10276. + --config-cache | -C)
  10277. + cache_file=config.cache ;;
  10278. +
  10279. + -datadir | --datadir | --datadi | --datad)
  10280. + ac_prev=datadir ;;
  10281. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  10282. + datadir=$ac_optarg ;;
  10283. +
  10284. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  10285. + | --dataroo | --dataro | --datar)
  10286. + ac_prev=datarootdir ;;
  10287. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  10288. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  10289. + datarootdir=$ac_optarg ;;
  10290. +
  10291. + -disable-* | --disable-*)
  10292. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  10293. + # Reject names that are not valid shell variable names.
  10294. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10295. + as_fn_error $? "invalid feature name: $ac_useropt"
  10296. + ac_useropt_orig=$ac_useropt
  10297. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10298. + case $ac_user_opts in
  10299. + *"
  10300. +"enable_$ac_useropt"
  10301. +"*) ;;
  10302. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  10303. + ac_unrecognized_sep=', ';;
  10304. + esac
  10305. + eval enable_$ac_useropt=no ;;
  10306. +
  10307. + -docdir | --docdir | --docdi | --doc | --do)
  10308. + ac_prev=docdir ;;
  10309. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  10310. + docdir=$ac_optarg ;;
  10311. +
  10312. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  10313. + ac_prev=dvidir ;;
  10314. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  10315. + dvidir=$ac_optarg ;;
  10316. +
  10317. + -enable-* | --enable-*)
  10318. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  10319. + # Reject names that are not valid shell variable names.
  10320. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10321. + as_fn_error $? "invalid feature name: $ac_useropt"
  10322. + ac_useropt_orig=$ac_useropt
  10323. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10324. + case $ac_user_opts in
  10325. + *"
  10326. +"enable_$ac_useropt"
  10327. +"*) ;;
  10328. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  10329. + ac_unrecognized_sep=', ';;
  10330. + esac
  10331. + eval enable_$ac_useropt=\$ac_optarg ;;
  10332. +
  10333. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  10334. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  10335. + | --exec | --exe | --ex)
  10336. + ac_prev=exec_prefix ;;
  10337. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  10338. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  10339. + | --exec=* | --exe=* | --ex=*)
  10340. + exec_prefix=$ac_optarg ;;
  10341. +
  10342. + -gas | --gas | --ga | --g)
  10343. + # Obsolete; use --with-gas.
  10344. + with_gas=yes ;;
  10345. +
  10346. + -help | --help | --hel | --he | -h)
  10347. + ac_init_help=long ;;
  10348. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  10349. + ac_init_help=recursive ;;
  10350. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  10351. + ac_init_help=short ;;
  10352. +
  10353. + -host | --host | --hos | --ho)
  10354. + ac_prev=host_alias ;;
  10355. + -host=* | --host=* | --hos=* | --ho=*)
  10356. + host_alias=$ac_optarg ;;
  10357. +
  10358. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  10359. + ac_prev=htmldir ;;
  10360. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  10361. + | --ht=*)
  10362. + htmldir=$ac_optarg ;;
  10363. +
  10364. + -includedir | --includedir | --includedi | --included | --include \
  10365. + | --includ | --inclu | --incl | --inc)
  10366. + ac_prev=includedir ;;
  10367. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  10368. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  10369. + includedir=$ac_optarg ;;
  10370. +
  10371. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  10372. + ac_prev=infodir ;;
  10373. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  10374. + infodir=$ac_optarg ;;
  10375. +
  10376. + -libdir | --libdir | --libdi | --libd)
  10377. + ac_prev=libdir ;;
  10378. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  10379. + libdir=$ac_optarg ;;
  10380. +
  10381. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  10382. + | --libexe | --libex | --libe)
  10383. + ac_prev=libexecdir ;;
  10384. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  10385. + | --libexe=* | --libex=* | --libe=*)
  10386. + libexecdir=$ac_optarg ;;
  10387. +
  10388. + -localedir | --localedir | --localedi | --localed | --locale)
  10389. + ac_prev=localedir ;;
  10390. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  10391. + localedir=$ac_optarg ;;
  10392. +
  10393. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  10394. + | --localstate | --localstat | --localsta | --localst | --locals)
  10395. + ac_prev=localstatedir ;;
  10396. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  10397. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  10398. + localstatedir=$ac_optarg ;;
  10399. +
  10400. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  10401. + ac_prev=mandir ;;
  10402. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  10403. + mandir=$ac_optarg ;;
  10404. +
  10405. + -nfp | --nfp | --nf)
  10406. + # Obsolete; use --without-fp.
  10407. + with_fp=no ;;
  10408. +
  10409. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  10410. + | --no-cr | --no-c | -n)
  10411. + no_create=yes ;;
  10412. +
  10413. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  10414. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  10415. + no_recursion=yes ;;
  10416. +
  10417. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  10418. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  10419. + | --oldin | --oldi | --old | --ol | --o)
  10420. + ac_prev=oldincludedir ;;
  10421. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  10422. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  10423. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  10424. + oldincludedir=$ac_optarg ;;
  10425. +
  10426. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  10427. + ac_prev=prefix ;;
  10428. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  10429. + prefix=$ac_optarg ;;
  10430. +
  10431. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  10432. + | --program-pre | --program-pr | --program-p)
  10433. + ac_prev=program_prefix ;;
  10434. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  10435. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  10436. + program_prefix=$ac_optarg ;;
  10437. +
  10438. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  10439. + | --program-suf | --program-su | --program-s)
  10440. + ac_prev=program_suffix ;;
  10441. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  10442. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  10443. + program_suffix=$ac_optarg ;;
  10444. +
  10445. + -program-transform-name | --program-transform-name \
  10446. + | --program-transform-nam | --program-transform-na \
  10447. + | --program-transform-n | --program-transform- \
  10448. + | --program-transform | --program-transfor \
  10449. + | --program-transfo | --program-transf \
  10450. + | --program-trans | --program-tran \
  10451. + | --progr-tra | --program-tr | --program-t)
  10452. + ac_prev=program_transform_name ;;
  10453. + -program-transform-name=* | --program-transform-name=* \
  10454. + | --program-transform-nam=* | --program-transform-na=* \
  10455. + | --program-transform-n=* | --program-transform-=* \
  10456. + | --program-transform=* | --program-transfor=* \
  10457. + | --program-transfo=* | --program-transf=* \
  10458. + | --program-trans=* | --program-tran=* \
  10459. + | --progr-tra=* | --program-tr=* | --program-t=*)
  10460. + program_transform_name=$ac_optarg ;;
  10461. +
  10462. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  10463. + ac_prev=pdfdir ;;
  10464. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  10465. + pdfdir=$ac_optarg ;;
  10466. +
  10467. + -psdir | --psdir | --psdi | --psd | --ps)
  10468. + ac_prev=psdir ;;
  10469. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  10470. + psdir=$ac_optarg ;;
  10471. +
  10472. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  10473. + | -silent | --silent | --silen | --sile | --sil)
  10474. + silent=yes ;;
  10475. +
  10476. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  10477. + ac_prev=sbindir ;;
  10478. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  10479. + | --sbi=* | --sb=*)
  10480. + sbindir=$ac_optarg ;;
  10481. +
  10482. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  10483. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  10484. + | --sharedst | --shareds | --shared | --share | --shar \
  10485. + | --sha | --sh)
  10486. + ac_prev=sharedstatedir ;;
  10487. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  10488. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  10489. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  10490. + | --sha=* | --sh=*)
  10491. + sharedstatedir=$ac_optarg ;;
  10492. +
  10493. + -site | --site | --sit)
  10494. + ac_prev=site ;;
  10495. + -site=* | --site=* | --sit=*)
  10496. + site=$ac_optarg ;;
  10497. +
  10498. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  10499. + ac_prev=srcdir ;;
  10500. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  10501. + srcdir=$ac_optarg ;;
  10502. +
  10503. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  10504. + | --syscon | --sysco | --sysc | --sys | --sy)
  10505. + ac_prev=sysconfdir ;;
  10506. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  10507. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  10508. + sysconfdir=$ac_optarg ;;
  10509. +
  10510. + -target | --target | --targe | --targ | --tar | --ta | --t)
  10511. + ac_prev=target_alias ;;
  10512. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  10513. + target_alias=$ac_optarg ;;
  10514. +
  10515. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  10516. + verbose=yes ;;
  10517. +
  10518. + -version | --version | --versio | --versi | --vers | -V)
  10519. + ac_init_version=: ;;
  10520. +
  10521. + -with-* | --with-*)
  10522. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  10523. + # Reject names that are not valid shell variable names.
  10524. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10525. + as_fn_error $? "invalid package name: $ac_useropt"
  10526. + ac_useropt_orig=$ac_useropt
  10527. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10528. + case $ac_user_opts in
  10529. + *"
  10530. +"with_$ac_useropt"
  10531. +"*) ;;
  10532. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  10533. + ac_unrecognized_sep=', ';;
  10534. + esac
  10535. + eval with_$ac_useropt=\$ac_optarg ;;
  10536. +
  10537. + -without-* | --without-*)
  10538. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  10539. + # Reject names that are not valid shell variable names.
  10540. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10541. + as_fn_error $? "invalid package name: $ac_useropt"
  10542. + ac_useropt_orig=$ac_useropt
  10543. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10544. + case $ac_user_opts in
  10545. + *"
  10546. +"with_$ac_useropt"
  10547. +"*) ;;
  10548. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  10549. + ac_unrecognized_sep=', ';;
  10550. + esac
  10551. + eval with_$ac_useropt=no ;;
  10552. +
  10553. + --x)
  10554. + # Obsolete; use --with-x.
  10555. + with_x=yes ;;
  10556. +
  10557. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  10558. + | --x-incl | --x-inc | --x-in | --x-i)
  10559. + ac_prev=x_includes ;;
  10560. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  10561. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  10562. + x_includes=$ac_optarg ;;
  10563. +
  10564. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  10565. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  10566. + ac_prev=x_libraries ;;
  10567. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  10568. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  10569. + x_libraries=$ac_optarg ;;
  10570. +
  10571. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  10572. +Try \`$0 --help' for more information"
  10573. + ;;
  10574. +
  10575. + *=*)
  10576. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  10577. + # Reject names that are not valid shell variable names.
  10578. + case $ac_envvar in #(
  10579. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  10580. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  10581. + esac
  10582. + eval $ac_envvar=\$ac_optarg
  10583. + export $ac_envvar ;;
  10584. +
  10585. + *)
  10586. + # FIXME: should be removed in autoconf 3.0.
  10587. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  10588. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  10589. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  10590. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  10591. + ;;
  10592. +
  10593. + esac
  10594. +done
  10595. +
  10596. +if test -n "$ac_prev"; then
  10597. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  10598. + as_fn_error $? "missing argument to $ac_option"
  10599. +fi
  10600. +
  10601. +if test -n "$ac_unrecognized_opts"; then
  10602. + case $enable_option_checking in
  10603. + no) ;;
  10604. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  10605. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  10606. + esac
  10607. +fi
  10608. +
  10609. +# Check all directory arguments for consistency.
  10610. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  10611. + datadir sysconfdir sharedstatedir localstatedir includedir \
  10612. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  10613. + libdir localedir mandir
  10614. +do
  10615. + eval ac_val=\$$ac_var
  10616. + # Remove trailing slashes.
  10617. + case $ac_val in
  10618. + */ )
  10619. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  10620. + eval $ac_var=\$ac_val;;
  10621. + esac
  10622. + # Be sure to have absolute directory names.
  10623. + case $ac_val in
  10624. + [\\/$]* | ?:[\\/]* ) continue;;
  10625. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  10626. + esac
  10627. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  10628. +done
  10629. +
  10630. +# There might be people who depend on the old broken behavior: `$host'
  10631. +# used to hold the argument of --host etc.
  10632. +# FIXME: To remove some day.
  10633. +build=$build_alias
  10634. +host=$host_alias
  10635. +target=$target_alias
  10636. +
  10637. +# FIXME: To remove some day.
  10638. +if test "x$host_alias" != x; then
  10639. + if test "x$build_alias" = x; then
  10640. + cross_compiling=maybe
  10641. + elif test "x$build_alias" != "x$host_alias"; then
  10642. + cross_compiling=yes
  10643. + fi
  10644. +fi
  10645. +
  10646. +ac_tool_prefix=
  10647. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  10648. +
  10649. +test "$silent" = yes && exec 6>/dev/null
  10650. +
  10651. +
  10652. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  10653. +ac_ls_di=`ls -di .` &&
  10654. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  10655. + as_fn_error $? "working directory cannot be determined"
  10656. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  10657. + as_fn_error $? "pwd does not report name of working directory"
  10658. +
  10659. +
  10660. +# Find the source files, if location was not specified.
  10661. +if test -z "$srcdir"; then
  10662. + ac_srcdir_defaulted=yes
  10663. + # Try the directory containing this script, then the parent directory.
  10664. + ac_confdir=`$as_dirname -- "$as_myself" ||
  10665. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10666. + X"$as_myself" : 'X\(//\)[^/]' \| \
  10667. + X"$as_myself" : 'X\(//\)$' \| \
  10668. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  10669. +$as_echo X"$as_myself" |
  10670. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10671. + s//\1/
  10672. + q
  10673. + }
  10674. + /^X\(\/\/\)[^/].*/{
  10675. + s//\1/
  10676. + q
  10677. + }
  10678. + /^X\(\/\/\)$/{
  10679. + s//\1/
  10680. + q
  10681. + }
  10682. + /^X\(\/\).*/{
  10683. + s//\1/
  10684. + q
  10685. + }
  10686. + s/.*/./; q'`
  10687. + srcdir=$ac_confdir
  10688. + if test ! -r "$srcdir/$ac_unique_file"; then
  10689. + srcdir=..
  10690. + fi
  10691. +else
  10692. + ac_srcdir_defaulted=no
  10693. +fi
  10694. +if test ! -r "$srcdir/$ac_unique_file"; then
  10695. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  10696. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  10697. +fi
  10698. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  10699. +ac_abs_confdir=`(
  10700. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  10701. + pwd)`
  10702. +# When building in place, set srcdir=.
  10703. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  10704. + srcdir=.
  10705. +fi
  10706. +# Remove unnecessary trailing slashes from srcdir.
  10707. +# Double slashes in file names in object file debugging info
  10708. +# mess up M-x gdb in Emacs.
  10709. +case $srcdir in
  10710. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  10711. +esac
  10712. +for ac_var in $ac_precious_vars; do
  10713. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  10714. + eval ac_env_${ac_var}_value=\$${ac_var}
  10715. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  10716. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  10717. +done
  10718. +
  10719. +#
  10720. +# Report the --help message.
  10721. +#
  10722. +if test "$ac_init_help" = "long"; then
  10723. + # Omit some internal or obsolete options to make the list less imposing.
  10724. + # This message is too long to be a string in the A/UX 3.1 sh.
  10725. + cat <<_ACEOF
  10726. +\`configure' configures this package to adapt to many kinds of systems.
  10727. +
  10728. +Usage: $0 [OPTION]... [VAR=VALUE]...
  10729. +
  10730. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  10731. +VAR=VALUE. See below for descriptions of some of the useful variables.
  10732. +
  10733. +Defaults for the options are specified in brackets.
  10734. +
  10735. +Configuration:
  10736. + -h, --help display this help and exit
  10737. + --help=short display options specific to this package
  10738. + --help=recursive display the short help of all the included packages
  10739. + -V, --version display version information and exit
  10740. + -q, --quiet, --silent do not print \`checking ...' messages
  10741. + --cache-file=FILE cache test results in FILE [disabled]
  10742. + -C, --config-cache alias for \`--cache-file=config.cache'
  10743. + -n, --no-create do not create output files
  10744. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  10745. +
  10746. +Installation directories:
  10747. + --prefix=PREFIX install architecture-independent files in PREFIX
  10748. + @<:@@S|@ac_default_prefix@:>@
  10749. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  10750. + @<:@PREFIX@:>@
  10751. +
  10752. +By default, \`make install' will install all the files in
  10753. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  10754. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  10755. +for instance \`--prefix=\$HOME'.
  10756. +
  10757. +For better control, use the options below.
  10758. +
  10759. +Fine tuning of the installation directories:
  10760. + --bindir=DIR user executables [EPREFIX/bin]
  10761. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  10762. + --libexecdir=DIR program executables [EPREFIX/libexec]
  10763. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  10764. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  10765. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  10766. + --libdir=DIR object code libraries [EPREFIX/lib]
  10767. + --includedir=DIR C header files [PREFIX/include]
  10768. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  10769. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  10770. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  10771. + --infodir=DIR info documentation [DATAROOTDIR/info]
  10772. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  10773. + --mandir=DIR man documentation [DATAROOTDIR/man]
  10774. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
  10775. + --htmldir=DIR html documentation [DOCDIR]
  10776. + --dvidir=DIR dvi documentation [DOCDIR]
  10777. + --pdfdir=DIR pdf documentation [DOCDIR]
  10778. + --psdir=DIR ps documentation [DOCDIR]
  10779. +_ACEOF
  10780. +
  10781. + cat <<\_ACEOF
  10782. +
  10783. +Program names:
  10784. + --program-prefix=PREFIX prepend PREFIX to installed program names
  10785. + --program-suffix=SUFFIX append SUFFIX to installed program names
  10786. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  10787. +
  10788. +System types:
  10789. + --build=BUILD configure for building on BUILD [guessed]
  10790. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  10791. +_ACEOF
  10792. +fi
  10793. +
  10794. +if test -n "$ac_init_help"; then
  10795. +
  10796. + cat <<\_ACEOF
  10797. +
  10798. +Optional Features:
  10799. + --disable-option-checking ignore unrecognized --enable/--with options
  10800. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  10801. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  10802. + --enable-silent-rules less verbose build output (undo: "make V=1")
  10803. + --disable-silent-rules verbose build output (undo: "make V=0")
  10804. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  10805. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  10806. + --enable-fast-install@<:@=PKGS@:>@
  10807. + optimize for fast installation @<:@default=yes@:>@
  10808. + --enable-dependency-tracking
  10809. + do not reject slow dependency extractors
  10810. + --disable-dependency-tracking
  10811. + speeds up one-time build
  10812. + --disable-libtool-lock avoid locking (might break parallel builds)
  10813. +
  10814. +Optional Packages:
  10815. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  10816. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  10817. + --with-pic try to use only PIC/non-PIC objects @<:@default=use
  10818. + both@:>@
  10819. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  10820. +
  10821. +Some influential environment variables:
  10822. + CC C compiler command
  10823. + CFLAGS C compiler flags
  10824. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  10825. + nonstandard directory <lib dir>
  10826. + LIBS libraries to pass to the linker, e.g. -l<library>
  10827. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  10828. + you have headers in a nonstandard directory <include dir>
  10829. + CPP C preprocessor
  10830. +
  10831. +Use these variables to override the choices made by `configure' or to help
  10832. +it to find libraries and programs with nonstandard names/locations.
  10833. +
  10834. +Report bugs to the package provider.
  10835. +_ACEOF
  10836. +ac_status=$?
  10837. +fi
  10838. +
  10839. +if test "$ac_init_help" = "recursive"; then
  10840. + # If there are subdirs, report their specific --help.
  10841. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  10842. + test -d "$ac_dir" ||
  10843. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  10844. + continue
  10845. + ac_builddir=.
  10846. +
  10847. +case "$ac_dir" in
  10848. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10849. +*)
  10850. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  10851. + # A ".." for each directory in $ac_dir_suffix.
  10852. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  10853. + case $ac_top_builddir_sub in
  10854. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10855. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  10856. + esac ;;
  10857. +esac
  10858. +ac_abs_top_builddir=$ac_pwd
  10859. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  10860. +# for backward compatibility:
  10861. +ac_top_builddir=$ac_top_build_prefix
  10862. +
  10863. +case $srcdir in
  10864. + .) # We are building in place.
  10865. + ac_srcdir=.
  10866. + ac_top_srcdir=$ac_top_builddir_sub
  10867. + ac_abs_top_srcdir=$ac_pwd ;;
  10868. + [\\/]* | ?:[\\/]* ) # Absolute name.
  10869. + ac_srcdir=$srcdir$ac_dir_suffix;
  10870. + ac_top_srcdir=$srcdir
  10871. + ac_abs_top_srcdir=$srcdir ;;
  10872. + *) # Relative name.
  10873. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  10874. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  10875. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  10876. +esac
  10877. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  10878. +
  10879. + cd "$ac_dir" || { ac_status=$?; continue; }
  10880. + # Check for guested configure.
  10881. + if test -f "$ac_srcdir/configure.gnu"; then
  10882. + echo &&
  10883. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  10884. + elif test -f "$ac_srcdir/configure"; then
  10885. + echo &&
  10886. + $SHELL "$ac_srcdir/configure" --help=recursive
  10887. + else
  10888. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  10889. + fi || ac_status=$?
  10890. + cd "$ac_pwd" || { ac_status=$?; break; }
  10891. + done
  10892. +fi
  10893. +
  10894. +test -n "$ac_init_help" && exit $ac_status
  10895. +if $ac_init_version; then
  10896. + cat <<\_ACEOF
  10897. +configure
  10898. +generated by GNU Autoconf 2.69
  10899. +
  10900. +Copyright (C) 2012 Free Software Foundation, Inc.
  10901. +This configure script is free software; the Free Software Foundation
  10902. +gives unlimited permission to copy, distribute and modify it.
  10903. +_ACEOF
  10904. + exit
  10905. +fi
  10906. +
  10907. +## ------------------------ ##
  10908. +## Autoconf initialization. ##
  10909. +## ------------------------ ##
  10910. +
  10911. +@%:@ ac_fn_c_try_compile LINENO
  10912. +@%:@ --------------------------
  10913. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  10914. +ac_fn_c_try_compile ()
  10915. +{
  10916. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  10917. + rm -f conftest.$ac_objext
  10918. + if { { ac_try="$ac_compile"
  10919. +case "(($ac_try" in
  10920. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10921. + *) ac_try_echo=$ac_try;;
  10922. +esac
  10923. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10924. +$as_echo "$ac_try_echo"; } >&5
  10925. + (eval "$ac_compile") 2>conftest.err
  10926. + ac_status=$?
  10927. + if test -s conftest.err; then
  10928. + grep -v '^ *+' conftest.err >conftest.er1
  10929. + cat conftest.er1 >&5
  10930. + mv -f conftest.er1 conftest.err
  10931. + fi
  10932. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10933. + test $ac_status = 0; } && {
  10934. + test -z "$ac_c_werror_flag" ||
  10935. + test ! -s conftest.err
  10936. + } && test -s conftest.$ac_objext; then :
  10937. + ac_retval=0
  10938. +else
  10939. + $as_echo "$as_me: failed program was:" >&5
  10940. +sed 's/^/| /' conftest.$ac_ext >&5
  10941. +
  10942. + ac_retval=1
  10943. +fi
  10944. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  10945. + as_fn_set_status $ac_retval
  10946. +
  10947. +} @%:@ ac_fn_c_try_compile
  10948. +
  10949. +@%:@ ac_fn_c_try_link LINENO
  10950. +@%:@ -----------------------
  10951. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  10952. +ac_fn_c_try_link ()
  10953. +{
  10954. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  10955. + rm -f conftest.$ac_objext conftest$ac_exeext
  10956. + if { { ac_try="$ac_link"
  10957. +case "(($ac_try" in
  10958. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10959. + *) ac_try_echo=$ac_try;;
  10960. +esac
  10961. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10962. +$as_echo "$ac_try_echo"; } >&5
  10963. + (eval "$ac_link") 2>conftest.err
  10964. + ac_status=$?
  10965. + if test -s conftest.err; then
  10966. + grep -v '^ *+' conftest.err >conftest.er1
  10967. + cat conftest.er1 >&5
  10968. + mv -f conftest.er1 conftest.err
  10969. + fi
  10970. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10971. + test $ac_status = 0; } && {
  10972. + test -z "$ac_c_werror_flag" ||
  10973. + test ! -s conftest.err
  10974. + } && test -s conftest$ac_exeext && {
  10975. + test "$cross_compiling" = yes ||
  10976. + test -x conftest$ac_exeext
  10977. + }; then :
  10978. + ac_retval=0
  10979. +else
  10980. + $as_echo "$as_me: failed program was:" >&5
  10981. +sed 's/^/| /' conftest.$ac_ext >&5
  10982. +
  10983. + ac_retval=1
  10984. +fi
  10985. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  10986. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  10987. + # interfere with the next link command; also delete a directory that is
  10988. + # left behind by Apple's compiler. We do this before executing the actions.
  10989. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  10990. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  10991. + as_fn_set_status $ac_retval
  10992. +
  10993. +} @%:@ ac_fn_c_try_link
  10994. +
  10995. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  10996. +@%:@ -------------------------------------------------------
  10997. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  10998. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  10999. +ac_fn_c_check_header_compile ()
  11000. +{
  11001. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11002. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11003. +$as_echo_n "checking for $2... " >&6; }
  11004. +if eval \${$3+:} false; then :
  11005. + $as_echo_n "(cached) " >&6
  11006. +else
  11007. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11008. +/* end confdefs.h. */
  11009. +$4
  11010. +@%:@include <$2>
  11011. +_ACEOF
  11012. +if ac_fn_c_try_compile "$LINENO"; then :
  11013. + eval "$3=yes"
  11014. +else
  11015. + eval "$3=no"
  11016. +fi
  11017. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11018. +fi
  11019. +eval ac_res=\$$3
  11020. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11021. +$as_echo "$ac_res" >&6; }
  11022. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11023. +
  11024. +} @%:@ ac_fn_c_check_header_compile
  11025. +
  11026. +@%:@ ac_fn_c_try_cpp LINENO
  11027. +@%:@ ----------------------
  11028. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  11029. +ac_fn_c_try_cpp ()
  11030. +{
  11031. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11032. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  11033. +case "(($ac_try" in
  11034. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11035. + *) ac_try_echo=$ac_try;;
  11036. +esac
  11037. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11038. +$as_echo "$ac_try_echo"; } >&5
  11039. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  11040. + ac_status=$?
  11041. + if test -s conftest.err; then
  11042. + grep -v '^ *+' conftest.err >conftest.er1
  11043. + cat conftest.er1 >&5
  11044. + mv -f conftest.er1 conftest.err
  11045. + fi
  11046. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11047. + test $ac_status = 0; } > conftest.i && {
  11048. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11049. + test ! -s conftest.err
  11050. + }; then :
  11051. + ac_retval=0
  11052. +else
  11053. + $as_echo "$as_me: failed program was:" >&5
  11054. +sed 's/^/| /' conftest.$ac_ext >&5
  11055. +
  11056. + ac_retval=1
  11057. +fi
  11058. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11059. + as_fn_set_status $ac_retval
  11060. +
  11061. +} @%:@ ac_fn_c_try_cpp
  11062. +
  11063. +@%:@ ac_fn_c_try_run LINENO
  11064. +@%:@ ----------------------
  11065. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  11066. +@%:@ that executables *can* be run.
  11067. +ac_fn_c_try_run ()
  11068. +{
  11069. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11070. + if { { ac_try="$ac_link"
  11071. +case "(($ac_try" in
  11072. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11073. + *) ac_try_echo=$ac_try;;
  11074. +esac
  11075. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11076. +$as_echo "$ac_try_echo"; } >&5
  11077. + (eval "$ac_link") 2>&5
  11078. + ac_status=$?
  11079. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11080. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  11081. + { { case "(($ac_try" in
  11082. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11083. + *) ac_try_echo=$ac_try;;
  11084. +esac
  11085. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11086. +$as_echo "$ac_try_echo"; } >&5
  11087. + (eval "$ac_try") 2>&5
  11088. + ac_status=$?
  11089. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11090. + test $ac_status = 0; }; }; then :
  11091. + ac_retval=0
  11092. +else
  11093. + $as_echo "$as_me: program exited with status $ac_status" >&5
  11094. + $as_echo "$as_me: failed program was:" >&5
  11095. +sed 's/^/| /' conftest.$ac_ext >&5
  11096. +
  11097. + ac_retval=$ac_status
  11098. +fi
  11099. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  11100. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11101. + as_fn_set_status $ac_retval
  11102. +
  11103. +} @%:@ ac_fn_c_try_run
  11104. +
  11105. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  11106. +@%:@ ----------------------------------
  11107. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  11108. +ac_fn_c_check_func ()
  11109. +{
  11110. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11111. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11112. +$as_echo_n "checking for $2... " >&6; }
  11113. +if eval \${$3+:} false; then :
  11114. + $as_echo_n "(cached) " >&6
  11115. +else
  11116. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11117. +/* end confdefs.h. */
  11118. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  11119. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11120. +#define $2 innocuous_$2
  11121. +
  11122. +/* System header to define __stub macros and hopefully few prototypes,
  11123. + which can conflict with char $2 (); below.
  11124. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11125. + <limits.h> exists even on freestanding compilers. */
  11126. +
  11127. +#ifdef __STDC__
  11128. +# include <limits.h>
  11129. +#else
  11130. +# include <assert.h>
  11131. +#endif
  11132. +
  11133. +#undef $2
  11134. +
  11135. +/* Override any GCC internal prototype to avoid an error.
  11136. + Use char because int might match the return type of a GCC
  11137. + builtin and then its argument prototype would still apply. */
  11138. +#ifdef __cplusplus
  11139. +extern "C"
  11140. +#endif
  11141. +char $2 ();
  11142. +/* The GNU C library defines this for functions which it implements
  11143. + to always fail with ENOSYS. Some functions are actually named
  11144. + something starting with __ and the normal name is an alias. */
  11145. +#if defined __stub_$2 || defined __stub___$2
  11146. +choke me
  11147. +#endif
  11148. +
  11149. +int
  11150. +main ()
  11151. +{
  11152. +return $2 ();
  11153. + ;
  11154. + return 0;
  11155. +}
  11156. +_ACEOF
  11157. +if ac_fn_c_try_link "$LINENO"; then :
  11158. + eval "$3=yes"
  11159. +else
  11160. + eval "$3=no"
  11161. +fi
  11162. +rm -f core conftest.err conftest.$ac_objext \
  11163. + conftest$ac_exeext conftest.$ac_ext
  11164. +fi
  11165. +eval ac_res=\$$3
  11166. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11167. +$as_echo "$ac_res" >&6; }
  11168. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11169. +
  11170. +} @%:@ ac_fn_c_check_func
  11171. +
  11172. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  11173. +@%:@ --------------------------------------------
  11174. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  11175. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  11176. +@%:@ computed
  11177. +ac_fn_c_compute_int ()
  11178. +{
  11179. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11180. + if test "$cross_compiling" = yes; then
  11181. + # Depending upon the size, compute the lo and hi bounds.
  11182. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11183. +/* end confdefs.h. */
  11184. +$4
  11185. +int
  11186. +main ()
  11187. +{
  11188. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  11189. +test_array @<:@0@:>@ = 0;
  11190. +return test_array @<:@0@:>@;
  11191. +
  11192. + ;
  11193. + return 0;
  11194. +}
  11195. +_ACEOF
  11196. +if ac_fn_c_try_compile "$LINENO"; then :
  11197. + ac_lo=0 ac_mid=0
  11198. + while :; do
  11199. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11200. +/* end confdefs.h. */
  11201. +$4
  11202. +int
  11203. +main ()
  11204. +{
  11205. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  11206. +test_array @<:@0@:>@ = 0;
  11207. +return test_array @<:@0@:>@;
  11208. +
  11209. + ;
  11210. + return 0;
  11211. +}
  11212. +_ACEOF
  11213. +if ac_fn_c_try_compile "$LINENO"; then :
  11214. + ac_hi=$ac_mid; break
  11215. +else
  11216. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  11217. + if test $ac_lo -le $ac_mid; then
  11218. + ac_lo= ac_hi=
  11219. + break
  11220. + fi
  11221. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  11222. +fi
  11223. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11224. + done
  11225. +else
  11226. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11227. +/* end confdefs.h. */
  11228. +$4
  11229. +int
  11230. +main ()
  11231. +{
  11232. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  11233. +test_array @<:@0@:>@ = 0;
  11234. +return test_array @<:@0@:>@;
  11235. +
  11236. + ;
  11237. + return 0;
  11238. +}
  11239. +_ACEOF
  11240. +if ac_fn_c_try_compile "$LINENO"; then :
  11241. + ac_hi=-1 ac_mid=-1
  11242. + while :; do
  11243. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11244. +/* end confdefs.h. */
  11245. +$4
  11246. +int
  11247. +main ()
  11248. +{
  11249. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  11250. +test_array @<:@0@:>@ = 0;
  11251. +return test_array @<:@0@:>@;
  11252. +
  11253. + ;
  11254. + return 0;
  11255. +}
  11256. +_ACEOF
  11257. +if ac_fn_c_try_compile "$LINENO"; then :
  11258. + ac_lo=$ac_mid; break
  11259. +else
  11260. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  11261. + if test $ac_mid -le $ac_hi; then
  11262. + ac_lo= ac_hi=
  11263. + break
  11264. + fi
  11265. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  11266. +fi
  11267. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11268. + done
  11269. +else
  11270. + ac_lo= ac_hi=
  11271. +fi
  11272. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11273. +fi
  11274. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11275. +# Binary search between lo and hi bounds.
  11276. +while test "x$ac_lo" != "x$ac_hi"; do
  11277. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  11278. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11279. +/* end confdefs.h. */
  11280. +$4
  11281. +int
  11282. +main ()
  11283. +{
  11284. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  11285. +test_array @<:@0@:>@ = 0;
  11286. +return test_array @<:@0@:>@;
  11287. +
  11288. + ;
  11289. + return 0;
  11290. +}
  11291. +_ACEOF
  11292. +if ac_fn_c_try_compile "$LINENO"; then :
  11293. + ac_hi=$ac_mid
  11294. +else
  11295. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  11296. +fi
  11297. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11298. +done
  11299. +case $ac_lo in @%:@((
  11300. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  11301. +'') ac_retval=1 ;;
  11302. +esac
  11303. + else
  11304. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11305. +/* end confdefs.h. */
  11306. +$4
  11307. +static long int longval () { return $2; }
  11308. +static unsigned long int ulongval () { return $2; }
  11309. +@%:@include <stdio.h>
  11310. +@%:@include <stdlib.h>
  11311. +int
  11312. +main ()
  11313. +{
  11314. +
  11315. + FILE *f = fopen ("conftest.val", "w");
  11316. + if (! f)
  11317. + return 1;
  11318. + if (($2) < 0)
  11319. + {
  11320. + long int i = longval ();
  11321. + if (i != ($2))
  11322. + return 1;
  11323. + fprintf (f, "%ld", i);
  11324. + }
  11325. + else
  11326. + {
  11327. + unsigned long int i = ulongval ();
  11328. + if (i != ($2))
  11329. + return 1;
  11330. + fprintf (f, "%lu", i);
  11331. + }
  11332. + /* Do not output a trailing newline, as this causes \r\n confusion
  11333. + on some platforms. */
  11334. + return ferror (f) || fclose (f) != 0;
  11335. +
  11336. + ;
  11337. + return 0;
  11338. +}
  11339. +_ACEOF
  11340. +if ac_fn_c_try_run "$LINENO"; then :
  11341. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  11342. +else
  11343. + ac_retval=1
  11344. +fi
  11345. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11346. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11347. +rm -f conftest.val
  11348. +
  11349. + fi
  11350. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11351. + as_fn_set_status $ac_retval
  11352. +
  11353. +} @%:@ ac_fn_c_compute_int
  11354. +
  11355. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  11356. +@%:@ -------------------------------------------------------
  11357. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  11358. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  11359. +@%:@ accordingly.
  11360. +ac_fn_c_check_header_mongrel ()
  11361. +{
  11362. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11363. + if eval \${$3+:} false; then :
  11364. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11365. +$as_echo_n "checking for $2... " >&6; }
  11366. +if eval \${$3+:} false; then :
  11367. + $as_echo_n "(cached) " >&6
  11368. +fi
  11369. +eval ac_res=\$$3
  11370. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11371. +$as_echo "$ac_res" >&6; }
  11372. +else
  11373. + # Is the header compilable?
  11374. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  11375. +$as_echo_n "checking $2 usability... " >&6; }
  11376. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11377. +/* end confdefs.h. */
  11378. +$4
  11379. +@%:@include <$2>
  11380. +_ACEOF
  11381. +if ac_fn_c_try_compile "$LINENO"; then :
  11382. + ac_header_compiler=yes
  11383. +else
  11384. + ac_header_compiler=no
  11385. +fi
  11386. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11387. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  11388. +$as_echo "$ac_header_compiler" >&6; }
  11389. +
  11390. +# Is the header present?
  11391. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  11392. +$as_echo_n "checking $2 presence... " >&6; }
  11393. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11394. +/* end confdefs.h. */
  11395. +@%:@include <$2>
  11396. +_ACEOF
  11397. +if ac_fn_c_try_cpp "$LINENO"; then :
  11398. + ac_header_preproc=yes
  11399. +else
  11400. + ac_header_preproc=no
  11401. +fi
  11402. +rm -f conftest.err conftest.i conftest.$ac_ext
  11403. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  11404. +$as_echo "$ac_header_preproc" >&6; }
  11405. +
  11406. +# So? What about this header?
  11407. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  11408. + yes:no: )
  11409. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  11410. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11411. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11412. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11413. + ;;
  11414. + no:yes:* )
  11415. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  11416. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  11417. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  11418. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  11419. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  11420. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  11421. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  11422. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  11423. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11424. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11425. + ;;
  11426. +esac
  11427. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11428. +$as_echo_n "checking for $2... " >&6; }
  11429. +if eval \${$3+:} false; then :
  11430. + $as_echo_n "(cached) " >&6
  11431. +else
  11432. + eval "$3=\$ac_header_compiler"
  11433. +fi
  11434. +eval ac_res=\$$3
  11435. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11436. +$as_echo "$ac_res" >&6; }
  11437. +fi
  11438. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11439. +
  11440. +} @%:@ ac_fn_c_check_header_mongrel
  11441. +
  11442. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  11443. +@%:@ -------------------------------------------
  11444. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  11445. +@%:@ variable VAR accordingly.
  11446. +ac_fn_c_check_type ()
  11447. +{
  11448. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11449. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11450. +$as_echo_n "checking for $2... " >&6; }
  11451. +if eval \${$3+:} false; then :
  11452. + $as_echo_n "(cached) " >&6
  11453. +else
  11454. + eval "$3=no"
  11455. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11456. +/* end confdefs.h. */
  11457. +$4
  11458. +int
  11459. +main ()
  11460. +{
  11461. +if (sizeof ($2))
  11462. + return 0;
  11463. + ;
  11464. + return 0;
  11465. +}
  11466. +_ACEOF
  11467. +if ac_fn_c_try_compile "$LINENO"; then :
  11468. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11469. +/* end confdefs.h. */
  11470. +$4
  11471. +int
  11472. +main ()
  11473. +{
  11474. +if (sizeof (($2)))
  11475. + return 0;
  11476. + ;
  11477. + return 0;
  11478. +}
  11479. +_ACEOF
  11480. +if ac_fn_c_try_compile "$LINENO"; then :
  11481. +
  11482. +else
  11483. + eval "$3=yes"
  11484. +fi
  11485. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11486. +fi
  11487. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11488. +fi
  11489. +eval ac_res=\$$3
  11490. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11491. +$as_echo "$ac_res" >&6; }
  11492. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11493. +
  11494. +} @%:@ ac_fn_c_check_type
  11495. +cat >config.log <<_ACEOF
  11496. +This file contains any messages produced by compilers while
  11497. +running configure, to aid debugging if configure makes a mistake.
  11498. +
  11499. +It was created by $as_me, which was
  11500. +generated by GNU Autoconf 2.69. Invocation command line was
  11501. +
  11502. + $ $0 $@
  11503. +
  11504. +_ACEOF
  11505. +exec 5>>config.log
  11506. +{
  11507. +cat <<_ASUNAME
  11508. +## --------- ##
  11509. +## Platform. ##
  11510. +## --------- ##
  11511. +
  11512. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  11513. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  11514. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  11515. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  11516. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  11517. +
  11518. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  11519. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  11520. +
  11521. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  11522. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  11523. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  11524. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  11525. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  11526. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  11527. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  11528. +
  11529. +_ASUNAME
  11530. +
  11531. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11532. +for as_dir in $PATH
  11533. +do
  11534. + IFS=$as_save_IFS
  11535. + test -z "$as_dir" && as_dir=.
  11536. + $as_echo "PATH: $as_dir"
  11537. + done
  11538. +IFS=$as_save_IFS
  11539. +
  11540. +} >&5
  11541. +
  11542. +cat >&5 <<_ACEOF
  11543. +
  11544. +
  11545. +## ----------- ##
  11546. +## Core tests. ##
  11547. +## ----------- ##
  11548. +
  11549. +_ACEOF
  11550. +
  11551. +
  11552. +# Keep a trace of the command line.
  11553. +# Strip out --no-create and --no-recursion so they do not pile up.
  11554. +# Strip out --silent because we don't want to record it for future runs.
  11555. +# Also quote any args containing shell meta-characters.
  11556. +# Make two passes to allow for proper duplicate-argument suppression.
  11557. +ac_configure_args=
  11558. +ac_configure_args0=
  11559. +ac_configure_args1=
  11560. +ac_must_keep_next=false
  11561. +for ac_pass in 1 2
  11562. +do
  11563. + for ac_arg
  11564. + do
  11565. + case $ac_arg in
  11566. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  11567. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11568. + | -silent | --silent | --silen | --sile | --sil)
  11569. + continue ;;
  11570. + *\'*)
  11571. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11572. + esac
  11573. + case $ac_pass in
  11574. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  11575. + 2)
  11576. + as_fn_append ac_configure_args1 " '$ac_arg'"
  11577. + if test $ac_must_keep_next = true; then
  11578. + ac_must_keep_next=false # Got value, back to normal.
  11579. + else
  11580. + case $ac_arg in
  11581. + *=* | --config-cache | -C | -disable-* | --disable-* \
  11582. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  11583. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  11584. + | -with-* | --with-* | -without-* | --without-* | --x)
  11585. + case "$ac_configure_args0 " in
  11586. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  11587. + esac
  11588. + ;;
  11589. + -* ) ac_must_keep_next=true ;;
  11590. + esac
  11591. + fi
  11592. + as_fn_append ac_configure_args " '$ac_arg'"
  11593. + ;;
  11594. + esac
  11595. + done
  11596. +done
  11597. +{ ac_configure_args0=; unset ac_configure_args0;}
  11598. +{ ac_configure_args1=; unset ac_configure_args1;}
  11599. +
  11600. +# When interrupted or exit'd, cleanup temporary files, and complete
  11601. +# config.log. We remove comments because anyway the quotes in there
  11602. +# would cause problems or look ugly.
  11603. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  11604. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  11605. +trap 'exit_status=$?
  11606. + # Save into config.log some information that might help in debugging.
  11607. + {
  11608. + echo
  11609. +
  11610. + $as_echo "## ---------------- ##
  11611. +## Cache variables. ##
  11612. +## ---------------- ##"
  11613. + echo
  11614. + # The following way of writing the cache mishandles newlines in values,
  11615. +(
  11616. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  11617. + eval ac_val=\$$ac_var
  11618. + case $ac_val in #(
  11619. + *${as_nl}*)
  11620. + case $ac_var in #(
  11621. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11622. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11623. + esac
  11624. + case $ac_var in #(
  11625. + _ | IFS | as_nl) ;; #(
  11626. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11627. + *) { eval $ac_var=; unset $ac_var;} ;;
  11628. + esac ;;
  11629. + esac
  11630. + done
  11631. + (set) 2>&1 |
  11632. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  11633. + *${as_nl}ac_space=\ *)
  11634. + sed -n \
  11635. + "s/'\''/'\''\\\\'\'''\''/g;
  11636. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  11637. + ;; #(
  11638. + *)
  11639. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11640. + ;;
  11641. + esac |
  11642. + sort
  11643. +)
  11644. + echo
  11645. +
  11646. + $as_echo "## ----------------- ##
  11647. +## Output variables. ##
  11648. +## ----------------- ##"
  11649. + echo
  11650. + for ac_var in $ac_subst_vars
  11651. + do
  11652. + eval ac_val=\$$ac_var
  11653. + case $ac_val in
  11654. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11655. + esac
  11656. + $as_echo "$ac_var='\''$ac_val'\''"
  11657. + done | sort
  11658. + echo
  11659. +
  11660. + if test -n "$ac_subst_files"; then
  11661. + $as_echo "## ------------------- ##
  11662. +## File substitutions. ##
  11663. +## ------------------- ##"
  11664. + echo
  11665. + for ac_var in $ac_subst_files
  11666. + do
  11667. + eval ac_val=\$$ac_var
  11668. + case $ac_val in
  11669. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11670. + esac
  11671. + $as_echo "$ac_var='\''$ac_val'\''"
  11672. + done | sort
  11673. + echo
  11674. + fi
  11675. +
  11676. + if test -s confdefs.h; then
  11677. + $as_echo "## ----------- ##
  11678. +## confdefs.h. ##
  11679. +## ----------- ##"
  11680. + echo
  11681. + cat confdefs.h
  11682. + echo
  11683. + fi
  11684. + test "$ac_signal" != 0 &&
  11685. + $as_echo "$as_me: caught signal $ac_signal"
  11686. + $as_echo "$as_me: exit $exit_status"
  11687. + } >&5
  11688. + rm -f core *.core core.conftest.* &&
  11689. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  11690. + exit $exit_status
  11691. +' 0
  11692. +for ac_signal in 1 2 13 15; do
  11693. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  11694. +done
  11695. +ac_signal=0
  11696. +
  11697. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  11698. +rm -f -r conftest* confdefs.h
  11699. +
  11700. +$as_echo "/* confdefs.h */" > confdefs.h
  11701. +
  11702. +# Predefined preprocessor variables.
  11703. +
  11704. +cat >>confdefs.h <<_ACEOF
  11705. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  11706. +_ACEOF
  11707. +
  11708. +cat >>confdefs.h <<_ACEOF
  11709. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  11710. +_ACEOF
  11711. +
  11712. +cat >>confdefs.h <<_ACEOF
  11713. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  11714. +_ACEOF
  11715. +
  11716. +cat >>confdefs.h <<_ACEOF
  11717. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  11718. +_ACEOF
  11719. +
  11720. +cat >>confdefs.h <<_ACEOF
  11721. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  11722. +_ACEOF
  11723. +
  11724. +cat >>confdefs.h <<_ACEOF
  11725. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  11726. +_ACEOF
  11727. +
  11728. +
  11729. +# Let the site file select an alternate cache file if it wants to.
  11730. +# Prefer an explicitly selected file to automatically selected ones.
  11731. +ac_site_file1=NONE
  11732. +ac_site_file2=NONE
  11733. +if test -n "$CONFIG_SITE"; then
  11734. + # We do not want a PATH search for config.site.
  11735. + case $CONFIG_SITE in @%:@((
  11736. + -*) ac_site_file1=./$CONFIG_SITE;;
  11737. + */*) ac_site_file1=$CONFIG_SITE;;
  11738. + *) ac_site_file1=./$CONFIG_SITE;;
  11739. + esac
  11740. +elif test "x$prefix" != xNONE; then
  11741. + ac_site_file1=$prefix/share/config.site
  11742. + ac_site_file2=$prefix/etc/config.site
  11743. +else
  11744. + ac_site_file1=$ac_default_prefix/share/config.site
  11745. + ac_site_file2=$ac_default_prefix/etc/config.site
  11746. +fi
  11747. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  11748. +do
  11749. + test "x$ac_site_file" = xNONE && continue
  11750. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  11751. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  11752. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  11753. + sed 's/^/| /' "$ac_site_file" >&5
  11754. + . "$ac_site_file" \
  11755. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11756. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11757. +as_fn_error $? "failed to load site script $ac_site_file
  11758. +See \`config.log' for more details" "$LINENO" 5; }
  11759. + fi
  11760. +done
  11761. +
  11762. +if test -r "$cache_file"; then
  11763. + # Some versions of bash will fail to source /dev/null (special files
  11764. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  11765. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  11766. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  11767. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  11768. + case $cache_file in
  11769. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  11770. + *) . "./$cache_file";;
  11771. + esac
  11772. + fi
  11773. +else
  11774. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  11775. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  11776. + >$cache_file
  11777. +fi
  11778. +
  11779. +# Check that the precious variables saved in the cache have kept the same
  11780. +# value.
  11781. +ac_cache_corrupted=false
  11782. +for ac_var in $ac_precious_vars; do
  11783. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  11784. + eval ac_new_set=\$ac_env_${ac_var}_set
  11785. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  11786. + eval ac_new_val=\$ac_env_${ac_var}_value
  11787. + case $ac_old_set,$ac_new_set in
  11788. + set,)
  11789. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  11790. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  11791. + ac_cache_corrupted=: ;;
  11792. + ,set)
  11793. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  11794. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  11795. + ac_cache_corrupted=: ;;
  11796. + ,);;
  11797. + *)
  11798. + if test "x$ac_old_val" != "x$ac_new_val"; then
  11799. + # differences in whitespace do not lead to failure.
  11800. + ac_old_val_w=`echo x $ac_old_val`
  11801. + ac_new_val_w=`echo x $ac_new_val`
  11802. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  11803. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  11804. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  11805. + ac_cache_corrupted=:
  11806. + else
  11807. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  11808. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  11809. + eval $ac_var=\$ac_old_val
  11810. + fi
  11811. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  11812. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  11813. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  11814. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  11815. + fi;;
  11816. + esac
  11817. + # Pass precious variables to config.status.
  11818. + if test "$ac_new_set" = set; then
  11819. + case $ac_new_val in
  11820. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  11821. + *) ac_arg=$ac_var=$ac_new_val ;;
  11822. + esac
  11823. + case " $ac_configure_args " in
  11824. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  11825. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  11826. + esac
  11827. + fi
  11828. +done
  11829. +if $ac_cache_corrupted; then
  11830. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11831. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11832. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  11833. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  11834. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  11835. +fi
  11836. +## -------------------- ##
  11837. +## Main body of script. ##
  11838. +## -------------------- ##
  11839. +
  11840. +ac_ext=c
  11841. +ac_cpp='$CPP $CPPFLAGS'
  11842. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11843. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11844. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11845. +
  11846. +
  11847. +
  11848. +am__api_version='1.16'
  11849. +
  11850. +ac_aux_dir=
  11851. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  11852. + if test -f "$ac_dir/install-sh"; then
  11853. + ac_aux_dir=$ac_dir
  11854. + ac_install_sh="$ac_aux_dir/install-sh -c"
  11855. + break
  11856. + elif test -f "$ac_dir/install.sh"; then
  11857. + ac_aux_dir=$ac_dir
  11858. + ac_install_sh="$ac_aux_dir/install.sh -c"
  11859. + break
  11860. + elif test -f "$ac_dir/shtool"; then
  11861. + ac_aux_dir=$ac_dir
  11862. + ac_install_sh="$ac_aux_dir/shtool install -c"
  11863. + break
  11864. + fi
  11865. +done
  11866. +if test -z "$ac_aux_dir"; then
  11867. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  11868. +fi
  11869. +
  11870. +# These three variables are undocumented and unsupported,
  11871. +# and are intended to be withdrawn in a future Autoconf release.
  11872. +# They can cause serious problems if a builder's source tree is in a directory
  11873. +# whose full name contains unusual characters.
  11874. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  11875. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  11876. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  11877. +
  11878. +
  11879. +# Find a good install program. We prefer a C program (faster),
  11880. +# so one script is as good as another. But avoid the broken or
  11881. +# incompatible versions:
  11882. +# SysV /etc/install, /usr/sbin/install
  11883. +# SunOS /usr/etc/install
  11884. +# IRIX /sbin/install
  11885. +# AIX /bin/install
  11886. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  11887. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  11888. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  11889. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  11890. +# OS/2's system install, which has a completely different semantic
  11891. +# ./install, which can be erroneously created by make from ./install.sh.
  11892. +# Reject install programs that cannot install multiple files.
  11893. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  11894. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  11895. +if test -z "$INSTALL"; then
  11896. +if ${ac_cv_path_install+:} false; then :
  11897. + $as_echo_n "(cached) " >&6
  11898. +else
  11899. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11900. +for as_dir in $PATH
  11901. +do
  11902. + IFS=$as_save_IFS
  11903. + test -z "$as_dir" && as_dir=.
  11904. + # Account for people who put trailing slashes in PATH elements.
  11905. +case $as_dir/ in @%:@((
  11906. + ./ | .// | /[cC]/* | \
  11907. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  11908. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  11909. + /usr/ucb/* ) ;;
  11910. + *)
  11911. + # OSF1 and SCO ODT 3.0 have their own names for install.
  11912. + # Don't use installbsd from OSF since it installs stuff as root
  11913. + # by default.
  11914. + for ac_prog in ginstall scoinst install; do
  11915. + for ac_exec_ext in '' $ac_executable_extensions; do
  11916. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  11917. + if test $ac_prog = install &&
  11918. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11919. + # AIX install. It has an incompatible calling convention.
  11920. + :
  11921. + elif test $ac_prog = install &&
  11922. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11923. + # program-specific install script used by HP pwplus--don't use.
  11924. + :
  11925. + else
  11926. + rm -rf conftest.one conftest.two conftest.dir
  11927. + echo one > conftest.one
  11928. + echo two > conftest.two
  11929. + mkdir conftest.dir
  11930. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  11931. + test -s conftest.one && test -s conftest.two &&
  11932. + test -s conftest.dir/conftest.one &&
  11933. + test -s conftest.dir/conftest.two
  11934. + then
  11935. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  11936. + break 3
  11937. + fi
  11938. + fi
  11939. + fi
  11940. + done
  11941. + done
  11942. + ;;
  11943. +esac
  11944. +
  11945. + done
  11946. +IFS=$as_save_IFS
  11947. +
  11948. +rm -rf conftest.one conftest.two conftest.dir
  11949. +
  11950. +fi
  11951. + if test "${ac_cv_path_install+set}" = set; then
  11952. + INSTALL=$ac_cv_path_install
  11953. + else
  11954. + # As a last resort, use the slow shell script. Don't cache a
  11955. + # value for INSTALL within a source directory, because that will
  11956. + # break other packages using the cache if that directory is
  11957. + # removed, or if the value is a relative name.
  11958. + INSTALL=$ac_install_sh
  11959. + fi
  11960. +fi
  11961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  11962. +$as_echo "$INSTALL" >&6; }
  11963. +
  11964. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  11965. +# It thinks the first close brace ends the variable substitution.
  11966. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  11967. +
  11968. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  11969. +
  11970. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  11971. +
  11972. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  11973. +$as_echo_n "checking whether build environment is sane... " >&6; }
  11974. +# Reject unsafe characters in $srcdir or the absolute working directory
  11975. +# name. Accept space and tab only in the latter.
  11976. +am_lf='
  11977. +'
  11978. +case `pwd` in
  11979. + *[\\\"\#\$\&\'\`$am_lf]*)
  11980. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  11981. +esac
  11982. +case $srcdir in
  11983. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  11984. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  11985. +esac
  11986. +
  11987. +# Do 'set' in a subshell so we don't clobber the current shell's
  11988. +# arguments. Must try -L first in case configure is actually a
  11989. +# symlink; some systems play weird games with the mod time of symlinks
  11990. +# (eg FreeBSD returns the mod time of the symlink's containing
  11991. +# directory).
  11992. +if (
  11993. + am_has_slept=no
  11994. + for am_try in 1 2; do
  11995. + echo "timestamp, slept: $am_has_slept" > conftest.file
  11996. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  11997. + if test "$*" = "X"; then
  11998. + # -L didn't work.
  11999. + set X `ls -t "$srcdir/configure" conftest.file`
  12000. + fi
  12001. + if test "$*" != "X $srcdir/configure conftest.file" \
  12002. + && test "$*" != "X conftest.file $srcdir/configure"; then
  12003. +
  12004. + # If neither matched, then we have a broken ls. This can happen
  12005. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  12006. + # broken ls alias from the environment. This has actually
  12007. + # happened. Such a system could not be considered "sane".
  12008. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  12009. + alias in your environment" "$LINENO" 5
  12010. + fi
  12011. + if test "$2" = conftest.file || test $am_try -eq 2; then
  12012. + break
  12013. + fi
  12014. + # Just in case.
  12015. + sleep 1
  12016. + am_has_slept=yes
  12017. + done
  12018. + test "$2" = conftest.file
  12019. + )
  12020. +then
  12021. + # Ok.
  12022. + :
  12023. +else
  12024. + as_fn_error $? "newly created file is older than distributed files!
  12025. +Check your system clock" "$LINENO" 5
  12026. +fi
  12027. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12028. +$as_echo "yes" >&6; }
  12029. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  12030. +# generated files are strictly newer.
  12031. +am_sleep_pid=
  12032. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  12033. + ( sleep 1 ) &
  12034. + am_sleep_pid=$!
  12035. +fi
  12036. +
  12037. +rm -f conftest.file
  12038. +
  12039. +test "$program_prefix" != NONE &&
  12040. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  12041. +# Use a double $ so make ignores it.
  12042. +test "$program_suffix" != NONE &&
  12043. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  12044. +# Double any \ or $.
  12045. +# By default was `s,x,x', remove it if useless.
  12046. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  12047. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  12048. +
  12049. +# Expand $ac_aux_dir to an absolute path.
  12050. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  12051. +
  12052. +if test x"${MISSING+set}" != xset; then
  12053. + case $am_aux_dir in
  12054. + *\ * | *\ *)
  12055. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  12056. + *)
  12057. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  12058. + esac
  12059. +fi
  12060. +# Use eval to expand $SHELL
  12061. +if eval "$MISSING --is-lightweight"; then
  12062. + am_missing_run="$MISSING "
  12063. +else
  12064. + am_missing_run=
  12065. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  12066. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  12067. +fi
  12068. +
  12069. +if test x"${install_sh+set}" != xset; then
  12070. + case $am_aux_dir in
  12071. + *\ * | *\ *)
  12072. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  12073. + *)
  12074. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  12075. + esac
  12076. +fi
  12077. +
  12078. +# Installed binaries are usually stripped using 'strip' when the user
  12079. +# run "make install-strip". However 'strip' might not be the right
  12080. +# tool to use in cross-compilation environments, therefore Automake
  12081. +# will honor the 'STRIP' environment variable to overrule this program.
  12082. +if test "$cross_compiling" != no; then
  12083. + if test -n "$ac_tool_prefix"; then
  12084. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  12085. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  12086. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12087. +$as_echo_n "checking for $ac_word... " >&6; }
  12088. +if ${ac_cv_prog_STRIP+:} false; then :
  12089. + $as_echo_n "(cached) " >&6
  12090. +else
  12091. + if test -n "$STRIP"; then
  12092. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  12093. +else
  12094. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12095. +for as_dir in $PATH
  12096. +do
  12097. + IFS=$as_save_IFS
  12098. + test -z "$as_dir" && as_dir=.
  12099. + for ac_exec_ext in '' $ac_executable_extensions; do
  12100. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12101. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  12102. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12103. + break 2
  12104. + fi
  12105. +done
  12106. + done
  12107. +IFS=$as_save_IFS
  12108. +
  12109. +fi
  12110. +fi
  12111. +STRIP=$ac_cv_prog_STRIP
  12112. +if test -n "$STRIP"; then
  12113. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  12114. +$as_echo "$STRIP" >&6; }
  12115. +else
  12116. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12117. +$as_echo "no" >&6; }
  12118. +fi
  12119. +
  12120. +
  12121. +fi
  12122. +if test -z "$ac_cv_prog_STRIP"; then
  12123. + ac_ct_STRIP=$STRIP
  12124. + # Extract the first word of "strip", so it can be a program name with args.
  12125. +set dummy strip; ac_word=$2
  12126. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12127. +$as_echo_n "checking for $ac_word... " >&6; }
  12128. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  12129. + $as_echo_n "(cached) " >&6
  12130. +else
  12131. + if test -n "$ac_ct_STRIP"; then
  12132. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  12133. +else
  12134. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12135. +for as_dir in $PATH
  12136. +do
  12137. + IFS=$as_save_IFS
  12138. + test -z "$as_dir" && as_dir=.
  12139. + for ac_exec_ext in '' $ac_executable_extensions; do
  12140. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12141. + ac_cv_prog_ac_ct_STRIP="strip"
  12142. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12143. + break 2
  12144. + fi
  12145. +done
  12146. + done
  12147. +IFS=$as_save_IFS
  12148. +
  12149. +fi
  12150. +fi
  12151. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  12152. +if test -n "$ac_ct_STRIP"; then
  12153. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  12154. +$as_echo "$ac_ct_STRIP" >&6; }
  12155. +else
  12156. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12157. +$as_echo "no" >&6; }
  12158. +fi
  12159. +
  12160. + if test "x$ac_ct_STRIP" = x; then
  12161. + STRIP=":"
  12162. + else
  12163. + case $cross_compiling:$ac_tool_warned in
  12164. +yes:)
  12165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12166. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12167. +ac_tool_warned=yes ;;
  12168. +esac
  12169. + STRIP=$ac_ct_STRIP
  12170. + fi
  12171. +else
  12172. + STRIP="$ac_cv_prog_STRIP"
  12173. +fi
  12174. +
  12175. +fi
  12176. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  12177. +
  12178. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  12179. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  12180. +if test -z "$MKDIR_P"; then
  12181. + if ${ac_cv_path_mkdir+:} false; then :
  12182. + $as_echo_n "(cached) " >&6
  12183. +else
  12184. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12185. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  12186. +do
  12187. + IFS=$as_save_IFS
  12188. + test -z "$as_dir" && as_dir=.
  12189. + for ac_prog in mkdir gmkdir; do
  12190. + for ac_exec_ext in '' $ac_executable_extensions; do
  12191. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  12192. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  12193. + 'mkdir (GNU coreutils) '* | \
  12194. + 'mkdir (coreutils) '* | \
  12195. + 'mkdir (fileutils) '4.1*)
  12196. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  12197. + break 3;;
  12198. + esac
  12199. + done
  12200. + done
  12201. + done
  12202. +IFS=$as_save_IFS
  12203. +
  12204. +fi
  12205. +
  12206. + test -d ./--version && rmdir ./--version
  12207. + if test "${ac_cv_path_mkdir+set}" = set; then
  12208. + MKDIR_P="$ac_cv_path_mkdir -p"
  12209. + else
  12210. + # As a last resort, use the slow shell script. Don't cache a
  12211. + # value for MKDIR_P within a source directory, because that will
  12212. + # break other packages using the cache if that directory is
  12213. + # removed, or if the value is a relative name.
  12214. + MKDIR_P="$ac_install_sh -d"
  12215. + fi
  12216. +fi
  12217. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  12218. +$as_echo "$MKDIR_P" >&6; }
  12219. +
  12220. +for ac_prog in gawk mawk nawk awk
  12221. +do
  12222. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  12223. +set dummy $ac_prog; ac_word=$2
  12224. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12225. +$as_echo_n "checking for $ac_word... " >&6; }
  12226. +if ${ac_cv_prog_AWK+:} false; then :
  12227. + $as_echo_n "(cached) " >&6
  12228. +else
  12229. + if test -n "$AWK"; then
  12230. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  12231. +else
  12232. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12233. +for as_dir in $PATH
  12234. +do
  12235. + IFS=$as_save_IFS
  12236. + test -z "$as_dir" && as_dir=.
  12237. + for ac_exec_ext in '' $ac_executable_extensions; do
  12238. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12239. + ac_cv_prog_AWK="$ac_prog"
  12240. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12241. + break 2
  12242. + fi
  12243. +done
  12244. + done
  12245. +IFS=$as_save_IFS
  12246. +
  12247. +fi
  12248. +fi
  12249. +AWK=$ac_cv_prog_AWK
  12250. +if test -n "$AWK"; then
  12251. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  12252. +$as_echo "$AWK" >&6; }
  12253. +else
  12254. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12255. +$as_echo "no" >&6; }
  12256. +fi
  12257. +
  12258. +
  12259. + test -n "$AWK" && break
  12260. +done
  12261. +
  12262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12263. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  12264. +set x ${MAKE-make}
  12265. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12266. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  12267. + $as_echo_n "(cached) " >&6
  12268. +else
  12269. + cat >conftest.make <<\_ACEOF
  12270. +SHELL = /bin/sh
  12271. +all:
  12272. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  12273. +_ACEOF
  12274. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  12275. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  12276. + *@@@%%%=?*=@@@%%%*)
  12277. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  12278. + *)
  12279. + eval ac_cv_prog_make_${ac_make}_set=no;;
  12280. +esac
  12281. +rm -f conftest.make
  12282. +fi
  12283. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12284. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12285. +$as_echo "yes" >&6; }
  12286. + SET_MAKE=
  12287. +else
  12288. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12289. +$as_echo "no" >&6; }
  12290. + SET_MAKE="MAKE=${MAKE-make}"
  12291. +fi
  12292. +
  12293. +rm -rf .tst 2>/dev/null
  12294. +mkdir .tst 2>/dev/null
  12295. +if test -d .tst; then
  12296. + am__leading_dot=.
  12297. +else
  12298. + am__leading_dot=_
  12299. +fi
  12300. +rmdir .tst 2>/dev/null
  12301. +
  12302. +@%:@ Check whether --enable-silent-rules was given.
  12303. +if test "${enable_silent_rules+set}" = set; then :
  12304. + enableval=$enable_silent_rules;
  12305. +fi
  12306. +
  12307. +case $enable_silent_rules in @%:@ (((
  12308. + yes) AM_DEFAULT_VERBOSITY=0;;
  12309. + no) AM_DEFAULT_VERBOSITY=1;;
  12310. + *) AM_DEFAULT_VERBOSITY=1;;
  12311. +esac
  12312. +am_make=${MAKE-make}
  12313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  12314. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  12315. +if ${am_cv_make_support_nested_variables+:} false; then :
  12316. + $as_echo_n "(cached) " >&6
  12317. +else
  12318. + if $as_echo 'TRUE=$(BAR$(V))
  12319. +BAR0=false
  12320. +BAR1=true
  12321. +V=1
  12322. +am__doit:
  12323. + @$(TRUE)
  12324. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  12325. + am_cv_make_support_nested_variables=yes
  12326. +else
  12327. + am_cv_make_support_nested_variables=no
  12328. +fi
  12329. +fi
  12330. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  12331. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  12332. +if test $am_cv_make_support_nested_variables = yes; then
  12333. + AM_V='$(V)'
  12334. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  12335. +else
  12336. + AM_V=$AM_DEFAULT_VERBOSITY
  12337. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  12338. +fi
  12339. +AM_BACKSLASH='\'
  12340. +
  12341. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  12342. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  12343. + # is not polluted with repeated "-I."
  12344. + am__isrc=' -I$(srcdir)'
  12345. + # test to see if srcdir already configured
  12346. + if test -f $srcdir/config.status; then
  12347. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  12348. + fi
  12349. +fi
  12350. +
  12351. +# test whether we have cygpath
  12352. +if test -z "$CYGPATH_W"; then
  12353. + if (cygpath --version) >/dev/null 2>/dev/null; then
  12354. + CYGPATH_W='cygpath -w'
  12355. + else
  12356. + CYGPATH_W=echo
  12357. + fi
  12358. +fi
  12359. +
  12360. +
  12361. +# Define the identity of the package.
  12362. +
  12363. + PACKAGE=fiasco
  12364. + VERSION=1.3
  12365. +
  12366. +
  12367. +cat >>confdefs.h <<_ACEOF
  12368. +@%:@define PACKAGE "$PACKAGE"
  12369. +_ACEOF
  12370. +
  12371. +
  12372. +cat >>confdefs.h <<_ACEOF
  12373. +@%:@define VERSION "$VERSION"
  12374. +_ACEOF
  12375. +
  12376. +# Some tools Automake needs.
  12377. +
  12378. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  12379. +
  12380. +
  12381. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  12382. +
  12383. +
  12384. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  12385. +
  12386. +
  12387. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  12388. +
  12389. +
  12390. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  12391. +
  12392. +# For better backward compatibility. To be removed once Automake 1.9.x
  12393. +# dies out for good. For more background, see:
  12394. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  12395. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  12396. +mkdir_p='$(MKDIR_P)'
  12397. +
  12398. +# We need awk for the "check" target (and possibly the TAP driver). The
  12399. +# system "awk" is bad on some platforms.
  12400. +# Always define AMTAR for backward compatibility. Yes, it's still used
  12401. +# in the wild :-( We should find a proper way to deprecate it ...
  12402. +AMTAR='$${TAR-tar}'
  12403. +
  12404. +
  12405. +# We'll loop over all known methods to create a tar archive until one works.
  12406. +_am_tools='gnutar pax cpio none'
  12407. +
  12408. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  12409. +
  12410. +
  12411. +
  12412. +
  12413. +
  12414. +
  12415. +# POSIX will say in a future version that running "rm -f" with no argument
  12416. +# is OK; and we want to be able to make that assumption in our Makefile
  12417. +# recipes. So use an aggressive probe to check that the usage we want is
  12418. +# actually supported "in the wild" to an acceptable degree.
  12419. +# See automake bug#10828.
  12420. +# To make any issue more visible, cause the running configure to be aborted
  12421. +# by default if the 'rm' program in use doesn't match our expectations; the
  12422. +# user can still override this though.
  12423. +if rm -f && rm -fr && rm -rf; then : OK; else
  12424. + cat >&2 <<'END'
  12425. +Oops!
  12426. +
  12427. +Your 'rm' program seems unable to run without file operands specified
  12428. +on the command line, even when the '-f' option is present. This is contrary
  12429. +to the behaviour of most rm programs out there, and not conforming with
  12430. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  12431. +
  12432. +Please tell [email protected] about your system, including the value
  12433. +of your $PATH and any error possibly output before this message. This
  12434. +can help us improve future automake versions.
  12435. +
  12436. +END
  12437. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  12438. + echo 'Configuration will proceed anyway, since you have set the' >&2
  12439. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  12440. + echo >&2
  12441. + else
  12442. + cat >&2 <<'END'
  12443. +Aborting the configuration process, to ensure you take notice of the issue.
  12444. +
  12445. +You can download and install GNU coreutils to get an 'rm' implementation
  12446. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  12447. +
  12448. +If you want to complete the configuration process using your problematic
  12449. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  12450. +to "yes", and re-run configure.
  12451. +
  12452. +END
  12453. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  12454. + fi
  12455. +fi
  12456. +
  12457. +ac_config_headers="$ac_config_headers config.h"
  12458. +
  12459. +
  12460. +# Important programs:
  12461. +case `pwd` in
  12462. + *\ * | *\ *)
  12463. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  12464. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  12465. +esac
  12466. +
  12467. +
  12468. +
  12469. +macro_version='2.2.6b'
  12470. +macro_revision='1.3017'
  12471. +
  12472. +
  12473. +
  12474. +
  12475. +
  12476. +
  12477. +
  12478. +
  12479. +
  12480. +
  12481. +
  12482. +
  12483. +
  12484. +ltmain="$ac_aux_dir/ltmain.sh"
  12485. +
  12486. +# Make sure we can run config.sub.
  12487. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  12488. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  12489. +
  12490. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  12491. +$as_echo_n "checking build system type... " >&6; }
  12492. +if ${ac_cv_build+:} false; then :
  12493. + $as_echo_n "(cached) " >&6
  12494. +else
  12495. + ac_build_alias=$build_alias
  12496. +test "x$ac_build_alias" = x &&
  12497. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  12498. +test "x$ac_build_alias" = x &&
  12499. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  12500. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  12501. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  12502. +
  12503. +fi
  12504. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  12505. +$as_echo "$ac_cv_build" >&6; }
  12506. +case $ac_cv_build in
  12507. +*-*-*) ;;
  12508. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  12509. +esac
  12510. +build=$ac_cv_build
  12511. +ac_save_IFS=$IFS; IFS='-'
  12512. +set x $ac_cv_build
  12513. +shift
  12514. +build_cpu=$1
  12515. +build_vendor=$2
  12516. +shift; shift
  12517. +# Remember, the first character of IFS is used to create $*,
  12518. +# except with old shells:
  12519. +build_os=$*
  12520. +IFS=$ac_save_IFS
  12521. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  12522. +
  12523. +
  12524. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  12525. +$as_echo_n "checking host system type... " >&6; }
  12526. +if ${ac_cv_host+:} false; then :
  12527. + $as_echo_n "(cached) " >&6
  12528. +else
  12529. + if test "x$host_alias" = x; then
  12530. + ac_cv_host=$ac_cv_build
  12531. +else
  12532. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  12533. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  12534. +fi
  12535. +
  12536. +fi
  12537. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  12538. +$as_echo "$ac_cv_host" >&6; }
  12539. +case $ac_cv_host in
  12540. +*-*-*) ;;
  12541. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  12542. +esac
  12543. +host=$ac_cv_host
  12544. +ac_save_IFS=$IFS; IFS='-'
  12545. +set x $ac_cv_host
  12546. +shift
  12547. +host_cpu=$1
  12548. +host_vendor=$2
  12549. +shift; shift
  12550. +# Remember, the first character of IFS is used to create $*,
  12551. +# except with old shells:
  12552. +host_os=$*
  12553. +IFS=$ac_save_IFS
  12554. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  12555. +
  12556. +
  12557. +DEPDIR="${am__leading_dot}deps"
  12558. +
  12559. +ac_config_commands="$ac_config_commands depfiles"
  12560. +
  12561. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  12562. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  12563. +cat > confinc.mk << 'END'
  12564. +am__doit:
  12565. + @echo this is the am__doit target >confinc.out
  12566. +.PHONY: am__doit
  12567. +END
  12568. +am__include="#"
  12569. +am__quote=
  12570. +# BSD make does it like this.
  12571. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  12572. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  12573. +echo 'include confinc.mk # ignored' > confmf.GNU
  12574. +_am_result=no
  12575. +for s in GNU BSD; do
  12576. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  12577. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  12578. + ac_status=$?
  12579. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12580. + (exit $ac_status); }
  12581. + case $?:`cat confinc.out 2>/dev/null` in @%:@(
  12582. + '0:this is the am__doit target') :
  12583. + case $s in @%:@(
  12584. + BSD) :
  12585. + am__include='.include' am__quote='"' ;; @%:@(
  12586. + *) :
  12587. + am__include='include' am__quote='' ;;
  12588. +esac ;; @%:@(
  12589. + *) :
  12590. + ;;
  12591. +esac
  12592. + if test "$am__include" != "#"; then
  12593. + _am_result="yes ($s style)"
  12594. + break
  12595. + fi
  12596. +done
  12597. +rm -f confinc.* confmf.*
  12598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  12599. +$as_echo "${_am_result}" >&6; }
  12600. +
  12601. +@%:@ Check whether --enable-dependency-tracking was given.
  12602. +if test "${enable_dependency_tracking+set}" = set; then :
  12603. + enableval=$enable_dependency_tracking;
  12604. +fi
  12605. +
  12606. +if test "x$enable_dependency_tracking" != xno; then
  12607. + am_depcomp="$ac_aux_dir/depcomp"
  12608. + AMDEPBACKSLASH='\'
  12609. + am__nodep='_no'
  12610. +fi
  12611. + if test "x$enable_dependency_tracking" != xno; then
  12612. + AMDEP_TRUE=
  12613. + AMDEP_FALSE='#'
  12614. +else
  12615. + AMDEP_TRUE='#'
  12616. + AMDEP_FALSE=
  12617. +fi
  12618. +
  12619. +
  12620. +ac_ext=c
  12621. +ac_cpp='$CPP $CPPFLAGS'
  12622. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12623. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12624. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12625. +if test -n "$ac_tool_prefix"; then
  12626. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  12627. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  12628. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12629. +$as_echo_n "checking for $ac_word... " >&6; }
  12630. +if ${ac_cv_prog_CC+:} false; then :
  12631. + $as_echo_n "(cached) " >&6
  12632. +else
  12633. + if test -n "$CC"; then
  12634. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12635. +else
  12636. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12637. +for as_dir in $PATH
  12638. +do
  12639. + IFS=$as_save_IFS
  12640. + test -z "$as_dir" && as_dir=.
  12641. + for ac_exec_ext in '' $ac_executable_extensions; do
  12642. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12643. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  12644. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12645. + break 2
  12646. + fi
  12647. +done
  12648. + done
  12649. +IFS=$as_save_IFS
  12650. +
  12651. +fi
  12652. +fi
  12653. +CC=$ac_cv_prog_CC
  12654. +if test -n "$CC"; then
  12655. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12656. +$as_echo "$CC" >&6; }
  12657. +else
  12658. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12659. +$as_echo "no" >&6; }
  12660. +fi
  12661. +
  12662. +
  12663. +fi
  12664. +if test -z "$ac_cv_prog_CC"; then
  12665. + ac_ct_CC=$CC
  12666. + # Extract the first word of "gcc", so it can be a program name with args.
  12667. +set dummy gcc; ac_word=$2
  12668. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12669. +$as_echo_n "checking for $ac_word... " >&6; }
  12670. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  12671. + $as_echo_n "(cached) " >&6
  12672. +else
  12673. + if test -n "$ac_ct_CC"; then
  12674. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12675. +else
  12676. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12677. +for as_dir in $PATH
  12678. +do
  12679. + IFS=$as_save_IFS
  12680. + test -z "$as_dir" && as_dir=.
  12681. + for ac_exec_ext in '' $ac_executable_extensions; do
  12682. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12683. + ac_cv_prog_ac_ct_CC="gcc"
  12684. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12685. + break 2
  12686. + fi
  12687. +done
  12688. + done
  12689. +IFS=$as_save_IFS
  12690. +
  12691. +fi
  12692. +fi
  12693. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12694. +if test -n "$ac_ct_CC"; then
  12695. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12696. +$as_echo "$ac_ct_CC" >&6; }
  12697. +else
  12698. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12699. +$as_echo "no" >&6; }
  12700. +fi
  12701. +
  12702. + if test "x$ac_ct_CC" = x; then
  12703. + CC=""
  12704. + else
  12705. + case $cross_compiling:$ac_tool_warned in
  12706. +yes:)
  12707. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12708. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12709. +ac_tool_warned=yes ;;
  12710. +esac
  12711. + CC=$ac_ct_CC
  12712. + fi
  12713. +else
  12714. + CC="$ac_cv_prog_CC"
  12715. +fi
  12716. +
  12717. +if test -z "$CC"; then
  12718. + if test -n "$ac_tool_prefix"; then
  12719. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  12720. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  12721. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12722. +$as_echo_n "checking for $ac_word... " >&6; }
  12723. +if ${ac_cv_prog_CC+:} false; then :
  12724. + $as_echo_n "(cached) " >&6
  12725. +else
  12726. + if test -n "$CC"; then
  12727. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12728. +else
  12729. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12730. +for as_dir in $PATH
  12731. +do
  12732. + IFS=$as_save_IFS
  12733. + test -z "$as_dir" && as_dir=.
  12734. + for ac_exec_ext in '' $ac_executable_extensions; do
  12735. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12736. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  12737. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12738. + break 2
  12739. + fi
  12740. +done
  12741. + done
  12742. +IFS=$as_save_IFS
  12743. +
  12744. +fi
  12745. +fi
  12746. +CC=$ac_cv_prog_CC
  12747. +if test -n "$CC"; then
  12748. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12749. +$as_echo "$CC" >&6; }
  12750. +else
  12751. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12752. +$as_echo "no" >&6; }
  12753. +fi
  12754. +
  12755. +
  12756. + fi
  12757. +fi
  12758. +if test -z "$CC"; then
  12759. + # Extract the first word of "cc", so it can be a program name with args.
  12760. +set dummy cc; ac_word=$2
  12761. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12762. +$as_echo_n "checking for $ac_word... " >&6; }
  12763. +if ${ac_cv_prog_CC+:} false; then :
  12764. + $as_echo_n "(cached) " >&6
  12765. +else
  12766. + if test -n "$CC"; then
  12767. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12768. +else
  12769. + ac_prog_rejected=no
  12770. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12771. +for as_dir in $PATH
  12772. +do
  12773. + IFS=$as_save_IFS
  12774. + test -z "$as_dir" && as_dir=.
  12775. + for ac_exec_ext in '' $ac_executable_extensions; do
  12776. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12777. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  12778. + ac_prog_rejected=yes
  12779. + continue
  12780. + fi
  12781. + ac_cv_prog_CC="cc"
  12782. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12783. + break 2
  12784. + fi
  12785. +done
  12786. + done
  12787. +IFS=$as_save_IFS
  12788. +
  12789. +if test $ac_prog_rejected = yes; then
  12790. + # We found a bogon in the path, so make sure we never use it.
  12791. + set dummy $ac_cv_prog_CC
  12792. + shift
  12793. + if test $@%:@ != 0; then
  12794. + # We chose a different compiler from the bogus one.
  12795. + # However, it has the same basename, so the bogon will be chosen
  12796. + # first if we set CC to just the basename; use the full file name.
  12797. + shift
  12798. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  12799. + fi
  12800. +fi
  12801. +fi
  12802. +fi
  12803. +CC=$ac_cv_prog_CC
  12804. +if test -n "$CC"; then
  12805. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12806. +$as_echo "$CC" >&6; }
  12807. +else
  12808. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12809. +$as_echo "no" >&6; }
  12810. +fi
  12811. +
  12812. +
  12813. +fi
  12814. +if test -z "$CC"; then
  12815. + if test -n "$ac_tool_prefix"; then
  12816. + for ac_prog in cl.exe
  12817. + do
  12818. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  12819. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  12820. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12821. +$as_echo_n "checking for $ac_word... " >&6; }
  12822. +if ${ac_cv_prog_CC+:} false; then :
  12823. + $as_echo_n "(cached) " >&6
  12824. +else
  12825. + if test -n "$CC"; then
  12826. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12827. +else
  12828. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12829. +for as_dir in $PATH
  12830. +do
  12831. + IFS=$as_save_IFS
  12832. + test -z "$as_dir" && as_dir=.
  12833. + for ac_exec_ext in '' $ac_executable_extensions; do
  12834. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12835. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  12836. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12837. + break 2
  12838. + fi
  12839. +done
  12840. + done
  12841. +IFS=$as_save_IFS
  12842. +
  12843. +fi
  12844. +fi
  12845. +CC=$ac_cv_prog_CC
  12846. +if test -n "$CC"; then
  12847. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12848. +$as_echo "$CC" >&6; }
  12849. +else
  12850. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12851. +$as_echo "no" >&6; }
  12852. +fi
  12853. +
  12854. +
  12855. + test -n "$CC" && break
  12856. + done
  12857. +fi
  12858. +if test -z "$CC"; then
  12859. + ac_ct_CC=$CC
  12860. + for ac_prog in cl.exe
  12861. +do
  12862. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  12863. +set dummy $ac_prog; ac_word=$2
  12864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12865. +$as_echo_n "checking for $ac_word... " >&6; }
  12866. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  12867. + $as_echo_n "(cached) " >&6
  12868. +else
  12869. + if test -n "$ac_ct_CC"; then
  12870. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12871. +else
  12872. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12873. +for as_dir in $PATH
  12874. +do
  12875. + IFS=$as_save_IFS
  12876. + test -z "$as_dir" && as_dir=.
  12877. + for ac_exec_ext in '' $ac_executable_extensions; do
  12878. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  12879. + ac_cv_prog_ac_ct_CC="$ac_prog"
  12880. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12881. + break 2
  12882. + fi
  12883. +done
  12884. + done
  12885. +IFS=$as_save_IFS
  12886. +
  12887. +fi
  12888. +fi
  12889. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12890. +if test -n "$ac_ct_CC"; then
  12891. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12892. +$as_echo "$ac_ct_CC" >&6; }
  12893. +else
  12894. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12895. +$as_echo "no" >&6; }
  12896. +fi
  12897. +
  12898. +
  12899. + test -n "$ac_ct_CC" && break
  12900. +done
  12901. +
  12902. + if test "x$ac_ct_CC" = x; then
  12903. + CC=""
  12904. + else
  12905. + case $cross_compiling:$ac_tool_warned in
  12906. +yes:)
  12907. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12908. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12909. +ac_tool_warned=yes ;;
  12910. +esac
  12911. + CC=$ac_ct_CC
  12912. + fi
  12913. +fi
  12914. +
  12915. +fi
  12916. +
  12917. +
  12918. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12919. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12920. +as_fn_error $? "no acceptable C compiler found in \$PATH
  12921. +See \`config.log' for more details" "$LINENO" 5; }
  12922. +
  12923. +# Provide some information about the compiler.
  12924. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  12925. +set X $ac_compile
  12926. +ac_compiler=$2
  12927. +for ac_option in --version -v -V -qversion; do
  12928. + { { ac_try="$ac_compiler $ac_option >&5"
  12929. +case "(($ac_try" in
  12930. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12931. + *) ac_try_echo=$ac_try;;
  12932. +esac
  12933. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12934. +$as_echo "$ac_try_echo"; } >&5
  12935. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  12936. + ac_status=$?
  12937. + if test -s conftest.err; then
  12938. + sed '10a\
  12939. +... rest of stderr output deleted ...
  12940. + 10q' conftest.err >conftest.er1
  12941. + cat conftest.er1 >&5
  12942. + fi
  12943. + rm -f conftest.er1 conftest.err
  12944. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12945. + test $ac_status = 0; }
  12946. +done
  12947. +
  12948. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12949. +/* end confdefs.h. */
  12950. +
  12951. +int
  12952. +main ()
  12953. +{
  12954. +
  12955. + ;
  12956. + return 0;
  12957. +}
  12958. +_ACEOF
  12959. +ac_clean_files_save=$ac_clean_files
  12960. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  12961. +# Try to create an executable without -o first, disregard a.out.
  12962. +# It will help us diagnose broken compilers, and finding out an intuition
  12963. +# of exeext.
  12964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  12965. +$as_echo_n "checking whether the C compiler works... " >&6; }
  12966. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  12967. +
  12968. +# The possible output files:
  12969. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  12970. +
  12971. +ac_rmfiles=
  12972. +for ac_file in $ac_files
  12973. +do
  12974. + case $ac_file in
  12975. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  12976. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  12977. + esac
  12978. +done
  12979. +rm -f $ac_rmfiles
  12980. +
  12981. +if { { ac_try="$ac_link_default"
  12982. +case "(($ac_try" in
  12983. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12984. + *) ac_try_echo=$ac_try;;
  12985. +esac
  12986. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12987. +$as_echo "$ac_try_echo"; } >&5
  12988. + (eval "$ac_link_default") 2>&5
  12989. + ac_status=$?
  12990. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12991. + test $ac_status = 0; }; then :
  12992. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  12993. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  12994. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  12995. +# so that the user can short-circuit this test for compilers unknown to
  12996. +# Autoconf.
  12997. +for ac_file in $ac_files ''
  12998. +do
  12999. + test -f "$ac_file" || continue
  13000. + case $ac_file in
  13001. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  13002. + ;;
  13003. + [ab].out )
  13004. + # We found the default executable, but exeext='' is most
  13005. + # certainly right.
  13006. + break;;
  13007. + *.* )
  13008. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  13009. + then :; else
  13010. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13011. + fi
  13012. + # We set ac_cv_exeext here because the later test for it is not
  13013. + # safe: cross compilers may not add the suffix if given an `-o'
  13014. + # argument, so we may need to know it at that point already.
  13015. + # Even if this section looks crufty: it has the advantage of
  13016. + # actually working.
  13017. + break;;
  13018. + * )
  13019. + break;;
  13020. + esac
  13021. +done
  13022. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  13023. +
  13024. +else
  13025. + ac_file=''
  13026. +fi
  13027. +if test -z "$ac_file"; then :
  13028. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13029. +$as_echo "no" >&6; }
  13030. +$as_echo "$as_me: failed program was:" >&5
  13031. +sed 's/^/| /' conftest.$ac_ext >&5
  13032. +
  13033. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13034. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13035. +as_fn_error 77 "C compiler cannot create executables
  13036. +See \`config.log' for more details" "$LINENO" 5; }
  13037. +else
  13038. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13039. +$as_echo "yes" >&6; }
  13040. +fi
  13041. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  13042. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  13043. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  13044. +$as_echo "$ac_file" >&6; }
  13045. +ac_exeext=$ac_cv_exeext
  13046. +
  13047. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  13048. +ac_clean_files=$ac_clean_files_save
  13049. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  13050. +$as_echo_n "checking for suffix of executables... " >&6; }
  13051. +if { { ac_try="$ac_link"
  13052. +case "(($ac_try" in
  13053. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13054. + *) ac_try_echo=$ac_try;;
  13055. +esac
  13056. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13057. +$as_echo "$ac_try_echo"; } >&5
  13058. + (eval "$ac_link") 2>&5
  13059. + ac_status=$?
  13060. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13061. + test $ac_status = 0; }; then :
  13062. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  13063. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  13064. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  13065. +# `rm'.
  13066. +for ac_file in conftest.exe conftest conftest.*; do
  13067. + test -f "$ac_file" || continue
  13068. + case $ac_file in
  13069. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  13070. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13071. + break;;
  13072. + * ) break;;
  13073. + esac
  13074. +done
  13075. +else
  13076. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13077. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13078. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  13079. +See \`config.log' for more details" "$LINENO" 5; }
  13080. +fi
  13081. +rm -f conftest conftest$ac_cv_exeext
  13082. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  13083. +$as_echo "$ac_cv_exeext" >&6; }
  13084. +
  13085. +rm -f conftest.$ac_ext
  13086. +EXEEXT=$ac_cv_exeext
  13087. +ac_exeext=$EXEEXT
  13088. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13089. +/* end confdefs.h. */
  13090. +@%:@include <stdio.h>
  13091. +int
  13092. +main ()
  13093. +{
  13094. +FILE *f = fopen ("conftest.out", "w");
  13095. + return ferror (f) || fclose (f) != 0;
  13096. +
  13097. + ;
  13098. + return 0;
  13099. +}
  13100. +_ACEOF
  13101. +ac_clean_files="$ac_clean_files conftest.out"
  13102. +# Check that the compiler produces executables we can run. If not, either
  13103. +# the compiler is broken, or we cross compile.
  13104. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  13105. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  13106. +if test "$cross_compiling" != yes; then
  13107. + { { ac_try="$ac_link"
  13108. +case "(($ac_try" in
  13109. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13110. + *) ac_try_echo=$ac_try;;
  13111. +esac
  13112. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13113. +$as_echo "$ac_try_echo"; } >&5
  13114. + (eval "$ac_link") 2>&5
  13115. + ac_status=$?
  13116. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13117. + test $ac_status = 0; }
  13118. + if { ac_try='./conftest$ac_cv_exeext'
  13119. + { { case "(($ac_try" in
  13120. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13121. + *) ac_try_echo=$ac_try;;
  13122. +esac
  13123. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13124. +$as_echo "$ac_try_echo"; } >&5
  13125. + (eval "$ac_try") 2>&5
  13126. + ac_status=$?
  13127. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13128. + test $ac_status = 0; }; }; then
  13129. + cross_compiling=no
  13130. + else
  13131. + if test "$cross_compiling" = maybe; then
  13132. + cross_compiling=yes
  13133. + else
  13134. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13135. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13136. +as_fn_error $? "cannot run C compiled programs.
  13137. +If you meant to cross compile, use \`--host'.
  13138. +See \`config.log' for more details" "$LINENO" 5; }
  13139. + fi
  13140. + fi
  13141. +fi
  13142. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  13143. +$as_echo "$cross_compiling" >&6; }
  13144. +
  13145. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  13146. +ac_clean_files=$ac_clean_files_save
  13147. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  13148. +$as_echo_n "checking for suffix of object files... " >&6; }
  13149. +if ${ac_cv_objext+:} false; then :
  13150. + $as_echo_n "(cached) " >&6
  13151. +else
  13152. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13153. +/* end confdefs.h. */
  13154. +
  13155. +int
  13156. +main ()
  13157. +{
  13158. +
  13159. + ;
  13160. + return 0;
  13161. +}
  13162. +_ACEOF
  13163. +rm -f conftest.o conftest.obj
  13164. +if { { ac_try="$ac_compile"
  13165. +case "(($ac_try" in
  13166. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13167. + *) ac_try_echo=$ac_try;;
  13168. +esac
  13169. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13170. +$as_echo "$ac_try_echo"; } >&5
  13171. + (eval "$ac_compile") 2>&5
  13172. + ac_status=$?
  13173. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13174. + test $ac_status = 0; }; then :
  13175. + for ac_file in conftest.o conftest.obj conftest.*; do
  13176. + test -f "$ac_file" || continue;
  13177. + case $ac_file in
  13178. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  13179. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  13180. + break;;
  13181. + esac
  13182. +done
  13183. +else
  13184. + $as_echo "$as_me: failed program was:" >&5
  13185. +sed 's/^/| /' conftest.$ac_ext >&5
  13186. +
  13187. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13188. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13189. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  13190. +See \`config.log' for more details" "$LINENO" 5; }
  13191. +fi
  13192. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  13193. +fi
  13194. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  13195. +$as_echo "$ac_cv_objext" >&6; }
  13196. +OBJEXT=$ac_cv_objext
  13197. +ac_objext=$OBJEXT
  13198. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  13199. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  13200. +if ${ac_cv_c_compiler_gnu+:} false; then :
  13201. + $as_echo_n "(cached) " >&6
  13202. +else
  13203. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13204. +/* end confdefs.h. */
  13205. +
  13206. +int
  13207. +main ()
  13208. +{
  13209. +#ifndef __GNUC__
  13210. + choke me
  13211. +#endif
  13212. +
  13213. + ;
  13214. + return 0;
  13215. +}
  13216. +_ACEOF
  13217. +if ac_fn_c_try_compile "$LINENO"; then :
  13218. + ac_compiler_gnu=yes
  13219. +else
  13220. + ac_compiler_gnu=no
  13221. +fi
  13222. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13223. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  13224. +
  13225. +fi
  13226. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  13227. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  13228. +if test $ac_compiler_gnu = yes; then
  13229. + GCC=yes
  13230. +else
  13231. + GCC=
  13232. +fi
  13233. +ac_test_CFLAGS=${CFLAGS+set}
  13234. +ac_save_CFLAGS=$CFLAGS
  13235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  13236. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  13237. +if ${ac_cv_prog_cc_g+:} false; then :
  13238. + $as_echo_n "(cached) " >&6
  13239. +else
  13240. + ac_save_c_werror_flag=$ac_c_werror_flag
  13241. + ac_c_werror_flag=yes
  13242. + ac_cv_prog_cc_g=no
  13243. + CFLAGS="-g"
  13244. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13245. +/* end confdefs.h. */
  13246. +
  13247. +int
  13248. +main ()
  13249. +{
  13250. +
  13251. + ;
  13252. + return 0;
  13253. +}
  13254. +_ACEOF
  13255. +if ac_fn_c_try_compile "$LINENO"; then :
  13256. + ac_cv_prog_cc_g=yes
  13257. +else
  13258. + CFLAGS=""
  13259. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13260. +/* end confdefs.h. */
  13261. +
  13262. +int
  13263. +main ()
  13264. +{
  13265. +
  13266. + ;
  13267. + return 0;
  13268. +}
  13269. +_ACEOF
  13270. +if ac_fn_c_try_compile "$LINENO"; then :
  13271. +
  13272. +else
  13273. + ac_c_werror_flag=$ac_save_c_werror_flag
  13274. + CFLAGS="-g"
  13275. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13276. +/* end confdefs.h. */
  13277. +
  13278. +int
  13279. +main ()
  13280. +{
  13281. +
  13282. + ;
  13283. + return 0;
  13284. +}
  13285. +_ACEOF
  13286. +if ac_fn_c_try_compile "$LINENO"; then :
  13287. + ac_cv_prog_cc_g=yes
  13288. +fi
  13289. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13290. +fi
  13291. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13292. +fi
  13293. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13294. + ac_c_werror_flag=$ac_save_c_werror_flag
  13295. +fi
  13296. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  13297. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  13298. +if test "$ac_test_CFLAGS" = set; then
  13299. + CFLAGS=$ac_save_CFLAGS
  13300. +elif test $ac_cv_prog_cc_g = yes; then
  13301. + if test "$GCC" = yes; then
  13302. + CFLAGS="-g -O2"
  13303. + else
  13304. + CFLAGS="-g"
  13305. + fi
  13306. +else
  13307. + if test "$GCC" = yes; then
  13308. + CFLAGS="-O2"
  13309. + else
  13310. + CFLAGS=
  13311. + fi
  13312. +fi
  13313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  13314. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  13315. +if ${ac_cv_prog_cc_c89+:} false; then :
  13316. + $as_echo_n "(cached) " >&6
  13317. +else
  13318. + ac_cv_prog_cc_c89=no
  13319. +ac_save_CC=$CC
  13320. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13321. +/* end confdefs.h. */
  13322. +#include <stdarg.h>
  13323. +#include <stdio.h>
  13324. +struct stat;
  13325. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  13326. +struct buf { int x; };
  13327. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  13328. +static char *e (p, i)
  13329. + char **p;
  13330. + int i;
  13331. +{
  13332. + return p[i];
  13333. +}
  13334. +static char *f (char * (*g) (char **, int), char **p, ...)
  13335. +{
  13336. + char *s;
  13337. + va_list v;
  13338. + va_start (v,p);
  13339. + s = g (p, va_arg (v,int));
  13340. + va_end (v);
  13341. + return s;
  13342. +}
  13343. +
  13344. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  13345. + function prototypes and stuff, but not '\xHH' hex character constants.
  13346. + These don't provoke an error unfortunately, instead are silently treated
  13347. + as 'x'. The following induces an error, until -std is added to get
  13348. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  13349. + array size at least. It's necessary to write '\x00'==0 to get something
  13350. + that's true only with -std. */
  13351. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  13352. +
  13353. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  13354. + inside strings and character constants. */
  13355. +#define FOO(x) 'x'
  13356. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  13357. +
  13358. +int test (int i, double x);
  13359. +struct s1 {int (*f) (int a);};
  13360. +struct s2 {int (*f) (double a);};
  13361. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  13362. +int argc;
  13363. +char **argv;
  13364. +int
  13365. +main ()
  13366. +{
  13367. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  13368. + ;
  13369. + return 0;
  13370. +}
  13371. +_ACEOF
  13372. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  13373. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  13374. +do
  13375. + CC="$ac_save_CC $ac_arg"
  13376. + if ac_fn_c_try_compile "$LINENO"; then :
  13377. + ac_cv_prog_cc_c89=$ac_arg
  13378. +fi
  13379. +rm -f core conftest.err conftest.$ac_objext
  13380. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  13381. +done
  13382. +rm -f conftest.$ac_ext
  13383. +CC=$ac_save_CC
  13384. +
  13385. +fi
  13386. +# AC_CACHE_VAL
  13387. +case "x$ac_cv_prog_cc_c89" in
  13388. + x)
  13389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13390. +$as_echo "none needed" >&6; } ;;
  13391. + xno)
  13392. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13393. +$as_echo "unsupported" >&6; } ;;
  13394. + *)
  13395. + CC="$CC $ac_cv_prog_cc_c89"
  13396. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  13397. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  13398. +esac
  13399. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  13400. +
  13401. +fi
  13402. +
  13403. +ac_ext=c
  13404. +ac_cpp='$CPP $CPPFLAGS'
  13405. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13406. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13407. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13408. +
  13409. +ac_ext=c
  13410. +ac_cpp='$CPP $CPPFLAGS'
  13411. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13412. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13413. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13414. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  13415. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  13416. +if ${am_cv_prog_cc_c_o+:} false; then :
  13417. + $as_echo_n "(cached) " >&6
  13418. +else
  13419. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13420. +/* end confdefs.h. */
  13421. +
  13422. +int
  13423. +main ()
  13424. +{
  13425. +
  13426. + ;
  13427. + return 0;
  13428. +}
  13429. +_ACEOF
  13430. + # Make sure it works both with $CC and with simple cc.
  13431. + # Following AC_PROG_CC_C_O, we do the test twice because some
  13432. + # compilers refuse to overwrite an existing .o file with -o,
  13433. + # though they will create one.
  13434. + am_cv_prog_cc_c_o=yes
  13435. + for am_i in 1 2; do
  13436. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  13437. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  13438. + ac_status=$?
  13439. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13440. + (exit $ac_status); } \
  13441. + && test -f conftest2.$ac_objext; then
  13442. + : OK
  13443. + else
  13444. + am_cv_prog_cc_c_o=no
  13445. + break
  13446. + fi
  13447. + done
  13448. + rm -f core conftest*
  13449. + unset am_i
  13450. +fi
  13451. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  13452. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  13453. +if test "$am_cv_prog_cc_c_o" != yes; then
  13454. + # Losing compiler, so override with the script.
  13455. + # FIXME: It is wrong to rewrite CC.
  13456. + # But if we don't then we get into trouble of one sort or another.
  13457. + # A longer-term fix would be to have automake use am__CC in this case,
  13458. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  13459. + CC="$am_aux_dir/compile $CC"
  13460. +fi
  13461. +ac_ext=c
  13462. +ac_cpp='$CPP $CPPFLAGS'
  13463. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13464. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13465. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13466. +
  13467. +
  13468. +depcc="$CC" am_compiler_list=
  13469. +
  13470. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  13471. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  13472. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  13473. + $as_echo_n "(cached) " >&6
  13474. +else
  13475. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  13476. + # We make a subdir and do the tests there. Otherwise we can end up
  13477. + # making bogus files that we don't know about and never remove. For
  13478. + # instance it was reported that on HP-UX the gcc test will end up
  13479. + # making a dummy file named 'D' -- because '-MD' means "put the output
  13480. + # in D".
  13481. + rm -rf conftest.dir
  13482. + mkdir conftest.dir
  13483. + # Copy depcomp to subdir because otherwise we won't find it if we're
  13484. + # using a relative directory.
  13485. + cp "$am_depcomp" conftest.dir
  13486. + cd conftest.dir
  13487. + # We will build objects and dependencies in a subdirectory because
  13488. + # it helps to detect inapplicable dependency modes. For instance
  13489. + # both Tru64's cc and ICC support -MD to output dependencies as a
  13490. + # side effect of compilation, but ICC will put the dependencies in
  13491. + # the current directory while Tru64 will put them in the object
  13492. + # directory.
  13493. + mkdir sub
  13494. +
  13495. + am_cv_CC_dependencies_compiler_type=none
  13496. + if test "$am_compiler_list" = ""; then
  13497. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  13498. + fi
  13499. + am__universal=false
  13500. + case " $depcc " in #(
  13501. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  13502. + esac
  13503. +
  13504. + for depmode in $am_compiler_list; do
  13505. + # Setup a source with many dependencies, because some compilers
  13506. + # like to wrap large dependency lists on column 80 (with \), and
  13507. + # we should not choose a depcomp mode which is confused by this.
  13508. + #
  13509. + # We need to recreate these files for each test, as the compiler may
  13510. + # overwrite some of them when testing with obscure command lines.
  13511. + # This happens at least with the AIX C compiler.
  13512. + : > sub/conftest.c
  13513. + for i in 1 2 3 4 5 6; do
  13514. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  13515. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  13516. + # Solaris 10 /bin/sh.
  13517. + echo '/* dummy */' > sub/conftst$i.h
  13518. + done
  13519. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  13520. +
  13521. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  13522. + # mode. It turns out that the SunPro C++ compiler does not properly
  13523. + # handle '-M -o', and we need to detect this. Also, some Intel
  13524. + # versions had trouble with output in subdirs.
  13525. + am__obj=sub/conftest.${OBJEXT-o}
  13526. + am__minus_obj="-o $am__obj"
  13527. + case $depmode in
  13528. + gcc)
  13529. + # This depmode causes a compiler race in universal mode.
  13530. + test "$am__universal" = false || continue
  13531. + ;;
  13532. + nosideeffect)
  13533. + # After this tag, mechanisms are not by side-effect, so they'll
  13534. + # only be used when explicitly requested.
  13535. + if test "x$enable_dependency_tracking" = xyes; then
  13536. + continue
  13537. + else
  13538. + break
  13539. + fi
  13540. + ;;
  13541. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  13542. + # This compiler won't grok '-c -o', but also, the minuso test has
  13543. + # not run yet. These depmodes are late enough in the game, and
  13544. + # so weak that their functioning should not be impacted.
  13545. + am__obj=conftest.${OBJEXT-o}
  13546. + am__minus_obj=
  13547. + ;;
  13548. + none) break ;;
  13549. + esac
  13550. + if depmode=$depmode \
  13551. + source=sub/conftest.c object=$am__obj \
  13552. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  13553. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  13554. + >/dev/null 2>conftest.err &&
  13555. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  13556. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  13557. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  13558. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  13559. + # icc doesn't choke on unknown options, it will just issue warnings
  13560. + # or remarks (even with -Werror). So we grep stderr for any message
  13561. + # that says an option was ignored or not supported.
  13562. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  13563. + # icc: Command line warning: ignoring option '-M'; no argument required
  13564. + # The diagnosis changed in icc 8.0:
  13565. + # icc: Command line remark: option '-MP' not supported
  13566. + if (grep 'ignoring option' conftest.err ||
  13567. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  13568. + am_cv_CC_dependencies_compiler_type=$depmode
  13569. + break
  13570. + fi
  13571. + fi
  13572. + done
  13573. +
  13574. + cd ..
  13575. + rm -rf conftest.dir
  13576. +else
  13577. + am_cv_CC_dependencies_compiler_type=none
  13578. +fi
  13579. +
  13580. +fi
  13581. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  13582. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  13583. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  13584. +
  13585. + if
  13586. + test "x$enable_dependency_tracking" != xno \
  13587. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  13588. + am__fastdepCC_TRUE=
  13589. + am__fastdepCC_FALSE='#'
  13590. +else
  13591. + am__fastdepCC_TRUE='#'
  13592. + am__fastdepCC_FALSE=
  13593. +fi
  13594. +
  13595. +
  13596. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  13597. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  13598. +if ${ac_cv_path_SED+:} false; then :
  13599. + $as_echo_n "(cached) " >&6
  13600. +else
  13601. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  13602. + for ac_i in 1 2 3 4 5 6 7; do
  13603. + ac_script="$ac_script$as_nl$ac_script"
  13604. + done
  13605. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  13606. + { ac_script=; unset ac_script;}
  13607. + if test -z "$SED"; then
  13608. + ac_path_SED_found=false
  13609. + # Loop through the user's path and test for each of PROGNAME-LIST
  13610. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13611. +for as_dir in $PATH
  13612. +do
  13613. + IFS=$as_save_IFS
  13614. + test -z "$as_dir" && as_dir=.
  13615. + for ac_prog in sed gsed; do
  13616. + for ac_exec_ext in '' $ac_executable_extensions; do
  13617. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  13618. + as_fn_executable_p "$ac_path_SED" || continue
  13619. +# Check for GNU ac_path_SED and select it if it is found.
  13620. + # Check for GNU $ac_path_SED
  13621. +case `"$ac_path_SED" --version 2>&1` in
  13622. +*GNU*)
  13623. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  13624. +*)
  13625. + ac_count=0
  13626. + $as_echo_n 0123456789 >"conftest.in"
  13627. + while :
  13628. + do
  13629. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13630. + mv "conftest.tmp" "conftest.in"
  13631. + cp "conftest.in" "conftest.nl"
  13632. + $as_echo '' >> "conftest.nl"
  13633. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13634. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13635. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13636. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  13637. + # Best one so far, save it but keep looking for a better one
  13638. + ac_cv_path_SED="$ac_path_SED"
  13639. + ac_path_SED_max=$ac_count
  13640. + fi
  13641. + # 10*(2^10) chars as input seems more than enough
  13642. + test $ac_count -gt 10 && break
  13643. + done
  13644. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13645. +esac
  13646. +
  13647. + $ac_path_SED_found && break 3
  13648. + done
  13649. + done
  13650. + done
  13651. +IFS=$as_save_IFS
  13652. + if test -z "$ac_cv_path_SED"; then
  13653. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  13654. + fi
  13655. +else
  13656. + ac_cv_path_SED=$SED
  13657. +fi
  13658. +
  13659. +fi
  13660. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  13661. +$as_echo "$ac_cv_path_SED" >&6; }
  13662. + SED="$ac_cv_path_SED"
  13663. + rm -f conftest.sed
  13664. +
  13665. +test -z "$SED" && SED=sed
  13666. +Xsed="$SED -e 1s/^X//"
  13667. +
  13668. +
  13669. +
  13670. +
  13671. +
  13672. +
  13673. +
  13674. +
  13675. +
  13676. +
  13677. +
  13678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  13679. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  13680. +if ${ac_cv_path_GREP+:} false; then :
  13681. + $as_echo_n "(cached) " >&6
  13682. +else
  13683. + if test -z "$GREP"; then
  13684. + ac_path_GREP_found=false
  13685. + # Loop through the user's path and test for each of PROGNAME-LIST
  13686. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13687. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13688. +do
  13689. + IFS=$as_save_IFS
  13690. + test -z "$as_dir" && as_dir=.
  13691. + for ac_prog in grep ggrep; do
  13692. + for ac_exec_ext in '' $ac_executable_extensions; do
  13693. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  13694. + as_fn_executable_p "$ac_path_GREP" || continue
  13695. +# Check for GNU ac_path_GREP and select it if it is found.
  13696. + # Check for GNU $ac_path_GREP
  13697. +case `"$ac_path_GREP" --version 2>&1` in
  13698. +*GNU*)
  13699. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  13700. +*)
  13701. + ac_count=0
  13702. + $as_echo_n 0123456789 >"conftest.in"
  13703. + while :
  13704. + do
  13705. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13706. + mv "conftest.tmp" "conftest.in"
  13707. + cp "conftest.in" "conftest.nl"
  13708. + $as_echo 'GREP' >> "conftest.nl"
  13709. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13710. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13711. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13712. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  13713. + # Best one so far, save it but keep looking for a better one
  13714. + ac_cv_path_GREP="$ac_path_GREP"
  13715. + ac_path_GREP_max=$ac_count
  13716. + fi
  13717. + # 10*(2^10) chars as input seems more than enough
  13718. + test $ac_count -gt 10 && break
  13719. + done
  13720. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13721. +esac
  13722. +
  13723. + $ac_path_GREP_found && break 3
  13724. + done
  13725. + done
  13726. + done
  13727. +IFS=$as_save_IFS
  13728. + if test -z "$ac_cv_path_GREP"; then
  13729. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13730. + fi
  13731. +else
  13732. + ac_cv_path_GREP=$GREP
  13733. +fi
  13734. +
  13735. +fi
  13736. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  13737. +$as_echo "$ac_cv_path_GREP" >&6; }
  13738. + GREP="$ac_cv_path_GREP"
  13739. +
  13740. +
  13741. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  13742. +$as_echo_n "checking for egrep... " >&6; }
  13743. +if ${ac_cv_path_EGREP+:} false; then :
  13744. + $as_echo_n "(cached) " >&6
  13745. +else
  13746. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  13747. + then ac_cv_path_EGREP="$GREP -E"
  13748. + else
  13749. + if test -z "$EGREP"; then
  13750. + ac_path_EGREP_found=false
  13751. + # Loop through the user's path and test for each of PROGNAME-LIST
  13752. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13753. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13754. +do
  13755. + IFS=$as_save_IFS
  13756. + test -z "$as_dir" && as_dir=.
  13757. + for ac_prog in egrep; do
  13758. + for ac_exec_ext in '' $ac_executable_extensions; do
  13759. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  13760. + as_fn_executable_p "$ac_path_EGREP" || continue
  13761. +# Check for GNU ac_path_EGREP and select it if it is found.
  13762. + # Check for GNU $ac_path_EGREP
  13763. +case `"$ac_path_EGREP" --version 2>&1` in
  13764. +*GNU*)
  13765. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  13766. +*)
  13767. + ac_count=0
  13768. + $as_echo_n 0123456789 >"conftest.in"
  13769. + while :
  13770. + do
  13771. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13772. + mv "conftest.tmp" "conftest.in"
  13773. + cp "conftest.in" "conftest.nl"
  13774. + $as_echo 'EGREP' >> "conftest.nl"
  13775. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13776. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13777. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13778. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  13779. + # Best one so far, save it but keep looking for a better one
  13780. + ac_cv_path_EGREP="$ac_path_EGREP"
  13781. + ac_path_EGREP_max=$ac_count
  13782. + fi
  13783. + # 10*(2^10) chars as input seems more than enough
  13784. + test $ac_count -gt 10 && break
  13785. + done
  13786. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13787. +esac
  13788. +
  13789. + $ac_path_EGREP_found && break 3
  13790. + done
  13791. + done
  13792. + done
  13793. +IFS=$as_save_IFS
  13794. + if test -z "$ac_cv_path_EGREP"; then
  13795. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13796. + fi
  13797. +else
  13798. + ac_cv_path_EGREP=$EGREP
  13799. +fi
  13800. +
  13801. + fi
  13802. +fi
  13803. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  13804. +$as_echo "$ac_cv_path_EGREP" >&6; }
  13805. + EGREP="$ac_cv_path_EGREP"
  13806. +
  13807. +
  13808. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  13809. +$as_echo_n "checking for fgrep... " >&6; }
  13810. +if ${ac_cv_path_FGREP+:} false; then :
  13811. + $as_echo_n "(cached) " >&6
  13812. +else
  13813. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  13814. + then ac_cv_path_FGREP="$GREP -F"
  13815. + else
  13816. + if test -z "$FGREP"; then
  13817. + ac_path_FGREP_found=false
  13818. + # Loop through the user's path and test for each of PROGNAME-LIST
  13819. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13820. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13821. +do
  13822. + IFS=$as_save_IFS
  13823. + test -z "$as_dir" && as_dir=.
  13824. + for ac_prog in fgrep; do
  13825. + for ac_exec_ext in '' $ac_executable_extensions; do
  13826. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  13827. + as_fn_executable_p "$ac_path_FGREP" || continue
  13828. +# Check for GNU ac_path_FGREP and select it if it is found.
  13829. + # Check for GNU $ac_path_FGREP
  13830. +case `"$ac_path_FGREP" --version 2>&1` in
  13831. +*GNU*)
  13832. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  13833. +*)
  13834. + ac_count=0
  13835. + $as_echo_n 0123456789 >"conftest.in"
  13836. + while :
  13837. + do
  13838. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13839. + mv "conftest.tmp" "conftest.in"
  13840. + cp "conftest.in" "conftest.nl"
  13841. + $as_echo 'FGREP' >> "conftest.nl"
  13842. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13843. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13844. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13845. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  13846. + # Best one so far, save it but keep looking for a better one
  13847. + ac_cv_path_FGREP="$ac_path_FGREP"
  13848. + ac_path_FGREP_max=$ac_count
  13849. + fi
  13850. + # 10*(2^10) chars as input seems more than enough
  13851. + test $ac_count -gt 10 && break
  13852. + done
  13853. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13854. +esac
  13855. +
  13856. + $ac_path_FGREP_found && break 3
  13857. + done
  13858. + done
  13859. + done
  13860. +IFS=$as_save_IFS
  13861. + if test -z "$ac_cv_path_FGREP"; then
  13862. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13863. + fi
  13864. +else
  13865. + ac_cv_path_FGREP=$FGREP
  13866. +fi
  13867. +
  13868. + fi
  13869. +fi
  13870. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  13871. +$as_echo "$ac_cv_path_FGREP" >&6; }
  13872. + FGREP="$ac_cv_path_FGREP"
  13873. +
  13874. +
  13875. +test -z "$GREP" && GREP=grep
  13876. +
  13877. +
  13878. +
  13879. +
  13880. +
  13881. +
  13882. +
  13883. +
  13884. +
  13885. +
  13886. +
  13887. +
  13888. +
  13889. +
  13890. +
  13891. +
  13892. +
  13893. +
  13894. +
  13895. +@%:@ Check whether --with-gnu-ld was given.
  13896. +if test "${with_gnu_ld+set}" = set; then :
  13897. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  13898. +else
  13899. + with_gnu_ld=no
  13900. +fi
  13901. +
  13902. +ac_prog=ld
  13903. +if test "$GCC" = yes; then
  13904. + # Check if gcc -print-prog-name=ld gives a path.
  13905. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  13906. +$as_echo_n "checking for ld used by $CC... " >&6; }
  13907. + case $host in
  13908. + *-*-mingw*)
  13909. + # gcc leaves a trailing carriage return which upsets mingw
  13910. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  13911. + *)
  13912. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  13913. + esac
  13914. + case $ac_prog in
  13915. + # Accept absolute paths.
  13916. + [\\/]* | ?:[\\/]*)
  13917. + re_direlt='/[^/][^/]*/\.\./'
  13918. + # Canonicalize the pathname of ld
  13919. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  13920. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  13921. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  13922. + done
  13923. + test -z "$LD" && LD="$ac_prog"
  13924. + ;;
  13925. + "")
  13926. + # If it fails, then pretend we aren't using GCC.
  13927. + ac_prog=ld
  13928. + ;;
  13929. + *)
  13930. + # If it is relative, then search for the first ld in PATH.
  13931. + with_gnu_ld=unknown
  13932. + ;;
  13933. + esac
  13934. +elif test "$with_gnu_ld" = yes; then
  13935. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  13936. +$as_echo_n "checking for GNU ld... " >&6; }
  13937. +else
  13938. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  13939. +$as_echo_n "checking for non-GNU ld... " >&6; }
  13940. +fi
  13941. +if ${lt_cv_path_LD+:} false; then :
  13942. + $as_echo_n "(cached) " >&6
  13943. +else
  13944. + if test -z "$LD"; then
  13945. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  13946. + for ac_dir in $PATH; do
  13947. + IFS="$lt_save_ifs"
  13948. + test -z "$ac_dir" && ac_dir=.
  13949. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  13950. + lt_cv_path_LD="$ac_dir/$ac_prog"
  13951. + # Check to see if the program is GNU ld. I'd rather use --version,
  13952. + # but apparently some variants of GNU ld only accept -v.
  13953. + # Break only if it was the GNU/non-GNU ld that we prefer.
  13954. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  13955. + *GNU* | *'with BFD'*)
  13956. + test "$with_gnu_ld" != no && break
  13957. + ;;
  13958. + *)
  13959. + test "$with_gnu_ld" != yes && break
  13960. + ;;
  13961. + esac
  13962. + fi
  13963. + done
  13964. + IFS="$lt_save_ifs"
  13965. +else
  13966. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  13967. +fi
  13968. +fi
  13969. +
  13970. +LD="$lt_cv_path_LD"
  13971. +if test -n "$LD"; then
  13972. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  13973. +$as_echo "$LD" >&6; }
  13974. +else
  13975. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13976. +$as_echo "no" >&6; }
  13977. +fi
  13978. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  13979. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  13980. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  13981. +if ${lt_cv_prog_gnu_ld+:} false; then :
  13982. + $as_echo_n "(cached) " >&6
  13983. +else
  13984. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  13985. +case `$LD -v 2>&1 </dev/null` in
  13986. +*GNU* | *'with BFD'*)
  13987. + lt_cv_prog_gnu_ld=yes
  13988. + ;;
  13989. +*)
  13990. + lt_cv_prog_gnu_ld=no
  13991. + ;;
  13992. +esac
  13993. +fi
  13994. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  13995. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  13996. +with_gnu_ld=$lt_cv_prog_gnu_ld
  13997. +
  13998. +
  13999. +
  14000. +
  14001. +
  14002. +
  14003. +
  14004. +
  14005. +
  14006. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  14007. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  14008. +if ${lt_cv_path_NM+:} false; then :
  14009. + $as_echo_n "(cached) " >&6
  14010. +else
  14011. + if test -n "$NM"; then
  14012. + # Let the user override the test.
  14013. + lt_cv_path_NM="$NM"
  14014. +else
  14015. + lt_nm_to_check="${ac_tool_prefix}nm"
  14016. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  14017. + lt_nm_to_check="$lt_nm_to_check nm"
  14018. + fi
  14019. + for lt_tmp_nm in $lt_nm_to_check; do
  14020. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  14021. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  14022. + IFS="$lt_save_ifs"
  14023. + test -z "$ac_dir" && ac_dir=.
  14024. + tmp_nm="$ac_dir/$lt_tmp_nm"
  14025. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  14026. + # Check to see if the nm accepts a BSD-compat flag.
  14027. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  14028. + # nm: unknown option "B" ignored
  14029. + # Tru64's nm complains that /dev/null is an invalid object file
  14030. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  14031. + */dev/null* | *'Invalid file or object type'*)
  14032. + lt_cv_path_NM="$tmp_nm -B"
  14033. + break
  14034. + ;;
  14035. + *)
  14036. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  14037. + */dev/null*)
  14038. + lt_cv_path_NM="$tmp_nm -p"
  14039. + break
  14040. + ;;
  14041. + *)
  14042. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  14043. + continue # so that we can try to find one that supports BSD flags
  14044. + ;;
  14045. + esac
  14046. + ;;
  14047. + esac
  14048. + fi
  14049. + done
  14050. + IFS="$lt_save_ifs"
  14051. + done
  14052. + : ${lt_cv_path_NM=no}
  14053. +fi
  14054. +fi
  14055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  14056. +$as_echo "$lt_cv_path_NM" >&6; }
  14057. +if test "$lt_cv_path_NM" != "no"; then
  14058. + NM="$lt_cv_path_NM"
  14059. +else
  14060. + # Didn't find any BSD compatible name lister, look for dumpbin.
  14061. + if test -n "$ac_tool_prefix"; then
  14062. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  14063. + do
  14064. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  14065. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  14066. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14067. +$as_echo_n "checking for $ac_word... " >&6; }
  14068. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  14069. + $as_echo_n "(cached) " >&6
  14070. +else
  14071. + if test -n "$DUMPBIN"; then
  14072. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  14073. +else
  14074. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14075. +for as_dir in $PATH
  14076. +do
  14077. + IFS=$as_save_IFS
  14078. + test -z "$as_dir" && as_dir=.
  14079. + for ac_exec_ext in '' $ac_executable_extensions; do
  14080. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14081. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  14082. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14083. + break 2
  14084. + fi
  14085. +done
  14086. + done
  14087. +IFS=$as_save_IFS
  14088. +
  14089. +fi
  14090. +fi
  14091. +DUMPBIN=$ac_cv_prog_DUMPBIN
  14092. +if test -n "$DUMPBIN"; then
  14093. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  14094. +$as_echo "$DUMPBIN" >&6; }
  14095. +else
  14096. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14097. +$as_echo "no" >&6; }
  14098. +fi
  14099. +
  14100. +
  14101. + test -n "$DUMPBIN" && break
  14102. + done
  14103. +fi
  14104. +if test -z "$DUMPBIN"; then
  14105. + ac_ct_DUMPBIN=$DUMPBIN
  14106. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  14107. +do
  14108. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  14109. +set dummy $ac_prog; ac_word=$2
  14110. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14111. +$as_echo_n "checking for $ac_word... " >&6; }
  14112. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  14113. + $as_echo_n "(cached) " >&6
  14114. +else
  14115. + if test -n "$ac_ct_DUMPBIN"; then
  14116. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  14117. +else
  14118. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14119. +for as_dir in $PATH
  14120. +do
  14121. + IFS=$as_save_IFS
  14122. + test -z "$as_dir" && as_dir=.
  14123. + for ac_exec_ext in '' $ac_executable_extensions; do
  14124. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14125. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  14126. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14127. + break 2
  14128. + fi
  14129. +done
  14130. + done
  14131. +IFS=$as_save_IFS
  14132. +
  14133. +fi
  14134. +fi
  14135. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  14136. +if test -n "$ac_ct_DUMPBIN"; then
  14137. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  14138. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  14139. +else
  14140. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14141. +$as_echo "no" >&6; }
  14142. +fi
  14143. +
  14144. +
  14145. + test -n "$ac_ct_DUMPBIN" && break
  14146. +done
  14147. +
  14148. + if test "x$ac_ct_DUMPBIN" = x; then
  14149. + DUMPBIN=":"
  14150. + else
  14151. + case $cross_compiling:$ac_tool_warned in
  14152. +yes:)
  14153. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14154. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14155. +ac_tool_warned=yes ;;
  14156. +esac
  14157. + DUMPBIN=$ac_ct_DUMPBIN
  14158. + fi
  14159. +fi
  14160. +
  14161. +
  14162. + if test "$DUMPBIN" != ":"; then
  14163. + NM="$DUMPBIN"
  14164. + fi
  14165. +fi
  14166. +test -z "$NM" && NM=nm
  14167. +
  14168. +
  14169. +
  14170. +
  14171. +
  14172. +
  14173. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  14174. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  14175. +if ${lt_cv_nm_interface+:} false; then :
  14176. + $as_echo_n "(cached) " >&6
  14177. +else
  14178. + lt_cv_nm_interface="BSD nm"
  14179. + echo "int some_variable = 0;" > conftest.$ac_ext
  14180. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
  14181. + (eval "$ac_compile" 2>conftest.err)
  14182. + cat conftest.err >&5
  14183. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  14184. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  14185. + cat conftest.err >&5
  14186. + (eval echo "\"\$as_me:__oline__: output\"" >&5)
  14187. + cat conftest.out >&5
  14188. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  14189. + lt_cv_nm_interface="MS dumpbin"
  14190. + fi
  14191. + rm -f conftest*
  14192. +fi
  14193. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  14194. +$as_echo "$lt_cv_nm_interface" >&6; }
  14195. +
  14196. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  14197. +$as_echo_n "checking whether ln -s works... " >&6; }
  14198. +LN_S=$as_ln_s
  14199. +if test "$LN_S" = "ln -s"; then
  14200. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14201. +$as_echo "yes" >&6; }
  14202. +else
  14203. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  14204. +$as_echo "no, using $LN_S" >&6; }
  14205. +fi
  14206. +
  14207. +# find the maximum length of command line arguments
  14208. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  14209. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  14210. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  14211. + $as_echo_n "(cached) " >&6
  14212. +else
  14213. + i=0
  14214. + teststring="ABCD"
  14215. +
  14216. + case $build_os in
  14217. + msdosdjgpp*)
  14218. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  14219. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  14220. + # during glob expansion). Even if it were fixed, the result of this
  14221. + # check would be larger than it should be.
  14222. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  14223. + ;;
  14224. +
  14225. + gnu*)
  14226. + # Under GNU Hurd, this test is not required because there is
  14227. + # no limit to the length of command line arguments.
  14228. + # Libtool will interpret -1 as no limit whatsoever
  14229. + lt_cv_sys_max_cmd_len=-1;
  14230. + ;;
  14231. +
  14232. + cygwin* | mingw* | cegcc*)
  14233. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  14234. + # about 5 minutes as the teststring grows exponentially.
  14235. + # Worse, since 9x/ME are not pre-emptively multitasking,
  14236. + # you end up with a "frozen" computer, even though with patience
  14237. + # the test eventually succeeds (with a max line length of 256k).
  14238. + # Instead, let's just punt: use the minimum linelength reported by
  14239. + # all of the supported platforms: 8192 (on NT/2K/XP).
  14240. + lt_cv_sys_max_cmd_len=8192;
  14241. + ;;
  14242. +
  14243. + amigaos*)
  14244. + # On AmigaOS with pdksh, this test takes hours, literally.
  14245. + # So we just punt and use a minimum line length of 8192.
  14246. + lt_cv_sys_max_cmd_len=8192;
  14247. + ;;
  14248. +
  14249. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  14250. + # This has been around since 386BSD, at least. Likely further.
  14251. + if test -x /sbin/sysctl; then
  14252. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  14253. + elif test -x /usr/sbin/sysctl; then
  14254. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  14255. + else
  14256. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  14257. + fi
  14258. + # And add a safety zone
  14259. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  14260. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  14261. + ;;
  14262. +
  14263. + interix*)
  14264. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  14265. + lt_cv_sys_max_cmd_len=196608
  14266. + ;;
  14267. +
  14268. + osf*)
  14269. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  14270. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  14271. + # nice to cause kernel panics so lets avoid the loop below.
  14272. + # First set a reasonable default.
  14273. + lt_cv_sys_max_cmd_len=16384
  14274. + #
  14275. + if test -x /sbin/sysconfig; then
  14276. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  14277. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  14278. + esac
  14279. + fi
  14280. + ;;
  14281. + sco3.2v5*)
  14282. + lt_cv_sys_max_cmd_len=102400
  14283. + ;;
  14284. + sysv5* | sco5v6* | sysv4.2uw2*)
  14285. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  14286. + if test -n "$kargmax"; then
  14287. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  14288. + else
  14289. + lt_cv_sys_max_cmd_len=32768
  14290. + fi
  14291. + ;;
  14292. + *)
  14293. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  14294. + if test -n "$lt_cv_sys_max_cmd_len"; then
  14295. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  14296. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  14297. + else
  14298. + # Make teststring a little bigger before we do anything with it.
  14299. + # a 1K string should be a reasonable start.
  14300. + for i in 1 2 3 4 5 6 7 8 ; do
  14301. + teststring=$teststring$teststring
  14302. + done
  14303. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  14304. + # If test is not a shell built-in, we'll probably end up computing a
  14305. + # maximum length that is only half of the actual maximum length, but
  14306. + # we can't tell.
  14307. + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  14308. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  14309. + test $i != 17 # 1/2 MB should be enough
  14310. + do
  14311. + i=`expr $i + 1`
  14312. + teststring=$teststring$teststring
  14313. + done
  14314. + # Only check the string length outside the loop.
  14315. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  14316. + teststring=
  14317. + # Add a significant safety factor because C++ compilers can tack on
  14318. + # massive amounts of additional arguments before passing them to the
  14319. + # linker. It appears as though 1/2 is a usable value.
  14320. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  14321. + fi
  14322. + ;;
  14323. + esac
  14324. +
  14325. +fi
  14326. +
  14327. +if test -n $lt_cv_sys_max_cmd_len ; then
  14328. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  14329. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  14330. +else
  14331. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  14332. +$as_echo "none" >&6; }
  14333. +fi
  14334. +max_cmd_len=$lt_cv_sys_max_cmd_len
  14335. +
  14336. +
  14337. +
  14338. +
  14339. +
  14340. +
  14341. +: ${CP="cp -f"}
  14342. +: ${MV="mv -f"}
  14343. +: ${RM="rm -f"}
  14344. +
  14345. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  14346. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  14347. +# Try some XSI features
  14348. +xsi_shell=no
  14349. +( _lt_dummy="a/b/c"
  14350. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  14351. + = c,a/b,, \
  14352. + && eval 'test $(( 1 + 1 )) -eq 2 \
  14353. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  14354. + && xsi_shell=yes
  14355. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  14356. +$as_echo "$xsi_shell" >&6; }
  14357. +
  14358. +
  14359. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  14360. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  14361. +lt_shell_append=no
  14362. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  14363. + >/dev/null 2>&1 \
  14364. + && lt_shell_append=yes
  14365. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  14366. +$as_echo "$lt_shell_append" >&6; }
  14367. +
  14368. +
  14369. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  14370. + lt_unset=unset
  14371. +else
  14372. + lt_unset=false
  14373. +fi
  14374. +
  14375. +
  14376. +
  14377. +
  14378. +
  14379. +# test EBCDIC or ASCII
  14380. +case `echo X|tr X '\101'` in
  14381. + A) # ASCII based system
  14382. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  14383. + lt_SP2NL='tr \040 \012'
  14384. + lt_NL2SP='tr \015\012 \040\040'
  14385. + ;;
  14386. + *) # EBCDIC based system
  14387. + lt_SP2NL='tr \100 \n'
  14388. + lt_NL2SP='tr \r\n \100\100'
  14389. + ;;
  14390. +esac
  14391. +
  14392. +
  14393. +
  14394. +
  14395. +
  14396. +
  14397. +
  14398. +
  14399. +
  14400. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  14401. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  14402. +if ${lt_cv_ld_reload_flag+:} false; then :
  14403. + $as_echo_n "(cached) " >&6
  14404. +else
  14405. + lt_cv_ld_reload_flag='-r'
  14406. +fi
  14407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  14408. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  14409. +reload_flag=$lt_cv_ld_reload_flag
  14410. +case $reload_flag in
  14411. +"" | " "*) ;;
  14412. +*) reload_flag=" $reload_flag" ;;
  14413. +esac
  14414. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  14415. +case $host_os in
  14416. + darwin*)
  14417. + if test "$GCC" = yes; then
  14418. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  14419. + else
  14420. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  14421. + fi
  14422. + ;;
  14423. +esac
  14424. +
  14425. +
  14426. +
  14427. +
  14428. +
  14429. +
  14430. +
  14431. +
  14432. +
  14433. +if test -n "$ac_tool_prefix"; then
  14434. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  14435. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  14436. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14437. +$as_echo_n "checking for $ac_word... " >&6; }
  14438. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  14439. + $as_echo_n "(cached) " >&6
  14440. +else
  14441. + if test -n "$OBJDUMP"; then
  14442. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  14443. +else
  14444. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14445. +for as_dir in $PATH
  14446. +do
  14447. + IFS=$as_save_IFS
  14448. + test -z "$as_dir" && as_dir=.
  14449. + for ac_exec_ext in '' $ac_executable_extensions; do
  14450. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14451. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  14452. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14453. + break 2
  14454. + fi
  14455. +done
  14456. + done
  14457. +IFS=$as_save_IFS
  14458. +
  14459. +fi
  14460. +fi
  14461. +OBJDUMP=$ac_cv_prog_OBJDUMP
  14462. +if test -n "$OBJDUMP"; then
  14463. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  14464. +$as_echo "$OBJDUMP" >&6; }
  14465. +else
  14466. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14467. +$as_echo "no" >&6; }
  14468. +fi
  14469. +
  14470. +
  14471. +fi
  14472. +if test -z "$ac_cv_prog_OBJDUMP"; then
  14473. + ac_ct_OBJDUMP=$OBJDUMP
  14474. + # Extract the first word of "objdump", so it can be a program name with args.
  14475. +set dummy objdump; ac_word=$2
  14476. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14477. +$as_echo_n "checking for $ac_word... " >&6; }
  14478. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  14479. + $as_echo_n "(cached) " >&6
  14480. +else
  14481. + if test -n "$ac_ct_OBJDUMP"; then
  14482. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  14483. +else
  14484. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14485. +for as_dir in $PATH
  14486. +do
  14487. + IFS=$as_save_IFS
  14488. + test -z "$as_dir" && as_dir=.
  14489. + for ac_exec_ext in '' $ac_executable_extensions; do
  14490. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14491. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  14492. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14493. + break 2
  14494. + fi
  14495. +done
  14496. + done
  14497. +IFS=$as_save_IFS
  14498. +
  14499. +fi
  14500. +fi
  14501. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  14502. +if test -n "$ac_ct_OBJDUMP"; then
  14503. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  14504. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  14505. +else
  14506. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14507. +$as_echo "no" >&6; }
  14508. +fi
  14509. +
  14510. + if test "x$ac_ct_OBJDUMP" = x; then
  14511. + OBJDUMP="false"
  14512. + else
  14513. + case $cross_compiling:$ac_tool_warned in
  14514. +yes:)
  14515. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14516. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14517. +ac_tool_warned=yes ;;
  14518. +esac
  14519. + OBJDUMP=$ac_ct_OBJDUMP
  14520. + fi
  14521. +else
  14522. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  14523. +fi
  14524. +
  14525. +test -z "$OBJDUMP" && OBJDUMP=objdump
  14526. +
  14527. +
  14528. +
  14529. +
  14530. +
  14531. +
  14532. +
  14533. +
  14534. +
  14535. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  14536. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  14537. +if ${lt_cv_deplibs_check_method+:} false; then :
  14538. + $as_echo_n "(cached) " >&6
  14539. +else
  14540. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  14541. +lt_cv_file_magic_test_file=
  14542. +lt_cv_deplibs_check_method='unknown'
  14543. +# Need to set the preceding variable on all platforms that support
  14544. +# interlibrary dependencies.
  14545. +# 'none' -- dependencies not supported.
  14546. +# `unknown' -- same as none, but documents that we really don't know.
  14547. +# 'pass_all' -- all dependencies passed with no checks.
  14548. +# 'test_compile' -- check by making test program.
  14549. +# 'file_magic [[regex]]' -- check by looking for files in library path
  14550. +# which responds to the $file_magic_cmd with a given extended regex.
  14551. +# If you have `file' or equivalent on your system and you're not sure
  14552. +# whether `pass_all' will *always* work, you probably want this one.
  14553. +
  14554. +case $host_os in
  14555. +aix[4-9]*)
  14556. + lt_cv_deplibs_check_method=pass_all
  14557. + ;;
  14558. +
  14559. +beos*)
  14560. + lt_cv_deplibs_check_method=pass_all
  14561. + ;;
  14562. +
  14563. +bsdi[45]*)
  14564. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  14565. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  14566. + lt_cv_file_magic_test_file=/shlib/libc.so
  14567. + ;;
  14568. +
  14569. +cygwin*)
  14570. + # func_win32_libid is a shell function defined in ltmain.sh
  14571. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  14572. + lt_cv_file_magic_cmd='func_win32_libid'
  14573. + ;;
  14574. +
  14575. +mingw* | pw32*)
  14576. + # Base MSYS/MinGW do not provide the 'file' command needed by
  14577. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  14578. + # unless we find 'file', for example because we are cross-compiling.
  14579. + if ( file / ) >/dev/null 2>&1; then
  14580. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  14581. + lt_cv_file_magic_cmd='func_win32_libid'
  14582. + else
  14583. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  14584. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  14585. + fi
  14586. + ;;
  14587. +
  14588. +cegcc)
  14589. + # use the weaker test based on 'objdump'. See mingw*.
  14590. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  14591. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  14592. + ;;
  14593. +
  14594. +darwin* | rhapsody*)
  14595. + lt_cv_deplibs_check_method=pass_all
  14596. + ;;
  14597. +
  14598. +freebsd* | dragonfly*)
  14599. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  14600. + case $host_cpu in
  14601. + i*86 )
  14602. + # Not sure whether the presence of OpenBSD here was a mistake.
  14603. + # Let's accept both of them until this is cleared up.
  14604. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  14605. + lt_cv_file_magic_cmd=/usr/bin/file
  14606. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  14607. + ;;
  14608. + esac
  14609. + else
  14610. + lt_cv_deplibs_check_method=pass_all
  14611. + fi
  14612. + ;;
  14613. +
  14614. +gnu*)
  14615. + lt_cv_deplibs_check_method=pass_all
  14616. + ;;
  14617. +
  14618. +hpux10.20* | hpux11*)
  14619. + lt_cv_file_magic_cmd=/usr/bin/file
  14620. + case $host_cpu in
  14621. + ia64*)
  14622. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  14623. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  14624. + ;;
  14625. + hppa*64*)
  14626. + 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]'
  14627. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  14628. + ;;
  14629. + *)
  14630. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  14631. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  14632. + ;;
  14633. + esac
  14634. + ;;
  14635. +
  14636. +interix[3-9]*)
  14637. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  14638. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  14639. + ;;
  14640. +
  14641. +irix5* | irix6* | nonstopux*)
  14642. + case $LD in
  14643. + *-32|*"-32 ") libmagic=32-bit;;
  14644. + *-n32|*"-n32 ") libmagic=N32;;
  14645. + *-64|*"-64 ") libmagic=64-bit;;
  14646. + *) libmagic=never-match;;
  14647. + esac
  14648. + lt_cv_deplibs_check_method=pass_all
  14649. + ;;
  14650. +
  14651. +# This must be Linux ELF.
  14652. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  14653. + lt_cv_deplibs_check_method=pass_all
  14654. + ;;
  14655. +
  14656. +netbsd* | netbsdelf*-gnu)
  14657. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  14658. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  14659. + else
  14660. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  14661. + fi
  14662. + ;;
  14663. +
  14664. +newos6*)
  14665. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  14666. + lt_cv_file_magic_cmd=/usr/bin/file
  14667. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  14668. + ;;
  14669. +
  14670. +*nto* | *qnx*)
  14671. + lt_cv_deplibs_check_method=pass_all
  14672. + ;;
  14673. +
  14674. +openbsd*)
  14675. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  14676. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  14677. + else
  14678. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  14679. + fi
  14680. + ;;
  14681. +
  14682. +osf3* | osf4* | osf5*)
  14683. + lt_cv_deplibs_check_method=pass_all
  14684. + ;;
  14685. +
  14686. +rdos*)
  14687. + lt_cv_deplibs_check_method=pass_all
  14688. + ;;
  14689. +
  14690. +solaris*)
  14691. + lt_cv_deplibs_check_method=pass_all
  14692. + ;;
  14693. +
  14694. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  14695. + lt_cv_deplibs_check_method=pass_all
  14696. + ;;
  14697. +
  14698. +sysv4 | sysv4.3*)
  14699. + case $host_vendor in
  14700. + motorola)
  14701. + 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]'
  14702. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  14703. + ;;
  14704. + ncr)
  14705. + lt_cv_deplibs_check_method=pass_all
  14706. + ;;
  14707. + sequent)
  14708. + lt_cv_file_magic_cmd='/bin/file'
  14709. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  14710. + ;;
  14711. + sni)
  14712. + lt_cv_file_magic_cmd='/bin/file'
  14713. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  14714. + lt_cv_file_magic_test_file=/lib/libc.so
  14715. + ;;
  14716. + siemens)
  14717. + lt_cv_deplibs_check_method=pass_all
  14718. + ;;
  14719. + pc)
  14720. + lt_cv_deplibs_check_method=pass_all
  14721. + ;;
  14722. + esac
  14723. + ;;
  14724. +
  14725. +tpf*)
  14726. + lt_cv_deplibs_check_method=pass_all
  14727. + ;;
  14728. +esac
  14729. +
  14730. +fi
  14731. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  14732. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  14733. +file_magic_cmd=$lt_cv_file_magic_cmd
  14734. +deplibs_check_method=$lt_cv_deplibs_check_method
  14735. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  14736. +
  14737. +
  14738. +
  14739. +
  14740. +
  14741. +
  14742. +
  14743. +
  14744. +
  14745. +
  14746. +
  14747. +
  14748. +if test -n "$ac_tool_prefix"; then
  14749. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  14750. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  14751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14752. +$as_echo_n "checking for $ac_word... " >&6; }
  14753. +if ${ac_cv_prog_AR+:} false; then :
  14754. + $as_echo_n "(cached) " >&6
  14755. +else
  14756. + if test -n "$AR"; then
  14757. + ac_cv_prog_AR="$AR" # Let the user override the test.
  14758. +else
  14759. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14760. +for as_dir in $PATH
  14761. +do
  14762. + IFS=$as_save_IFS
  14763. + test -z "$as_dir" && as_dir=.
  14764. + for ac_exec_ext in '' $ac_executable_extensions; do
  14765. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14766. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  14767. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14768. + break 2
  14769. + fi
  14770. +done
  14771. + done
  14772. +IFS=$as_save_IFS
  14773. +
  14774. +fi
  14775. +fi
  14776. +AR=$ac_cv_prog_AR
  14777. +if test -n "$AR"; then
  14778. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  14779. +$as_echo "$AR" >&6; }
  14780. +else
  14781. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14782. +$as_echo "no" >&6; }
  14783. +fi
  14784. +
  14785. +
  14786. +fi
  14787. +if test -z "$ac_cv_prog_AR"; then
  14788. + ac_ct_AR=$AR
  14789. + # Extract the first word of "ar", so it can be a program name with args.
  14790. +set dummy ar; ac_word=$2
  14791. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14792. +$as_echo_n "checking for $ac_word... " >&6; }
  14793. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  14794. + $as_echo_n "(cached) " >&6
  14795. +else
  14796. + if test -n "$ac_ct_AR"; then
  14797. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  14798. +else
  14799. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14800. +for as_dir in $PATH
  14801. +do
  14802. + IFS=$as_save_IFS
  14803. + test -z "$as_dir" && as_dir=.
  14804. + for ac_exec_ext in '' $ac_executable_extensions; do
  14805. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14806. + ac_cv_prog_ac_ct_AR="ar"
  14807. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14808. + break 2
  14809. + fi
  14810. +done
  14811. + done
  14812. +IFS=$as_save_IFS
  14813. +
  14814. +fi
  14815. +fi
  14816. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  14817. +if test -n "$ac_ct_AR"; then
  14818. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  14819. +$as_echo "$ac_ct_AR" >&6; }
  14820. +else
  14821. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14822. +$as_echo "no" >&6; }
  14823. +fi
  14824. +
  14825. + if test "x$ac_ct_AR" = x; then
  14826. + AR="false"
  14827. + else
  14828. + case $cross_compiling:$ac_tool_warned in
  14829. +yes:)
  14830. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14831. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14832. +ac_tool_warned=yes ;;
  14833. +esac
  14834. + AR=$ac_ct_AR
  14835. + fi
  14836. +else
  14837. + AR="$ac_cv_prog_AR"
  14838. +fi
  14839. +
  14840. +test -z "$AR" && AR=ar
  14841. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  14842. +
  14843. +
  14844. +
  14845. +
  14846. +
  14847. +
  14848. +
  14849. +
  14850. +
  14851. +
  14852. +
  14853. +if test -n "$ac_tool_prefix"; then
  14854. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  14855. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  14856. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14857. +$as_echo_n "checking for $ac_word... " >&6; }
  14858. +if ${ac_cv_prog_STRIP+:} false; then :
  14859. + $as_echo_n "(cached) " >&6
  14860. +else
  14861. + if test -n "$STRIP"; then
  14862. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  14863. +else
  14864. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14865. +for as_dir in $PATH
  14866. +do
  14867. + IFS=$as_save_IFS
  14868. + test -z "$as_dir" && as_dir=.
  14869. + for ac_exec_ext in '' $ac_executable_extensions; do
  14870. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14871. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  14872. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14873. + break 2
  14874. + fi
  14875. +done
  14876. + done
  14877. +IFS=$as_save_IFS
  14878. +
  14879. +fi
  14880. +fi
  14881. +STRIP=$ac_cv_prog_STRIP
  14882. +if test -n "$STRIP"; then
  14883. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  14884. +$as_echo "$STRIP" >&6; }
  14885. +else
  14886. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14887. +$as_echo "no" >&6; }
  14888. +fi
  14889. +
  14890. +
  14891. +fi
  14892. +if test -z "$ac_cv_prog_STRIP"; then
  14893. + ac_ct_STRIP=$STRIP
  14894. + # Extract the first word of "strip", so it can be a program name with args.
  14895. +set dummy strip; ac_word=$2
  14896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14897. +$as_echo_n "checking for $ac_word... " >&6; }
  14898. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  14899. + $as_echo_n "(cached) " >&6
  14900. +else
  14901. + if test -n "$ac_ct_STRIP"; then
  14902. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  14903. +else
  14904. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14905. +for as_dir in $PATH
  14906. +do
  14907. + IFS=$as_save_IFS
  14908. + test -z "$as_dir" && as_dir=.
  14909. + for ac_exec_ext in '' $ac_executable_extensions; do
  14910. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14911. + ac_cv_prog_ac_ct_STRIP="strip"
  14912. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14913. + break 2
  14914. + fi
  14915. +done
  14916. + done
  14917. +IFS=$as_save_IFS
  14918. +
  14919. +fi
  14920. +fi
  14921. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  14922. +if test -n "$ac_ct_STRIP"; then
  14923. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  14924. +$as_echo "$ac_ct_STRIP" >&6; }
  14925. +else
  14926. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14927. +$as_echo "no" >&6; }
  14928. +fi
  14929. +
  14930. + if test "x$ac_ct_STRIP" = x; then
  14931. + STRIP=":"
  14932. + else
  14933. + case $cross_compiling:$ac_tool_warned in
  14934. +yes:)
  14935. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14936. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14937. +ac_tool_warned=yes ;;
  14938. +esac
  14939. + STRIP=$ac_ct_STRIP
  14940. + fi
  14941. +else
  14942. + STRIP="$ac_cv_prog_STRIP"
  14943. +fi
  14944. +
  14945. +test -z "$STRIP" && STRIP=:
  14946. +
  14947. +
  14948. +
  14949. +
  14950. +
  14951. +
  14952. +if test -n "$ac_tool_prefix"; then
  14953. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  14954. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  14955. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14956. +$as_echo_n "checking for $ac_word... " >&6; }
  14957. +if ${ac_cv_prog_RANLIB+:} false; then :
  14958. + $as_echo_n "(cached) " >&6
  14959. +else
  14960. + if test -n "$RANLIB"; then
  14961. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  14962. +else
  14963. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14964. +for as_dir in $PATH
  14965. +do
  14966. + IFS=$as_save_IFS
  14967. + test -z "$as_dir" && as_dir=.
  14968. + for ac_exec_ext in '' $ac_executable_extensions; do
  14969. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14970. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  14971. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14972. + break 2
  14973. + fi
  14974. +done
  14975. + done
  14976. +IFS=$as_save_IFS
  14977. +
  14978. +fi
  14979. +fi
  14980. +RANLIB=$ac_cv_prog_RANLIB
  14981. +if test -n "$RANLIB"; then
  14982. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  14983. +$as_echo "$RANLIB" >&6; }
  14984. +else
  14985. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14986. +$as_echo "no" >&6; }
  14987. +fi
  14988. +
  14989. +
  14990. +fi
  14991. +if test -z "$ac_cv_prog_RANLIB"; then
  14992. + ac_ct_RANLIB=$RANLIB
  14993. + # Extract the first word of "ranlib", so it can be a program name with args.
  14994. +set dummy ranlib; ac_word=$2
  14995. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14996. +$as_echo_n "checking for $ac_word... " >&6; }
  14997. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  14998. + $as_echo_n "(cached) " >&6
  14999. +else
  15000. + if test -n "$ac_ct_RANLIB"; then
  15001. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  15002. +else
  15003. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15004. +for as_dir in $PATH
  15005. +do
  15006. + IFS=$as_save_IFS
  15007. + test -z "$as_dir" && as_dir=.
  15008. + for ac_exec_ext in '' $ac_executable_extensions; do
  15009. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15010. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  15011. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15012. + break 2
  15013. + fi
  15014. +done
  15015. + done
  15016. +IFS=$as_save_IFS
  15017. +
  15018. +fi
  15019. +fi
  15020. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  15021. +if test -n "$ac_ct_RANLIB"; then
  15022. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  15023. +$as_echo "$ac_ct_RANLIB" >&6; }
  15024. +else
  15025. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15026. +$as_echo "no" >&6; }
  15027. +fi
  15028. +
  15029. + if test "x$ac_ct_RANLIB" = x; then
  15030. + RANLIB=":"
  15031. + else
  15032. + case $cross_compiling:$ac_tool_warned in
  15033. +yes:)
  15034. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15035. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15036. +ac_tool_warned=yes ;;
  15037. +esac
  15038. + RANLIB=$ac_ct_RANLIB
  15039. + fi
  15040. +else
  15041. + RANLIB="$ac_cv_prog_RANLIB"
  15042. +fi
  15043. +
  15044. +test -z "$RANLIB" && RANLIB=:
  15045. +
  15046. +
  15047. +
  15048. +
  15049. +
  15050. +
  15051. +# Determine commands to create old-style static archives.
  15052. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  15053. +old_postinstall_cmds='chmod 644 $oldlib'
  15054. +old_postuninstall_cmds=
  15055. +
  15056. +if test -n "$RANLIB"; then
  15057. + case $host_os in
  15058. + openbsd*)
  15059. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  15060. + ;;
  15061. + *)
  15062. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  15063. + ;;
  15064. + esac
  15065. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  15066. +fi
  15067. +
  15068. +
  15069. +
  15070. +
  15071. +
  15072. +
  15073. +
  15074. +
  15075. +
  15076. +
  15077. +
  15078. +
  15079. +
  15080. +
  15081. +
  15082. +
  15083. +
  15084. +
  15085. +
  15086. +
  15087. +
  15088. +
  15089. +
  15090. +
  15091. +
  15092. +
  15093. +
  15094. +
  15095. +
  15096. +
  15097. +
  15098. +
  15099. +
  15100. +
  15101. +# If no C compiler was specified, use CC.
  15102. +LTCC=${LTCC-"$CC"}
  15103. +
  15104. +# If no C compiler flags were specified, use CFLAGS.
  15105. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  15106. +
  15107. +# Allow CC to be a program name with arguments.
  15108. +compiler=$CC
  15109. +
  15110. +
  15111. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  15112. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  15113. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  15114. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  15115. + $as_echo_n "(cached) " >&6
  15116. +else
  15117. +
  15118. +# These are sane defaults that work on at least a few old systems.
  15119. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  15120. +
  15121. +# Character class describing NM global symbol codes.
  15122. +symcode='[BCDEGRST]'
  15123. +
  15124. +# Regexp to match symbols that can be accessed directly from C.
  15125. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  15126. +
  15127. +# Define system-specific variables.
  15128. +case $host_os in
  15129. +aix*)
  15130. + symcode='[BCDT]'
  15131. + ;;
  15132. +cygwin* | mingw* | pw32* | cegcc*)
  15133. + symcode='[ABCDGISTW]'
  15134. + ;;
  15135. +hpux*)
  15136. + if test "$host_cpu" = ia64; then
  15137. + symcode='[ABCDEGRST]'
  15138. + fi
  15139. + ;;
  15140. +irix* | nonstopux*)
  15141. + symcode='[BCDEGRST]'
  15142. + ;;
  15143. +osf*)
  15144. + symcode='[BCDEGQRST]'
  15145. + ;;
  15146. +solaris*)
  15147. + symcode='[BDRT]'
  15148. + ;;
  15149. +sco3.2v5*)
  15150. + symcode='[DT]'
  15151. + ;;
  15152. +sysv4.2uw2*)
  15153. + symcode='[DT]'
  15154. + ;;
  15155. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  15156. + symcode='[ABDT]'
  15157. + ;;
  15158. +sysv4)
  15159. + symcode='[DFNSTU]'
  15160. + ;;
  15161. +esac
  15162. +
  15163. +# If we're using GNU nm, then use its standard symbol codes.
  15164. +case `$NM -V 2>&1` in
  15165. +*GNU* | *'with BFD'*)
  15166. + symcode='[ABCDGIRSTW]' ;;
  15167. +esac
  15168. +
  15169. +# Transform an extracted symbol line into a proper C declaration.
  15170. +# Some systems (esp. on ia64) link data and code symbols differently,
  15171. +# so use this general approach.
  15172. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  15173. +
  15174. +# Transform an extracted symbol line into symbol name and symbol address
  15175. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  15176. +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'"
  15177. +
  15178. +# Handle CRLF in mingw tool chain
  15179. +opt_cr=
  15180. +case $build_os in
  15181. +mingw*)
  15182. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  15183. + ;;
  15184. +esac
  15185. +
  15186. +# Try without a prefix underscore, then with it.
  15187. +for ac_symprfx in "" "_"; do
  15188. +
  15189. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  15190. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  15191. +
  15192. + # Write the raw and C identifiers.
  15193. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  15194. + # Fake it for dumpbin and say T for any non-static function
  15195. + # and D for any global variable.
  15196. + # Also find C++ and __fastcall symbols from MSVC++,
  15197. + # which start with @ or ?.
  15198. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  15199. +" {last_section=section; section=\$ 3};"\
  15200. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  15201. +" \$ 0!~/External *\|/{next};"\
  15202. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  15203. +" {if(hide[section]) next};"\
  15204. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  15205. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  15206. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  15207. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  15208. +" ' prfx=^$ac_symprfx"
  15209. + else
  15210. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  15211. + fi
  15212. +
  15213. + # Check to see that the pipe works correctly.
  15214. + pipe_works=no
  15215. +
  15216. + rm -f conftest*
  15217. + cat > conftest.$ac_ext <<_LT_EOF
  15218. +#ifdef __cplusplus
  15219. +extern "C" {
  15220. +#endif
  15221. +char nm_test_var;
  15222. +void nm_test_func(void);
  15223. +void nm_test_func(void){}
  15224. +#ifdef __cplusplus
  15225. +}
  15226. +#endif
  15227. +int main(){nm_test_var='a';nm_test_func();return(0);}
  15228. +_LT_EOF
  15229. +
  15230. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15231. + (eval $ac_compile) 2>&5
  15232. + ac_status=$?
  15233. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15234. + test $ac_status = 0; }; then
  15235. + # Now try to grab the symbols.
  15236. + nlist=conftest.nm
  15237. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  15238. + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  15239. + ac_status=$?
  15240. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15241. + test $ac_status = 0; } && test -s "$nlist"; then
  15242. + # Try sorting and uniquifying the output.
  15243. + if sort "$nlist" | uniq > "$nlist"T; then
  15244. + mv -f "$nlist"T "$nlist"
  15245. + else
  15246. + rm -f "$nlist"T
  15247. + fi
  15248. +
  15249. + # Make sure that we snagged all the symbols we need.
  15250. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  15251. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  15252. + cat <<_LT_EOF > conftest.$ac_ext
  15253. +#ifdef __cplusplus
  15254. +extern "C" {
  15255. +#endif
  15256. +
  15257. +_LT_EOF
  15258. + # Now generate the symbol file.
  15259. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  15260. +
  15261. + cat <<_LT_EOF >> conftest.$ac_ext
  15262. +
  15263. +/* The mapping between symbol names and symbols. */
  15264. +const struct {
  15265. + const char *name;
  15266. + void *address;
  15267. +}
  15268. +lt__PROGRAM__LTX_preloaded_symbols[] =
  15269. +{
  15270. + { "@PROGRAM@", (void *) 0 },
  15271. +_LT_EOF
  15272. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  15273. + cat <<\_LT_EOF >> conftest.$ac_ext
  15274. + {0, (void *) 0}
  15275. +};
  15276. +
  15277. +/* This works around a problem in FreeBSD linker */
  15278. +#ifdef FREEBSD_WORKAROUND
  15279. +static const void *lt_preloaded_setup() {
  15280. + return lt__PROGRAM__LTX_preloaded_symbols;
  15281. +}
  15282. +#endif
  15283. +
  15284. +#ifdef __cplusplus
  15285. +}
  15286. +#endif
  15287. +_LT_EOF
  15288. + # Now try linking the two files.
  15289. + mv conftest.$ac_objext conftstm.$ac_objext
  15290. + lt_save_LIBS="$LIBS"
  15291. + lt_save_CFLAGS="$CFLAGS"
  15292. + LIBS="conftstm.$ac_objext"
  15293. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  15294. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  15295. + (eval $ac_link) 2>&5
  15296. + ac_status=$?
  15297. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15298. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  15299. + pipe_works=yes
  15300. + fi
  15301. + LIBS="$lt_save_LIBS"
  15302. + CFLAGS="$lt_save_CFLAGS"
  15303. + else
  15304. + echo "cannot find nm_test_func in $nlist" >&5
  15305. + fi
  15306. + else
  15307. + echo "cannot find nm_test_var in $nlist" >&5
  15308. + fi
  15309. + else
  15310. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  15311. + fi
  15312. + else
  15313. + echo "$progname: failed program was:" >&5
  15314. + cat conftest.$ac_ext >&5
  15315. + fi
  15316. + rm -rf conftest* conftst*
  15317. +
  15318. + # Do not use the global_symbol_pipe unless it works.
  15319. + if test "$pipe_works" = yes; then
  15320. + break
  15321. + else
  15322. + lt_cv_sys_global_symbol_pipe=
  15323. + fi
  15324. +done
  15325. +
  15326. +fi
  15327. +
  15328. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  15329. + lt_cv_sys_global_symbol_to_cdecl=
  15330. +fi
  15331. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  15332. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  15333. +$as_echo "failed" >&6; }
  15334. +else
  15335. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  15336. +$as_echo "ok" >&6; }
  15337. +fi
  15338. +
  15339. +
  15340. +
  15341. +
  15342. +
  15343. +
  15344. +
  15345. +
  15346. +
  15347. +
  15348. +
  15349. +
  15350. +
  15351. +
  15352. +
  15353. +
  15354. +
  15355. +
  15356. +
  15357. +
  15358. +
  15359. +
  15360. +
  15361. +@%:@ Check whether --enable-libtool-lock was given.
  15362. +if test "${enable_libtool_lock+set}" = set; then :
  15363. + enableval=$enable_libtool_lock;
  15364. +fi
  15365. +
  15366. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  15367. +
  15368. +# Some flags need to be propagated to the compiler or linker for good
  15369. +# libtool support.
  15370. +case $host in
  15371. +ia64-*-hpux*)
  15372. + # Find out which ABI we are using.
  15373. + echo 'int i;' > conftest.$ac_ext
  15374. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15375. + (eval $ac_compile) 2>&5
  15376. + ac_status=$?
  15377. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15378. + test $ac_status = 0; }; then
  15379. + case `/usr/bin/file conftest.$ac_objext` in
  15380. + *ELF-32*)
  15381. + HPUX_IA64_MODE="32"
  15382. + ;;
  15383. + *ELF-64*)
  15384. + HPUX_IA64_MODE="64"
  15385. + ;;
  15386. + esac
  15387. + fi
  15388. + rm -rf conftest*
  15389. + ;;
  15390. +*-*-irix6*)
  15391. + # Find out which ABI we are using.
  15392. + echo '#line __oline__ "configure"' > conftest.$ac_ext
  15393. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15394. + (eval $ac_compile) 2>&5
  15395. + ac_status=$?
  15396. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15397. + test $ac_status = 0; }; then
  15398. + if test "$lt_cv_prog_gnu_ld" = yes; then
  15399. + case `/usr/bin/file conftest.$ac_objext` in
  15400. + *32-bit*)
  15401. + LD="${LD-ld} -melf32bsmip"
  15402. + ;;
  15403. + *N32*)
  15404. + LD="${LD-ld} -melf32bmipn32"
  15405. + ;;
  15406. + *64-bit*)
  15407. + LD="${LD-ld} -melf64bmip"
  15408. + ;;
  15409. + esac
  15410. + else
  15411. + case `/usr/bin/file conftest.$ac_objext` in
  15412. + *32-bit*)
  15413. + LD="${LD-ld} -32"
  15414. + ;;
  15415. + *N32*)
  15416. + LD="${LD-ld} -n32"
  15417. + ;;
  15418. + *64-bit*)
  15419. + LD="${LD-ld} -64"
  15420. + ;;
  15421. + esac
  15422. + fi
  15423. + fi
  15424. + rm -rf conftest*
  15425. + ;;
  15426. +
  15427. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  15428. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  15429. + # Find out which ABI we are using.
  15430. + echo 'int i;' > conftest.$ac_ext
  15431. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15432. + (eval $ac_compile) 2>&5
  15433. + ac_status=$?
  15434. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15435. + test $ac_status = 0; }; then
  15436. + case `/usr/bin/file conftest.o` in
  15437. + *32-bit*)
  15438. + case $host in
  15439. + x86_64-*kfreebsd*-gnu)
  15440. + LD="${LD-ld} -m elf_i386_fbsd"
  15441. + ;;
  15442. + x86_64-*linux*)
  15443. + LD="${LD-ld} -m elf_i386"
  15444. + ;;
  15445. + ppc64-*linux*|powerpc64-*linux*)
  15446. + LD="${LD-ld} -m elf32ppclinux"
  15447. + ;;
  15448. + s390x-*linux*)
  15449. + LD="${LD-ld} -m elf_s390"
  15450. + ;;
  15451. + sparc64-*linux*)
  15452. + LD="${LD-ld} -m elf32_sparc"
  15453. + ;;
  15454. + esac
  15455. + ;;
  15456. + *64-bit*)
  15457. + case $host in
  15458. + x86_64-*kfreebsd*-gnu)
  15459. + LD="${LD-ld} -m elf_x86_64_fbsd"
  15460. + ;;
  15461. + x86_64-*linux*)
  15462. + LD="${LD-ld} -m elf_x86_64"
  15463. + ;;
  15464. + ppc*-*linux*|powerpc*-*linux*)
  15465. + LD="${LD-ld} -m elf64ppc"
  15466. + ;;
  15467. + s390*-*linux*|s390*-*tpf*)
  15468. + LD="${LD-ld} -m elf64_s390"
  15469. + ;;
  15470. + sparc*-*linux*)
  15471. + LD="${LD-ld} -m elf64_sparc"
  15472. + ;;
  15473. + esac
  15474. + ;;
  15475. + esac
  15476. + fi
  15477. + rm -rf conftest*
  15478. + ;;
  15479. +
  15480. +*-*-sco3.2v5*)
  15481. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  15482. + SAVE_CFLAGS="$CFLAGS"
  15483. + CFLAGS="$CFLAGS -belf"
  15484. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  15485. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  15486. +if ${lt_cv_cc_needs_belf+:} false; then :
  15487. + $as_echo_n "(cached) " >&6
  15488. +else
  15489. + ac_ext=c
  15490. +ac_cpp='$CPP $CPPFLAGS'
  15491. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15492. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15493. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15494. +
  15495. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15496. +/* end confdefs.h. */
  15497. +
  15498. +int
  15499. +main ()
  15500. +{
  15501. +
  15502. + ;
  15503. + return 0;
  15504. +}
  15505. +_ACEOF
  15506. +if ac_fn_c_try_link "$LINENO"; then :
  15507. + lt_cv_cc_needs_belf=yes
  15508. +else
  15509. + lt_cv_cc_needs_belf=no
  15510. +fi
  15511. +rm -f core conftest.err conftest.$ac_objext \
  15512. + conftest$ac_exeext conftest.$ac_ext
  15513. + ac_ext=c
  15514. +ac_cpp='$CPP $CPPFLAGS'
  15515. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15516. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15517. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15518. +
  15519. +fi
  15520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  15521. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  15522. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  15523. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  15524. + CFLAGS="$SAVE_CFLAGS"
  15525. + fi
  15526. + ;;
  15527. +sparc*-*solaris*)
  15528. + # Find out which ABI we are using.
  15529. + echo 'int i;' > conftest.$ac_ext
  15530. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15531. + (eval $ac_compile) 2>&5
  15532. + ac_status=$?
  15533. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15534. + test $ac_status = 0; }; then
  15535. + case `/usr/bin/file conftest.o` in
  15536. + *64-bit*)
  15537. + case $lt_cv_prog_gnu_ld in
  15538. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  15539. + *)
  15540. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  15541. + LD="${LD-ld} -64"
  15542. + fi
  15543. + ;;
  15544. + esac
  15545. + ;;
  15546. + esac
  15547. + fi
  15548. + rm -rf conftest*
  15549. + ;;
  15550. +esac
  15551. +
  15552. +need_locks="$enable_libtool_lock"
  15553. +
  15554. +
  15555. + case $host_os in
  15556. + rhapsody* | darwin*)
  15557. + if test -n "$ac_tool_prefix"; then
  15558. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  15559. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  15560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15561. +$as_echo_n "checking for $ac_word... " >&6; }
  15562. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  15563. + $as_echo_n "(cached) " >&6
  15564. +else
  15565. + if test -n "$DSYMUTIL"; then
  15566. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  15567. +else
  15568. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15569. +for as_dir in $PATH
  15570. +do
  15571. + IFS=$as_save_IFS
  15572. + test -z "$as_dir" && as_dir=.
  15573. + for ac_exec_ext in '' $ac_executable_extensions; do
  15574. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15575. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  15576. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15577. + break 2
  15578. + fi
  15579. +done
  15580. + done
  15581. +IFS=$as_save_IFS
  15582. +
  15583. +fi
  15584. +fi
  15585. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  15586. +if test -n "$DSYMUTIL"; then
  15587. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  15588. +$as_echo "$DSYMUTIL" >&6; }
  15589. +else
  15590. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15591. +$as_echo "no" >&6; }
  15592. +fi
  15593. +
  15594. +
  15595. +fi
  15596. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  15597. + ac_ct_DSYMUTIL=$DSYMUTIL
  15598. + # Extract the first word of "dsymutil", so it can be a program name with args.
  15599. +set dummy dsymutil; ac_word=$2
  15600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15601. +$as_echo_n "checking for $ac_word... " >&6; }
  15602. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  15603. + $as_echo_n "(cached) " >&6
  15604. +else
  15605. + if test -n "$ac_ct_DSYMUTIL"; then
  15606. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  15607. +else
  15608. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15609. +for as_dir in $PATH
  15610. +do
  15611. + IFS=$as_save_IFS
  15612. + test -z "$as_dir" && as_dir=.
  15613. + for ac_exec_ext in '' $ac_executable_extensions; do
  15614. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15615. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  15616. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15617. + break 2
  15618. + fi
  15619. +done
  15620. + done
  15621. +IFS=$as_save_IFS
  15622. +
  15623. +fi
  15624. +fi
  15625. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  15626. +if test -n "$ac_ct_DSYMUTIL"; then
  15627. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  15628. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  15629. +else
  15630. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15631. +$as_echo "no" >&6; }
  15632. +fi
  15633. +
  15634. + if test "x$ac_ct_DSYMUTIL" = x; then
  15635. + DSYMUTIL=":"
  15636. + else
  15637. + case $cross_compiling:$ac_tool_warned in
  15638. +yes:)
  15639. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15640. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15641. +ac_tool_warned=yes ;;
  15642. +esac
  15643. + DSYMUTIL=$ac_ct_DSYMUTIL
  15644. + fi
  15645. +else
  15646. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  15647. +fi
  15648. +
  15649. + if test -n "$ac_tool_prefix"; then
  15650. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  15651. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  15652. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15653. +$as_echo_n "checking for $ac_word... " >&6; }
  15654. +if ${ac_cv_prog_NMEDIT+:} false; then :
  15655. + $as_echo_n "(cached) " >&6
  15656. +else
  15657. + if test -n "$NMEDIT"; then
  15658. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  15659. +else
  15660. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15661. +for as_dir in $PATH
  15662. +do
  15663. + IFS=$as_save_IFS
  15664. + test -z "$as_dir" && as_dir=.
  15665. + for ac_exec_ext in '' $ac_executable_extensions; do
  15666. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15667. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  15668. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15669. + break 2
  15670. + fi
  15671. +done
  15672. + done
  15673. +IFS=$as_save_IFS
  15674. +
  15675. +fi
  15676. +fi
  15677. +NMEDIT=$ac_cv_prog_NMEDIT
  15678. +if test -n "$NMEDIT"; then
  15679. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  15680. +$as_echo "$NMEDIT" >&6; }
  15681. +else
  15682. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15683. +$as_echo "no" >&6; }
  15684. +fi
  15685. +
  15686. +
  15687. +fi
  15688. +if test -z "$ac_cv_prog_NMEDIT"; then
  15689. + ac_ct_NMEDIT=$NMEDIT
  15690. + # Extract the first word of "nmedit", so it can be a program name with args.
  15691. +set dummy nmedit; ac_word=$2
  15692. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15693. +$as_echo_n "checking for $ac_word... " >&6; }
  15694. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  15695. + $as_echo_n "(cached) " >&6
  15696. +else
  15697. + if test -n "$ac_ct_NMEDIT"; then
  15698. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  15699. +else
  15700. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15701. +for as_dir in $PATH
  15702. +do
  15703. + IFS=$as_save_IFS
  15704. + test -z "$as_dir" && as_dir=.
  15705. + for ac_exec_ext in '' $ac_executable_extensions; do
  15706. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15707. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  15708. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15709. + break 2
  15710. + fi
  15711. +done
  15712. + done
  15713. +IFS=$as_save_IFS
  15714. +
  15715. +fi
  15716. +fi
  15717. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  15718. +if test -n "$ac_ct_NMEDIT"; then
  15719. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  15720. +$as_echo "$ac_ct_NMEDIT" >&6; }
  15721. +else
  15722. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15723. +$as_echo "no" >&6; }
  15724. +fi
  15725. +
  15726. + if test "x$ac_ct_NMEDIT" = x; then
  15727. + NMEDIT=":"
  15728. + else
  15729. + case $cross_compiling:$ac_tool_warned in
  15730. +yes:)
  15731. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15732. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15733. +ac_tool_warned=yes ;;
  15734. +esac
  15735. + NMEDIT=$ac_ct_NMEDIT
  15736. + fi
  15737. +else
  15738. + NMEDIT="$ac_cv_prog_NMEDIT"
  15739. +fi
  15740. +
  15741. + if test -n "$ac_tool_prefix"; then
  15742. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  15743. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  15744. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15745. +$as_echo_n "checking for $ac_word... " >&6; }
  15746. +if ${ac_cv_prog_LIPO+:} false; then :
  15747. + $as_echo_n "(cached) " >&6
  15748. +else
  15749. + if test -n "$LIPO"; then
  15750. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  15751. +else
  15752. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15753. +for as_dir in $PATH
  15754. +do
  15755. + IFS=$as_save_IFS
  15756. + test -z "$as_dir" && as_dir=.
  15757. + for ac_exec_ext in '' $ac_executable_extensions; do
  15758. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15759. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  15760. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15761. + break 2
  15762. + fi
  15763. +done
  15764. + done
  15765. +IFS=$as_save_IFS
  15766. +
  15767. +fi
  15768. +fi
  15769. +LIPO=$ac_cv_prog_LIPO
  15770. +if test -n "$LIPO"; then
  15771. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  15772. +$as_echo "$LIPO" >&6; }
  15773. +else
  15774. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15775. +$as_echo "no" >&6; }
  15776. +fi
  15777. +
  15778. +
  15779. +fi
  15780. +if test -z "$ac_cv_prog_LIPO"; then
  15781. + ac_ct_LIPO=$LIPO
  15782. + # Extract the first word of "lipo", so it can be a program name with args.
  15783. +set dummy lipo; ac_word=$2
  15784. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15785. +$as_echo_n "checking for $ac_word... " >&6; }
  15786. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  15787. + $as_echo_n "(cached) " >&6
  15788. +else
  15789. + if test -n "$ac_ct_LIPO"; then
  15790. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  15791. +else
  15792. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15793. +for as_dir in $PATH
  15794. +do
  15795. + IFS=$as_save_IFS
  15796. + test -z "$as_dir" && as_dir=.
  15797. + for ac_exec_ext in '' $ac_executable_extensions; do
  15798. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15799. + ac_cv_prog_ac_ct_LIPO="lipo"
  15800. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15801. + break 2
  15802. + fi
  15803. +done
  15804. + done
  15805. +IFS=$as_save_IFS
  15806. +
  15807. +fi
  15808. +fi
  15809. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  15810. +if test -n "$ac_ct_LIPO"; then
  15811. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  15812. +$as_echo "$ac_ct_LIPO" >&6; }
  15813. +else
  15814. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15815. +$as_echo "no" >&6; }
  15816. +fi
  15817. +
  15818. + if test "x$ac_ct_LIPO" = x; then
  15819. + LIPO=":"
  15820. + else
  15821. + case $cross_compiling:$ac_tool_warned in
  15822. +yes:)
  15823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15824. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15825. +ac_tool_warned=yes ;;
  15826. +esac
  15827. + LIPO=$ac_ct_LIPO
  15828. + fi
  15829. +else
  15830. + LIPO="$ac_cv_prog_LIPO"
  15831. +fi
  15832. +
  15833. + if test -n "$ac_tool_prefix"; then
  15834. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  15835. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  15836. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15837. +$as_echo_n "checking for $ac_word... " >&6; }
  15838. +if ${ac_cv_prog_OTOOL+:} false; then :
  15839. + $as_echo_n "(cached) " >&6
  15840. +else
  15841. + if test -n "$OTOOL"; then
  15842. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  15843. +else
  15844. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15845. +for as_dir in $PATH
  15846. +do
  15847. + IFS=$as_save_IFS
  15848. + test -z "$as_dir" && as_dir=.
  15849. + for ac_exec_ext in '' $ac_executable_extensions; do
  15850. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15851. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  15852. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15853. + break 2
  15854. + fi
  15855. +done
  15856. + done
  15857. +IFS=$as_save_IFS
  15858. +
  15859. +fi
  15860. +fi
  15861. +OTOOL=$ac_cv_prog_OTOOL
  15862. +if test -n "$OTOOL"; then
  15863. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  15864. +$as_echo "$OTOOL" >&6; }
  15865. +else
  15866. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15867. +$as_echo "no" >&6; }
  15868. +fi
  15869. +
  15870. +
  15871. +fi
  15872. +if test -z "$ac_cv_prog_OTOOL"; then
  15873. + ac_ct_OTOOL=$OTOOL
  15874. + # Extract the first word of "otool", so it can be a program name with args.
  15875. +set dummy otool; ac_word=$2
  15876. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15877. +$as_echo_n "checking for $ac_word... " >&6; }
  15878. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  15879. + $as_echo_n "(cached) " >&6
  15880. +else
  15881. + if test -n "$ac_ct_OTOOL"; then
  15882. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  15883. +else
  15884. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15885. +for as_dir in $PATH
  15886. +do
  15887. + IFS=$as_save_IFS
  15888. + test -z "$as_dir" && as_dir=.
  15889. + for ac_exec_ext in '' $ac_executable_extensions; do
  15890. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15891. + ac_cv_prog_ac_ct_OTOOL="otool"
  15892. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15893. + break 2
  15894. + fi
  15895. +done
  15896. + done
  15897. +IFS=$as_save_IFS
  15898. +
  15899. +fi
  15900. +fi
  15901. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  15902. +if test -n "$ac_ct_OTOOL"; then
  15903. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  15904. +$as_echo "$ac_ct_OTOOL" >&6; }
  15905. +else
  15906. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15907. +$as_echo "no" >&6; }
  15908. +fi
  15909. +
  15910. + if test "x$ac_ct_OTOOL" = x; then
  15911. + OTOOL=":"
  15912. + else
  15913. + case $cross_compiling:$ac_tool_warned in
  15914. +yes:)
  15915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15916. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15917. +ac_tool_warned=yes ;;
  15918. +esac
  15919. + OTOOL=$ac_ct_OTOOL
  15920. + fi
  15921. +else
  15922. + OTOOL="$ac_cv_prog_OTOOL"
  15923. +fi
  15924. +
  15925. + if test -n "$ac_tool_prefix"; then
  15926. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  15927. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  15928. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15929. +$as_echo_n "checking for $ac_word... " >&6; }
  15930. +if ${ac_cv_prog_OTOOL64+:} false; then :
  15931. + $as_echo_n "(cached) " >&6
  15932. +else
  15933. + if test -n "$OTOOL64"; then
  15934. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  15935. +else
  15936. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15937. +for as_dir in $PATH
  15938. +do
  15939. + IFS=$as_save_IFS
  15940. + test -z "$as_dir" && as_dir=.
  15941. + for ac_exec_ext in '' $ac_executable_extensions; do
  15942. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15943. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  15944. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15945. + break 2
  15946. + fi
  15947. +done
  15948. + done
  15949. +IFS=$as_save_IFS
  15950. +
  15951. +fi
  15952. +fi
  15953. +OTOOL64=$ac_cv_prog_OTOOL64
  15954. +if test -n "$OTOOL64"; then
  15955. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  15956. +$as_echo "$OTOOL64" >&6; }
  15957. +else
  15958. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15959. +$as_echo "no" >&6; }
  15960. +fi
  15961. +
  15962. +
  15963. +fi
  15964. +if test -z "$ac_cv_prog_OTOOL64"; then
  15965. + ac_ct_OTOOL64=$OTOOL64
  15966. + # Extract the first word of "otool64", so it can be a program name with args.
  15967. +set dummy otool64; ac_word=$2
  15968. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15969. +$as_echo_n "checking for $ac_word... " >&6; }
  15970. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  15971. + $as_echo_n "(cached) " >&6
  15972. +else
  15973. + if test -n "$ac_ct_OTOOL64"; then
  15974. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  15975. +else
  15976. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15977. +for as_dir in $PATH
  15978. +do
  15979. + IFS=$as_save_IFS
  15980. + test -z "$as_dir" && as_dir=.
  15981. + for ac_exec_ext in '' $ac_executable_extensions; do
  15982. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15983. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  15984. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15985. + break 2
  15986. + fi
  15987. +done
  15988. + done
  15989. +IFS=$as_save_IFS
  15990. +
  15991. +fi
  15992. +fi
  15993. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  15994. +if test -n "$ac_ct_OTOOL64"; then
  15995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  15996. +$as_echo "$ac_ct_OTOOL64" >&6; }
  15997. +else
  15998. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15999. +$as_echo "no" >&6; }
  16000. +fi
  16001. +
  16002. + if test "x$ac_ct_OTOOL64" = x; then
  16003. + OTOOL64=":"
  16004. + else
  16005. + case $cross_compiling:$ac_tool_warned in
  16006. +yes:)
  16007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  16008. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  16009. +ac_tool_warned=yes ;;
  16010. +esac
  16011. + OTOOL64=$ac_ct_OTOOL64
  16012. + fi
  16013. +else
  16014. + OTOOL64="$ac_cv_prog_OTOOL64"
  16015. +fi
  16016. +
  16017. +
  16018. +
  16019. +
  16020. +
  16021. +
  16022. +
  16023. +
  16024. +
  16025. +
  16026. +
  16027. +
  16028. +
  16029. +
  16030. +
  16031. +
  16032. +
  16033. +
  16034. +
  16035. +
  16036. +
  16037. +
  16038. +
  16039. +
  16040. +
  16041. +
  16042. +
  16043. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  16044. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  16045. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  16046. + $as_echo_n "(cached) " >&6
  16047. +else
  16048. + lt_cv_apple_cc_single_mod=no
  16049. + if test -z "${LT_MULTI_MODULE}"; then
  16050. + # By default we will add the -single_module flag. You can override
  16051. + # by either setting the environment variable LT_MULTI_MODULE
  16052. + # non-empty at configure time, or by adding -multi_module to the
  16053. + # link flags.
  16054. + rm -rf libconftest.dylib*
  16055. + echo "int foo(void){return 1;}" > conftest.c
  16056. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  16057. +-dynamiclib -Wl,-single_module conftest.c" >&5
  16058. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  16059. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  16060. + _lt_result=$?
  16061. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  16062. + lt_cv_apple_cc_single_mod=yes
  16063. + else
  16064. + cat conftest.err >&5
  16065. + fi
  16066. + rm -rf libconftest.dylib*
  16067. + rm -f conftest.*
  16068. + fi
  16069. +fi
  16070. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  16071. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  16072. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  16073. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  16074. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  16075. + $as_echo_n "(cached) " >&6
  16076. +else
  16077. + lt_cv_ld_exported_symbols_list=no
  16078. + save_LDFLAGS=$LDFLAGS
  16079. + echo "_main" > conftest.sym
  16080. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  16081. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16082. +/* end confdefs.h. */
  16083. +
  16084. +int
  16085. +main ()
  16086. +{
  16087. +
  16088. + ;
  16089. + return 0;
  16090. +}
  16091. +_ACEOF
  16092. +if ac_fn_c_try_link "$LINENO"; then :
  16093. + lt_cv_ld_exported_symbols_list=yes
  16094. +else
  16095. + lt_cv_ld_exported_symbols_list=no
  16096. +fi
  16097. +rm -f core conftest.err conftest.$ac_objext \
  16098. + conftest$ac_exeext conftest.$ac_ext
  16099. + LDFLAGS="$save_LDFLAGS"
  16100. +
  16101. +fi
  16102. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  16103. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  16104. + case $host_os in
  16105. + rhapsody* | darwin1.[012])
  16106. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  16107. + darwin1.*)
  16108. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  16109. + darwin*) # darwin 5.x on
  16110. + # if running on 10.5 or later, the deployment target defaults
  16111. + # to the OS version, if on x86, and 10.4, the deployment
  16112. + # target defaults to 10.4. Don't you love it?
  16113. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  16114. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  16115. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  16116. + 10.[012]*)
  16117. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  16118. + 10.*)
  16119. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  16120. + esac
  16121. + ;;
  16122. + esac
  16123. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  16124. + _lt_dar_single_mod='$single_module'
  16125. + fi
  16126. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  16127. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  16128. + else
  16129. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  16130. + fi
  16131. + if test "$DSYMUTIL" != ":"; then
  16132. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  16133. + else
  16134. + _lt_dsymutil=
  16135. + fi
  16136. + ;;
  16137. + esac
  16138. +
  16139. +ac_ext=c
  16140. +ac_cpp='$CPP $CPPFLAGS'
  16141. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16142. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16143. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16144. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  16145. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  16146. +# On Suns, sometimes $CPP names a directory.
  16147. +if test -n "$CPP" && test -d "$CPP"; then
  16148. + CPP=
  16149. +fi
  16150. +if test -z "$CPP"; then
  16151. + if ${ac_cv_prog_CPP+:} false; then :
  16152. + $as_echo_n "(cached) " >&6
  16153. +else
  16154. + # Double quotes because CPP needs to be expanded
  16155. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  16156. + do
  16157. + ac_preproc_ok=false
  16158. +for ac_c_preproc_warn_flag in '' yes
  16159. +do
  16160. + # Use a header file that comes with gcc, so configuring glibc
  16161. + # with a fresh cross-compiler works.
  16162. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16163. + # <limits.h> exists even on freestanding compilers.
  16164. + # On the NeXT, cc -E runs the code through the compiler's parser,
  16165. + # not just through cpp. "Syntax error" is here to catch this case.
  16166. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16167. +/* end confdefs.h. */
  16168. +@%:@ifdef __STDC__
  16169. +@%:@ include <limits.h>
  16170. +@%:@else
  16171. +@%:@ include <assert.h>
  16172. +@%:@endif
  16173. + Syntax error
  16174. +_ACEOF
  16175. +if ac_fn_c_try_cpp "$LINENO"; then :
  16176. +
  16177. +else
  16178. + # Broken: fails on valid input.
  16179. +continue
  16180. +fi
  16181. +rm -f conftest.err conftest.i conftest.$ac_ext
  16182. +
  16183. + # OK, works on sane cases. Now check whether nonexistent headers
  16184. + # can be detected and how.
  16185. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16186. +/* end confdefs.h. */
  16187. +@%:@include <ac_nonexistent.h>
  16188. +_ACEOF
  16189. +if ac_fn_c_try_cpp "$LINENO"; then :
  16190. + # Broken: success on invalid input.
  16191. +continue
  16192. +else
  16193. + # Passes both tests.
  16194. +ac_preproc_ok=:
  16195. +break
  16196. +fi
  16197. +rm -f conftest.err conftest.i conftest.$ac_ext
  16198. +
  16199. +done
  16200. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16201. +rm -f conftest.i conftest.err conftest.$ac_ext
  16202. +if $ac_preproc_ok; then :
  16203. + break
  16204. +fi
  16205. +
  16206. + done
  16207. + ac_cv_prog_CPP=$CPP
  16208. +
  16209. +fi
  16210. + CPP=$ac_cv_prog_CPP
  16211. +else
  16212. + ac_cv_prog_CPP=$CPP
  16213. +fi
  16214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  16215. +$as_echo "$CPP" >&6; }
  16216. +ac_preproc_ok=false
  16217. +for ac_c_preproc_warn_flag in '' yes
  16218. +do
  16219. + # Use a header file that comes with gcc, so configuring glibc
  16220. + # with a fresh cross-compiler works.
  16221. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16222. + # <limits.h> exists even on freestanding compilers.
  16223. + # On the NeXT, cc -E runs the code through the compiler's parser,
  16224. + # not just through cpp. "Syntax error" is here to catch this case.
  16225. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16226. +/* end confdefs.h. */
  16227. +@%:@ifdef __STDC__
  16228. +@%:@ include <limits.h>
  16229. +@%:@else
  16230. +@%:@ include <assert.h>
  16231. +@%:@endif
  16232. + Syntax error
  16233. +_ACEOF
  16234. +if ac_fn_c_try_cpp "$LINENO"; then :
  16235. +
  16236. +else
  16237. + # Broken: fails on valid input.
  16238. +continue
  16239. +fi
  16240. +rm -f conftest.err conftest.i conftest.$ac_ext
  16241. +
  16242. + # OK, works on sane cases. Now check whether nonexistent headers
  16243. + # can be detected and how.
  16244. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16245. +/* end confdefs.h. */
  16246. +@%:@include <ac_nonexistent.h>
  16247. +_ACEOF
  16248. +if ac_fn_c_try_cpp "$LINENO"; then :
  16249. + # Broken: success on invalid input.
  16250. +continue
  16251. +else
  16252. + # Passes both tests.
  16253. +ac_preproc_ok=:
  16254. +break
  16255. +fi
  16256. +rm -f conftest.err conftest.i conftest.$ac_ext
  16257. +
  16258. +done
  16259. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16260. +rm -f conftest.i conftest.err conftest.$ac_ext
  16261. +if $ac_preproc_ok; then :
  16262. +
  16263. +else
  16264. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16265. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16266. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  16267. +See \`config.log' for more details" "$LINENO" 5; }
  16268. +fi
  16269. +
  16270. +ac_ext=c
  16271. +ac_cpp='$CPP $CPPFLAGS'
  16272. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16273. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16274. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16275. +
  16276. +
  16277. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  16278. +$as_echo_n "checking for ANSI C header files... " >&6; }
  16279. +if ${ac_cv_header_stdc+:} false; then :
  16280. + $as_echo_n "(cached) " >&6
  16281. +else
  16282. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16283. +/* end confdefs.h. */
  16284. +#include <stdlib.h>
  16285. +#include <stdarg.h>
  16286. +#include <string.h>
  16287. +#include <float.h>
  16288. +
  16289. +int
  16290. +main ()
  16291. +{
  16292. +
  16293. + ;
  16294. + return 0;
  16295. +}
  16296. +_ACEOF
  16297. +if ac_fn_c_try_compile "$LINENO"; then :
  16298. + ac_cv_header_stdc=yes
  16299. +else
  16300. + ac_cv_header_stdc=no
  16301. +fi
  16302. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16303. +
  16304. +if test $ac_cv_header_stdc = yes; then
  16305. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  16306. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16307. +/* end confdefs.h. */
  16308. +#include <string.h>
  16309. +
  16310. +_ACEOF
  16311. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16312. + $EGREP "memchr" >/dev/null 2>&1; then :
  16313. +
  16314. +else
  16315. + ac_cv_header_stdc=no
  16316. +fi
  16317. +rm -f conftest*
  16318. +
  16319. +fi
  16320. +
  16321. +if test $ac_cv_header_stdc = yes; then
  16322. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  16323. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16324. +/* end confdefs.h. */
  16325. +#include <stdlib.h>
  16326. +
  16327. +_ACEOF
  16328. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16329. + $EGREP "free" >/dev/null 2>&1; then :
  16330. +
  16331. +else
  16332. + ac_cv_header_stdc=no
  16333. +fi
  16334. +rm -f conftest*
  16335. +
  16336. +fi
  16337. +
  16338. +if test $ac_cv_header_stdc = yes; then
  16339. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  16340. + if test "$cross_compiling" = yes; then :
  16341. + :
  16342. +else
  16343. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16344. +/* end confdefs.h. */
  16345. +#include <ctype.h>
  16346. +#include <stdlib.h>
  16347. +#if ((' ' & 0x0FF) == 0x020)
  16348. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  16349. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  16350. +#else
  16351. +# define ISLOWER(c) \
  16352. + (('a' <= (c) && (c) <= 'i') \
  16353. + || ('j' <= (c) && (c) <= 'r') \
  16354. + || ('s' <= (c) && (c) <= 'z'))
  16355. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  16356. +#endif
  16357. +
  16358. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  16359. +int
  16360. +main ()
  16361. +{
  16362. + int i;
  16363. + for (i = 0; i < 256; i++)
  16364. + if (XOR (islower (i), ISLOWER (i))
  16365. + || toupper (i) != TOUPPER (i))
  16366. + return 2;
  16367. + return 0;
  16368. +}
  16369. +_ACEOF
  16370. +if ac_fn_c_try_run "$LINENO"; then :
  16371. +
  16372. +else
  16373. + ac_cv_header_stdc=no
  16374. +fi
  16375. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16376. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16377. +fi
  16378. +
  16379. +fi
  16380. +fi
  16381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  16382. +$as_echo "$ac_cv_header_stdc" >&6; }
  16383. +if test $ac_cv_header_stdc = yes; then
  16384. +
  16385. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  16386. +
  16387. +fi
  16388. +
  16389. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  16390. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  16391. + inttypes.h stdint.h unistd.h
  16392. +do :
  16393. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16394. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  16395. +"
  16396. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16397. + cat >>confdefs.h <<_ACEOF
  16398. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16399. +_ACEOF
  16400. +
  16401. +fi
  16402. +
  16403. +done
  16404. +
  16405. +
  16406. +for ac_header in dlfcn.h
  16407. +do :
  16408. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  16409. +"
  16410. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  16411. + cat >>confdefs.h <<_ACEOF
  16412. +@%:@define HAVE_DLFCN_H 1
  16413. +_ACEOF
  16414. +
  16415. +fi
  16416. +
  16417. +done
  16418. +
  16419. +
  16420. +
  16421. +# Set options
  16422. +
  16423. +
  16424. +
  16425. + enable_dlopen=no
  16426. +
  16427. +
  16428. + enable_win32_dll=no
  16429. +
  16430. +
  16431. + @%:@ Check whether --enable-shared was given.
  16432. +if test "${enable_shared+set}" = set; then :
  16433. + enableval=$enable_shared; p=${PACKAGE-default}
  16434. + case $enableval in
  16435. + yes) enable_shared=yes ;;
  16436. + no) enable_shared=no ;;
  16437. + *)
  16438. + enable_shared=no
  16439. + # Look at the argument we got. We use all the common list separators.
  16440. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16441. + for pkg in $enableval; do
  16442. + IFS="$lt_save_ifs"
  16443. + if test "X$pkg" = "X$p"; then
  16444. + enable_shared=yes
  16445. + fi
  16446. + done
  16447. + IFS="$lt_save_ifs"
  16448. + ;;
  16449. + esac
  16450. +else
  16451. + enable_shared=yes
  16452. +fi
  16453. +
  16454. +
  16455. +
  16456. +
  16457. +
  16458. +
  16459. +
  16460. +
  16461. +
  16462. + @%:@ Check whether --enable-static was given.
  16463. +if test "${enable_static+set}" = set; then :
  16464. + enableval=$enable_static; p=${PACKAGE-default}
  16465. + case $enableval in
  16466. + yes) enable_static=yes ;;
  16467. + no) enable_static=no ;;
  16468. + *)
  16469. + enable_static=no
  16470. + # Look at the argument we got. We use all the common list separators.
  16471. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16472. + for pkg in $enableval; do
  16473. + IFS="$lt_save_ifs"
  16474. + if test "X$pkg" = "X$p"; then
  16475. + enable_static=yes
  16476. + fi
  16477. + done
  16478. + IFS="$lt_save_ifs"
  16479. + ;;
  16480. + esac
  16481. +else
  16482. + enable_static=yes
  16483. +fi
  16484. +
  16485. +
  16486. +
  16487. +
  16488. +
  16489. +
  16490. +
  16491. +
  16492. +
  16493. +
  16494. +@%:@ Check whether --with-pic was given.
  16495. +if test "${with_pic+set}" = set; then :
  16496. + withval=$with_pic; pic_mode="$withval"
  16497. +else
  16498. + pic_mode=default
  16499. +fi
  16500. +
  16501. +
  16502. +test -z "$pic_mode" && pic_mode=default
  16503. +
  16504. +
  16505. +
  16506. +
  16507. +
  16508. +
  16509. +
  16510. + @%:@ Check whether --enable-fast-install was given.
  16511. +if test "${enable_fast_install+set}" = set; then :
  16512. + enableval=$enable_fast_install; p=${PACKAGE-default}
  16513. + case $enableval in
  16514. + yes) enable_fast_install=yes ;;
  16515. + no) enable_fast_install=no ;;
  16516. + *)
  16517. + enable_fast_install=no
  16518. + # Look at the argument we got. We use all the common list separators.
  16519. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16520. + for pkg in $enableval; do
  16521. + IFS="$lt_save_ifs"
  16522. + if test "X$pkg" = "X$p"; then
  16523. + enable_fast_install=yes
  16524. + fi
  16525. + done
  16526. + IFS="$lt_save_ifs"
  16527. + ;;
  16528. + esac
  16529. +else
  16530. + enable_fast_install=yes
  16531. +fi
  16532. +
  16533. +
  16534. +
  16535. +
  16536. +
  16537. +
  16538. +
  16539. +
  16540. +
  16541. +
  16542. +
  16543. +# This can be used to rebuild libtool when needed
  16544. +LIBTOOL_DEPS="$ltmain"
  16545. +
  16546. +# Always use our own libtool.
  16547. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  16548. +
  16549. +
  16550. +
  16551. +
  16552. +
  16553. +
  16554. +
  16555. +
  16556. +
  16557. +
  16558. +
  16559. +
  16560. +
  16561. +
  16562. +
  16563. +
  16564. +
  16565. +
  16566. +
  16567. +
  16568. +
  16569. +
  16570. +
  16571. +
  16572. +
  16573. +test -z "$LN_S" && LN_S="ln -s"
  16574. +
  16575. +
  16576. +
  16577. +
  16578. +
  16579. +
  16580. +
  16581. +
  16582. +
  16583. +
  16584. +
  16585. +
  16586. +
  16587. +
  16588. +if test -n "${ZSH_VERSION+set}" ; then
  16589. + setopt NO_GLOB_SUBST
  16590. +fi
  16591. +
  16592. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  16593. +$as_echo_n "checking for objdir... " >&6; }
  16594. +if ${lt_cv_objdir+:} false; then :
  16595. + $as_echo_n "(cached) " >&6
  16596. +else
  16597. + rm -f .libs 2>/dev/null
  16598. +mkdir .libs 2>/dev/null
  16599. +if test -d .libs; then
  16600. + lt_cv_objdir=.libs
  16601. +else
  16602. + # MS-DOS does not allow filenames that begin with a dot.
  16603. + lt_cv_objdir=_libs
  16604. +fi
  16605. +rmdir .libs 2>/dev/null
  16606. +fi
  16607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  16608. +$as_echo "$lt_cv_objdir" >&6; }
  16609. +objdir=$lt_cv_objdir
  16610. +
  16611. +
  16612. +
  16613. +
  16614. +
  16615. +cat >>confdefs.h <<_ACEOF
  16616. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  16617. +_ACEOF
  16618. +
  16619. +
  16620. +
  16621. +
  16622. +
  16623. +
  16624. +
  16625. +
  16626. +
  16627. +
  16628. +
  16629. +
  16630. +
  16631. +
  16632. +
  16633. +
  16634. +
  16635. +case $host_os in
  16636. +aix3*)
  16637. + # AIX sometimes has problems with the GCC collect2 program. For some
  16638. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  16639. + # vanish in a puff of smoke.
  16640. + if test "X${COLLECT_NAMES+set}" != Xset; then
  16641. + COLLECT_NAMES=
  16642. + export COLLECT_NAMES
  16643. + fi
  16644. + ;;
  16645. +esac
  16646. +
  16647. +# Sed substitution that helps us do robust quoting. It backslashifies
  16648. +# metacharacters that are still active within double-quoted strings.
  16649. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  16650. +
  16651. +# Same as above, but do not quote variable references.
  16652. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  16653. +
  16654. +# Sed substitution to delay expansion of an escaped shell variable in a
  16655. +# double_quote_subst'ed string.
  16656. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  16657. +
  16658. +# Sed substitution to delay expansion of an escaped single quote.
  16659. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  16660. +
  16661. +# Sed substitution to avoid accidental globbing in evaled expressions
  16662. +no_glob_subst='s/\*/\\\*/g'
  16663. +
  16664. +# Global variables:
  16665. +ofile=libtool
  16666. +can_build_shared=yes
  16667. +
  16668. +# All known linkers require a `.a' archive for static linking (except MSVC,
  16669. +# which needs '.lib').
  16670. +libext=a
  16671. +
  16672. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  16673. +
  16674. +old_CC="$CC"
  16675. +old_CFLAGS="$CFLAGS"
  16676. +
  16677. +# Set sane defaults for various variables
  16678. +test -z "$CC" && CC=cc
  16679. +test -z "$LTCC" && LTCC=$CC
  16680. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  16681. +test -z "$LD" && LD=ld
  16682. +test -z "$ac_objext" && ac_objext=o
  16683. +
  16684. +for cc_temp in $compiler""; do
  16685. + case $cc_temp in
  16686. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  16687. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  16688. + \-*) ;;
  16689. + *) break;;
  16690. + esac
  16691. +done
  16692. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  16693. +
  16694. +
  16695. +# Only perform the check for file, if the check method requires it
  16696. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  16697. +case $deplibs_check_method in
  16698. +file_magic*)
  16699. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  16700. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  16701. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  16702. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  16703. + $as_echo_n "(cached) " >&6
  16704. +else
  16705. + case $MAGIC_CMD in
  16706. +[\\/*] | ?:[\\/]*)
  16707. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  16708. + ;;
  16709. +*)
  16710. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  16711. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  16712. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  16713. + for ac_dir in $ac_dummy; do
  16714. + IFS="$lt_save_ifs"
  16715. + test -z "$ac_dir" && ac_dir=.
  16716. + if test -f $ac_dir/${ac_tool_prefix}file; then
  16717. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  16718. + if test -n "$file_magic_test_file"; then
  16719. + case $deplibs_check_method in
  16720. + "file_magic "*)
  16721. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  16722. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16723. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  16724. + $EGREP "$file_magic_regex" > /dev/null; then
  16725. + :
  16726. + else
  16727. + cat <<_LT_EOF 1>&2
  16728. +
  16729. +*** Warning: the command libtool uses to detect shared libraries,
  16730. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  16731. +*** The result is that libtool may fail to recognize shared libraries
  16732. +*** as such. This will affect the creation of libtool libraries that
  16733. +*** depend on shared libraries, but programs linked with such libtool
  16734. +*** libraries will work regardless of this problem. Nevertheless, you
  16735. +*** may want to report the problem to your system manager and/or to
  16736. +
  16737. +_LT_EOF
  16738. + fi ;;
  16739. + esac
  16740. + fi
  16741. + break
  16742. + fi
  16743. + done
  16744. + IFS="$lt_save_ifs"
  16745. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  16746. + ;;
  16747. +esac
  16748. +fi
  16749. +
  16750. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16751. +if test -n "$MAGIC_CMD"; then
  16752. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  16753. +$as_echo "$MAGIC_CMD" >&6; }
  16754. +else
  16755. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16756. +$as_echo "no" >&6; }
  16757. +fi
  16758. +
  16759. +
  16760. +
  16761. +
  16762. +
  16763. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  16764. + if test -n "$ac_tool_prefix"; then
  16765. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  16766. +$as_echo_n "checking for file... " >&6; }
  16767. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  16768. + $as_echo_n "(cached) " >&6
  16769. +else
  16770. + case $MAGIC_CMD in
  16771. +[\\/*] | ?:[\\/]*)
  16772. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  16773. + ;;
  16774. +*)
  16775. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  16776. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  16777. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  16778. + for ac_dir in $ac_dummy; do
  16779. + IFS="$lt_save_ifs"
  16780. + test -z "$ac_dir" && ac_dir=.
  16781. + if test -f $ac_dir/file; then
  16782. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  16783. + if test -n "$file_magic_test_file"; then
  16784. + case $deplibs_check_method in
  16785. + "file_magic "*)
  16786. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  16787. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16788. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  16789. + $EGREP "$file_magic_regex" > /dev/null; then
  16790. + :
  16791. + else
  16792. + cat <<_LT_EOF 1>&2
  16793. +
  16794. +*** Warning: the command libtool uses to detect shared libraries,
  16795. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  16796. +*** The result is that libtool may fail to recognize shared libraries
  16797. +*** as such. This will affect the creation of libtool libraries that
  16798. +*** depend on shared libraries, but programs linked with such libtool
  16799. +*** libraries will work regardless of this problem. Nevertheless, you
  16800. +*** may want to report the problem to your system manager and/or to
  16801. +
  16802. +_LT_EOF
  16803. + fi ;;
  16804. + esac
  16805. + fi
  16806. + break
  16807. + fi
  16808. + done
  16809. + IFS="$lt_save_ifs"
  16810. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  16811. + ;;
  16812. +esac
  16813. +fi
  16814. +
  16815. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  16816. +if test -n "$MAGIC_CMD"; then
  16817. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  16818. +$as_echo "$MAGIC_CMD" >&6; }
  16819. +else
  16820. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16821. +$as_echo "no" >&6; }
  16822. +fi
  16823. +
  16824. +
  16825. + else
  16826. + MAGIC_CMD=:
  16827. + fi
  16828. +fi
  16829. +
  16830. + fi
  16831. + ;;
  16832. +esac
  16833. +
  16834. +# Use C for the default configuration in the libtool script
  16835. +
  16836. +lt_save_CC="$CC"
  16837. +ac_ext=c
  16838. +ac_cpp='$CPP $CPPFLAGS'
  16839. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16840. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16841. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16842. +
  16843. +
  16844. +# Source file extension for C test sources.
  16845. +ac_ext=c
  16846. +
  16847. +# Object file extension for compiled C test sources.
  16848. +objext=o
  16849. +objext=$objext
  16850. +
  16851. +# Code to be used in simple compile tests
  16852. +lt_simple_compile_test_code="int some_variable = 0;"
  16853. +
  16854. +# Code to be used in simple link tests
  16855. +lt_simple_link_test_code='int main(){return(0);}'
  16856. +
  16857. +
  16858. +
  16859. +
  16860. +
  16861. +
  16862. +
  16863. +# If no C compiler was specified, use CC.
  16864. +LTCC=${LTCC-"$CC"}
  16865. +
  16866. +# If no C compiler flags were specified, use CFLAGS.
  16867. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  16868. +
  16869. +# Allow CC to be a program name with arguments.
  16870. +compiler=$CC
  16871. +
  16872. +# Save the default compiler, since it gets overwritten when the other
  16873. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  16874. +compiler_DEFAULT=$CC
  16875. +
  16876. +# save warnings/boilerplate of simple test code
  16877. +ac_outfile=conftest.$ac_objext
  16878. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  16879. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  16880. +_lt_compiler_boilerplate=`cat conftest.err`
  16881. +$RM conftest*
  16882. +
  16883. +ac_outfile=conftest.$ac_objext
  16884. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  16885. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  16886. +_lt_linker_boilerplate=`cat conftest.err`
  16887. +$RM -r conftest*
  16888. +
  16889. +
  16890. +## CAVEAT EMPTOR:
  16891. +## There is no encapsulation within the following macros, do not change
  16892. +## the running order or otherwise move them around unless you know exactly
  16893. +## what you are doing...
  16894. +if test -n "$compiler"; then
  16895. +
  16896. +lt_prog_compiler_no_builtin_flag=
  16897. +
  16898. +if test "$GCC" = yes; then
  16899. + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  16900. +
  16901. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  16902. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  16903. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  16904. + $as_echo_n "(cached) " >&6
  16905. +else
  16906. + lt_cv_prog_compiler_rtti_exceptions=no
  16907. + ac_outfile=conftest.$ac_objext
  16908. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  16909. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  16910. + # Insert the option either (1) after the last *FLAGS variable, or
  16911. + # (2) before a word containing "conftest.", or (3) at the end.
  16912. + # Note that $ac_compile itself does not contain backslashes and begins
  16913. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  16914. + # The option is referenced via a variable to avoid confusing sed.
  16915. + lt_compile=`echo "$ac_compile" | $SED \
  16916. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  16917. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  16918. + -e 's:$: $lt_compiler_flag:'`
  16919. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  16920. + (eval "$lt_compile" 2>conftest.err)
  16921. + ac_status=$?
  16922. + cat conftest.err >&5
  16923. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  16924. + if (exit $ac_status) && test -s "$ac_outfile"; then
  16925. + # The compiler can only warn and ignore the option if not recognized
  16926. + # So say no if there are warnings other than the usual output.
  16927. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  16928. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  16929. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  16930. + lt_cv_prog_compiler_rtti_exceptions=yes
  16931. + fi
  16932. + fi
  16933. + $RM conftest*
  16934. +
  16935. +fi
  16936. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  16937. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  16938. +
  16939. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  16940. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  16941. +else
  16942. + :
  16943. +fi
  16944. +
  16945. +fi
  16946. +
  16947. +
  16948. +
  16949. +
  16950. +
  16951. +
  16952. + lt_prog_compiler_wl=
  16953. +lt_prog_compiler_pic=
  16954. +lt_prog_compiler_static=
  16955. +
  16956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  16957. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  16958. +
  16959. + if test "$GCC" = yes; then
  16960. + lt_prog_compiler_wl='-Wl,'
  16961. + lt_prog_compiler_static='-static'
  16962. +
  16963. + case $host_os in
  16964. + aix*)
  16965. + # All AIX code is PIC.
  16966. + if test "$host_cpu" = ia64; then
  16967. + # AIX 5 now supports IA64 processor
  16968. + lt_prog_compiler_static='-Bstatic'
  16969. + fi
  16970. + ;;
  16971. +
  16972. + amigaos*)
  16973. + case $host_cpu in
  16974. + powerpc)
  16975. + # see comment about AmigaOS4 .so support
  16976. + lt_prog_compiler_pic='-fPIC'
  16977. + ;;
  16978. + m68k)
  16979. + # FIXME: we need at least 68020 code to build shared libraries, but
  16980. + # adding the `-m68020' flag to GCC prevents building anything better,
  16981. + # like `-m68040'.
  16982. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  16983. + ;;
  16984. + esac
  16985. + ;;
  16986. +
  16987. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  16988. + # PIC is the default for these OSes.
  16989. + ;;
  16990. +
  16991. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  16992. + # This hack is so that the source file can tell whether it is being
  16993. + # built for inclusion in a dll (and should export symbols for example).
  16994. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  16995. + # (--disable-auto-import) libraries
  16996. + lt_prog_compiler_pic='-DDLL_EXPORT'
  16997. + ;;
  16998. +
  16999. + darwin* | rhapsody*)
  17000. + # PIC is the default on this platform
  17001. + # Common symbols not allowed in MH_DYLIB files
  17002. + lt_prog_compiler_pic='-fno-common'
  17003. + ;;
  17004. +
  17005. + hpux*)
  17006. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  17007. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  17008. + # sets the default TLS model and affects inlining.
  17009. + case $host_cpu in
  17010. + hppa*64*)
  17011. + # +Z the default
  17012. + ;;
  17013. + *)
  17014. + lt_prog_compiler_pic='-fPIC'
  17015. + ;;
  17016. + esac
  17017. + ;;
  17018. +
  17019. + interix[3-9]*)
  17020. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  17021. + # Instead, we relocate shared libraries at runtime.
  17022. + ;;
  17023. +
  17024. + msdosdjgpp*)
  17025. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  17026. + # on systems that don't support them.
  17027. + lt_prog_compiler_can_build_shared=no
  17028. + enable_shared=no
  17029. + ;;
  17030. +
  17031. + *nto* | *qnx*)
  17032. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  17033. + # it will coredump.
  17034. + lt_prog_compiler_pic='-fPIC -shared'
  17035. + ;;
  17036. +
  17037. + sysv4*MP*)
  17038. + if test -d /usr/nec; then
  17039. + lt_prog_compiler_pic=-Kconform_pic
  17040. + fi
  17041. + ;;
  17042. +
  17043. + *)
  17044. + lt_prog_compiler_pic='-fPIC'
  17045. + ;;
  17046. + esac
  17047. + else
  17048. + # PORTME Check for flag to pass linker flags through the system compiler.
  17049. + case $host_os in
  17050. + aix*)
  17051. + lt_prog_compiler_wl='-Wl,'
  17052. + if test "$host_cpu" = ia64; then
  17053. + # AIX 5 now supports IA64 processor
  17054. + lt_prog_compiler_static='-Bstatic'
  17055. + else
  17056. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  17057. + fi
  17058. + ;;
  17059. +
  17060. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  17061. + # This hack is so that the source file can tell whether it is being
  17062. + # built for inclusion in a dll (and should export symbols for example).
  17063. + lt_prog_compiler_pic='-DDLL_EXPORT'
  17064. + ;;
  17065. +
  17066. + hpux9* | hpux10* | hpux11*)
  17067. + lt_prog_compiler_wl='-Wl,'
  17068. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  17069. + # not for PA HP-UX.
  17070. + case $host_cpu in
  17071. + hppa*64*|ia64*)
  17072. + # +Z the default
  17073. + ;;
  17074. + *)
  17075. + lt_prog_compiler_pic='+Z'
  17076. + ;;
  17077. + esac
  17078. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  17079. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  17080. + ;;
  17081. +
  17082. + irix5* | irix6* | nonstopux*)
  17083. + lt_prog_compiler_wl='-Wl,'
  17084. + # PIC (with -KPIC) is the default.
  17085. + lt_prog_compiler_static='-non_shared'
  17086. + ;;
  17087. +
  17088. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  17089. + case $cc_basename in
  17090. + # old Intel for x86_64 which still supported -KPIC.
  17091. + ecc*)
  17092. + lt_prog_compiler_wl='-Wl,'
  17093. + lt_prog_compiler_pic='-KPIC'
  17094. + lt_prog_compiler_static='-static'
  17095. + ;;
  17096. + # icc used to be incompatible with GCC.
  17097. + # ICC 10 doesn't accept -KPIC any more.
  17098. + icc* | ifort*)
  17099. + lt_prog_compiler_wl='-Wl,'
  17100. + lt_prog_compiler_pic='-fPIC'
  17101. + lt_prog_compiler_static='-static'
  17102. + ;;
  17103. + # Lahey Fortran 8.1.
  17104. + lf95*)
  17105. + lt_prog_compiler_wl='-Wl,'
  17106. + lt_prog_compiler_pic='--shared'
  17107. + lt_prog_compiler_static='--static'
  17108. + ;;
  17109. + pgcc* | pgf77* | pgf90* | pgf95*)
  17110. + # Portland Group compilers (*not* the Pentium gcc compiler,
  17111. + # which looks to be a dead project)
  17112. + lt_prog_compiler_wl='-Wl,'
  17113. + lt_prog_compiler_pic='-fpic'
  17114. + lt_prog_compiler_static='-Bstatic'
  17115. + ;;
  17116. + ccc*)
  17117. + lt_prog_compiler_wl='-Wl,'
  17118. + # All Alpha code is PIC.
  17119. + lt_prog_compiler_static='-non_shared'
  17120. + ;;
  17121. + xl*)
  17122. + # IBM XL C 8.0/Fortran 10.1 on PPC
  17123. + lt_prog_compiler_wl='-Wl,'
  17124. + lt_prog_compiler_pic='-qpic'
  17125. + lt_prog_compiler_static='-qstaticlink'
  17126. + ;;
  17127. + *)
  17128. + case `$CC -V 2>&1 | sed 5q` in
  17129. + *Sun\ C*)
  17130. + # Sun C 5.9
  17131. + lt_prog_compiler_pic='-KPIC'
  17132. + lt_prog_compiler_static='-Bstatic'
  17133. + lt_prog_compiler_wl='-Wl,'
  17134. + ;;
  17135. + *Sun\ F*)
  17136. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  17137. + lt_prog_compiler_pic='-KPIC'
  17138. + lt_prog_compiler_static='-Bstatic'
  17139. + lt_prog_compiler_wl=''
  17140. + ;;
  17141. + esac
  17142. + ;;
  17143. + esac
  17144. + ;;
  17145. +
  17146. + newsos6)
  17147. + lt_prog_compiler_pic='-KPIC'
  17148. + lt_prog_compiler_static='-Bstatic'
  17149. + ;;
  17150. +
  17151. + *nto* | *qnx*)
  17152. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  17153. + # it will coredump.
  17154. + lt_prog_compiler_pic='-fPIC -shared'
  17155. + ;;
  17156. +
  17157. + osf3* | osf4* | osf5*)
  17158. + lt_prog_compiler_wl='-Wl,'
  17159. + # All OSF/1 code is PIC.
  17160. + lt_prog_compiler_static='-non_shared'
  17161. + ;;
  17162. +
  17163. + rdos*)
  17164. + lt_prog_compiler_static='-non_shared'
  17165. + ;;
  17166. +
  17167. + solaris*)
  17168. + lt_prog_compiler_pic='-KPIC'
  17169. + lt_prog_compiler_static='-Bstatic'
  17170. + case $cc_basename in
  17171. + f77* | f90* | f95*)
  17172. + lt_prog_compiler_wl='-Qoption ld ';;
  17173. + *)
  17174. + lt_prog_compiler_wl='-Wl,';;
  17175. + esac
  17176. + ;;
  17177. +
  17178. + sunos4*)
  17179. + lt_prog_compiler_wl='-Qoption ld '
  17180. + lt_prog_compiler_pic='-PIC'
  17181. + lt_prog_compiler_static='-Bstatic'
  17182. + ;;
  17183. +
  17184. + sysv4 | sysv4.2uw2* | sysv4.3*)
  17185. + lt_prog_compiler_wl='-Wl,'
  17186. + lt_prog_compiler_pic='-KPIC'
  17187. + lt_prog_compiler_static='-Bstatic'
  17188. + ;;
  17189. +
  17190. + sysv4*MP*)
  17191. + if test -d /usr/nec ;then
  17192. + lt_prog_compiler_pic='-Kconform_pic'
  17193. + lt_prog_compiler_static='-Bstatic'
  17194. + fi
  17195. + ;;
  17196. +
  17197. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  17198. + lt_prog_compiler_wl='-Wl,'
  17199. + lt_prog_compiler_pic='-KPIC'
  17200. + lt_prog_compiler_static='-Bstatic'
  17201. + ;;
  17202. +
  17203. + unicos*)
  17204. + lt_prog_compiler_wl='-Wl,'
  17205. + lt_prog_compiler_can_build_shared=no
  17206. + ;;
  17207. +
  17208. + uts4*)
  17209. + lt_prog_compiler_pic='-pic'
  17210. + lt_prog_compiler_static='-Bstatic'
  17211. + ;;
  17212. +
  17213. + *)
  17214. + lt_prog_compiler_can_build_shared=no
  17215. + ;;
  17216. + esac
  17217. + fi
  17218. +
  17219. +case $host_os in
  17220. + # For platforms which do not support PIC, -DPIC is meaningless:
  17221. + *djgpp*)
  17222. + lt_prog_compiler_pic=
  17223. + ;;
  17224. + *)
  17225. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  17226. + ;;
  17227. +esac
  17228. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  17229. +$as_echo "$lt_prog_compiler_pic" >&6; }
  17230. +
  17231. +
  17232. +
  17233. +
  17234. +
  17235. +
  17236. +#
  17237. +# Check to make sure the PIC flag actually works.
  17238. +#
  17239. +if test -n "$lt_prog_compiler_pic"; then
  17240. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  17241. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  17242. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  17243. + $as_echo_n "(cached) " >&6
  17244. +else
  17245. + lt_cv_prog_compiler_pic_works=no
  17246. + ac_outfile=conftest.$ac_objext
  17247. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17248. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
  17249. + # Insert the option either (1) after the last *FLAGS variable, or
  17250. + # (2) before a word containing "conftest.", or (3) at the end.
  17251. + # Note that $ac_compile itself does not contain backslashes and begins
  17252. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  17253. + # The option is referenced via a variable to avoid confusing sed.
  17254. + lt_compile=`echo "$ac_compile" | $SED \
  17255. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  17256. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  17257. + -e 's:$: $lt_compiler_flag:'`
  17258. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  17259. + (eval "$lt_compile" 2>conftest.err)
  17260. + ac_status=$?
  17261. + cat conftest.err >&5
  17262. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  17263. + if (exit $ac_status) && test -s "$ac_outfile"; then
  17264. + # The compiler can only warn and ignore the option if not recognized
  17265. + # So say no if there are warnings other than the usual output.
  17266. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  17267. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  17268. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  17269. + lt_cv_prog_compiler_pic_works=yes
  17270. + fi
  17271. + fi
  17272. + $RM conftest*
  17273. +
  17274. +fi
  17275. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  17276. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  17277. +
  17278. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  17279. + case $lt_prog_compiler_pic in
  17280. + "" | " "*) ;;
  17281. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  17282. + esac
  17283. +else
  17284. + lt_prog_compiler_pic=
  17285. + lt_prog_compiler_can_build_shared=no
  17286. +fi
  17287. +
  17288. +fi
  17289. +
  17290. +
  17291. +
  17292. +
  17293. +
  17294. +
  17295. +#
  17296. +# Check to make sure the static flag actually works.
  17297. +#
  17298. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  17299. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  17300. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  17301. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  17302. + $as_echo_n "(cached) " >&6
  17303. +else
  17304. + lt_cv_prog_compiler_static_works=no
  17305. + save_LDFLAGS="$LDFLAGS"
  17306. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  17307. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  17308. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  17309. + # The linker can only warn and ignore the option if not recognized
  17310. + # So say no if there are warnings
  17311. + if test -s conftest.err; then
  17312. + # Append any errors to the config.log.
  17313. + cat conftest.err 1>&5
  17314. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  17315. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  17316. + if diff conftest.exp conftest.er2 >/dev/null; then
  17317. + lt_cv_prog_compiler_static_works=yes
  17318. + fi
  17319. + else
  17320. + lt_cv_prog_compiler_static_works=yes
  17321. + fi
  17322. + fi
  17323. + $RM -r conftest*
  17324. + LDFLAGS="$save_LDFLAGS"
  17325. +
  17326. +fi
  17327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  17328. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  17329. +
  17330. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  17331. + :
  17332. +else
  17333. + lt_prog_compiler_static=
  17334. +fi
  17335. +
  17336. +
  17337. +
  17338. +
  17339. +
  17340. +
  17341. +
  17342. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  17343. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  17344. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  17345. + $as_echo_n "(cached) " >&6
  17346. +else
  17347. + lt_cv_prog_compiler_c_o=no
  17348. + $RM -r conftest 2>/dev/null
  17349. + mkdir conftest
  17350. + cd conftest
  17351. + mkdir out
  17352. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17353. +
  17354. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  17355. + # Insert the option either (1) after the last *FLAGS variable, or
  17356. + # (2) before a word containing "conftest.", or (3) at the end.
  17357. + # Note that $ac_compile itself does not contain backslashes and begins
  17358. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  17359. + lt_compile=`echo "$ac_compile" | $SED \
  17360. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  17361. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  17362. + -e 's:$: $lt_compiler_flag:'`
  17363. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  17364. + (eval "$lt_compile" 2>out/conftest.err)
  17365. + ac_status=$?
  17366. + cat out/conftest.err >&5
  17367. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  17368. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  17369. + then
  17370. + # The compiler can only warn and ignore the option if not recognized
  17371. + # So say no if there are warnings
  17372. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  17373. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  17374. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  17375. + lt_cv_prog_compiler_c_o=yes
  17376. + fi
  17377. + fi
  17378. + chmod u+w . 2>&5
  17379. + $RM conftest*
  17380. + # SGI C++ compiler will create directory out/ii_files/ for
  17381. + # template instantiation
  17382. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  17383. + $RM out/* && rmdir out
  17384. + cd ..
  17385. + $RM -r conftest
  17386. + $RM conftest*
  17387. +
  17388. +fi
  17389. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  17390. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  17391. +
  17392. +
  17393. +
  17394. +
  17395. +
  17396. +
  17397. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  17398. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  17399. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  17400. + $as_echo_n "(cached) " >&6
  17401. +else
  17402. + lt_cv_prog_compiler_c_o=no
  17403. + $RM -r conftest 2>/dev/null
  17404. + mkdir conftest
  17405. + cd conftest
  17406. + mkdir out
  17407. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  17408. +
  17409. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  17410. + # Insert the option either (1) after the last *FLAGS variable, or
  17411. + # (2) before a word containing "conftest.", or (3) at the end.
  17412. + # Note that $ac_compile itself does not contain backslashes and begins
  17413. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  17414. + lt_compile=`echo "$ac_compile" | $SED \
  17415. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  17416. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  17417. + -e 's:$: $lt_compiler_flag:'`
  17418. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
  17419. + (eval "$lt_compile" 2>out/conftest.err)
  17420. + ac_status=$?
  17421. + cat out/conftest.err >&5
  17422. + echo "$as_me:__oline__: \$? = $ac_status" >&5
  17423. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  17424. + then
  17425. + # The compiler can only warn and ignore the option if not recognized
  17426. + # So say no if there are warnings
  17427. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  17428. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  17429. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  17430. + lt_cv_prog_compiler_c_o=yes
  17431. + fi
  17432. + fi
  17433. + chmod u+w . 2>&5
  17434. + $RM conftest*
  17435. + # SGI C++ compiler will create directory out/ii_files/ for
  17436. + # template instantiation
  17437. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  17438. + $RM out/* && rmdir out
  17439. + cd ..
  17440. + $RM -r conftest
  17441. + $RM conftest*
  17442. +
  17443. +fi
  17444. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  17445. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  17446. +
  17447. +
  17448. +
  17449. +
  17450. +hard_links="nottested"
  17451. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  17452. + # do not overwrite the value of need_locks provided by the user
  17453. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  17454. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  17455. + hard_links=yes
  17456. + $RM conftest*
  17457. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  17458. + touch conftest.a
  17459. + ln conftest.a conftest.b 2>&5 || hard_links=no
  17460. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  17461. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  17462. +$as_echo "$hard_links" >&6; }
  17463. + if test "$hard_links" = no; then
  17464. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  17465. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  17466. + need_locks=warn
  17467. + fi
  17468. +else
  17469. + need_locks=no
  17470. +fi
  17471. +
  17472. +
  17473. +
  17474. +
  17475. +
  17476. +
  17477. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  17478. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  17479. +
  17480. + runpath_var=
  17481. + allow_undefined_flag=
  17482. + always_export_symbols=no
  17483. + archive_cmds=
  17484. + archive_expsym_cmds=
  17485. + compiler_needs_object=no
  17486. + enable_shared_with_static_runtimes=no
  17487. + export_dynamic_flag_spec=
  17488. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  17489. + hardcode_automatic=no
  17490. + hardcode_direct=no
  17491. + hardcode_direct_absolute=no
  17492. + hardcode_libdir_flag_spec=
  17493. + hardcode_libdir_flag_spec_ld=
  17494. + hardcode_libdir_separator=
  17495. + hardcode_minus_L=no
  17496. + hardcode_shlibpath_var=unsupported
  17497. + inherit_rpath=no
  17498. + link_all_deplibs=unknown
  17499. + module_cmds=
  17500. + module_expsym_cmds=
  17501. + old_archive_from_new_cmds=
  17502. + old_archive_from_expsyms_cmds=
  17503. + thread_safe_flag_spec=
  17504. + whole_archive_flag_spec=
  17505. + # include_expsyms should be a list of space-separated symbols to be *always*
  17506. + # included in the symbol list
  17507. + include_expsyms=
  17508. + # exclude_expsyms can be an extended regexp of symbols to exclude
  17509. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  17510. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  17511. + # as well as any symbol that contains `d'.
  17512. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  17513. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  17514. + # platforms (ab)use it in PIC code, but their linkers get confused if
  17515. + # the symbol is explicitly referenced. Since portable code cannot
  17516. + # rely on this symbol name, it's probably fine to never include it in
  17517. + # preloaded symbol tables.
  17518. + # Exclude shared library initialization/finalization symbols.
  17519. + extract_expsyms_cmds=
  17520. +
  17521. + case $host_os in
  17522. + cygwin* | mingw* | pw32* | cegcc*)
  17523. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  17524. + # When not using gcc, we currently assume that we are using
  17525. + # Microsoft Visual C++.
  17526. + if test "$GCC" != yes; then
  17527. + with_gnu_ld=no
  17528. + fi
  17529. + ;;
  17530. + interix*)
  17531. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  17532. + with_gnu_ld=yes
  17533. + ;;
  17534. + openbsd*)
  17535. + with_gnu_ld=no
  17536. + ;;
  17537. + linux* | k*bsd*-gnu)
  17538. + link_all_deplibs=no
  17539. + ;;
  17540. + esac
  17541. +
  17542. + ld_shlibs=yes
  17543. + if test "$with_gnu_ld" = yes; then
  17544. + # If archive_cmds runs LD, not CC, wlarc should be empty
  17545. + wlarc='${wl}'
  17546. +
  17547. + # Set some defaults for GNU ld with shared library support. These
  17548. + # are reset later if shared libraries are not supported. Putting them
  17549. + # here allows them to be overridden if necessary.
  17550. + runpath_var=LD_RUN_PATH
  17551. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  17552. + export_dynamic_flag_spec='${wl}--export-dynamic'
  17553. + # ancient GNU ld didn't support --whole-archive et. al.
  17554. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  17555. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  17556. + else
  17557. + whole_archive_flag_spec=
  17558. + fi
  17559. + supports_anon_versioning=no
  17560. + case `$LD -v 2>&1` in
  17561. + *GNU\ gold*) supports_anon_versioning=yes ;;
  17562. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  17563. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  17564. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  17565. + *\ 2.11.*) ;; # other 2.11 versions
  17566. + *) supports_anon_versioning=yes ;;
  17567. + esac
  17568. +
  17569. + # See if GNU ld supports shared libraries.
  17570. + case $host_os in
  17571. + aix[3-9]*)
  17572. + # On AIX/PPC, the GNU linker is very broken
  17573. + if test "$host_cpu" != ia64; then
  17574. + ld_shlibs=no
  17575. + cat <<_LT_EOF 1>&2
  17576. +
  17577. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  17578. +*** to be unable to reliably create shared libraries on AIX.
  17579. +*** Therefore, libtool is disabling shared libraries support. If you
  17580. +*** really care for shared libraries, you may want to modify your PATH
  17581. +*** so that a non-GNU linker is found, and then restart.
  17582. +
  17583. +_LT_EOF
  17584. + fi
  17585. + ;;
  17586. +
  17587. + amigaos*)
  17588. + case $host_cpu in
  17589. + powerpc)
  17590. + # see comment about AmigaOS4 .so support
  17591. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17592. + archive_expsym_cmds=''
  17593. + ;;
  17594. + m68k)
  17595. + archive_cmds='$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)'
  17596. + hardcode_libdir_flag_spec='-L$libdir'
  17597. + hardcode_minus_L=yes
  17598. + ;;
  17599. + esac
  17600. + ;;
  17601. +
  17602. + beos*)
  17603. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17604. + allow_undefined_flag=unsupported
  17605. + # Joseph Beckenbach <[email protected]> says some releases of gcc
  17606. + # support --undefined. This deserves some investigation. FIXME
  17607. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17608. + else
  17609. + ld_shlibs=no
  17610. + fi
  17611. + ;;
  17612. +
  17613. + cygwin* | mingw* | pw32* | cegcc*)
  17614. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  17615. + # as there is no search path for DLLs.
  17616. + hardcode_libdir_flag_spec='-L$libdir'
  17617. + allow_undefined_flag=unsupported
  17618. + always_export_symbols=no
  17619. + enable_shared_with_static_runtimes=yes
  17620. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  17621. +
  17622. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  17623. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  17624. + # If the export-symbols file already is a .def file (1st line
  17625. + # is EXPORTS), use it as is; otherwise, prepend...
  17626. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  17627. + cp $export_symbols $output_objdir/$soname.def;
  17628. + else
  17629. + echo EXPORTS > $output_objdir/$soname.def;
  17630. + cat $export_symbols >> $output_objdir/$soname.def;
  17631. + fi~
  17632. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  17633. + else
  17634. + ld_shlibs=no
  17635. + fi
  17636. + ;;
  17637. +
  17638. + interix[3-9]*)
  17639. + hardcode_direct=no
  17640. + hardcode_shlibpath_var=no
  17641. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  17642. + export_dynamic_flag_spec='${wl}-E'
  17643. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  17644. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  17645. + # default) and relocated if they conflict, which is a slow very memory
  17646. + # consuming and fragmenting process. To avoid this, we pick a random,
  17647. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  17648. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  17649. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  17650. + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  17651. + ;;
  17652. +
  17653. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  17654. + tmp_diet=no
  17655. + if test "$host_os" = linux-dietlibc; then
  17656. + case $cc_basename in
  17657. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  17658. + esac
  17659. + fi
  17660. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  17661. + && test "$tmp_diet" = no
  17662. + then
  17663. + tmp_addflag=
  17664. + tmp_sharedflag='-shared'
  17665. + case $cc_basename,$host_cpu in
  17666. + pgcc*) # Portland Group C compiler
  17667. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  17668. + tmp_addflag=' $pic_flag'
  17669. + ;;
  17670. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  17671. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  17672. + tmp_addflag=' $pic_flag -Mnomain' ;;
  17673. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  17674. + tmp_addflag=' -i_dynamic' ;;
  17675. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  17676. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  17677. + ifc* | ifort*) # Intel Fortran compiler
  17678. + tmp_addflag=' -nofor_main' ;;
  17679. + lf95*) # Lahey Fortran 8.1
  17680. + whole_archive_flag_spec=
  17681. + tmp_sharedflag='--shared' ;;
  17682. + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  17683. + tmp_sharedflag='-qmkshrobj'
  17684. + tmp_addflag= ;;
  17685. + esac
  17686. + case `$CC -V 2>&1 | sed 5q` in
  17687. + *Sun\ C*) # Sun C 5.9
  17688. + whole_archive_flag_spec='${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'
  17689. + compiler_needs_object=yes
  17690. + tmp_sharedflag='-G' ;;
  17691. + *Sun\ F*) # Sun Fortran 8.3
  17692. + tmp_sharedflag='-G' ;;
  17693. + esac
  17694. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17695. +
  17696. + if test "x$supports_anon_versioning" = xyes; then
  17697. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  17698. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  17699. + echo "local: *; };" >> $output_objdir/$libname.ver~
  17700. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  17701. + fi
  17702. +
  17703. + case $cc_basename in
  17704. + xlf*)
  17705. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  17706. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  17707. + hardcode_libdir_flag_spec=
  17708. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  17709. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  17710. + if test "x$supports_anon_versioning" = xyes; then
  17711. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  17712. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  17713. + echo "local: *; };" >> $output_objdir/$libname.ver~
  17714. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  17715. + fi
  17716. + ;;
  17717. + esac
  17718. + else
  17719. + ld_shlibs=no
  17720. + fi
  17721. + ;;
  17722. +
  17723. + netbsd* | netbsdelf*-gnu)
  17724. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  17725. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  17726. + wlarc=
  17727. + else
  17728. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17729. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17730. + fi
  17731. + ;;
  17732. +
  17733. + solaris*)
  17734. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  17735. + ld_shlibs=no
  17736. + cat <<_LT_EOF 1>&2
  17737. +
  17738. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  17739. +*** create shared libraries on Solaris systems. Therefore, libtool
  17740. +*** is disabling shared libraries support. We urge you to upgrade GNU
  17741. +*** binutils to release 2.9.1 or newer. Another option is to modify
  17742. +*** your PATH or compiler configuration so that the native linker is
  17743. +*** used, and then restart.
  17744. +
  17745. +_LT_EOF
  17746. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17747. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17748. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17749. + else
  17750. + ld_shlibs=no
  17751. + fi
  17752. + ;;
  17753. +
  17754. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  17755. + case `$LD -v 2>&1` in
  17756. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  17757. + ld_shlibs=no
  17758. + cat <<_LT_EOF 1>&2
  17759. +
  17760. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  17761. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  17762. +*** is disabling shared libraries support. We urge you to upgrade GNU
  17763. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  17764. +*** your PATH or compiler configuration so that the native linker is
  17765. +*** used, and then restart.
  17766. +
  17767. +_LT_EOF
  17768. + ;;
  17769. + *)
  17770. + # For security reasons, it is highly recommended that you always
  17771. + # use absolute paths for naming shared libraries, and exclude the
  17772. + # DT_RUNPATH tag from executables and libraries. But doing so
  17773. + # requires that you compile everything twice, which is a pain.
  17774. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17775. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  17776. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17777. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17778. + else
  17779. + ld_shlibs=no
  17780. + fi
  17781. + ;;
  17782. + esac
  17783. + ;;
  17784. +
  17785. + sunos4*)
  17786. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  17787. + wlarc=
  17788. + hardcode_direct=yes
  17789. + hardcode_shlibpath_var=no
  17790. + ;;
  17791. +
  17792. + *)
  17793. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  17794. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  17795. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  17796. + else
  17797. + ld_shlibs=no
  17798. + fi
  17799. + ;;
  17800. + esac
  17801. +
  17802. + if test "$ld_shlibs" = no; then
  17803. + runpath_var=
  17804. + hardcode_libdir_flag_spec=
  17805. + export_dynamic_flag_spec=
  17806. + whole_archive_flag_spec=
  17807. + fi
  17808. + else
  17809. + # PORTME fill in a description of your system's linker (not GNU ld)
  17810. + case $host_os in
  17811. + aix3*)
  17812. + allow_undefined_flag=unsupported
  17813. + always_export_symbols=yes
  17814. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  17815. + # Note: this linker hardcodes the directories in LIBPATH if there
  17816. + # are no directories specified by -L.
  17817. + hardcode_minus_L=yes
  17818. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  17819. + # Neither direct hardcoding nor static linking is supported with a
  17820. + # broken collect2.
  17821. + hardcode_direct=unsupported
  17822. + fi
  17823. + ;;
  17824. +
  17825. + aix[4-9]*)
  17826. + if test "$host_cpu" = ia64; then
  17827. + # On IA64, the linker does run time linking by default, so we don't
  17828. + # have to do anything special.
  17829. + aix_use_runtimelinking=no
  17830. + exp_sym_flag='-Bexport'
  17831. + no_entry_flag=""
  17832. + else
  17833. + # If we're using GNU nm, then we don't want the "-C" option.
  17834. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  17835. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  17836. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  17837. + else
  17838. + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  17839. + fi
  17840. + aix_use_runtimelinking=no
  17841. +
  17842. + # Test if we are trying to use run time linking or normal
  17843. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  17844. + # need to do runtime linking.
  17845. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  17846. + for ld_flag in $LDFLAGS; do
  17847. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  17848. + aix_use_runtimelinking=yes
  17849. + break
  17850. + fi
  17851. + done
  17852. + ;;
  17853. + esac
  17854. +
  17855. + exp_sym_flag='-bexport'
  17856. + no_entry_flag='-bnoentry'
  17857. + fi
  17858. +
  17859. + # When large executables or shared objects are built, AIX ld can
  17860. + # have problems creating the table of contents. If linking a library
  17861. + # or program results in "error TOC overflow" add -mminimal-toc to
  17862. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  17863. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  17864. +
  17865. + archive_cmds=''
  17866. + hardcode_direct=yes
  17867. + hardcode_direct_absolute=yes
  17868. + hardcode_libdir_separator=':'
  17869. + link_all_deplibs=yes
  17870. + file_list_spec='${wl}-f,'
  17871. +
  17872. + if test "$GCC" = yes; then
  17873. + case $host_os in aix4.[012]|aix4.[012].*)
  17874. + # We only want to do this on AIX 4.2 and lower, the check
  17875. + # below for broken collect2 doesn't work under 4.3+
  17876. + collect2name=`${CC} -print-prog-name=collect2`
  17877. + if test -f "$collect2name" &&
  17878. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  17879. + then
  17880. + # We have reworked collect2
  17881. + :
  17882. + else
  17883. + # We have old collect2
  17884. + hardcode_direct=unsupported
  17885. + # It fails to find uninstalled libraries when the uninstalled
  17886. + # path is not listed in the libpath. Setting hardcode_minus_L
  17887. + # to unsupported forces relinking
  17888. + hardcode_minus_L=yes
  17889. + hardcode_libdir_flag_spec='-L$libdir'
  17890. + hardcode_libdir_separator=
  17891. + fi
  17892. + ;;
  17893. + esac
  17894. + shared_flag='-shared'
  17895. + if test "$aix_use_runtimelinking" = yes; then
  17896. + shared_flag="$shared_flag "'${wl}-G'
  17897. + fi
  17898. + link_all_deplibs=no
  17899. + else
  17900. + # not using gcc
  17901. + if test "$host_cpu" = ia64; then
  17902. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  17903. + # chokes on -Wl,-G. The following line is correct:
  17904. + shared_flag='-G'
  17905. + else
  17906. + if test "$aix_use_runtimelinking" = yes; then
  17907. + shared_flag='${wl}-G'
  17908. + else
  17909. + shared_flag='${wl}-bM:SRE'
  17910. + fi
  17911. + fi
  17912. + fi
  17913. +
  17914. + export_dynamic_flag_spec='${wl}-bexpall'
  17915. + # It seems that -bexpall does not export symbols beginning with
  17916. + # underscore (_), so it is better to generate a list of symbols to export.
  17917. + always_export_symbols=yes
  17918. + if test "$aix_use_runtimelinking" = yes; then
  17919. + # Warning - without using the other runtime loading flags (-brtl),
  17920. + # -berok will link without error, but may produce a broken library.
  17921. + allow_undefined_flag='-berok'
  17922. + # Determine the default libpath from the value encoded in an
  17923. + # empty executable.
  17924. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17925. +/* end confdefs.h. */
  17926. +
  17927. +int
  17928. +main ()
  17929. +{
  17930. +
  17931. + ;
  17932. + return 0;
  17933. +}
  17934. +_ACEOF
  17935. +if ac_fn_c_try_link "$LINENO"; then :
  17936. +
  17937. +lt_aix_libpath_sed='
  17938. + /Import File Strings/,/^$/ {
  17939. + /^0/ {
  17940. + s/^0 *\(.*\)$/\1/
  17941. + p
  17942. + }
  17943. + }'
  17944. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17945. +# Check for a 64-bit object if we didn't find anything.
  17946. +if test -z "$aix_libpath"; then
  17947. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17948. +fi
  17949. +fi
  17950. +rm -f core conftest.err conftest.$ac_objext \
  17951. + conftest$ac_exeext conftest.$ac_ext
  17952. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  17953. +
  17954. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  17955. + archive_expsym_cmds='$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"
  17956. + else
  17957. + if test "$host_cpu" = ia64; then
  17958. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  17959. + allow_undefined_flag="-z nodefs"
  17960. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  17961. + else
  17962. + # Determine the default libpath from the value encoded in an
  17963. + # empty executable.
  17964. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17965. +/* end confdefs.h. */
  17966. +
  17967. +int
  17968. +main ()
  17969. +{
  17970. +
  17971. + ;
  17972. + return 0;
  17973. +}
  17974. +_ACEOF
  17975. +if ac_fn_c_try_link "$LINENO"; then :
  17976. +
  17977. +lt_aix_libpath_sed='
  17978. + /Import File Strings/,/^$/ {
  17979. + /^0/ {
  17980. + s/^0 *\(.*\)$/\1/
  17981. + p
  17982. + }
  17983. + }'
  17984. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17985. +# Check for a 64-bit object if we didn't find anything.
  17986. +if test -z "$aix_libpath"; then
  17987. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  17988. +fi
  17989. +fi
  17990. +rm -f core conftest.err conftest.$ac_objext \
  17991. + conftest$ac_exeext conftest.$ac_ext
  17992. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  17993. +
  17994. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  17995. + # Warning - without using the other run time loading flags,
  17996. + # -berok will link without error, but may produce a broken library.
  17997. + no_undefined_flag=' ${wl}-bernotok'
  17998. + allow_undefined_flag=' ${wl}-berok'
  17999. + # Exported symbols can be pulled into shared objects from archives
  18000. + whole_archive_flag_spec='$convenience'
  18001. + archive_cmds_need_lc=yes
  18002. + # This is similar to how AIX traditionally builds its shared libraries.
  18003. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  18004. + fi
  18005. + fi
  18006. + ;;
  18007. +
  18008. + amigaos*)
  18009. + case $host_cpu in
  18010. + powerpc)
  18011. + # see comment about AmigaOS4 .so support
  18012. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  18013. + archive_expsym_cmds=''
  18014. + ;;
  18015. + m68k)
  18016. + archive_cmds='$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)'
  18017. + hardcode_libdir_flag_spec='-L$libdir'
  18018. + hardcode_minus_L=yes
  18019. + ;;
  18020. + esac
  18021. + ;;
  18022. +
  18023. + bsdi[45]*)
  18024. + export_dynamic_flag_spec=-rdynamic
  18025. + ;;
  18026. +
  18027. + cygwin* | mingw* | pw32* | cegcc*)
  18028. + # When not using gcc, we currently assume that we are using
  18029. + # Microsoft Visual C++.
  18030. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  18031. + # no search path for DLLs.
  18032. + hardcode_libdir_flag_spec=' '
  18033. + allow_undefined_flag=unsupported
  18034. + # Tell ltmain to make .lib files, not .a files.
  18035. + libext=lib
  18036. + # Tell ltmain to make .dll files, not .so files.
  18037. + shrext_cmds=".dll"
  18038. + # FIXME: Setting linknames here is a bad hack.
  18039. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  18040. + # The linker will automatically build a .lib file if we build a DLL.
  18041. + old_archive_from_new_cmds='true'
  18042. + # FIXME: Should let the user specify the lib program.
  18043. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  18044. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  18045. + enable_shared_with_static_runtimes=yes
  18046. + ;;
  18047. +
  18048. + darwin* | rhapsody*)
  18049. +
  18050. +
  18051. + archive_cmds_need_lc=no
  18052. + hardcode_direct=no
  18053. + hardcode_automatic=yes
  18054. + hardcode_shlibpath_var=unsupported
  18055. + whole_archive_flag_spec=''
  18056. + link_all_deplibs=yes
  18057. + allow_undefined_flag="$_lt_dar_allow_undefined"
  18058. + case $cc_basename in
  18059. + ifort*) _lt_dar_can_shared=yes ;;
  18060. + *) _lt_dar_can_shared=$GCC ;;
  18061. + esac
  18062. + if test "$_lt_dar_can_shared" = "yes"; then
  18063. + output_verbose_link_cmd=echo
  18064. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  18065. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  18066. + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  18067. + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  18068. +
  18069. + else
  18070. + ld_shlibs=no
  18071. + fi
  18072. +
  18073. + ;;
  18074. +
  18075. + dgux*)
  18076. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18077. + hardcode_libdir_flag_spec='-L$libdir'
  18078. + hardcode_shlibpath_var=no
  18079. + ;;
  18080. +
  18081. + freebsd1*)
  18082. + ld_shlibs=no
  18083. + ;;
  18084. +
  18085. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  18086. + # support. Future versions do this automatically, but an explicit c++rt0.o
  18087. + # does not break anything, and helps significantly (at the cost of a little
  18088. + # extra space).
  18089. + freebsd2.2*)
  18090. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  18091. + hardcode_libdir_flag_spec='-R$libdir'
  18092. + hardcode_direct=yes
  18093. + hardcode_shlibpath_var=no
  18094. + ;;
  18095. +
  18096. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  18097. + freebsd2*)
  18098. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  18099. + hardcode_direct=yes
  18100. + hardcode_minus_L=yes
  18101. + hardcode_shlibpath_var=no
  18102. + ;;
  18103. +
  18104. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  18105. + freebsd* | dragonfly*)
  18106. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  18107. + hardcode_libdir_flag_spec='-R$libdir'
  18108. + hardcode_direct=yes
  18109. + hardcode_shlibpath_var=no
  18110. + ;;
  18111. +
  18112. + hpux9*)
  18113. + if test "$GCC" = yes; then
  18114. + archive_cmds='$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'
  18115. + else
  18116. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  18117. + fi
  18118. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  18119. + hardcode_libdir_separator=:
  18120. + hardcode_direct=yes
  18121. +
  18122. + # hardcode_minus_L: Not really in the search PATH,
  18123. + # but as the default location of the library.
  18124. + hardcode_minus_L=yes
  18125. + export_dynamic_flag_spec='${wl}-E'
  18126. + ;;
  18127. +
  18128. + hpux10*)
  18129. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  18130. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  18131. + else
  18132. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  18133. + fi
  18134. + if test "$with_gnu_ld" = no; then
  18135. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  18136. + hardcode_libdir_flag_spec_ld='+b $libdir'
  18137. + hardcode_libdir_separator=:
  18138. + hardcode_direct=yes
  18139. + hardcode_direct_absolute=yes
  18140. + export_dynamic_flag_spec='${wl}-E'
  18141. + # hardcode_minus_L: Not really in the search PATH,
  18142. + # but as the default location of the library.
  18143. + hardcode_minus_L=yes
  18144. + fi
  18145. + ;;
  18146. +
  18147. + hpux11*)
  18148. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  18149. + case $host_cpu in
  18150. + hppa*64*)
  18151. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  18152. + ;;
  18153. + ia64*)
  18154. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  18155. + ;;
  18156. + *)
  18157. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  18158. + ;;
  18159. + esac
  18160. + else
  18161. + case $host_cpu in
  18162. + hppa*64*)
  18163. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  18164. + ;;
  18165. + ia64*)
  18166. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  18167. + ;;
  18168. + *)
  18169. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  18170. + ;;
  18171. + esac
  18172. + fi
  18173. + if test "$with_gnu_ld" = no; then
  18174. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  18175. + hardcode_libdir_separator=:
  18176. +
  18177. + case $host_cpu in
  18178. + hppa*64*|ia64*)
  18179. + hardcode_direct=no
  18180. + hardcode_shlibpath_var=no
  18181. + ;;
  18182. + *)
  18183. + hardcode_direct=yes
  18184. + hardcode_direct_absolute=yes
  18185. + export_dynamic_flag_spec='${wl}-E'
  18186. +
  18187. + # hardcode_minus_L: Not really in the search PATH,
  18188. + # but as the default location of the library.
  18189. + hardcode_minus_L=yes
  18190. + ;;
  18191. + esac
  18192. + fi
  18193. + ;;
  18194. +
  18195. + irix5* | irix6* | nonstopux*)
  18196. + if test "$GCC" = yes; then
  18197. + archive_cmds='$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'
  18198. + # Try to use the -exported_symbol ld option, if it does not
  18199. + # work, assume that -exports_file does not work either and
  18200. + # implicitly export all symbols.
  18201. + save_LDFLAGS="$LDFLAGS"
  18202. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  18203. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18204. +/* end confdefs.h. */
  18205. +int foo(void) {}
  18206. +_ACEOF
  18207. +if ac_fn_c_try_link "$LINENO"; then :
  18208. + archive_expsym_cmds='$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'
  18209. +
  18210. +fi
  18211. +rm -f core conftest.err conftest.$ac_objext \
  18212. + conftest$ac_exeext conftest.$ac_ext
  18213. + LDFLAGS="$save_LDFLAGS"
  18214. + else
  18215. + archive_cmds='$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'
  18216. + archive_expsym_cmds='$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'
  18217. + fi
  18218. + archive_cmds_need_lc='no'
  18219. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18220. + hardcode_libdir_separator=:
  18221. + inherit_rpath=yes
  18222. + link_all_deplibs=yes
  18223. + ;;
  18224. +
  18225. + netbsd* | netbsdelf*-gnu)
  18226. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  18227. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  18228. + else
  18229. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  18230. + fi
  18231. + hardcode_libdir_flag_spec='-R$libdir'
  18232. + hardcode_direct=yes
  18233. + hardcode_shlibpath_var=no
  18234. + ;;
  18235. +
  18236. + newsos6)
  18237. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18238. + hardcode_direct=yes
  18239. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18240. + hardcode_libdir_separator=:
  18241. + hardcode_shlibpath_var=no
  18242. + ;;
  18243. +
  18244. + *nto* | *qnx*)
  18245. + ;;
  18246. +
  18247. + openbsd*)
  18248. + if test -f /usr/libexec/ld.so; then
  18249. + hardcode_direct=yes
  18250. + hardcode_shlibpath_var=no
  18251. + hardcode_direct_absolute=yes
  18252. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  18253. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  18254. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  18255. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  18256. + export_dynamic_flag_spec='${wl}-E'
  18257. + else
  18258. + case $host_os in
  18259. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  18260. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  18261. + hardcode_libdir_flag_spec='-R$libdir'
  18262. + ;;
  18263. + *)
  18264. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  18265. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  18266. + ;;
  18267. + esac
  18268. + fi
  18269. + else
  18270. + ld_shlibs=no
  18271. + fi
  18272. + ;;
  18273. +
  18274. + os2*)
  18275. + hardcode_libdir_flag_spec='-L$libdir'
  18276. + hardcode_minus_L=yes
  18277. + allow_undefined_flag=unsupported
  18278. + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  18279. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  18280. + ;;
  18281. +
  18282. + osf3*)
  18283. + if test "$GCC" = yes; then
  18284. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  18285. + archive_cmds='$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'
  18286. + else
  18287. + allow_undefined_flag=' -expect_unresolved \*'
  18288. + archive_cmds='$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'
  18289. + fi
  18290. + archive_cmds_need_lc='no'
  18291. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18292. + hardcode_libdir_separator=:
  18293. + ;;
  18294. +
  18295. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  18296. + if test "$GCC" = yes; then
  18297. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  18298. + archive_cmds='$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'
  18299. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  18300. + else
  18301. + allow_undefined_flag=' -expect_unresolved \*'
  18302. + archive_cmds='$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'
  18303. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  18304. + $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'
  18305. +
  18306. + # Both c and cxx compiler support -rpath directly
  18307. + hardcode_libdir_flag_spec='-rpath $libdir'
  18308. + fi
  18309. + archive_cmds_need_lc='no'
  18310. + hardcode_libdir_separator=:
  18311. + ;;
  18312. +
  18313. + solaris*)
  18314. + no_undefined_flag=' -z defs'
  18315. + if test "$GCC" = yes; then
  18316. + wlarc='${wl}'
  18317. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  18318. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  18319. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  18320. + else
  18321. + case `$CC -V 2>&1` in
  18322. + *"Compilers 5.0"*)
  18323. + wlarc=''
  18324. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18325. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  18326. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  18327. + ;;
  18328. + *)
  18329. + wlarc='${wl}'
  18330. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  18331. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  18332. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  18333. + ;;
  18334. + esac
  18335. + fi
  18336. + hardcode_libdir_flag_spec='-R$libdir'
  18337. + hardcode_shlibpath_var=no
  18338. + case $host_os in
  18339. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  18340. + *)
  18341. + # The compiler driver will combine and reorder linker options,
  18342. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  18343. + # but is careful enough not to reorder.
  18344. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  18345. + if test "$GCC" = yes; then
  18346. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  18347. + else
  18348. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  18349. + fi
  18350. + ;;
  18351. + esac
  18352. + link_all_deplibs=yes
  18353. + ;;
  18354. +
  18355. + sunos4*)
  18356. + if test "x$host_vendor" = xsequent; then
  18357. + # Use $CC to link under sequent, because it throws in some extra .o
  18358. + # files that make .init and .fini sections work.
  18359. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  18360. + else
  18361. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  18362. + fi
  18363. + hardcode_libdir_flag_spec='-L$libdir'
  18364. + hardcode_direct=yes
  18365. + hardcode_minus_L=yes
  18366. + hardcode_shlibpath_var=no
  18367. + ;;
  18368. +
  18369. + sysv4)
  18370. + case $host_vendor in
  18371. + sni)
  18372. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18373. + hardcode_direct=yes # is this really true???
  18374. + ;;
  18375. + siemens)
  18376. + ## LD is ld it makes a PLAMLIB
  18377. + ## CC just makes a GrossModule.
  18378. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  18379. + reload_cmds='$CC -r -o $output$reload_objs'
  18380. + hardcode_direct=no
  18381. + ;;
  18382. + motorola)
  18383. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18384. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  18385. + ;;
  18386. + esac
  18387. + runpath_var='LD_RUN_PATH'
  18388. + hardcode_shlibpath_var=no
  18389. + ;;
  18390. +
  18391. + sysv4.3*)
  18392. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18393. + hardcode_shlibpath_var=no
  18394. + export_dynamic_flag_spec='-Bexport'
  18395. + ;;
  18396. +
  18397. + sysv4*MP*)
  18398. + if test -d /usr/nec; then
  18399. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18400. + hardcode_shlibpath_var=no
  18401. + runpath_var=LD_RUN_PATH
  18402. + hardcode_runpath_var=yes
  18403. + ld_shlibs=yes
  18404. + fi
  18405. + ;;
  18406. +
  18407. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  18408. + no_undefined_flag='${wl}-z,text'
  18409. + archive_cmds_need_lc=no
  18410. + hardcode_shlibpath_var=no
  18411. + runpath_var='LD_RUN_PATH'
  18412. +
  18413. + if test "$GCC" = yes; then
  18414. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18415. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18416. + else
  18417. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18418. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18419. + fi
  18420. + ;;
  18421. +
  18422. + sysv5* | sco3.2v5* | sco5v6*)
  18423. + # Note: We can NOT use -z defs as we might desire, because we do not
  18424. + # link with -lc, and that would cause any symbols used from libc to
  18425. + # always be unresolved, which means just about no library would
  18426. + # ever link correctly. If we're not using GNU ld we use -z text
  18427. + # though, which does catch some bad symbols but isn't as heavy-handed
  18428. + # as -z defs.
  18429. + no_undefined_flag='${wl}-z,text'
  18430. + allow_undefined_flag='${wl}-z,nodefs'
  18431. + archive_cmds_need_lc=no
  18432. + hardcode_shlibpath_var=no
  18433. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  18434. + hardcode_libdir_separator=':'
  18435. + link_all_deplibs=yes
  18436. + export_dynamic_flag_spec='${wl}-Bexport'
  18437. + runpath_var='LD_RUN_PATH'
  18438. +
  18439. + if test "$GCC" = yes; then
  18440. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18441. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18442. + else
  18443. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18444. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  18445. + fi
  18446. + ;;
  18447. +
  18448. + uts4*)
  18449. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  18450. + hardcode_libdir_flag_spec='-L$libdir'
  18451. + hardcode_shlibpath_var=no
  18452. + ;;
  18453. +
  18454. + *)
  18455. + ld_shlibs=no
  18456. + ;;
  18457. + esac
  18458. +
  18459. + if test x$host_vendor = xsni; then
  18460. + case $host in
  18461. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  18462. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  18463. + ;;
  18464. + esac
  18465. + fi
  18466. + fi
  18467. +
  18468. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  18469. +$as_echo "$ld_shlibs" >&6; }
  18470. +test "$ld_shlibs" = no && can_build_shared=no
  18471. +
  18472. +with_gnu_ld=$with_gnu_ld
  18473. +
  18474. +
  18475. +
  18476. +
  18477. +
  18478. +
  18479. +
  18480. +
  18481. +
  18482. +
  18483. +
  18484. +
  18485. +
  18486. +
  18487. +
  18488. +#
  18489. +# Do we need to explicitly link libc?
  18490. +#
  18491. +case "x$archive_cmds_need_lc" in
  18492. +x|xyes)
  18493. + # Assume -lc should be added
  18494. + archive_cmds_need_lc=yes
  18495. +
  18496. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  18497. + case $archive_cmds in
  18498. + *'~'*)
  18499. + # FIXME: we may have to deal with multi-command sequences.
  18500. + ;;
  18501. + '$CC '*)
  18502. + # Test whether the compiler implicitly links with -lc since on some
  18503. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  18504. + # to ld, don't add -lc before -lgcc.
  18505. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  18506. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  18507. + $RM conftest*
  18508. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  18509. +
  18510. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18511. + (eval $ac_compile) 2>&5
  18512. + ac_status=$?
  18513. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18514. + test $ac_status = 0; } 2>conftest.err; then
  18515. + soname=conftest
  18516. + lib=conftest
  18517. + libobjs=conftest.$ac_objext
  18518. + deplibs=
  18519. + wl=$lt_prog_compiler_wl
  18520. + pic_flag=$lt_prog_compiler_pic
  18521. + compiler_flags=-v
  18522. + linker_flags=-v
  18523. + verstring=
  18524. + output_objdir=.
  18525. + libname=conftest
  18526. + lt_save_allow_undefined_flag=$allow_undefined_flag
  18527. + allow_undefined_flag=
  18528. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  18529. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  18530. + ac_status=$?
  18531. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18532. + test $ac_status = 0; }
  18533. + then
  18534. + archive_cmds_need_lc=no
  18535. + else
  18536. + archive_cmds_need_lc=yes
  18537. + fi
  18538. + allow_undefined_flag=$lt_save_allow_undefined_flag
  18539. + else
  18540. + cat conftest.err 1>&5
  18541. + fi
  18542. + $RM conftest*
  18543. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  18544. +$as_echo "$archive_cmds_need_lc" >&6; }
  18545. + ;;
  18546. + esac
  18547. + fi
  18548. + ;;
  18549. +esac
  18550. +
  18551. +
  18552. +
  18553. +
  18554. +
  18555. +
  18556. +
  18557. +
  18558. +
  18559. +
  18560. +
  18561. +
  18562. +
  18563. +
  18564. +
  18565. +
  18566. +
  18567. +
  18568. +
  18569. +
  18570. +
  18571. +
  18572. +
  18573. +
  18574. +
  18575. +
  18576. +
  18577. +
  18578. +
  18579. +
  18580. +
  18581. +
  18582. +
  18583. +
  18584. +
  18585. +
  18586. +
  18587. +
  18588. +
  18589. +
  18590. +
  18591. +
  18592. +
  18593. +
  18594. +
  18595. +
  18596. +
  18597. +
  18598. +
  18599. +
  18600. +
  18601. +
  18602. +
  18603. +
  18604. +
  18605. +
  18606. +
  18607. +
  18608. +
  18609. +
  18610. +
  18611. +
  18612. +
  18613. +
  18614. +
  18615. +
  18616. +
  18617. +
  18618. +
  18619. +
  18620. +
  18621. +
  18622. +
  18623. +
  18624. +
  18625. +
  18626. +
  18627. +
  18628. +
  18629. +
  18630. +
  18631. +
  18632. +
  18633. +
  18634. +
  18635. +
  18636. +
  18637. +
  18638. +
  18639. +
  18640. +
  18641. +
  18642. +
  18643. +
  18644. +
  18645. +
  18646. +
  18647. +
  18648. +
  18649. +
  18650. +
  18651. +
  18652. +
  18653. +
  18654. +
  18655. +
  18656. +
  18657. +
  18658. +
  18659. +
  18660. +
  18661. +
  18662. +
  18663. +
  18664. +
  18665. +
  18666. +
  18667. +
  18668. +
  18669. +
  18670. +
  18671. +
  18672. +
  18673. +
  18674. +
  18675. +
  18676. +
  18677. +
  18678. +
  18679. +
  18680. +
  18681. +
  18682. +
  18683. +
  18684. +
  18685. +
  18686. +
  18687. +
  18688. +
  18689. +
  18690. +
  18691. +
  18692. +
  18693. +
  18694. +
  18695. +
  18696. +
  18697. +
  18698. +
  18699. +
  18700. +
  18701. +
  18702. +
  18703. +
  18704. +
  18705. +
  18706. +
  18707. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  18708. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  18709. +
  18710. +if test "$GCC" = yes; then
  18711. + case $host_os in
  18712. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  18713. + *) lt_awk_arg="/^libraries:/" ;;
  18714. + esac
  18715. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  18716. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  18717. + # if the path contains ";" then we assume it to be the separator
  18718. + # otherwise default to the standard path separator (i.e. ":") - it is
  18719. + # assumed that no part of a normal pathname contains ";" but that should
  18720. + # okay in the real world where ";" in dirpaths is itself problematic.
  18721. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  18722. + else
  18723. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  18724. + fi
  18725. + # Ok, now we have the path, separated by spaces, we can step through it
  18726. + # and add multilib dir if necessary.
  18727. + lt_tmp_lt_search_path_spec=
  18728. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  18729. + for lt_sys_path in $lt_search_path_spec; do
  18730. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  18731. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  18732. + else
  18733. + test -d "$lt_sys_path" && \
  18734. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  18735. + fi
  18736. + done
  18737. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  18738. +BEGIN {RS=" "; FS="/|\n";} {
  18739. + lt_foo="";
  18740. + lt_count=0;
  18741. + for (lt_i = NF; lt_i > 0; lt_i--) {
  18742. + if ($lt_i != "" && $lt_i != ".") {
  18743. + if ($lt_i == "..") {
  18744. + lt_count++;
  18745. + } else {
  18746. + if (lt_count == 0) {
  18747. + lt_foo="/" $lt_i lt_foo;
  18748. + } else {
  18749. + lt_count--;
  18750. + }
  18751. + }
  18752. + }
  18753. + }
  18754. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  18755. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  18756. +}'`
  18757. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  18758. +else
  18759. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  18760. +fi
  18761. +library_names_spec=
  18762. +libname_spec='lib$name'
  18763. +soname_spec=
  18764. +shrext_cmds=".so"
  18765. +postinstall_cmds=
  18766. +postuninstall_cmds=
  18767. +finish_cmds=
  18768. +finish_eval=
  18769. +shlibpath_var=
  18770. +shlibpath_overrides_runpath=unknown
  18771. +version_type=none
  18772. +dynamic_linker="$host_os ld.so"
  18773. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  18774. +need_lib_prefix=unknown
  18775. +hardcode_into_libs=no
  18776. +
  18777. +# when you set need_version to no, make sure it does not cause -set_version
  18778. +# flags to be left without arguments
  18779. +need_version=unknown
  18780. +
  18781. +case $host_os in
  18782. +aix3*)
  18783. + version_type=linux
  18784. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  18785. + shlibpath_var=LIBPATH
  18786. +
  18787. + # AIX 3 has no versioning support, so we append a major version to the name.
  18788. + soname_spec='${libname}${release}${shared_ext}$major'
  18789. + ;;
  18790. +
  18791. +aix[4-9]*)
  18792. + version_type=linux
  18793. + need_lib_prefix=no
  18794. + need_version=no
  18795. + hardcode_into_libs=yes
  18796. + if test "$host_cpu" = ia64; then
  18797. + # AIX 5 supports IA64
  18798. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  18799. + shlibpath_var=LD_LIBRARY_PATH
  18800. + else
  18801. + # With GCC up to 2.95.x, collect2 would create an import file
  18802. + # for dependence libraries. The import file would start with
  18803. + # the line `#! .'. This would cause the generated library to
  18804. + # depend on `.', always an invalid library. This was fixed in
  18805. + # development snapshots of GCC prior to 3.0.
  18806. + case $host_os in
  18807. + aix4 | aix4.[01] | aix4.[01].*)
  18808. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  18809. + echo ' yes '
  18810. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  18811. + :
  18812. + else
  18813. + can_build_shared=no
  18814. + fi
  18815. + ;;
  18816. + esac
  18817. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  18818. + # soname into executable. Probably we can add versioning support to
  18819. + # collect2, so additional links can be useful in future.
  18820. + if test "$aix_use_runtimelinking" = yes; then
  18821. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  18822. + # instead of lib<name>.a to let people know that these are not
  18823. + # typical AIX shared libraries.
  18824. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18825. + else
  18826. + # We preserve .a as extension for shared libraries through AIX4.2
  18827. + # and later when we are not doing run time linking.
  18828. + library_names_spec='${libname}${release}.a $libname.a'
  18829. + soname_spec='${libname}${release}${shared_ext}$major'
  18830. + fi
  18831. + shlibpath_var=LIBPATH
  18832. + fi
  18833. + ;;
  18834. +
  18835. +amigaos*)
  18836. + case $host_cpu in
  18837. + powerpc)
  18838. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  18839. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  18840. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18841. + ;;
  18842. + m68k)
  18843. + library_names_spec='$libname.ixlibrary $libname.a'
  18844. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  18845. + 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'
  18846. + ;;
  18847. + esac
  18848. + ;;
  18849. +
  18850. +beos*)
  18851. + library_names_spec='${libname}${shared_ext}'
  18852. + dynamic_linker="$host_os ld.so"
  18853. + shlibpath_var=LIBRARY_PATH
  18854. + ;;
  18855. +
  18856. +bsdi[45]*)
  18857. + version_type=linux
  18858. + need_version=no
  18859. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18860. + soname_spec='${libname}${release}${shared_ext}$major'
  18861. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  18862. + shlibpath_var=LD_LIBRARY_PATH
  18863. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  18864. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  18865. + # the default ld.so.conf also contains /usr/contrib/lib and
  18866. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  18867. + # libtool to hard-code these into programs
  18868. + ;;
  18869. +
  18870. +cygwin* | mingw* | pw32* | cegcc*)
  18871. + version_type=windows
  18872. + shrext_cmds=".dll"
  18873. + need_version=no
  18874. + need_lib_prefix=no
  18875. +
  18876. + case $GCC,$host_os in
  18877. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  18878. + library_names_spec='$libname.dll.a'
  18879. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  18880. + postinstall_cmds='base_file=`basename \${file}`~
  18881. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  18882. + dldir=$destdir/`dirname \$dlpath`~
  18883. + test -d \$dldir || mkdir -p \$dldir~
  18884. + $install_prog $dir/$dlname \$dldir/$dlname~
  18885. + chmod a+x \$dldir/$dlname~
  18886. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  18887. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  18888. + fi'
  18889. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  18890. + dlpath=$dir/\$dldll~
  18891. + $RM \$dlpath'
  18892. + shlibpath_overrides_runpath=yes
  18893. +
  18894. + case $host_os in
  18895. + cygwin*)
  18896. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  18897. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18898. + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  18899. + ;;
  18900. + mingw* | cegcc*)
  18901. + # MinGW DLLs use traditional 'lib' prefix
  18902. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18903. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  18904. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  18905. + # It is most probably a Windows format PATH printed by
  18906. + # mingw gcc, but we are running on Cygwin. Gcc prints its search
  18907. + # path with ; separators, and with drive letters. We can handle the
  18908. + # drive letters (cygwin fileutils understands them), so leave them,
  18909. + # especially as we might pass files found there to a mingw objdump,
  18910. + # which wouldn't understand a cygwinified path. Ahh.
  18911. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  18912. + else
  18913. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  18914. + fi
  18915. + ;;
  18916. + pw32*)
  18917. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  18918. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18919. + ;;
  18920. + esac
  18921. + ;;
  18922. +
  18923. + *)
  18924. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  18925. + ;;
  18926. + esac
  18927. + dynamic_linker='Win32 ld.exe'
  18928. + # FIXME: first we should search . and the directory the executable is in
  18929. + shlibpath_var=PATH
  18930. + ;;
  18931. +
  18932. +darwin* | rhapsody*)
  18933. + dynamic_linker="$host_os dyld"
  18934. + version_type=darwin
  18935. + need_lib_prefix=no
  18936. + need_version=no
  18937. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  18938. + soname_spec='${libname}${release}${major}$shared_ext'
  18939. + shlibpath_overrides_runpath=yes
  18940. + shlibpath_var=DYLD_LIBRARY_PATH
  18941. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  18942. +
  18943. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  18944. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  18945. + ;;
  18946. +
  18947. +dgux*)
  18948. + version_type=linux
  18949. + need_lib_prefix=no
  18950. + need_version=no
  18951. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  18952. + soname_spec='${libname}${release}${shared_ext}$major'
  18953. + shlibpath_var=LD_LIBRARY_PATH
  18954. + ;;
  18955. +
  18956. +freebsd1*)
  18957. + dynamic_linker=no
  18958. + ;;
  18959. +
  18960. +freebsd* | dragonfly*)
  18961. + # DragonFly does not have aout. When/if they implement a new
  18962. + # versioning mechanism, adjust this.
  18963. + if test -x /usr/bin/objformat; then
  18964. + objformat=`/usr/bin/objformat`
  18965. + else
  18966. + case $host_os in
  18967. + freebsd[123]*) objformat=aout ;;
  18968. + *) objformat=elf ;;
  18969. + esac
  18970. + fi
  18971. + version_type=freebsd-$objformat
  18972. + case $version_type in
  18973. + freebsd-elf*)
  18974. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  18975. + need_version=no
  18976. + need_lib_prefix=no
  18977. + ;;
  18978. + freebsd-*)
  18979. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  18980. + need_version=yes
  18981. + ;;
  18982. + esac
  18983. + shlibpath_var=LD_LIBRARY_PATH
  18984. + case $host_os in
  18985. + freebsd2*)
  18986. + shlibpath_overrides_runpath=yes
  18987. + ;;
  18988. + freebsd3.[01]* | freebsdelf3.[01]*)
  18989. + shlibpath_overrides_runpath=yes
  18990. + hardcode_into_libs=yes
  18991. + ;;
  18992. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  18993. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  18994. + shlibpath_overrides_runpath=no
  18995. + hardcode_into_libs=yes
  18996. + ;;
  18997. + *) # from 4.6 on, and DragonFly
  18998. + shlibpath_overrides_runpath=yes
  18999. + hardcode_into_libs=yes
  19000. + ;;
  19001. + esac
  19002. + ;;
  19003. +
  19004. +gnu*)
  19005. + version_type=linux
  19006. + need_lib_prefix=no
  19007. + need_version=no
  19008. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  19009. + soname_spec='${libname}${release}${shared_ext}$major'
  19010. + shlibpath_var=LD_LIBRARY_PATH
  19011. + hardcode_into_libs=yes
  19012. + ;;
  19013. +
  19014. +hpux9* | hpux10* | hpux11*)
  19015. + # Give a soname corresponding to the major version so that dld.sl refuses to
  19016. + # link against other versions.
  19017. + version_type=sunos
  19018. + need_lib_prefix=no
  19019. + need_version=no
  19020. + case $host_cpu in
  19021. + ia64*)
  19022. + shrext_cmds='.so'
  19023. + hardcode_into_libs=yes
  19024. + dynamic_linker="$host_os dld.so"
  19025. + shlibpath_var=LD_LIBRARY_PATH
  19026. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  19027. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19028. + soname_spec='${libname}${release}${shared_ext}$major'
  19029. + if test "X$HPUX_IA64_MODE" = X32; then
  19030. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  19031. + else
  19032. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  19033. + fi
  19034. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  19035. + ;;
  19036. + hppa*64*)
  19037. + shrext_cmds='.sl'
  19038. + hardcode_into_libs=yes
  19039. + dynamic_linker="$host_os dld.sl"
  19040. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  19041. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  19042. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19043. + soname_spec='${libname}${release}${shared_ext}$major'
  19044. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  19045. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  19046. + ;;
  19047. + *)
  19048. + shrext_cmds='.sl'
  19049. + dynamic_linker="$host_os dld.sl"
  19050. + shlibpath_var=SHLIB_PATH
  19051. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  19052. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19053. + soname_spec='${libname}${release}${shared_ext}$major'
  19054. + ;;
  19055. + esac
  19056. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  19057. + postinstall_cmds='chmod 555 $lib'
  19058. + ;;
  19059. +
  19060. +interix[3-9]*)
  19061. + version_type=linux
  19062. + need_lib_prefix=no
  19063. + need_version=no
  19064. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  19065. + soname_spec='${libname}${release}${shared_ext}$major'
  19066. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  19067. + shlibpath_var=LD_LIBRARY_PATH
  19068. + shlibpath_overrides_runpath=no
  19069. + hardcode_into_libs=yes
  19070. + ;;
  19071. +
  19072. +irix5* | irix6* | nonstopux*)
  19073. + case $host_os in
  19074. + nonstopux*) version_type=nonstopux ;;
  19075. + *)
  19076. + if test "$lt_cv_prog_gnu_ld" = yes; then
  19077. + version_type=linux
  19078. + else
  19079. + version_type=irix
  19080. + fi ;;
  19081. + esac
  19082. + need_lib_prefix=no
  19083. + need_version=no
  19084. + soname_spec='${libname}${release}${shared_ext}$major'
  19085. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  19086. + case $host_os in
  19087. + irix5* | nonstopux*)
  19088. + libsuff= shlibsuff=
  19089. + ;;
  19090. + *)
  19091. + case $LD in # libtool.m4 will add one of these switches to LD
  19092. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  19093. + libsuff= shlibsuff= libmagic=32-bit;;
  19094. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  19095. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  19096. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  19097. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  19098. + *) libsuff= shlibsuff= libmagic=never-match;;
  19099. + esac
  19100. + ;;
  19101. + esac
  19102. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  19103. + shlibpath_overrides_runpath=no
  19104. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  19105. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  19106. + hardcode_into_libs=yes
  19107. + ;;
  19108. +
  19109. +# No shared lib support for Linux oldld, aout, or coff.
  19110. +linux*oldld* | linux*aout* | linux*coff*)
  19111. + dynamic_linker=no
  19112. + ;;
  19113. +
  19114. +# This must be Linux ELF.
  19115. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  19116. + version_type=linux
  19117. + need_lib_prefix=no
  19118. + need_version=no
  19119. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19120. + soname_spec='${libname}${release}${shared_ext}$major'
  19121. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  19122. + shlibpath_var=LD_LIBRARY_PATH
  19123. + shlibpath_overrides_runpath=no
  19124. + # Some binutils ld are patched to set DT_RUNPATH
  19125. + save_LDFLAGS=$LDFLAGS
  19126. + save_libdir=$libdir
  19127. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  19128. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  19129. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19130. +/* end confdefs.h. */
  19131. +
  19132. +int
  19133. +main ()
  19134. +{
  19135. +
  19136. + ;
  19137. + return 0;
  19138. +}
  19139. +_ACEOF
  19140. +if ac_fn_c_try_link "$LINENO"; then :
  19141. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  19142. + shlibpath_overrides_runpath=yes
  19143. +fi
  19144. +fi
  19145. +rm -f core conftest.err conftest.$ac_objext \
  19146. + conftest$ac_exeext conftest.$ac_ext
  19147. + LDFLAGS=$save_LDFLAGS
  19148. + libdir=$save_libdir
  19149. +
  19150. + # This implies no fast_install, which is unacceptable.
  19151. + # Some rework will be needed to allow for fast_install
  19152. + # before this can be enabled.
  19153. + hardcode_into_libs=yes
  19154. +
  19155. + # Append ld.so.conf contents to the search path
  19156. + if test -f /etc/ld.so.conf; then
  19157. + 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' ' '`
  19158. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  19159. + fi
  19160. +
  19161. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  19162. + # powerpc, because MkLinux only supported shared libraries with the
  19163. + # GNU dynamic linker. Since this was broken with cross compilers,
  19164. + # most powerpc-linux boxes support dynamic linking these days and
  19165. + # people can always --disable-shared, the test was removed, and we
  19166. + # assume the GNU/Linux dynamic linker is in use.
  19167. + dynamic_linker='GNU/Linux ld.so'
  19168. + ;;
  19169. +
  19170. +netbsdelf*-gnu)
  19171. + version_type=linux
  19172. + need_lib_prefix=no
  19173. + need_version=no
  19174. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  19175. + soname_spec='${libname}${release}${shared_ext}$major'
  19176. + shlibpath_var=LD_LIBRARY_PATH
  19177. + shlibpath_overrides_runpath=no
  19178. + hardcode_into_libs=yes
  19179. + dynamic_linker='NetBSD ld.elf_so'
  19180. + ;;
  19181. +
  19182. +netbsd*)
  19183. + version_type=sunos
  19184. + need_lib_prefix=no
  19185. + need_version=no
  19186. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  19187. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  19188. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  19189. + dynamic_linker='NetBSD (a.out) ld.so'
  19190. + else
  19191. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  19192. + soname_spec='${libname}${release}${shared_ext}$major'
  19193. + dynamic_linker='NetBSD ld.elf_so'
  19194. + fi
  19195. + shlibpath_var=LD_LIBRARY_PATH
  19196. + shlibpath_overrides_runpath=yes
  19197. + hardcode_into_libs=yes
  19198. + ;;
  19199. +
  19200. +newsos6)
  19201. + version_type=linux
  19202. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19203. + shlibpath_var=LD_LIBRARY_PATH
  19204. + shlibpath_overrides_runpath=yes
  19205. + ;;
  19206. +
  19207. +*nto* | *qnx*)
  19208. + version_type=qnx
  19209. + need_lib_prefix=no
  19210. + need_version=no
  19211. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19212. + soname_spec='${libname}${release}${shared_ext}$major'
  19213. + shlibpath_var=LD_LIBRARY_PATH
  19214. + shlibpath_overrides_runpath=no
  19215. + hardcode_into_libs=yes
  19216. + dynamic_linker='ldqnx.so'
  19217. + ;;
  19218. +
  19219. +openbsd*)
  19220. + version_type=sunos
  19221. + sys_lib_dlsearch_path_spec="/usr/lib"
  19222. + need_lib_prefix=no
  19223. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  19224. + case $host_os in
  19225. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  19226. + *) need_version=no ;;
  19227. + esac
  19228. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  19229. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  19230. + shlibpath_var=LD_LIBRARY_PATH
  19231. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  19232. + case $host_os in
  19233. + openbsd2.[89] | openbsd2.[89].*)
  19234. + shlibpath_overrides_runpath=no
  19235. + ;;
  19236. + *)
  19237. + shlibpath_overrides_runpath=yes
  19238. + ;;
  19239. + esac
  19240. + else
  19241. + shlibpath_overrides_runpath=yes
  19242. + fi
  19243. + ;;
  19244. +
  19245. +os2*)
  19246. + libname_spec='$name'
  19247. + shrext_cmds=".dll"
  19248. + need_lib_prefix=no
  19249. + library_names_spec='$libname${shared_ext} $libname.a'
  19250. + dynamic_linker='OS/2 ld.exe'
  19251. + shlibpath_var=LIBPATH
  19252. + ;;
  19253. +
  19254. +osf3* | osf4* | osf5*)
  19255. + version_type=osf
  19256. + need_lib_prefix=no
  19257. + need_version=no
  19258. + soname_spec='${libname}${release}${shared_ext}$major'
  19259. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19260. + shlibpath_var=LD_LIBRARY_PATH
  19261. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  19262. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  19263. + ;;
  19264. +
  19265. +rdos*)
  19266. + dynamic_linker=no
  19267. + ;;
  19268. +
  19269. +solaris*)
  19270. + version_type=linux
  19271. + need_lib_prefix=no
  19272. + need_version=no
  19273. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19274. + soname_spec='${libname}${release}${shared_ext}$major'
  19275. + shlibpath_var=LD_LIBRARY_PATH
  19276. + shlibpath_overrides_runpath=yes
  19277. + hardcode_into_libs=yes
  19278. + # ldd complains unless libraries are executable
  19279. + postinstall_cmds='chmod +x $lib'
  19280. + ;;
  19281. +
  19282. +sunos4*)
  19283. + version_type=sunos
  19284. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  19285. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  19286. + shlibpath_var=LD_LIBRARY_PATH
  19287. + shlibpath_overrides_runpath=yes
  19288. + if test "$with_gnu_ld" = yes; then
  19289. + need_lib_prefix=no
  19290. + fi
  19291. + need_version=yes
  19292. + ;;
  19293. +
  19294. +sysv4 | sysv4.3*)
  19295. + version_type=linux
  19296. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19297. + soname_spec='${libname}${release}${shared_ext}$major'
  19298. + shlibpath_var=LD_LIBRARY_PATH
  19299. + case $host_vendor in
  19300. + sni)
  19301. + shlibpath_overrides_runpath=no
  19302. + need_lib_prefix=no
  19303. + runpath_var=LD_RUN_PATH
  19304. + ;;
  19305. + siemens)
  19306. + need_lib_prefix=no
  19307. + ;;
  19308. + motorola)
  19309. + need_lib_prefix=no
  19310. + need_version=no
  19311. + shlibpath_overrides_runpath=no
  19312. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  19313. + ;;
  19314. + esac
  19315. + ;;
  19316. +
  19317. +sysv4*MP*)
  19318. + if test -d /usr/nec ;then
  19319. + version_type=linux
  19320. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  19321. + soname_spec='$libname${shared_ext}.$major'
  19322. + shlibpath_var=LD_LIBRARY_PATH
  19323. + fi
  19324. + ;;
  19325. +
  19326. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  19327. + version_type=freebsd-elf
  19328. + need_lib_prefix=no
  19329. + need_version=no
  19330. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  19331. + soname_spec='${libname}${release}${shared_ext}$major'
  19332. + shlibpath_var=LD_LIBRARY_PATH
  19333. + shlibpath_overrides_runpath=yes
  19334. + hardcode_into_libs=yes
  19335. + if test "$with_gnu_ld" = yes; then
  19336. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  19337. + else
  19338. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  19339. + case $host_os in
  19340. + sco3.2v5*)
  19341. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  19342. + ;;
  19343. + esac
  19344. + fi
  19345. + sys_lib_dlsearch_path_spec='/usr/lib'
  19346. + ;;
  19347. +
  19348. +tpf*)
  19349. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  19350. + version_type=linux
  19351. + need_lib_prefix=no
  19352. + need_version=no
  19353. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19354. + shlibpath_var=LD_LIBRARY_PATH
  19355. + shlibpath_overrides_runpath=no
  19356. + hardcode_into_libs=yes
  19357. + ;;
  19358. +
  19359. +uts4*)
  19360. + version_type=linux
  19361. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  19362. + soname_spec='${libname}${release}${shared_ext}$major'
  19363. + shlibpath_var=LD_LIBRARY_PATH
  19364. + ;;
  19365. +
  19366. +*)
  19367. + dynamic_linker=no
  19368. + ;;
  19369. +esac
  19370. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  19371. +$as_echo "$dynamic_linker" >&6; }
  19372. +test "$dynamic_linker" = no && can_build_shared=no
  19373. +
  19374. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  19375. +if test "$GCC" = yes; then
  19376. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  19377. +fi
  19378. +
  19379. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  19380. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  19381. +fi
  19382. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  19383. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  19384. +fi
  19385. +
  19386. +
  19387. +
  19388. +
  19389. +
  19390. +
  19391. +
  19392. +
  19393. +
  19394. +
  19395. +
  19396. +
  19397. +
  19398. +
  19399. +
  19400. +
  19401. +
  19402. +
  19403. +
  19404. +
  19405. +
  19406. +
  19407. +
  19408. +
  19409. +
  19410. +
  19411. +
  19412. +
  19413. +
  19414. +
  19415. +
  19416. +
  19417. +
  19418. +
  19419. +
  19420. +
  19421. +
  19422. +
  19423. +
  19424. +
  19425. +
  19426. +
  19427. +
  19428. +
  19429. +
  19430. +
  19431. +
  19432. +
  19433. +
  19434. +
  19435. +
  19436. +
  19437. +
  19438. +
  19439. +
  19440. +
  19441. +
  19442. +
  19443. +
  19444. +
  19445. +
  19446. +
  19447. +
  19448. +
  19449. +
  19450. +
  19451. +
  19452. +
  19453. +
  19454. +
  19455. +
  19456. +
  19457. +
  19458. +
  19459. +
  19460. +
  19461. +
  19462. +
  19463. +
  19464. +
  19465. +
  19466. +
  19467. +
  19468. +
  19469. +
  19470. +
  19471. +
  19472. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  19473. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  19474. +hardcode_action=
  19475. +if test -n "$hardcode_libdir_flag_spec" ||
  19476. + test -n "$runpath_var" ||
  19477. + test "X$hardcode_automatic" = "Xyes" ; then
  19478. +
  19479. + # We can hardcode non-existent directories.
  19480. + if test "$hardcode_direct" != no &&
  19481. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  19482. + # have to relink, otherwise we might link with an installed library
  19483. + # when we should be linking with a yet-to-be-installed one
  19484. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  19485. + test "$hardcode_minus_L" != no; then
  19486. + # Linking always hardcodes the temporary library directory.
  19487. + hardcode_action=relink
  19488. + else
  19489. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  19490. + hardcode_action=immediate
  19491. + fi
  19492. +else
  19493. + # We cannot hardcode anything, or else we can only hardcode existing
  19494. + # directories.
  19495. + hardcode_action=unsupported
  19496. +fi
  19497. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  19498. +$as_echo "$hardcode_action" >&6; }
  19499. +
  19500. +if test "$hardcode_action" = relink ||
  19501. + test "$inherit_rpath" = yes; then
  19502. + # Fast installation is not supported
  19503. + enable_fast_install=no
  19504. +elif test "$shlibpath_overrides_runpath" = yes ||
  19505. + test "$enable_shared" = no; then
  19506. + # Fast installation is not necessary
  19507. + enable_fast_install=needless
  19508. +fi
  19509. +
  19510. +
  19511. +
  19512. +
  19513. +
  19514. +
  19515. + if test "x$enable_dlopen" != xyes; then
  19516. + enable_dlopen=unknown
  19517. + enable_dlopen_self=unknown
  19518. + enable_dlopen_self_static=unknown
  19519. +else
  19520. + lt_cv_dlopen=no
  19521. + lt_cv_dlopen_libs=
  19522. +
  19523. + case $host_os in
  19524. + beos*)
  19525. + lt_cv_dlopen="load_add_on"
  19526. + lt_cv_dlopen_libs=
  19527. + lt_cv_dlopen_self=yes
  19528. + ;;
  19529. +
  19530. + mingw* | pw32* | cegcc*)
  19531. + lt_cv_dlopen="LoadLibrary"
  19532. + lt_cv_dlopen_libs=
  19533. + ;;
  19534. +
  19535. + cygwin*)
  19536. + lt_cv_dlopen="dlopen"
  19537. + lt_cv_dlopen_libs=
  19538. + ;;
  19539. +
  19540. + darwin*)
  19541. + # if libdl is installed we need to link against it
  19542. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  19543. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  19544. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  19545. + $as_echo_n "(cached) " >&6
  19546. +else
  19547. + ac_check_lib_save_LIBS=$LIBS
  19548. +LIBS="-ldl $LIBS"
  19549. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19550. +/* end confdefs.h. */
  19551. +
  19552. +/* Override any GCC internal prototype to avoid an error.
  19553. + Use char because int might match the return type of a GCC
  19554. + builtin and then its argument prototype would still apply. */
  19555. +#ifdef __cplusplus
  19556. +extern "C"
  19557. +#endif
  19558. +char dlopen ();
  19559. +int
  19560. +main ()
  19561. +{
  19562. +return dlopen ();
  19563. + ;
  19564. + return 0;
  19565. +}
  19566. +_ACEOF
  19567. +if ac_fn_c_try_link "$LINENO"; then :
  19568. + ac_cv_lib_dl_dlopen=yes
  19569. +else
  19570. + ac_cv_lib_dl_dlopen=no
  19571. +fi
  19572. +rm -f core conftest.err conftest.$ac_objext \
  19573. + conftest$ac_exeext conftest.$ac_ext
  19574. +LIBS=$ac_check_lib_save_LIBS
  19575. +fi
  19576. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  19577. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  19578. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  19579. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  19580. +else
  19581. +
  19582. + lt_cv_dlopen="dyld"
  19583. + lt_cv_dlopen_libs=
  19584. + lt_cv_dlopen_self=yes
  19585. +
  19586. +fi
  19587. +
  19588. + ;;
  19589. +
  19590. + *)
  19591. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  19592. +if test "x$ac_cv_func_shl_load" = xyes; then :
  19593. + lt_cv_dlopen="shl_load"
  19594. +else
  19595. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  19596. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  19597. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  19598. + $as_echo_n "(cached) " >&6
  19599. +else
  19600. + ac_check_lib_save_LIBS=$LIBS
  19601. +LIBS="-ldld $LIBS"
  19602. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19603. +/* end confdefs.h. */
  19604. +
  19605. +/* Override any GCC internal prototype to avoid an error.
  19606. + Use char because int might match the return type of a GCC
  19607. + builtin and then its argument prototype would still apply. */
  19608. +#ifdef __cplusplus
  19609. +extern "C"
  19610. +#endif
  19611. +char shl_load ();
  19612. +int
  19613. +main ()
  19614. +{
  19615. +return shl_load ();
  19616. + ;
  19617. + return 0;
  19618. +}
  19619. +_ACEOF
  19620. +if ac_fn_c_try_link "$LINENO"; then :
  19621. + ac_cv_lib_dld_shl_load=yes
  19622. +else
  19623. + ac_cv_lib_dld_shl_load=no
  19624. +fi
  19625. +rm -f core conftest.err conftest.$ac_objext \
  19626. + conftest$ac_exeext conftest.$ac_ext
  19627. +LIBS=$ac_check_lib_save_LIBS
  19628. +fi
  19629. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  19630. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  19631. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  19632. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  19633. +else
  19634. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  19635. +if test "x$ac_cv_func_dlopen" = xyes; then :
  19636. + lt_cv_dlopen="dlopen"
  19637. +else
  19638. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  19639. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  19640. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  19641. + $as_echo_n "(cached) " >&6
  19642. +else
  19643. + ac_check_lib_save_LIBS=$LIBS
  19644. +LIBS="-ldl $LIBS"
  19645. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19646. +/* end confdefs.h. */
  19647. +
  19648. +/* Override any GCC internal prototype to avoid an error.
  19649. + Use char because int might match the return type of a GCC
  19650. + builtin and then its argument prototype would still apply. */
  19651. +#ifdef __cplusplus
  19652. +extern "C"
  19653. +#endif
  19654. +char dlopen ();
  19655. +int
  19656. +main ()
  19657. +{
  19658. +return dlopen ();
  19659. + ;
  19660. + return 0;
  19661. +}
  19662. +_ACEOF
  19663. +if ac_fn_c_try_link "$LINENO"; then :
  19664. + ac_cv_lib_dl_dlopen=yes
  19665. +else
  19666. + ac_cv_lib_dl_dlopen=no
  19667. +fi
  19668. +rm -f core conftest.err conftest.$ac_objext \
  19669. + conftest$ac_exeext conftest.$ac_ext
  19670. +LIBS=$ac_check_lib_save_LIBS
  19671. +fi
  19672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  19673. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  19674. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  19675. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  19676. +else
  19677. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  19678. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  19679. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  19680. + $as_echo_n "(cached) " >&6
  19681. +else
  19682. + ac_check_lib_save_LIBS=$LIBS
  19683. +LIBS="-lsvld $LIBS"
  19684. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19685. +/* end confdefs.h. */
  19686. +
  19687. +/* Override any GCC internal prototype to avoid an error.
  19688. + Use char because int might match the return type of a GCC
  19689. + builtin and then its argument prototype would still apply. */
  19690. +#ifdef __cplusplus
  19691. +extern "C"
  19692. +#endif
  19693. +char dlopen ();
  19694. +int
  19695. +main ()
  19696. +{
  19697. +return dlopen ();
  19698. + ;
  19699. + return 0;
  19700. +}
  19701. +_ACEOF
  19702. +if ac_fn_c_try_link "$LINENO"; then :
  19703. + ac_cv_lib_svld_dlopen=yes
  19704. +else
  19705. + ac_cv_lib_svld_dlopen=no
  19706. +fi
  19707. +rm -f core conftest.err conftest.$ac_objext \
  19708. + conftest$ac_exeext conftest.$ac_ext
  19709. +LIBS=$ac_check_lib_save_LIBS
  19710. +fi
  19711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  19712. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  19713. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  19714. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  19715. +else
  19716. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  19717. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  19718. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  19719. + $as_echo_n "(cached) " >&6
  19720. +else
  19721. + ac_check_lib_save_LIBS=$LIBS
  19722. +LIBS="-ldld $LIBS"
  19723. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19724. +/* end confdefs.h. */
  19725. +
  19726. +/* Override any GCC internal prototype to avoid an error.
  19727. + Use char because int might match the return type of a GCC
  19728. + builtin and then its argument prototype would still apply. */
  19729. +#ifdef __cplusplus
  19730. +extern "C"
  19731. +#endif
  19732. +char dld_link ();
  19733. +int
  19734. +main ()
  19735. +{
  19736. +return dld_link ();
  19737. + ;
  19738. + return 0;
  19739. +}
  19740. +_ACEOF
  19741. +if ac_fn_c_try_link "$LINENO"; then :
  19742. + ac_cv_lib_dld_dld_link=yes
  19743. +else
  19744. + ac_cv_lib_dld_dld_link=no
  19745. +fi
  19746. +rm -f core conftest.err conftest.$ac_objext \
  19747. + conftest$ac_exeext conftest.$ac_ext
  19748. +LIBS=$ac_check_lib_save_LIBS
  19749. +fi
  19750. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  19751. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  19752. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  19753. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  19754. +fi
  19755. +
  19756. +
  19757. +fi
  19758. +
  19759. +
  19760. +fi
  19761. +
  19762. +
  19763. +fi
  19764. +
  19765. +
  19766. +fi
  19767. +
  19768. +
  19769. +fi
  19770. +
  19771. + ;;
  19772. + esac
  19773. +
  19774. + if test "x$lt_cv_dlopen" != xno; then
  19775. + enable_dlopen=yes
  19776. + else
  19777. + enable_dlopen=no
  19778. + fi
  19779. +
  19780. + case $lt_cv_dlopen in
  19781. + dlopen)
  19782. + save_CPPFLAGS="$CPPFLAGS"
  19783. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  19784. +
  19785. + save_LDFLAGS="$LDFLAGS"
  19786. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  19787. +
  19788. + save_LIBS="$LIBS"
  19789. + LIBS="$lt_cv_dlopen_libs $LIBS"
  19790. +
  19791. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  19792. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  19793. +if ${lt_cv_dlopen_self+:} false; then :
  19794. + $as_echo_n "(cached) " >&6
  19795. +else
  19796. + if test "$cross_compiling" = yes; then :
  19797. + lt_cv_dlopen_self=cross
  19798. +else
  19799. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  19800. + lt_status=$lt_dlunknown
  19801. + cat > conftest.$ac_ext <<_LT_EOF
  19802. +#line __oline__ "configure"
  19803. +#include "confdefs.h"
  19804. +
  19805. +#if HAVE_DLFCN_H
  19806. +#include <dlfcn.h>
  19807. +#endif
  19808. +
  19809. +#include <stdio.h>
  19810. +
  19811. +#ifdef RTLD_GLOBAL
  19812. +# define LT_DLGLOBAL RTLD_GLOBAL
  19813. +#else
  19814. +# ifdef DL_GLOBAL
  19815. +# define LT_DLGLOBAL DL_GLOBAL
  19816. +# else
  19817. +# define LT_DLGLOBAL 0
  19818. +# endif
  19819. +#endif
  19820. +
  19821. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  19822. + find out it does not work in some platform. */
  19823. +#ifndef LT_DLLAZY_OR_NOW
  19824. +# ifdef RTLD_LAZY
  19825. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  19826. +# else
  19827. +# ifdef DL_LAZY
  19828. +# define LT_DLLAZY_OR_NOW DL_LAZY
  19829. +# else
  19830. +# ifdef RTLD_NOW
  19831. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  19832. +# else
  19833. +# ifdef DL_NOW
  19834. +# define LT_DLLAZY_OR_NOW DL_NOW
  19835. +# else
  19836. +# define LT_DLLAZY_OR_NOW 0
  19837. +# endif
  19838. +# endif
  19839. +# endif
  19840. +# endif
  19841. +#endif
  19842. +
  19843. +void fnord() { int i=42;}
  19844. +int main ()
  19845. +{
  19846. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  19847. + int status = $lt_dlunknown;
  19848. +
  19849. + if (self)
  19850. + {
  19851. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  19852. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  19853. + /* dlclose (self); */
  19854. + }
  19855. + else
  19856. + puts (dlerror ());
  19857. +
  19858. + return status;
  19859. +}
  19860. +_LT_EOF
  19861. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  19862. + (eval $ac_link) 2>&5
  19863. + ac_status=$?
  19864. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19865. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  19866. + (./conftest; exit; ) >&5 2>/dev/null
  19867. + lt_status=$?
  19868. + case x$lt_status in
  19869. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  19870. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  19871. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  19872. + esac
  19873. + else :
  19874. + # compilation failed
  19875. + lt_cv_dlopen_self=no
  19876. + fi
  19877. +fi
  19878. +rm -fr conftest*
  19879. +
  19880. +
  19881. +fi
  19882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  19883. +$as_echo "$lt_cv_dlopen_self" >&6; }
  19884. +
  19885. + if test "x$lt_cv_dlopen_self" = xyes; then
  19886. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  19887. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  19888. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  19889. +if ${lt_cv_dlopen_self_static+:} false; then :
  19890. + $as_echo_n "(cached) " >&6
  19891. +else
  19892. + if test "$cross_compiling" = yes; then :
  19893. + lt_cv_dlopen_self_static=cross
  19894. +else
  19895. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  19896. + lt_status=$lt_dlunknown
  19897. + cat > conftest.$ac_ext <<_LT_EOF
  19898. +#line __oline__ "configure"
  19899. +#include "confdefs.h"
  19900. +
  19901. +#if HAVE_DLFCN_H
  19902. +#include <dlfcn.h>
  19903. +#endif
  19904. +
  19905. +#include <stdio.h>
  19906. +
  19907. +#ifdef RTLD_GLOBAL
  19908. +# define LT_DLGLOBAL RTLD_GLOBAL
  19909. +#else
  19910. +# ifdef DL_GLOBAL
  19911. +# define LT_DLGLOBAL DL_GLOBAL
  19912. +# else
  19913. +# define LT_DLGLOBAL 0
  19914. +# endif
  19915. +#endif
  19916. +
  19917. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  19918. + find out it does not work in some platform. */
  19919. +#ifndef LT_DLLAZY_OR_NOW
  19920. +# ifdef RTLD_LAZY
  19921. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  19922. +# else
  19923. +# ifdef DL_LAZY
  19924. +# define LT_DLLAZY_OR_NOW DL_LAZY
  19925. +# else
  19926. +# ifdef RTLD_NOW
  19927. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  19928. +# else
  19929. +# ifdef DL_NOW
  19930. +# define LT_DLLAZY_OR_NOW DL_NOW
  19931. +# else
  19932. +# define LT_DLLAZY_OR_NOW 0
  19933. +# endif
  19934. +# endif
  19935. +# endif
  19936. +# endif
  19937. +#endif
  19938. +
  19939. +void fnord() { int i=42;}
  19940. +int main ()
  19941. +{
  19942. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  19943. + int status = $lt_dlunknown;
  19944. +
  19945. + if (self)
  19946. + {
  19947. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  19948. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  19949. + /* dlclose (self); */
  19950. + }
  19951. + else
  19952. + puts (dlerror ());
  19953. +
  19954. + return status;
  19955. +}
  19956. +_LT_EOF
  19957. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  19958. + (eval $ac_link) 2>&5
  19959. + ac_status=$?
  19960. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19961. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  19962. + (./conftest; exit; ) >&5 2>/dev/null
  19963. + lt_status=$?
  19964. + case x$lt_status in
  19965. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  19966. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  19967. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  19968. + esac
  19969. + else :
  19970. + # compilation failed
  19971. + lt_cv_dlopen_self_static=no
  19972. + fi
  19973. +fi
  19974. +rm -fr conftest*
  19975. +
  19976. +
  19977. +fi
  19978. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  19979. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  19980. + fi
  19981. +
  19982. + CPPFLAGS="$save_CPPFLAGS"
  19983. + LDFLAGS="$save_LDFLAGS"
  19984. + LIBS="$save_LIBS"
  19985. + ;;
  19986. + esac
  19987. +
  19988. + case $lt_cv_dlopen_self in
  19989. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  19990. + *) enable_dlopen_self=unknown ;;
  19991. + esac
  19992. +
  19993. + case $lt_cv_dlopen_self_static in
  19994. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  19995. + *) enable_dlopen_self_static=unknown ;;
  19996. + esac
  19997. +fi
  19998. +
  19999. +
  20000. +
  20001. +
  20002. +
  20003. +
  20004. +
  20005. +
  20006. +
  20007. +
  20008. +
  20009. +
  20010. +
  20011. +
  20012. +
  20013. +
  20014. +
  20015. +striplib=
  20016. +old_striplib=
  20017. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  20018. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  20019. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  20020. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  20021. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  20022. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20023. +$as_echo "yes" >&6; }
  20024. +else
  20025. +# FIXME - insert some real tests, host_os isn't really good enough
  20026. + case $host_os in
  20027. + darwin*)
  20028. + if test -n "$STRIP" ; then
  20029. + striplib="$STRIP -x"
  20030. + old_striplib="$STRIP -S"
  20031. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20032. +$as_echo "yes" >&6; }
  20033. + else
  20034. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20035. +$as_echo "no" >&6; }
  20036. + fi
  20037. + ;;
  20038. + *)
  20039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20040. +$as_echo "no" >&6; }
  20041. + ;;
  20042. + esac
  20043. +fi
  20044. +
  20045. +
  20046. +
  20047. +
  20048. +
  20049. +
  20050. +
  20051. +
  20052. +
  20053. +
  20054. +
  20055. +
  20056. + # Report which library types will actually be built
  20057. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  20058. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  20059. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  20060. +$as_echo "$can_build_shared" >&6; }
  20061. +
  20062. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  20063. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  20064. + test "$can_build_shared" = "no" && enable_shared=no
  20065. +
  20066. + # On AIX, shared libraries and static libraries use the same namespace, and
  20067. + # are all built from PIC.
  20068. + case $host_os in
  20069. + aix3*)
  20070. + test "$enable_shared" = yes && enable_static=no
  20071. + if test -n "$RANLIB"; then
  20072. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  20073. + postinstall_cmds='$RANLIB $lib'
  20074. + fi
  20075. + ;;
  20076. +
  20077. + aix[4-9]*)
  20078. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  20079. + test "$enable_shared" = yes && enable_static=no
  20080. + fi
  20081. + ;;
  20082. + esac
  20083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  20084. +$as_echo "$enable_shared" >&6; }
  20085. +
  20086. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  20087. +$as_echo_n "checking whether to build static libraries... " >&6; }
  20088. + # Make sure either enable_shared or enable_static is yes.
  20089. + test "$enable_shared" = yes || enable_static=yes
  20090. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  20091. +$as_echo "$enable_static" >&6; }
  20092. +
  20093. +
  20094. +
  20095. +
  20096. +fi
  20097. +ac_ext=c
  20098. +ac_cpp='$CPP $CPPFLAGS'
  20099. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20100. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20101. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20102. +
  20103. +CC="$lt_save_CC"
  20104. +
  20105. +
  20106. +
  20107. +
  20108. +
  20109. +
  20110. +
  20111. +
  20112. +
  20113. +
  20114. +
  20115. +
  20116. +
  20117. + ac_config_commands="$ac_config_commands libtool"
  20118. +
  20119. +
  20120. +
  20121. +
  20122. +# Only expand once:
  20123. +
  20124. +
  20125. +
  20126. +ac_ext=c
  20127. +ac_cpp='$CPP $CPPFLAGS'
  20128. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20129. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20130. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20131. +if test -n "$ac_tool_prefix"; then
  20132. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  20133. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  20134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20135. +$as_echo_n "checking for $ac_word... " >&6; }
  20136. +if ${ac_cv_prog_CC+:} false; then :
  20137. + $as_echo_n "(cached) " >&6
  20138. +else
  20139. + if test -n "$CC"; then
  20140. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20141. +else
  20142. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20143. +for as_dir in $PATH
  20144. +do
  20145. + IFS=$as_save_IFS
  20146. + test -z "$as_dir" && as_dir=.
  20147. + for ac_exec_ext in '' $ac_executable_extensions; do
  20148. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20149. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  20150. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20151. + break 2
  20152. + fi
  20153. +done
  20154. + done
  20155. +IFS=$as_save_IFS
  20156. +
  20157. +fi
  20158. +fi
  20159. +CC=$ac_cv_prog_CC
  20160. +if test -n "$CC"; then
  20161. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20162. +$as_echo "$CC" >&6; }
  20163. +else
  20164. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20165. +$as_echo "no" >&6; }
  20166. +fi
  20167. +
  20168. +
  20169. +fi
  20170. +if test -z "$ac_cv_prog_CC"; then
  20171. + ac_ct_CC=$CC
  20172. + # Extract the first word of "gcc", so it can be a program name with args.
  20173. +set dummy gcc; ac_word=$2
  20174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20175. +$as_echo_n "checking for $ac_word... " >&6; }
  20176. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  20177. + $as_echo_n "(cached) " >&6
  20178. +else
  20179. + if test -n "$ac_ct_CC"; then
  20180. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  20181. +else
  20182. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20183. +for as_dir in $PATH
  20184. +do
  20185. + IFS=$as_save_IFS
  20186. + test -z "$as_dir" && as_dir=.
  20187. + for ac_exec_ext in '' $ac_executable_extensions; do
  20188. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20189. + ac_cv_prog_ac_ct_CC="gcc"
  20190. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20191. + break 2
  20192. + fi
  20193. +done
  20194. + done
  20195. +IFS=$as_save_IFS
  20196. +
  20197. +fi
  20198. +fi
  20199. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  20200. +if test -n "$ac_ct_CC"; then
  20201. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  20202. +$as_echo "$ac_ct_CC" >&6; }
  20203. +else
  20204. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20205. +$as_echo "no" >&6; }
  20206. +fi
  20207. +
  20208. + if test "x$ac_ct_CC" = x; then
  20209. + CC=""
  20210. + else
  20211. + case $cross_compiling:$ac_tool_warned in
  20212. +yes:)
  20213. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20214. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20215. +ac_tool_warned=yes ;;
  20216. +esac
  20217. + CC=$ac_ct_CC
  20218. + fi
  20219. +else
  20220. + CC="$ac_cv_prog_CC"
  20221. +fi
  20222. +
  20223. +if test -z "$CC"; then
  20224. + if test -n "$ac_tool_prefix"; then
  20225. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  20226. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  20227. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20228. +$as_echo_n "checking for $ac_word... " >&6; }
  20229. +if ${ac_cv_prog_CC+:} false; then :
  20230. + $as_echo_n "(cached) " >&6
  20231. +else
  20232. + if test -n "$CC"; then
  20233. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20234. +else
  20235. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20236. +for as_dir in $PATH
  20237. +do
  20238. + IFS=$as_save_IFS
  20239. + test -z "$as_dir" && as_dir=.
  20240. + for ac_exec_ext in '' $ac_executable_extensions; do
  20241. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20242. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  20243. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20244. + break 2
  20245. + fi
  20246. +done
  20247. + done
  20248. +IFS=$as_save_IFS
  20249. +
  20250. +fi
  20251. +fi
  20252. +CC=$ac_cv_prog_CC
  20253. +if test -n "$CC"; then
  20254. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20255. +$as_echo "$CC" >&6; }
  20256. +else
  20257. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20258. +$as_echo "no" >&6; }
  20259. +fi
  20260. +
  20261. +
  20262. + fi
  20263. +fi
  20264. +if test -z "$CC"; then
  20265. + # Extract the first word of "cc", so it can be a program name with args.
  20266. +set dummy cc; ac_word=$2
  20267. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20268. +$as_echo_n "checking for $ac_word... " >&6; }
  20269. +if ${ac_cv_prog_CC+:} false; then :
  20270. + $as_echo_n "(cached) " >&6
  20271. +else
  20272. + if test -n "$CC"; then
  20273. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20274. +else
  20275. + ac_prog_rejected=no
  20276. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20277. +for as_dir in $PATH
  20278. +do
  20279. + IFS=$as_save_IFS
  20280. + test -z "$as_dir" && as_dir=.
  20281. + for ac_exec_ext in '' $ac_executable_extensions; do
  20282. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20283. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  20284. + ac_prog_rejected=yes
  20285. + continue
  20286. + fi
  20287. + ac_cv_prog_CC="cc"
  20288. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20289. + break 2
  20290. + fi
  20291. +done
  20292. + done
  20293. +IFS=$as_save_IFS
  20294. +
  20295. +if test $ac_prog_rejected = yes; then
  20296. + # We found a bogon in the path, so make sure we never use it.
  20297. + set dummy $ac_cv_prog_CC
  20298. + shift
  20299. + if test $@%:@ != 0; then
  20300. + # We chose a different compiler from the bogus one.
  20301. + # However, it has the same basename, so the bogon will be chosen
  20302. + # first if we set CC to just the basename; use the full file name.
  20303. + shift
  20304. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  20305. + fi
  20306. +fi
  20307. +fi
  20308. +fi
  20309. +CC=$ac_cv_prog_CC
  20310. +if test -n "$CC"; then
  20311. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20312. +$as_echo "$CC" >&6; }
  20313. +else
  20314. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20315. +$as_echo "no" >&6; }
  20316. +fi
  20317. +
  20318. +
  20319. +fi
  20320. +if test -z "$CC"; then
  20321. + if test -n "$ac_tool_prefix"; then
  20322. + for ac_prog in cl.exe
  20323. + do
  20324. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  20325. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  20326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20327. +$as_echo_n "checking for $ac_word... " >&6; }
  20328. +if ${ac_cv_prog_CC+:} false; then :
  20329. + $as_echo_n "(cached) " >&6
  20330. +else
  20331. + if test -n "$CC"; then
  20332. + ac_cv_prog_CC="$CC" # Let the user override the test.
  20333. +else
  20334. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20335. +for as_dir in $PATH
  20336. +do
  20337. + IFS=$as_save_IFS
  20338. + test -z "$as_dir" && as_dir=.
  20339. + for ac_exec_ext in '' $ac_executable_extensions; do
  20340. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20341. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  20342. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20343. + break 2
  20344. + fi
  20345. +done
  20346. + done
  20347. +IFS=$as_save_IFS
  20348. +
  20349. +fi
  20350. +fi
  20351. +CC=$ac_cv_prog_CC
  20352. +if test -n "$CC"; then
  20353. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  20354. +$as_echo "$CC" >&6; }
  20355. +else
  20356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20357. +$as_echo "no" >&6; }
  20358. +fi
  20359. +
  20360. +
  20361. + test -n "$CC" && break
  20362. + done
  20363. +fi
  20364. +if test -z "$CC"; then
  20365. + ac_ct_CC=$CC
  20366. + for ac_prog in cl.exe
  20367. +do
  20368. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  20369. +set dummy $ac_prog; ac_word=$2
  20370. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20371. +$as_echo_n "checking for $ac_word... " >&6; }
  20372. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  20373. + $as_echo_n "(cached) " >&6
  20374. +else
  20375. + if test -n "$ac_ct_CC"; then
  20376. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  20377. +else
  20378. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20379. +for as_dir in $PATH
  20380. +do
  20381. + IFS=$as_save_IFS
  20382. + test -z "$as_dir" && as_dir=.
  20383. + for ac_exec_ext in '' $ac_executable_extensions; do
  20384. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20385. + ac_cv_prog_ac_ct_CC="$ac_prog"
  20386. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20387. + break 2
  20388. + fi
  20389. +done
  20390. + done
  20391. +IFS=$as_save_IFS
  20392. +
  20393. +fi
  20394. +fi
  20395. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  20396. +if test -n "$ac_ct_CC"; then
  20397. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  20398. +$as_echo "$ac_ct_CC" >&6; }
  20399. +else
  20400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20401. +$as_echo "no" >&6; }
  20402. +fi
  20403. +
  20404. +
  20405. + test -n "$ac_ct_CC" && break
  20406. +done
  20407. +
  20408. + if test "x$ac_ct_CC" = x; then
  20409. + CC=""
  20410. + else
  20411. + case $cross_compiling:$ac_tool_warned in
  20412. +yes:)
  20413. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20414. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20415. +ac_tool_warned=yes ;;
  20416. +esac
  20417. + CC=$ac_ct_CC
  20418. + fi
  20419. +fi
  20420. +
  20421. +fi
  20422. +
  20423. +
  20424. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  20425. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  20426. +as_fn_error $? "no acceptable C compiler found in \$PATH
  20427. +See \`config.log' for more details" "$LINENO" 5; }
  20428. +
  20429. +# Provide some information about the compiler.
  20430. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  20431. +set X $ac_compile
  20432. +ac_compiler=$2
  20433. +for ac_option in --version -v -V -qversion; do
  20434. + { { ac_try="$ac_compiler $ac_option >&5"
  20435. +case "(($ac_try" in
  20436. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20437. + *) ac_try_echo=$ac_try;;
  20438. +esac
  20439. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  20440. +$as_echo "$ac_try_echo"; } >&5
  20441. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  20442. + ac_status=$?
  20443. + if test -s conftest.err; then
  20444. + sed '10a\
  20445. +... rest of stderr output deleted ...
  20446. + 10q' conftest.err >conftest.er1
  20447. + cat conftest.er1 >&5
  20448. + fi
  20449. + rm -f conftest.er1 conftest.err
  20450. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20451. + test $ac_status = 0; }
  20452. +done
  20453. +
  20454. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  20455. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  20456. +if ${ac_cv_c_compiler_gnu+:} false; then :
  20457. + $as_echo_n "(cached) " >&6
  20458. +else
  20459. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20460. +/* end confdefs.h. */
  20461. +
  20462. +int
  20463. +main ()
  20464. +{
  20465. +#ifndef __GNUC__
  20466. + choke me
  20467. +#endif
  20468. +
  20469. + ;
  20470. + return 0;
  20471. +}
  20472. +_ACEOF
  20473. +if ac_fn_c_try_compile "$LINENO"; then :
  20474. + ac_compiler_gnu=yes
  20475. +else
  20476. + ac_compiler_gnu=no
  20477. +fi
  20478. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20479. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  20480. +
  20481. +fi
  20482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  20483. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  20484. +if test $ac_compiler_gnu = yes; then
  20485. + GCC=yes
  20486. +else
  20487. + GCC=
  20488. +fi
  20489. +ac_test_CFLAGS=${CFLAGS+set}
  20490. +ac_save_CFLAGS=$CFLAGS
  20491. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  20492. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  20493. +if ${ac_cv_prog_cc_g+:} false; then :
  20494. + $as_echo_n "(cached) " >&6
  20495. +else
  20496. + ac_save_c_werror_flag=$ac_c_werror_flag
  20497. + ac_c_werror_flag=yes
  20498. + ac_cv_prog_cc_g=no
  20499. + CFLAGS="-g"
  20500. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20501. +/* end confdefs.h. */
  20502. +
  20503. +int
  20504. +main ()
  20505. +{
  20506. +
  20507. + ;
  20508. + return 0;
  20509. +}
  20510. +_ACEOF
  20511. +if ac_fn_c_try_compile "$LINENO"; then :
  20512. + ac_cv_prog_cc_g=yes
  20513. +else
  20514. + CFLAGS=""
  20515. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20516. +/* end confdefs.h. */
  20517. +
  20518. +int
  20519. +main ()
  20520. +{
  20521. +
  20522. + ;
  20523. + return 0;
  20524. +}
  20525. +_ACEOF
  20526. +if ac_fn_c_try_compile "$LINENO"; then :
  20527. +
  20528. +else
  20529. + ac_c_werror_flag=$ac_save_c_werror_flag
  20530. + CFLAGS="-g"
  20531. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20532. +/* end confdefs.h. */
  20533. +
  20534. +int
  20535. +main ()
  20536. +{
  20537. +
  20538. + ;
  20539. + return 0;
  20540. +}
  20541. +_ACEOF
  20542. +if ac_fn_c_try_compile "$LINENO"; then :
  20543. + ac_cv_prog_cc_g=yes
  20544. +fi
  20545. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20546. +fi
  20547. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20548. +fi
  20549. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20550. + ac_c_werror_flag=$ac_save_c_werror_flag
  20551. +fi
  20552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  20553. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  20554. +if test "$ac_test_CFLAGS" = set; then
  20555. + CFLAGS=$ac_save_CFLAGS
  20556. +elif test $ac_cv_prog_cc_g = yes; then
  20557. + if test "$GCC" = yes; then
  20558. + CFLAGS="-g -O2"
  20559. + else
  20560. + CFLAGS="-g"
  20561. + fi
  20562. +else
  20563. + if test "$GCC" = yes; then
  20564. + CFLAGS="-O2"
  20565. + else
  20566. + CFLAGS=
  20567. + fi
  20568. +fi
  20569. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  20570. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  20571. +if ${ac_cv_prog_cc_c89+:} false; then :
  20572. + $as_echo_n "(cached) " >&6
  20573. +else
  20574. + ac_cv_prog_cc_c89=no
  20575. +ac_save_CC=$CC
  20576. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20577. +/* end confdefs.h. */
  20578. +#include <stdarg.h>
  20579. +#include <stdio.h>
  20580. +struct stat;
  20581. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  20582. +struct buf { int x; };
  20583. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  20584. +static char *e (p, i)
  20585. + char **p;
  20586. + int i;
  20587. +{
  20588. + return p[i];
  20589. +}
  20590. +static char *f (char * (*g) (char **, int), char **p, ...)
  20591. +{
  20592. + char *s;
  20593. + va_list v;
  20594. + va_start (v,p);
  20595. + s = g (p, va_arg (v,int));
  20596. + va_end (v);
  20597. + return s;
  20598. +}
  20599. +
  20600. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  20601. + function prototypes and stuff, but not '\xHH' hex character constants.
  20602. + These don't provoke an error unfortunately, instead are silently treated
  20603. + as 'x'. The following induces an error, until -std is added to get
  20604. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  20605. + array size at least. It's necessary to write '\x00'==0 to get something
  20606. + that's true only with -std. */
  20607. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  20608. +
  20609. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  20610. + inside strings and character constants. */
  20611. +#define FOO(x) 'x'
  20612. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  20613. +
  20614. +int test (int i, double x);
  20615. +struct s1 {int (*f) (int a);};
  20616. +struct s2 {int (*f) (double a);};
  20617. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  20618. +int argc;
  20619. +char **argv;
  20620. +int
  20621. +main ()
  20622. +{
  20623. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  20624. + ;
  20625. + return 0;
  20626. +}
  20627. +_ACEOF
  20628. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  20629. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  20630. +do
  20631. + CC="$ac_save_CC $ac_arg"
  20632. + if ac_fn_c_try_compile "$LINENO"; then :
  20633. + ac_cv_prog_cc_c89=$ac_arg
  20634. +fi
  20635. +rm -f core conftest.err conftest.$ac_objext
  20636. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  20637. +done
  20638. +rm -f conftest.$ac_ext
  20639. +CC=$ac_save_CC
  20640. +
  20641. +fi
  20642. +# AC_CACHE_VAL
  20643. +case "x$ac_cv_prog_cc_c89" in
  20644. + x)
  20645. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  20646. +$as_echo "none needed" >&6; } ;;
  20647. + xno)
  20648. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  20649. +$as_echo "unsupported" >&6; } ;;
  20650. + *)
  20651. + CC="$CC $ac_cv_prog_cc_c89"
  20652. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  20653. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  20654. +esac
  20655. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  20656. +
  20657. +fi
  20658. +
  20659. +ac_ext=c
  20660. +ac_cpp='$CPP $CPPFLAGS'
  20661. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20662. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20663. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20664. +
  20665. +ac_ext=c
  20666. +ac_cpp='$CPP $CPPFLAGS'
  20667. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20668. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20669. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20670. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  20671. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  20672. +if ${am_cv_prog_cc_c_o+:} false; then :
  20673. + $as_echo_n "(cached) " >&6
  20674. +else
  20675. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20676. +/* end confdefs.h. */
  20677. +
  20678. +int
  20679. +main ()
  20680. +{
  20681. +
  20682. + ;
  20683. + return 0;
  20684. +}
  20685. +_ACEOF
  20686. + # Make sure it works both with $CC and with simple cc.
  20687. + # Following AC_PROG_CC_C_O, we do the test twice because some
  20688. + # compilers refuse to overwrite an existing .o file with -o,
  20689. + # though they will create one.
  20690. + am_cv_prog_cc_c_o=yes
  20691. + for am_i in 1 2; do
  20692. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  20693. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  20694. + ac_status=$?
  20695. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20696. + (exit $ac_status); } \
  20697. + && test -f conftest2.$ac_objext; then
  20698. + : OK
  20699. + else
  20700. + am_cv_prog_cc_c_o=no
  20701. + break
  20702. + fi
  20703. + done
  20704. + rm -f core conftest*
  20705. + unset am_i
  20706. +fi
  20707. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  20708. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  20709. +if test "$am_cv_prog_cc_c_o" != yes; then
  20710. + # Losing compiler, so override with the script.
  20711. + # FIXME: It is wrong to rewrite CC.
  20712. + # But if we don't then we get into trouble of one sort or another.
  20713. + # A longer-term fix would be to have automake use am__CC in this case,
  20714. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  20715. + CC="$am_aux_dir/compile $CC"
  20716. +fi
  20717. +ac_ext=c
  20718. +ac_cpp='$CPP $CPPFLAGS'
  20719. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20720. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20721. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20722. +
  20723. +
  20724. +depcc="$CC" am_compiler_list=
  20725. +
  20726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  20727. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  20728. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  20729. + $as_echo_n "(cached) " >&6
  20730. +else
  20731. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  20732. + # We make a subdir and do the tests there. Otherwise we can end up
  20733. + # making bogus files that we don't know about and never remove. For
  20734. + # instance it was reported that on HP-UX the gcc test will end up
  20735. + # making a dummy file named 'D' -- because '-MD' means "put the output
  20736. + # in D".
  20737. + rm -rf conftest.dir
  20738. + mkdir conftest.dir
  20739. + # Copy depcomp to subdir because otherwise we won't find it if we're
  20740. + # using a relative directory.
  20741. + cp "$am_depcomp" conftest.dir
  20742. + cd conftest.dir
  20743. + # We will build objects and dependencies in a subdirectory because
  20744. + # it helps to detect inapplicable dependency modes. For instance
  20745. + # both Tru64's cc and ICC support -MD to output dependencies as a
  20746. + # side effect of compilation, but ICC will put the dependencies in
  20747. + # the current directory while Tru64 will put them in the object
  20748. + # directory.
  20749. + mkdir sub
  20750. +
  20751. + am_cv_CC_dependencies_compiler_type=none
  20752. + if test "$am_compiler_list" = ""; then
  20753. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  20754. + fi
  20755. + am__universal=false
  20756. + case " $depcc " in #(
  20757. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  20758. + esac
  20759. +
  20760. + for depmode in $am_compiler_list; do
  20761. + # Setup a source with many dependencies, because some compilers
  20762. + # like to wrap large dependency lists on column 80 (with \), and
  20763. + # we should not choose a depcomp mode which is confused by this.
  20764. + #
  20765. + # We need to recreate these files for each test, as the compiler may
  20766. + # overwrite some of them when testing with obscure command lines.
  20767. + # This happens at least with the AIX C compiler.
  20768. + : > sub/conftest.c
  20769. + for i in 1 2 3 4 5 6; do
  20770. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  20771. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  20772. + # Solaris 10 /bin/sh.
  20773. + echo '/* dummy */' > sub/conftst$i.h
  20774. + done
  20775. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  20776. +
  20777. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  20778. + # mode. It turns out that the SunPro C++ compiler does not properly
  20779. + # handle '-M -o', and we need to detect this. Also, some Intel
  20780. + # versions had trouble with output in subdirs.
  20781. + am__obj=sub/conftest.${OBJEXT-o}
  20782. + am__minus_obj="-o $am__obj"
  20783. + case $depmode in
  20784. + gcc)
  20785. + # This depmode causes a compiler race in universal mode.
  20786. + test "$am__universal" = false || continue
  20787. + ;;
  20788. + nosideeffect)
  20789. + # After this tag, mechanisms are not by side-effect, so they'll
  20790. + # only be used when explicitly requested.
  20791. + if test "x$enable_dependency_tracking" = xyes; then
  20792. + continue
  20793. + else
  20794. + break
  20795. + fi
  20796. + ;;
  20797. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  20798. + # This compiler won't grok '-c -o', but also, the minuso test has
  20799. + # not run yet. These depmodes are late enough in the game, and
  20800. + # so weak that their functioning should not be impacted.
  20801. + am__obj=conftest.${OBJEXT-o}
  20802. + am__minus_obj=
  20803. + ;;
  20804. + none) break ;;
  20805. + esac
  20806. + if depmode=$depmode \
  20807. + source=sub/conftest.c object=$am__obj \
  20808. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  20809. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  20810. + >/dev/null 2>conftest.err &&
  20811. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  20812. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  20813. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  20814. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  20815. + # icc doesn't choke on unknown options, it will just issue warnings
  20816. + # or remarks (even with -Werror). So we grep stderr for any message
  20817. + # that says an option was ignored or not supported.
  20818. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  20819. + # icc: Command line warning: ignoring option '-M'; no argument required
  20820. + # The diagnosis changed in icc 8.0:
  20821. + # icc: Command line remark: option '-MP' not supported
  20822. + if (grep 'ignoring option' conftest.err ||
  20823. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  20824. + am_cv_CC_dependencies_compiler_type=$depmode
  20825. + break
  20826. + fi
  20827. + fi
  20828. + done
  20829. +
  20830. + cd ..
  20831. + rm -rf conftest.dir
  20832. +else
  20833. + am_cv_CC_dependencies_compiler_type=none
  20834. +fi
  20835. +
  20836. +fi
  20837. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  20838. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  20839. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  20840. +
  20841. + if
  20842. + test "x$enable_dependency_tracking" != xno \
  20843. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  20844. + am__fastdepCC_TRUE=
  20845. + am__fastdepCC_FALSE='#'
  20846. +else
  20847. + am__fastdepCC_TRUE='#'
  20848. + am__fastdepCC_FALSE=
  20849. +fi
  20850. +
  20851. +
  20852. +
  20853. +# Compiler Flags
  20854. +
  20855. +#INCLUDES='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  20856. +INCLUDES='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  20857. +
  20858. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  20859. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  20860. +$as_echo_n "checking whether shifting of signed integers works... " >&6; }
  20861. +if ${ac_cv_signed_shift+:} false; then :
  20862. + $as_echo_n "(cached) " >&6
  20863. +else
  20864. + if test "$cross_compiling" = yes; then :
  20865. + ac_cv_signed_shift=yes
  20866. +else
  20867. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20868. +/* end confdefs.h. */
  20869. +main () {
  20870. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  20871. +}
  20872. +_ACEOF
  20873. +if ac_fn_c_try_run "$LINENO"; then :
  20874. + ac_cv_signed_shift=no
  20875. +else
  20876. + ac_cv_signed_shift=yes
  20877. +fi
  20878. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20879. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20880. +fi
  20881. +
  20882. +fi
  20883. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signed_shift" >&5
  20884. +$as_echo "$ac_cv_signed_shift" >&6; }
  20885. +if test $ac_cv_signed_shift = yes; then
  20886. + $as_echo "@%:@define HAVE_SIGNED_SHIFT 1" >>confdefs.h
  20887. +
  20888. +fi
  20889. +
  20890. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  20891. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  20892. +if ${ac_cv_c_bigendian+:} false; then :
  20893. + $as_echo_n "(cached) " >&6
  20894. +else
  20895. + ac_cv_c_bigendian=unknown
  20896. + # See if we're dealing with a universal compiler.
  20897. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20898. +/* end confdefs.h. */
  20899. +#ifndef __APPLE_CC__
  20900. + not a universal capable compiler
  20901. + #endif
  20902. + typedef int dummy;
  20903. +
  20904. +_ACEOF
  20905. +if ac_fn_c_try_compile "$LINENO"; then :
  20906. +
  20907. + # Check for potential -arch flags. It is not universal unless
  20908. + # there are at least two -arch flags with different values.
  20909. + ac_arch=
  20910. + ac_prev=
  20911. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  20912. + if test -n "$ac_prev"; then
  20913. + case $ac_word in
  20914. + i?86 | x86_64 | ppc | ppc64)
  20915. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  20916. + ac_arch=$ac_word
  20917. + else
  20918. + ac_cv_c_bigendian=universal
  20919. + break
  20920. + fi
  20921. + ;;
  20922. + esac
  20923. + ac_prev=
  20924. + elif test "x$ac_word" = "x-arch"; then
  20925. + ac_prev=arch
  20926. + fi
  20927. + done
  20928. +fi
  20929. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20930. + if test $ac_cv_c_bigendian = unknown; then
  20931. + # See if sys/param.h defines the BYTE_ORDER macro.
  20932. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20933. +/* end confdefs.h. */
  20934. +#include <sys/types.h>
  20935. + #include <sys/param.h>
  20936. +
  20937. +int
  20938. +main ()
  20939. +{
  20940. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  20941. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  20942. + && LITTLE_ENDIAN)
  20943. + bogus endian macros
  20944. + #endif
  20945. +
  20946. + ;
  20947. + return 0;
  20948. +}
  20949. +_ACEOF
  20950. +if ac_fn_c_try_compile "$LINENO"; then :
  20951. + # It does; now see whether it defined to BIG_ENDIAN or not.
  20952. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20953. +/* end confdefs.h. */
  20954. +#include <sys/types.h>
  20955. + #include <sys/param.h>
  20956. +
  20957. +int
  20958. +main ()
  20959. +{
  20960. +#if BYTE_ORDER != BIG_ENDIAN
  20961. + not big endian
  20962. + #endif
  20963. +
  20964. + ;
  20965. + return 0;
  20966. +}
  20967. +_ACEOF
  20968. +if ac_fn_c_try_compile "$LINENO"; then :
  20969. + ac_cv_c_bigendian=yes
  20970. +else
  20971. + ac_cv_c_bigendian=no
  20972. +fi
  20973. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20974. +fi
  20975. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20976. + fi
  20977. + if test $ac_cv_c_bigendian = unknown; then
  20978. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  20979. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20980. +/* end confdefs.h. */
  20981. +#include <limits.h>
  20982. +
  20983. +int
  20984. +main ()
  20985. +{
  20986. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  20987. + bogus endian macros
  20988. + #endif
  20989. +
  20990. + ;
  20991. + return 0;
  20992. +}
  20993. +_ACEOF
  20994. +if ac_fn_c_try_compile "$LINENO"; then :
  20995. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  20996. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20997. +/* end confdefs.h. */
  20998. +#include <limits.h>
  20999. +
  21000. +int
  21001. +main ()
  21002. +{
  21003. +#ifndef _BIG_ENDIAN
  21004. + not big endian
  21005. + #endif
  21006. +
  21007. + ;
  21008. + return 0;
  21009. +}
  21010. +_ACEOF
  21011. +if ac_fn_c_try_compile "$LINENO"; then :
  21012. + ac_cv_c_bigendian=yes
  21013. +else
  21014. + ac_cv_c_bigendian=no
  21015. +fi
  21016. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21017. +fi
  21018. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21019. + fi
  21020. + if test $ac_cv_c_bigendian = unknown; then
  21021. + # Compile a test program.
  21022. + if test "$cross_compiling" = yes; then :
  21023. + # Try to guess by grepping values from an object file.
  21024. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21025. +/* end confdefs.h. */
  21026. +short int ascii_mm[] =
  21027. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  21028. + short int ascii_ii[] =
  21029. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  21030. + int use_ascii (int i) {
  21031. + return ascii_mm[i] + ascii_ii[i];
  21032. + }
  21033. + short int ebcdic_ii[] =
  21034. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  21035. + short int ebcdic_mm[] =
  21036. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  21037. + int use_ebcdic (int i) {
  21038. + return ebcdic_mm[i] + ebcdic_ii[i];
  21039. + }
  21040. + extern int foo;
  21041. +
  21042. +int
  21043. +main ()
  21044. +{
  21045. +return use_ascii (foo) == use_ebcdic (foo);
  21046. + ;
  21047. + return 0;
  21048. +}
  21049. +_ACEOF
  21050. +if ac_fn_c_try_compile "$LINENO"; then :
  21051. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  21052. + ac_cv_c_bigendian=yes
  21053. + fi
  21054. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  21055. + if test "$ac_cv_c_bigendian" = unknown; then
  21056. + ac_cv_c_bigendian=no
  21057. + else
  21058. + # finding both strings is unlikely to happen, but who knows?
  21059. + ac_cv_c_bigendian=unknown
  21060. + fi
  21061. + fi
  21062. +fi
  21063. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21064. +else
  21065. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21066. +/* end confdefs.h. */
  21067. +$ac_includes_default
  21068. +int
  21069. +main ()
  21070. +{
  21071. +
  21072. + /* Are we little or big endian? From Harbison&Steele. */
  21073. + union
  21074. + {
  21075. + long int l;
  21076. + char c[sizeof (long int)];
  21077. + } u;
  21078. + u.l = 1;
  21079. + return u.c[sizeof (long int) - 1] == 1;
  21080. +
  21081. + ;
  21082. + return 0;
  21083. +}
  21084. +_ACEOF
  21085. +if ac_fn_c_try_run "$LINENO"; then :
  21086. + ac_cv_c_bigendian=no
  21087. +else
  21088. + ac_cv_c_bigendian=yes
  21089. +fi
  21090. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21091. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  21092. +fi
  21093. +
  21094. + fi
  21095. +fi
  21096. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  21097. +$as_echo "$ac_cv_c_bigendian" >&6; }
  21098. + case $ac_cv_c_bigendian in #(
  21099. + yes)
  21100. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  21101. +;; #(
  21102. + no)
  21103. + ;; #(
  21104. + universal)
  21105. +
  21106. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  21107. +
  21108. + ;; #(
  21109. + *)
  21110. + as_fn_error $? "unknown endianness
  21111. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  21112. + esac
  21113. +
  21114. +# The cast to long int works around a bug in the HP C Compiler
  21115. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21116. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21117. +# This bug is HP SR number 8606223364.
  21118. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  21119. +$as_echo_n "checking size of char... " >&6; }
  21120. +if ${ac_cv_sizeof_char+:} false; then :
  21121. + $as_echo_n "(cached) " >&6
  21122. +else
  21123. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  21124. +
  21125. +else
  21126. + if test "$ac_cv_type_char" = yes; then
  21127. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21128. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21129. +as_fn_error 77 "cannot compute sizeof (char)
  21130. +See \`config.log' for more details" "$LINENO" 5; }
  21131. + else
  21132. + ac_cv_sizeof_char=0
  21133. + fi
  21134. +fi
  21135. +
  21136. +fi
  21137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  21138. +$as_echo "$ac_cv_sizeof_char" >&6; }
  21139. +
  21140. +
  21141. +
  21142. +cat >>confdefs.h <<_ACEOF
  21143. +@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
  21144. +_ACEOF
  21145. +
  21146. +
  21147. +# The cast to long int works around a bug in the HP C Compiler
  21148. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21149. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21150. +# This bug is HP SR number 8606223364.
  21151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  21152. +$as_echo_n "checking size of short... " >&6; }
  21153. +if ${ac_cv_sizeof_short+:} false; then :
  21154. + $as_echo_n "(cached) " >&6
  21155. +else
  21156. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  21157. +
  21158. +else
  21159. + if test "$ac_cv_type_short" = yes; then
  21160. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21161. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21162. +as_fn_error 77 "cannot compute sizeof (short)
  21163. +See \`config.log' for more details" "$LINENO" 5; }
  21164. + else
  21165. + ac_cv_sizeof_short=0
  21166. + fi
  21167. +fi
  21168. +
  21169. +fi
  21170. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  21171. +$as_echo "$ac_cv_sizeof_short" >&6; }
  21172. +
  21173. +
  21174. +
  21175. +cat >>confdefs.h <<_ACEOF
  21176. +@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
  21177. +_ACEOF
  21178. +
  21179. +
  21180. +# The cast to long int works around a bug in the HP C Compiler
  21181. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21182. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21183. +# This bug is HP SR number 8606223364.
  21184. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  21185. +$as_echo_n "checking size of int... " >&6; }
  21186. +if ${ac_cv_sizeof_int+:} false; then :
  21187. + $as_echo_n "(cached) " >&6
  21188. +else
  21189. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  21190. +
  21191. +else
  21192. + if test "$ac_cv_type_int" = yes; then
  21193. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  21194. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  21195. +as_fn_error 77 "cannot compute sizeof (int)
  21196. +See \`config.log' for more details" "$LINENO" 5; }
  21197. + else
  21198. + ac_cv_sizeof_int=0
  21199. + fi
  21200. +fi
  21201. +
  21202. +fi
  21203. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  21204. +$as_echo "$ac_cv_sizeof_int" >&6; }
  21205. +
  21206. +
  21207. +
  21208. +cat >>confdefs.h <<_ACEOF
  21209. +@%:@define SIZEOF_INT $ac_cv_sizeof_int
  21210. +_ACEOF
  21211. +
  21212. +
  21213. +
  21214. +if test $ac_cv_sizeof_char != 1 -o $ac_cv_sizeof_short != 2 -o $ac_cv_sizeof_int != 4 ; then
  21215. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  21216. + echo "configure failed."
  21217. + exit 1
  21218. +fi
  21219. +
  21220. +# Checks for math library.
  21221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
  21222. +$as_echo_n "checking for log in -lm... " >&6; }
  21223. +if ${ac_cv_lib_m_log+:} false; then :
  21224. + $as_echo_n "(cached) " >&6
  21225. +else
  21226. + ac_check_lib_save_LIBS=$LIBS
  21227. +LIBS="-lm $LIBS"
  21228. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21229. +/* end confdefs.h. */
  21230. +
  21231. +/* Override any GCC internal prototype to avoid an error.
  21232. + Use char because int might match the return type of a GCC
  21233. + builtin and then its argument prototype would still apply. */
  21234. +#ifdef __cplusplus
  21235. +extern "C"
  21236. +#endif
  21237. +char log ();
  21238. +int
  21239. +main ()
  21240. +{
  21241. +return log ();
  21242. + ;
  21243. + return 0;
  21244. +}
  21245. +_ACEOF
  21246. +if ac_fn_c_try_link "$LINENO"; then :
  21247. + ac_cv_lib_m_log=yes
  21248. +else
  21249. + ac_cv_lib_m_log=no
  21250. +fi
  21251. +rm -f core conftest.err conftest.$ac_objext \
  21252. + conftest$ac_exeext conftest.$ac_ext
  21253. +LIBS=$ac_check_lib_save_LIBS
  21254. +fi
  21255. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
  21256. +$as_echo "$ac_cv_lib_m_log" >&6; }
  21257. +if test "x$ac_cv_lib_m_log" = xyes; then :
  21258. + cat >>confdefs.h <<_ACEOF
  21259. +@%:@define HAVE_LIBM 1
  21260. +_ACEOF
  21261. +
  21262. + LIBS="-lm $LIBS"
  21263. +
  21264. +fi
  21265. +
  21266. +if test "$ac_cv_lib_m_log" = "no"; then
  21267. + echo "FIASCO requires math library!"
  21268. + echo "It was not found on your system."
  21269. + echo "configure failed."
  21270. + exit 1
  21271. +fi
  21272. +
  21273. +# Checks for programs
  21274. +# Extract the first word of "xfig", so it can be a program name with args.
  21275. +set dummy xfig; ac_word=$2
  21276. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21277. +$as_echo_n "checking for $ac_word... " >&6; }
  21278. +if ${ac_cv_path_xfig+:} false; then :
  21279. + $as_echo_n "(cached) " >&6
  21280. +else
  21281. + case $xfig in
  21282. + [\\/]* | ?:[\\/]*)
  21283. + ac_cv_path_xfig="$xfig" # Let the user override the test with a path.
  21284. + ;;
  21285. + *)
  21286. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21287. +for as_dir in $PATH
  21288. +do
  21289. + IFS=$as_save_IFS
  21290. + test -z "$as_dir" && as_dir=.
  21291. + for ac_exec_ext in '' $ac_executable_extensions; do
  21292. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21293. + ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  21294. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21295. + break 2
  21296. + fi
  21297. +done
  21298. + done
  21299. +IFS=$as_save_IFS
  21300. +
  21301. + ;;
  21302. +esac
  21303. +fi
  21304. +xfig=$ac_cv_path_xfig
  21305. +if test -n "$xfig"; then
  21306. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xfig" >&5
  21307. +$as_echo "$xfig" >&6; }
  21308. +else
  21309. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21310. +$as_echo "no" >&6; }
  21311. +fi
  21312. +
  21313. +
  21314. +if test -n "$xfig"; then
  21315. +
  21316. +cat >>confdefs.h <<_ACEOF
  21317. +@%:@define XFIG "$xfig"
  21318. +_ACEOF
  21319. +
  21320. +fi
  21321. +# Extract the first word of "xmag", so it can be a program name with args.
  21322. +set dummy xmag; ac_word=$2
  21323. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21324. +$as_echo_n "checking for $ac_word... " >&6; }
  21325. +if ${ac_cv_path_xmag+:} false; then :
  21326. + $as_echo_n "(cached) " >&6
  21327. +else
  21328. + case $xmag in
  21329. + [\\/]* | ?:[\\/]*)
  21330. + ac_cv_path_xmag="$xmag" # Let the user override the test with a path.
  21331. + ;;
  21332. + *)
  21333. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21334. +for as_dir in $PATH
  21335. +do
  21336. + IFS=$as_save_IFS
  21337. + test -z "$as_dir" && as_dir=.
  21338. + for ac_exec_ext in '' $ac_executable_extensions; do
  21339. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21340. + ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  21341. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21342. + break 2
  21343. + fi
  21344. +done
  21345. + done
  21346. +IFS=$as_save_IFS
  21347. +
  21348. + ;;
  21349. +esac
  21350. +fi
  21351. +xmag=$ac_cv_path_xmag
  21352. +if test -n "$xmag"; then
  21353. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmag" >&5
  21354. +$as_echo "$xmag" >&6; }
  21355. +else
  21356. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21357. +$as_echo "no" >&6; }
  21358. +fi
  21359. +
  21360. +
  21361. +if test -n "$xmag"; then
  21362. +
  21363. +cat >>confdefs.h <<_ACEOF
  21364. +@%:@define XMAG "$xmag"
  21365. +_ACEOF
  21366. +
  21367. +fi
  21368. +
  21369. +# Checks for header files.
  21370. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  21371. +$as_echo_n "checking for ANSI C header files... " >&6; }
  21372. +if ${ac_cv_header_stdc+:} false; then :
  21373. + $as_echo_n "(cached) " >&6
  21374. +else
  21375. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21376. +/* end confdefs.h. */
  21377. +#include <stdlib.h>
  21378. +#include <stdarg.h>
  21379. +#include <string.h>
  21380. +#include <float.h>
  21381. +
  21382. +int
  21383. +main ()
  21384. +{
  21385. +
  21386. + ;
  21387. + return 0;
  21388. +}
  21389. +_ACEOF
  21390. +if ac_fn_c_try_compile "$LINENO"; then :
  21391. + ac_cv_header_stdc=yes
  21392. +else
  21393. + ac_cv_header_stdc=no
  21394. +fi
  21395. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21396. +
  21397. +if test $ac_cv_header_stdc = yes; then
  21398. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  21399. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21400. +/* end confdefs.h. */
  21401. +#include <string.h>
  21402. +
  21403. +_ACEOF
  21404. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  21405. + $EGREP "memchr" >/dev/null 2>&1; then :
  21406. +
  21407. +else
  21408. + ac_cv_header_stdc=no
  21409. +fi
  21410. +rm -f conftest*
  21411. +
  21412. +fi
  21413. +
  21414. +if test $ac_cv_header_stdc = yes; then
  21415. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  21416. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21417. +/* end confdefs.h. */
  21418. +#include <stdlib.h>
  21419. +
  21420. +_ACEOF
  21421. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  21422. + $EGREP "free" >/dev/null 2>&1; then :
  21423. +
  21424. +else
  21425. + ac_cv_header_stdc=no
  21426. +fi
  21427. +rm -f conftest*
  21428. +
  21429. +fi
  21430. +
  21431. +if test $ac_cv_header_stdc = yes; then
  21432. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  21433. + if test "$cross_compiling" = yes; then :
  21434. + :
  21435. +else
  21436. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21437. +/* end confdefs.h. */
  21438. +#include <ctype.h>
  21439. +#include <stdlib.h>
  21440. +#if ((' ' & 0x0FF) == 0x020)
  21441. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  21442. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  21443. +#else
  21444. +# define ISLOWER(c) \
  21445. + (('a' <= (c) && (c) <= 'i') \
  21446. + || ('j' <= (c) && (c) <= 'r') \
  21447. + || ('s' <= (c) && (c) <= 'z'))
  21448. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  21449. +#endif
  21450. +
  21451. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  21452. +int
  21453. +main ()
  21454. +{
  21455. + int i;
  21456. + for (i = 0; i < 256; i++)
  21457. + if (XOR (islower (i), ISLOWER (i))
  21458. + || toupper (i) != TOUPPER (i))
  21459. + return 2;
  21460. + return 0;
  21461. +}
  21462. +_ACEOF
  21463. +if ac_fn_c_try_run "$LINENO"; then :
  21464. +
  21465. +else
  21466. + ac_cv_header_stdc=no
  21467. +fi
  21468. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21469. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  21470. +fi
  21471. +
  21472. +fi
  21473. +fi
  21474. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  21475. +$as_echo "$ac_cv_header_stdc" >&6; }
  21476. +if test $ac_cv_header_stdc = yes; then
  21477. +
  21478. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  21479. +
  21480. +fi
  21481. +
  21482. +for ac_header in assert.h features.h setjmp.h string.h unistd.h
  21483. +do :
  21484. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  21485. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  21486. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  21487. + cat >>confdefs.h <<_ACEOF
  21488. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  21489. +_ACEOF
  21490. +
  21491. +fi
  21492. +
  21493. +done
  21494. +
  21495. +
  21496. +# Checks for typedefs, structures, and compiler characteristics.
  21497. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  21498. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  21499. +if ${ac_cv_c_const+:} false; then :
  21500. + $as_echo_n "(cached) " >&6
  21501. +else
  21502. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21503. +/* end confdefs.h. */
  21504. +
  21505. +int
  21506. +main ()
  21507. +{
  21508. +
  21509. +#ifndef __cplusplus
  21510. + /* Ultrix mips cc rejects this sort of thing. */
  21511. + typedef int charset[2];
  21512. + const charset cs = { 0, 0 };
  21513. + /* SunOS 4.1.1 cc rejects this. */
  21514. + char const *const *pcpcc;
  21515. + char **ppc;
  21516. + /* NEC SVR4.0.2 mips cc rejects this. */
  21517. + struct point {int x, y;};
  21518. + static struct point const zero = {0,0};
  21519. + /* AIX XL C 1.02.0.0 rejects this.
  21520. + It does not let you subtract one const X* pointer from another in
  21521. + an arm of an if-expression whose if-part is not a constant
  21522. + expression */
  21523. + const char *g = "string";
  21524. + pcpcc = &g + (g ? g-g : 0);
  21525. + /* HPUX 7.0 cc rejects these. */
  21526. + ++pcpcc;
  21527. + ppc = (char**) pcpcc;
  21528. + pcpcc = (char const *const *) ppc;
  21529. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  21530. + char tx;
  21531. + char *t = &tx;
  21532. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  21533. +
  21534. + *t++ = 0;
  21535. + if (s) return 0;
  21536. + }
  21537. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  21538. + int x[] = {25, 17};
  21539. + const int *foo = &x[0];
  21540. + ++foo;
  21541. + }
  21542. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  21543. + typedef const int *iptr;
  21544. + iptr p = 0;
  21545. + ++p;
  21546. + }
  21547. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  21548. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  21549. + struct s { int j; const int *ap[3]; } bx;
  21550. + struct s *b = &bx; b->j = 5;
  21551. + }
  21552. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  21553. + const int foo = 10;
  21554. + if (!foo) return 0;
  21555. + }
  21556. + return !cs[0] && !zero.x;
  21557. +#endif
  21558. +
  21559. + ;
  21560. + return 0;
  21561. +}
  21562. +_ACEOF
  21563. +if ac_fn_c_try_compile "$LINENO"; then :
  21564. + ac_cv_c_const=yes
  21565. +else
  21566. + ac_cv_c_const=no
  21567. +fi
  21568. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21569. +fi
  21570. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  21571. +$as_echo "$ac_cv_c_const" >&6; }
  21572. +if test $ac_cv_c_const = no; then
  21573. +
  21574. +$as_echo "@%:@define const /**/" >>confdefs.h
  21575. +
  21576. +fi
  21577. +
  21578. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  21579. +if test "x$ac_cv_type_size_t" = xyes; then :
  21580. +
  21581. +else
  21582. +
  21583. +cat >>confdefs.h <<_ACEOF
  21584. +@%:@define size_t unsigned int
  21585. +_ACEOF
  21586. +
  21587. +fi
  21588. +
  21589. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  21590. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  21591. +if ${ac_cv_header_time+:} false; then :
  21592. + $as_echo_n "(cached) " >&6
  21593. +else
  21594. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21595. +/* end confdefs.h. */
  21596. +#include <sys/types.h>
  21597. +#include <sys/time.h>
  21598. +#include <time.h>
  21599. +
  21600. +int
  21601. +main ()
  21602. +{
  21603. +if ((struct tm *) 0)
  21604. +return 0;
  21605. + ;
  21606. + return 0;
  21607. +}
  21608. +_ACEOF
  21609. +if ac_fn_c_try_compile "$LINENO"; then :
  21610. + ac_cv_header_time=yes
  21611. +else
  21612. + ac_cv_header_time=no
  21613. +fi
  21614. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21615. +fi
  21616. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  21617. +$as_echo "$ac_cv_header_time" >&6; }
  21618. +if test $ac_cv_header_time = yes; then
  21619. +
  21620. +$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
  21621. +
  21622. +fi
  21623. +
  21624. +
  21625. +# Checks for library functions.
  21626. +for ac_func in vprintf
  21627. +do :
  21628. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  21629. +if test "x$ac_cv_func_vprintf" = xyes; then :
  21630. + cat >>confdefs.h <<_ACEOF
  21631. +@%:@define HAVE_VPRINTF 1
  21632. +_ACEOF
  21633. +
  21634. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  21635. +if test "x$ac_cv_func__doprnt" = xyes; then :
  21636. +
  21637. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  21638. +
  21639. +fi
  21640. +
  21641. +fi
  21642. +done
  21643. +
  21644. +
  21645. +for ac_func in log2 memmove strdup strcasecmp
  21646. +do :
  21647. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  21648. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  21649. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  21650. + cat >>confdefs.h <<_ACEOF
  21651. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  21652. +_ACEOF
  21653. +
  21654. +fi
  21655. +done
  21656. +
  21657. +
  21658. +ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile"
  21659. +
  21660. +ac_config_commands="$ac_config_commands default"
  21661. +
  21662. +cat >confcache <<\_ACEOF
  21663. +# This file is a shell script that caches the results of configure
  21664. +# tests run on this system so they can be shared between configure
  21665. +# scripts and configure runs, see configure's option --config-cache.
  21666. +# It is not useful on other systems. If it contains results you don't
  21667. +# want to keep, you may remove or edit it.
  21668. +#
  21669. +# config.status only pays attention to the cache file if you give it
  21670. +# the --recheck option to rerun configure.
  21671. +#
  21672. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  21673. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  21674. +# following values.
  21675. +
  21676. +_ACEOF
  21677. +
  21678. +# The following way of writing the cache mishandles newlines in values,
  21679. +# but we know of no workaround that is simple, portable, and efficient.
  21680. +# So, we kill variables containing newlines.
  21681. +# Ultrix sh set writes to stderr and can't be redirected directly,
  21682. +# and sets the high bit in the cache file unless we assign to the vars.
  21683. +(
  21684. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  21685. + eval ac_val=\$$ac_var
  21686. + case $ac_val in #(
  21687. + *${as_nl}*)
  21688. + case $ac_var in #(
  21689. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  21690. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  21691. + esac
  21692. + case $ac_var in #(
  21693. + _ | IFS | as_nl) ;; #(
  21694. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  21695. + *) { eval $ac_var=; unset $ac_var;} ;;
  21696. + esac ;;
  21697. + esac
  21698. + done
  21699. +
  21700. + (set) 2>&1 |
  21701. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  21702. + *${as_nl}ac_space=\ *)
  21703. + # `set' does not quote correctly, so add quotes: double-quote
  21704. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  21705. + sed -n \
  21706. + "s/'/'\\\\''/g;
  21707. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  21708. + ;; #(
  21709. + *)
  21710. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  21711. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  21712. + ;;
  21713. + esac |
  21714. + sort
  21715. +) |
  21716. + sed '
  21717. + /^ac_cv_env_/b end
  21718. + t clear
  21719. + :clear
  21720. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  21721. + t end
  21722. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  21723. + :end' >>confcache
  21724. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  21725. + if test -w "$cache_file"; then
  21726. + if test "x$cache_file" != "x/dev/null"; then
  21727. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  21728. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  21729. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  21730. + cat confcache >"$cache_file"
  21731. + else
  21732. + case $cache_file in #(
  21733. + */* | ?:*)
  21734. + mv -f confcache "$cache_file"$$ &&
  21735. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  21736. + *)
  21737. + mv -f confcache "$cache_file" ;;
  21738. + esac
  21739. + fi
  21740. + fi
  21741. + else
  21742. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  21743. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  21744. + fi
  21745. +fi
  21746. +rm -f confcache
  21747. +
  21748. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  21749. +# Let make expand exec_prefix.
  21750. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  21751. +
  21752. +DEFS=-DHAVE_CONFIG_H
  21753. +
  21754. +ac_libobjs=
  21755. +ac_ltlibobjs=
  21756. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  21757. + # 1. Remove the extension, and $U if already installed.
  21758. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  21759. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  21760. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  21761. + # will be set to the directory where LIBOBJS objects are built.
  21762. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  21763. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  21764. +done
  21765. +LIB@&t@OBJS=$ac_libobjs
  21766. +
  21767. +LTLIBOBJS=$ac_ltlibobjs
  21768. +
  21769. +
  21770. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  21771. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  21772. + if test -n "$am_sleep_pid"; then
  21773. + # Hide warnings about reused PIDs.
  21774. + wait $am_sleep_pid 2>/dev/null
  21775. + fi
  21776. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  21777. +$as_echo "done" >&6; }
  21778. + if test -n "$EXEEXT"; then
  21779. + am__EXEEXT_TRUE=
  21780. + am__EXEEXT_FALSE='#'
  21781. +else
  21782. + am__EXEEXT_TRUE='#'
  21783. + am__EXEEXT_FALSE=
  21784. +fi
  21785. +
  21786. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  21787. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  21788. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  21789. +fi
  21790. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  21791. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  21792. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  21793. +fi
  21794. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  21795. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  21796. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  21797. +fi
  21798. +
  21799. +
  21800. +: "${CONFIG_STATUS=./config.status}"
  21801. +ac_write_fail=0
  21802. +ac_clean_files_save=$ac_clean_files
  21803. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  21804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  21805. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  21806. +as_write_fail=0
  21807. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  21808. +#! $SHELL
  21809. +# Generated by $as_me.
  21810. +# Run this file to recreate the current configuration.
  21811. +# Compiler output produced by configure, useful for debugging
  21812. +# configure, is in config.log if it exists.
  21813. +
  21814. +debug=false
  21815. +ac_cs_recheck=false
  21816. +ac_cs_silent=false
  21817. +
  21818. +SHELL=\${CONFIG_SHELL-$SHELL}
  21819. +export SHELL
  21820. +_ASEOF
  21821. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  21822. +## -------------------- ##
  21823. +## M4sh Initialization. ##
  21824. +## -------------------- ##
  21825. +
  21826. +# Be more Bourne compatible
  21827. +DUALCASE=1; export DUALCASE # for MKS sh
  21828. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  21829. + emulate sh
  21830. + NULLCMD=:
  21831. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  21832. + # is contrary to our usage. Disable this feature.
  21833. + alias -g '${1+"$@"}'='"$@"'
  21834. + setopt NO_GLOB_SUBST
  21835. +else
  21836. + case `(set -o) 2>/dev/null` in @%:@(
  21837. + *posix*) :
  21838. + set -o posix ;; @%:@(
  21839. + *) :
  21840. + ;;
  21841. +esac
  21842. +fi
  21843. +
  21844. +
  21845. +as_nl='
  21846. +'
  21847. +export as_nl
  21848. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  21849. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  21850. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  21851. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  21852. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  21853. +# but without wasting forks for bash or zsh.
  21854. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  21855. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  21856. + as_echo='print -r --'
  21857. + as_echo_n='print -rn --'
  21858. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  21859. + as_echo='printf %s\n'
  21860. + as_echo_n='printf %s'
  21861. +else
  21862. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  21863. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  21864. + as_echo_n='/usr/ucb/echo -n'
  21865. + else
  21866. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  21867. + as_echo_n_body='eval
  21868. + arg=$1;
  21869. + case $arg in @%:@(
  21870. + *"$as_nl"*)
  21871. + expr "X$arg" : "X\\(.*\\)$as_nl";
  21872. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  21873. + esac;
  21874. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  21875. + '
  21876. + export as_echo_n_body
  21877. + as_echo_n='sh -c $as_echo_n_body as_echo'
  21878. + fi
  21879. + export as_echo_body
  21880. + as_echo='sh -c $as_echo_body as_echo'
  21881. +fi
  21882. +
  21883. +# The user is always right.
  21884. +if test "${PATH_SEPARATOR+set}" != set; then
  21885. + PATH_SEPARATOR=:
  21886. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  21887. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  21888. + PATH_SEPARATOR=';'
  21889. + }
  21890. +fi
  21891. +
  21892. +
  21893. +# IFS
  21894. +# We need space, tab and new line, in precisely that order. Quoting is
  21895. +# there to prevent editors from complaining about space-tab.
  21896. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  21897. +# splitting by setting IFS to empty value.)
  21898. +IFS=" "" $as_nl"
  21899. +
  21900. +# Find who we are. Look in the path if we contain no directory separator.
  21901. +as_myself=
  21902. +case $0 in @%:@((
  21903. + *[\\/]* ) as_myself=$0 ;;
  21904. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21905. +for as_dir in $PATH
  21906. +do
  21907. + IFS=$as_save_IFS
  21908. + test -z "$as_dir" && as_dir=.
  21909. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  21910. + done
  21911. +IFS=$as_save_IFS
  21912. +
  21913. + ;;
  21914. +esac
  21915. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  21916. +# in which case we are not to be found in the path.
  21917. +if test "x$as_myself" = x; then
  21918. + as_myself=$0
  21919. +fi
  21920. +if test ! -f "$as_myself"; then
  21921. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  21922. + exit 1
  21923. +fi
  21924. +
  21925. +# Unset variables that we do not need and which cause bugs (e.g. in
  21926. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  21927. +# suppresses any "Segmentation fault" message there. '((' could
  21928. +# trigger a bug in pdksh 5.2.14.
  21929. +for as_var in BASH_ENV ENV MAIL MAILPATH
  21930. +do eval test x\${$as_var+set} = xset \
  21931. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  21932. +done
  21933. +PS1='$ '
  21934. +PS2='> '
  21935. +PS4='+ '
  21936. +
  21937. +# NLS nuisances.
  21938. +LC_ALL=C
  21939. +export LC_ALL
  21940. +LANGUAGE=C
  21941. +export LANGUAGE
  21942. +
  21943. +# CDPATH.
  21944. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  21945. +
  21946. +
  21947. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  21948. +@%:@ ----------------------------------------
  21949. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  21950. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  21951. +@%:@ script with STATUS, using 1 if that was 0.
  21952. +as_fn_error ()
  21953. +{
  21954. + as_status=$1; test $as_status -eq 0 && as_status=1
  21955. + if test "$4"; then
  21956. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  21957. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  21958. + fi
  21959. + $as_echo "$as_me: error: $2" >&2
  21960. + as_fn_exit $as_status
  21961. +} @%:@ as_fn_error
  21962. +
  21963. +
  21964. +@%:@ as_fn_set_status STATUS
  21965. +@%:@ -----------------------
  21966. +@%:@ Set @S|@? to STATUS, without forking.
  21967. +as_fn_set_status ()
  21968. +{
  21969. + return $1
  21970. +} @%:@ as_fn_set_status
  21971. +
  21972. +@%:@ as_fn_exit STATUS
  21973. +@%:@ -----------------
  21974. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  21975. +as_fn_exit ()
  21976. +{
  21977. + set +e
  21978. + as_fn_set_status $1
  21979. + exit $1
  21980. +} @%:@ as_fn_exit
  21981. +
  21982. +@%:@ as_fn_unset VAR
  21983. +@%:@ ---------------
  21984. +@%:@ Portably unset VAR.
  21985. +as_fn_unset ()
  21986. +{
  21987. + { eval $1=; unset $1;}
  21988. +}
  21989. +as_unset=as_fn_unset
  21990. +@%:@ as_fn_append VAR VALUE
  21991. +@%:@ ----------------------
  21992. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  21993. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  21994. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  21995. +@%:@ implementations.
  21996. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  21997. + eval 'as_fn_append ()
  21998. + {
  21999. + eval $1+=\$2
  22000. + }'
  22001. +else
  22002. + as_fn_append ()
  22003. + {
  22004. + eval $1=\$$1\$2
  22005. + }
  22006. +fi # as_fn_append
  22007. +
  22008. +@%:@ as_fn_arith ARG...
  22009. +@%:@ ------------------
  22010. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  22011. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  22012. +@%:@ must be portable across @S|@(()) and expr.
  22013. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  22014. + eval 'as_fn_arith ()
  22015. + {
  22016. + as_val=$(( $* ))
  22017. + }'
  22018. +else
  22019. + as_fn_arith ()
  22020. + {
  22021. + as_val=`expr "$@" || test $? -eq 1`
  22022. + }
  22023. +fi # as_fn_arith
  22024. +
  22025. +
  22026. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  22027. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  22028. + as_expr=expr
  22029. +else
  22030. + as_expr=false
  22031. +fi
  22032. +
  22033. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  22034. + as_basename=basename
  22035. +else
  22036. + as_basename=false
  22037. +fi
  22038. +
  22039. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  22040. + as_dirname=dirname
  22041. +else
  22042. + as_dirname=false
  22043. +fi
  22044. +
  22045. +as_me=`$as_basename -- "$0" ||
  22046. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  22047. + X"$0" : 'X\(//\)$' \| \
  22048. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  22049. +$as_echo X/"$0" |
  22050. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  22051. + s//\1/
  22052. + q
  22053. + }
  22054. + /^X\/\(\/\/\)$/{
  22055. + s//\1/
  22056. + q
  22057. + }
  22058. + /^X\/\(\/\).*/{
  22059. + s//\1/
  22060. + q
  22061. + }
  22062. + s/.*/./; q'`
  22063. +
  22064. +# Avoid depending upon Character Ranges.
  22065. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  22066. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  22067. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  22068. +as_cr_digits='0123456789'
  22069. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  22070. +
  22071. +ECHO_C= ECHO_N= ECHO_T=
  22072. +case `echo -n x` in @%:@(((((
  22073. +-n*)
  22074. + case `echo 'xy\c'` in
  22075. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  22076. + xy) ECHO_C='\c';;
  22077. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  22078. + ECHO_T=' ';;
  22079. + esac;;
  22080. +*)
  22081. + ECHO_N='-n';;
  22082. +esac
  22083. +
  22084. +rm -f conf$$ conf$$.exe conf$$.file
  22085. +if test -d conf$$.dir; then
  22086. + rm -f conf$$.dir/conf$$.file
  22087. +else
  22088. + rm -f conf$$.dir
  22089. + mkdir conf$$.dir 2>/dev/null
  22090. +fi
  22091. +if (echo >conf$$.file) 2>/dev/null; then
  22092. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  22093. + as_ln_s='ln -s'
  22094. + # ... but there are two gotchas:
  22095. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  22096. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  22097. + # In both cases, we have to default to `cp -pR'.
  22098. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  22099. + as_ln_s='cp -pR'
  22100. + elif ln conf$$.file conf$$ 2>/dev/null; then
  22101. + as_ln_s=ln
  22102. + else
  22103. + as_ln_s='cp -pR'
  22104. + fi
  22105. +else
  22106. + as_ln_s='cp -pR'
  22107. +fi
  22108. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  22109. +rmdir conf$$.dir 2>/dev/null
  22110. +
  22111. +
  22112. +@%:@ as_fn_mkdir_p
  22113. +@%:@ -------------
  22114. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  22115. +as_fn_mkdir_p ()
  22116. +{
  22117. +
  22118. + case $as_dir in #(
  22119. + -*) as_dir=./$as_dir;;
  22120. + esac
  22121. + test -d "$as_dir" || eval $as_mkdir_p || {
  22122. + as_dirs=
  22123. + while :; do
  22124. + case $as_dir in #(
  22125. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  22126. + *) as_qdir=$as_dir;;
  22127. + esac
  22128. + as_dirs="'$as_qdir' $as_dirs"
  22129. + as_dir=`$as_dirname -- "$as_dir" ||
  22130. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  22131. + X"$as_dir" : 'X\(//\)[^/]' \| \
  22132. + X"$as_dir" : 'X\(//\)$' \| \
  22133. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  22134. +$as_echo X"$as_dir" |
  22135. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  22136. + s//\1/
  22137. + q
  22138. + }
  22139. + /^X\(\/\/\)[^/].*/{
  22140. + s//\1/
  22141. + q
  22142. + }
  22143. + /^X\(\/\/\)$/{
  22144. + s//\1/
  22145. + q
  22146. + }
  22147. + /^X\(\/\).*/{
  22148. + s//\1/
  22149. + q
  22150. + }
  22151. + s/.*/./; q'`
  22152. + test -d "$as_dir" && break
  22153. + done
  22154. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  22155. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  22156. +
  22157. +
  22158. +} @%:@ as_fn_mkdir_p
  22159. +if mkdir -p . 2>/dev/null; then
  22160. + as_mkdir_p='mkdir -p "$as_dir"'
  22161. +else
  22162. + test -d ./-p && rmdir ./-p
  22163. + as_mkdir_p=false
  22164. +fi
  22165. +
  22166. +
  22167. +@%:@ as_fn_executable_p FILE
  22168. +@%:@ -----------------------
  22169. +@%:@ Test if FILE is an executable regular file.
  22170. +as_fn_executable_p ()
  22171. +{
  22172. + test -f "$1" && test -x "$1"
  22173. +} @%:@ as_fn_executable_p
  22174. +as_test_x='test -x'
  22175. +as_executable_p=as_fn_executable_p
  22176. +
  22177. +# Sed expression to map a string onto a valid CPP name.
  22178. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  22179. +
  22180. +# Sed expression to map a string onto a valid variable name.
  22181. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  22182. +
  22183. +
  22184. +exec 6>&1
  22185. +## ----------------------------------- ##
  22186. +## Main body of $CONFIG_STATUS script. ##
  22187. +## ----------------------------------- ##
  22188. +_ASEOF
  22189. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  22190. +
  22191. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22192. +# Save the log message, to keep $0 and so on meaningful, and to
  22193. +# report actual input values of CONFIG_FILES etc. instead of their
  22194. +# values after options handling.
  22195. +ac_log="
  22196. +This file was extended by $as_me, which was
  22197. +generated by GNU Autoconf 2.69. Invocation command line was
  22198. +
  22199. + CONFIG_FILES = $CONFIG_FILES
  22200. + CONFIG_HEADERS = $CONFIG_HEADERS
  22201. + CONFIG_LINKS = $CONFIG_LINKS
  22202. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  22203. + $ $0 $@
  22204. +
  22205. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  22206. +"
  22207. +
  22208. +_ACEOF
  22209. +
  22210. +case $ac_config_files in *"
  22211. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  22212. +esac
  22213. +
  22214. +case $ac_config_headers in *"
  22215. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  22216. +esac
  22217. +
  22218. +
  22219. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22220. +# Files that config.status was made for.
  22221. +config_files="$ac_config_files"
  22222. +config_headers="$ac_config_headers"
  22223. +config_commands="$ac_config_commands"
  22224. +
  22225. +_ACEOF
  22226. +
  22227. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22228. +ac_cs_usage="\
  22229. +\`$as_me' instantiates files and other configuration actions
  22230. +from templates according to the current configuration. Unless the files
  22231. +and actions are specified as TAGs, all are instantiated by default.
  22232. +
  22233. +Usage: $0 [OPTION]... [TAG]...
  22234. +
  22235. + -h, --help print this help, then exit
  22236. + -V, --version print version number and configuration settings, then exit
  22237. + --config print configuration, then exit
  22238. + -q, --quiet, --silent
  22239. + do not print progress messages
  22240. + -d, --debug don't remove temporary files
  22241. + --recheck update $as_me by reconfiguring in the same conditions
  22242. + --file=FILE[:TEMPLATE]
  22243. + instantiate the configuration file FILE
  22244. + --header=FILE[:TEMPLATE]
  22245. + instantiate the configuration header FILE
  22246. +
  22247. +Configuration files:
  22248. +$config_files
  22249. +
  22250. +Configuration headers:
  22251. +$config_headers
  22252. +
  22253. +Configuration commands:
  22254. +$config_commands
  22255. +
  22256. +Report bugs to the package provider."
  22257. +
  22258. +_ACEOF
  22259. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22260. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  22261. +ac_cs_version="\\
  22262. +config.status
  22263. +configured by $0, generated by GNU Autoconf 2.69,
  22264. + with options \\"\$ac_cs_config\\"
  22265. +
  22266. +Copyright (C) 2012 Free Software Foundation, Inc.
  22267. +This config.status script is free software; the Free Software Foundation
  22268. +gives unlimited permission to copy, distribute and modify it."
  22269. +
  22270. +ac_pwd='$ac_pwd'
  22271. +srcdir='$srcdir'
  22272. +INSTALL='$INSTALL'
  22273. +MKDIR_P='$MKDIR_P'
  22274. +AWK='$AWK'
  22275. +test -n "\$AWK" || AWK=awk
  22276. +_ACEOF
  22277. +
  22278. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22279. +# The default lists apply if the user does not specify any file.
  22280. +ac_need_defaults=:
  22281. +while test $# != 0
  22282. +do
  22283. + case $1 in
  22284. + --*=?*)
  22285. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  22286. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  22287. + ac_shift=:
  22288. + ;;
  22289. + --*=)
  22290. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  22291. + ac_optarg=
  22292. + ac_shift=:
  22293. + ;;
  22294. + *)
  22295. + ac_option=$1
  22296. + ac_optarg=$2
  22297. + ac_shift=shift
  22298. + ;;
  22299. + esac
  22300. +
  22301. + case $ac_option in
  22302. + # Handling of the options.
  22303. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  22304. + ac_cs_recheck=: ;;
  22305. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  22306. + $as_echo "$ac_cs_version"; exit ;;
  22307. + --config | --confi | --conf | --con | --co | --c )
  22308. + $as_echo "$ac_cs_config"; exit ;;
  22309. + --debug | --debu | --deb | --de | --d | -d )
  22310. + debug=: ;;
  22311. + --file | --fil | --fi | --f )
  22312. + $ac_shift
  22313. + case $ac_optarg in
  22314. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  22315. + '') as_fn_error $? "missing file argument" ;;
  22316. + esac
  22317. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  22318. + ac_need_defaults=false;;
  22319. + --header | --heade | --head | --hea )
  22320. + $ac_shift
  22321. + case $ac_optarg in
  22322. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  22323. + esac
  22324. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  22325. + ac_need_defaults=false;;
  22326. + --he | --h)
  22327. + # Conflict between --help and --header
  22328. + as_fn_error $? "ambiguous option: \`$1'
  22329. +Try \`$0 --help' for more information.";;
  22330. + --help | --hel | -h )
  22331. + $as_echo "$ac_cs_usage"; exit ;;
  22332. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  22333. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  22334. + ac_cs_silent=: ;;
  22335. +
  22336. + # This is an error.
  22337. + -*) as_fn_error $? "unrecognized option: \`$1'
  22338. +Try \`$0 --help' for more information." ;;
  22339. +
  22340. + *) as_fn_append ac_config_targets " $1"
  22341. + ac_need_defaults=false ;;
  22342. +
  22343. + esac
  22344. + shift
  22345. +done
  22346. +
  22347. +ac_configure_extra_args=
  22348. +
  22349. +if $ac_cs_silent; then
  22350. + exec 6>/dev/null
  22351. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  22352. +fi
  22353. +
  22354. +_ACEOF
  22355. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22356. +if \$ac_cs_recheck; then
  22357. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  22358. + shift
  22359. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  22360. + CONFIG_SHELL='$SHELL'
  22361. + export CONFIG_SHELL
  22362. + exec "\$@"
  22363. +fi
  22364. +
  22365. +_ACEOF
  22366. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22367. +exec 5>>config.log
  22368. +{
  22369. + echo
  22370. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  22371. +@%:@@%:@ Running $as_me. @%:@@%:@
  22372. +_ASBOX
  22373. + $as_echo "$ac_log"
  22374. +} >&5
  22375. +
  22376. +_ACEOF
  22377. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22378. +#
  22379. +# INIT-COMMANDS
  22380. +#
  22381. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  22382. +
  22383. +
  22384. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  22385. +# if CDPATH is set.
  22386. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  22387. +
  22388. +sed_quote_subst='$sed_quote_subst'
  22389. +double_quote_subst='$double_quote_subst'
  22390. +delay_variable_subst='$delay_variable_subst'
  22391. +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  22392. +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  22393. +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  22394. +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  22395. +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  22396. +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  22397. +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  22398. +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  22399. +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  22400. +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  22401. +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  22402. +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  22403. +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  22404. +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  22405. +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  22406. +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  22407. +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  22408. +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  22409. +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  22410. +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  22411. +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  22412. +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  22413. +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  22414. +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  22415. +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  22416. +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  22417. +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22418. +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22419. +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  22420. +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  22421. +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  22422. +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  22423. +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  22424. +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  22425. +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  22426. +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22427. +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22428. +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22429. +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  22430. +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  22431. +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  22432. +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  22433. +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  22434. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  22435. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  22436. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  22437. +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  22438. +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  22439. +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  22440. +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  22441. +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22442. +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  22443. +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  22444. +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  22445. +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  22446. +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  22447. +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  22448. +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  22449. +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  22450. +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  22451. +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  22452. +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  22453. +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22454. +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22455. +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  22456. +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  22457. +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22458. +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22459. +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  22460. +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22461. +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22462. +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22463. +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22464. +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22465. +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22466. +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  22467. +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22468. +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  22469. +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22470. +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  22471. +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  22472. +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  22473. +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  22474. +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  22475. +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  22476. +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  22477. +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  22478. +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  22479. +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  22480. +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  22481. +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22482. +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  22483. +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  22484. +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22485. +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22486. +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  22487. +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  22488. +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  22489. +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  22490. +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  22491. +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  22492. +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  22493. +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22494. +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22495. +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22496. +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22497. +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22498. +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  22499. +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  22500. +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  22501. +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22502. +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  22503. +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  22504. +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  22505. +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  22506. +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  22507. +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  22508. +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  22509. +
  22510. +LTCC='$LTCC'
  22511. +LTCFLAGS='$LTCFLAGS'
  22512. +compiler='$compiler_DEFAULT'
  22513. +
  22514. +# Quote evaled strings.
  22515. +for var in SED \
  22516. +GREP \
  22517. +EGREP \
  22518. +FGREP \
  22519. +LD \
  22520. +NM \
  22521. +LN_S \
  22522. +lt_SP2NL \
  22523. +lt_NL2SP \
  22524. +reload_flag \
  22525. +OBJDUMP \
  22526. +deplibs_check_method \
  22527. +file_magic_cmd \
  22528. +AR \
  22529. +AR_FLAGS \
  22530. +STRIP \
  22531. +RANLIB \
  22532. +CC \
  22533. +CFLAGS \
  22534. +compiler \
  22535. +lt_cv_sys_global_symbol_pipe \
  22536. +lt_cv_sys_global_symbol_to_cdecl \
  22537. +lt_cv_sys_global_symbol_to_c_name_address \
  22538. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  22539. +SHELL \
  22540. +ECHO \
  22541. +lt_prog_compiler_no_builtin_flag \
  22542. +lt_prog_compiler_wl \
  22543. +lt_prog_compiler_pic \
  22544. +lt_prog_compiler_static \
  22545. +lt_cv_prog_compiler_c_o \
  22546. +need_locks \
  22547. +DSYMUTIL \
  22548. +NMEDIT \
  22549. +LIPO \
  22550. +OTOOL \
  22551. +OTOOL64 \
  22552. +shrext_cmds \
  22553. +export_dynamic_flag_spec \
  22554. +whole_archive_flag_spec \
  22555. +compiler_needs_object \
  22556. +with_gnu_ld \
  22557. +allow_undefined_flag \
  22558. +no_undefined_flag \
  22559. +hardcode_libdir_flag_spec \
  22560. +hardcode_libdir_flag_spec_ld \
  22561. +hardcode_libdir_separator \
  22562. +fix_srcfile_path \
  22563. +exclude_expsyms \
  22564. +include_expsyms \
  22565. +file_list_spec \
  22566. +variables_saved_for_relink \
  22567. +libname_spec \
  22568. +library_names_spec \
  22569. +soname_spec \
  22570. +finish_eval \
  22571. +old_striplib \
  22572. +striplib; do
  22573. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  22574. + *[\\\\\\\`\\"\\\$]*)
  22575. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  22576. + ;;
  22577. + *)
  22578. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  22579. + ;;
  22580. + esac
  22581. +done
  22582. +
  22583. +# Double-quote double-evaled strings.
  22584. +for var in reload_cmds \
  22585. +old_postinstall_cmds \
  22586. +old_postuninstall_cmds \
  22587. +old_archive_cmds \
  22588. +extract_expsyms_cmds \
  22589. +old_archive_from_new_cmds \
  22590. +old_archive_from_expsyms_cmds \
  22591. +archive_cmds \
  22592. +archive_expsym_cmds \
  22593. +module_cmds \
  22594. +module_expsym_cmds \
  22595. +export_symbols_cmds \
  22596. +prelink_cmds \
  22597. +postinstall_cmds \
  22598. +postuninstall_cmds \
  22599. +finish_cmds \
  22600. +sys_lib_search_path_spec \
  22601. +sys_lib_dlsearch_path_spec; do
  22602. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  22603. + *[\\\\\\\`\\"\\\$]*)
  22604. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  22605. + ;;
  22606. + *)
  22607. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  22608. + ;;
  22609. + esac
  22610. +done
  22611. +
  22612. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  22613. +case \$lt_ECHO in
  22614. +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  22615. + ;;
  22616. +esac
  22617. +
  22618. +ac_aux_dir='$ac_aux_dir'
  22619. +xsi_shell='$xsi_shell'
  22620. +lt_shell_append='$lt_shell_append'
  22621. +
  22622. +# See if we are running on zsh, and set the options which allow our
  22623. +# commands through without removal of \ escapes INIT.
  22624. +if test -n "\${ZSH_VERSION+set}" ; then
  22625. + setopt NO_GLOB_SUBST
  22626. +fi
  22627. +
  22628. +
  22629. + PACKAGE='$PACKAGE'
  22630. + VERSION='$VERSION'
  22631. + TIMESTAMP='$TIMESTAMP'
  22632. + RM='$RM'
  22633. + ofile='$ofile'
  22634. +
  22635. +
  22636. +
  22637. +
  22638. +_ACEOF
  22639. +
  22640. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22641. +
  22642. +# Handling of arguments.
  22643. +for ac_config_target in $ac_config_targets
  22644. +do
  22645. + case $ac_config_target in
  22646. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  22647. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  22648. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  22649. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  22650. + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  22651. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  22652. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  22653. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  22654. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  22655. + "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  22656. + "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
  22657. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  22658. +
  22659. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  22660. + esac
  22661. +done
  22662. +
  22663. +
  22664. +# If the user did not use the arguments to specify the items to instantiate,
  22665. +# then the envvar interface is used. Set only those that are not.
  22666. +# We use the long form for the default assignment because of an extremely
  22667. +# bizarre bug on SunOS 4.1.3.
  22668. +if $ac_need_defaults; then
  22669. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  22670. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  22671. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  22672. +fi
  22673. +
  22674. +# Have a temporary directory for convenience. Make it in the build tree
  22675. +# simply because there is no reason against having it here, and in addition,
  22676. +# creating and moving files from /tmp can sometimes cause problems.
  22677. +# Hook for its removal unless debugging.
  22678. +# Note that there is a small window in which the directory will not be cleaned:
  22679. +# after its creation but before its name has been assigned to `$tmp'.
  22680. +$debug ||
  22681. +{
  22682. + tmp= ac_tmp=
  22683. + trap 'exit_status=$?
  22684. + : "${ac_tmp:=$tmp}"
  22685. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  22686. +' 0
  22687. + trap 'as_fn_exit 1' 1 2 13 15
  22688. +}
  22689. +# Create a (secure) tmp directory for tmp files.
  22690. +
  22691. +{
  22692. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  22693. + test -d "$tmp"
  22694. +} ||
  22695. +{
  22696. + tmp=./conf$$-$RANDOM
  22697. + (umask 077 && mkdir "$tmp")
  22698. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  22699. +ac_tmp=$tmp
  22700. +
  22701. +# Set up the scripts for CONFIG_FILES section.
  22702. +# No need to generate them if there are no CONFIG_FILES.
  22703. +# This happens for instance with `./config.status config.h'.
  22704. +if test -n "$CONFIG_FILES"; then
  22705. +
  22706. +
  22707. +ac_cr=`echo X | tr X '\015'`
  22708. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  22709. +# But we know of no other shell where ac_cr would be empty at this
  22710. +# point, so we can use a bashism as a fallback.
  22711. +if test "x$ac_cr" = x; then
  22712. + eval ac_cr=\$\'\\r\'
  22713. +fi
  22714. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  22715. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  22716. + ac_cs_awk_cr='\\r'
  22717. +else
  22718. + ac_cs_awk_cr=$ac_cr
  22719. +fi
  22720. +
  22721. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  22722. +_ACEOF
  22723. +
  22724. +
  22725. +{
  22726. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  22727. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  22728. + echo "_ACEOF"
  22729. +} >conf$$subs.sh ||
  22730. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  22731. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  22732. +ac_delim='%!_!# '
  22733. +for ac_last_try in false false false false false :; do
  22734. + . ./conf$$subs.sh ||
  22735. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  22736. +
  22737. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  22738. + if test $ac_delim_n = $ac_delim_num; then
  22739. + break
  22740. + elif $ac_last_try; then
  22741. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  22742. + else
  22743. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  22744. + fi
  22745. +done
  22746. +rm -f conf$$subs.sh
  22747. +
  22748. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22749. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  22750. +_ACEOF
  22751. +sed -n '
  22752. +h
  22753. +s/^/S["/; s/!.*/"]=/
  22754. +p
  22755. +g
  22756. +s/^[^!]*!//
  22757. +:repl
  22758. +t repl
  22759. +s/'"$ac_delim"'$//
  22760. +t delim
  22761. +:nl
  22762. +h
  22763. +s/\(.\{148\}\)..*/\1/
  22764. +t more1
  22765. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  22766. +p
  22767. +n
  22768. +b repl
  22769. +:more1
  22770. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  22771. +p
  22772. +g
  22773. +s/.\{148\}//
  22774. +t nl
  22775. +:delim
  22776. +h
  22777. +s/\(.\{148\}\)..*/\1/
  22778. +t more2
  22779. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  22780. +p
  22781. +b
  22782. +:more2
  22783. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  22784. +p
  22785. +g
  22786. +s/.\{148\}//
  22787. +t delim
  22788. +' <conf$$subs.awk | sed '
  22789. +/^[^""]/{
  22790. + N
  22791. + s/\n//
  22792. +}
  22793. +' >>$CONFIG_STATUS || ac_write_fail=1
  22794. +rm -f conf$$subs.awk
  22795. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22796. +_ACAWK
  22797. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  22798. + for (key in S) S_is_set[key] = 1
  22799. + FS = ""
  22800. +
  22801. +}
  22802. +{
  22803. + line = $ 0
  22804. + nfields = split(line, field, "@")
  22805. + substed = 0
  22806. + len = length(field[1])
  22807. + for (i = 2; i < nfields; i++) {
  22808. + key = field[i]
  22809. + keylen = length(key)
  22810. + if (S_is_set[key]) {
  22811. + value = S[key]
  22812. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  22813. + len += length(value) + length(field[++i])
  22814. + substed = 1
  22815. + } else
  22816. + len += 1 + keylen
  22817. + }
  22818. +
  22819. + print line
  22820. +}
  22821. +
  22822. +_ACAWK
  22823. +_ACEOF
  22824. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22825. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  22826. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  22827. +else
  22828. + cat
  22829. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  22830. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  22831. +_ACEOF
  22832. +
  22833. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  22834. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  22835. +# trailing colons and then remove the whole line if VPATH becomes empty
  22836. +# (actually we leave an empty line to preserve line numbers).
  22837. +if test "x$srcdir" = x.; then
  22838. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  22839. +h
  22840. +s///
  22841. +s/^/:/
  22842. +s/[ ]*$/:/
  22843. +s/:\$(srcdir):/:/g
  22844. +s/:\${srcdir}:/:/g
  22845. +s/:@srcdir@:/:/g
  22846. +s/^:*//
  22847. +s/:*$//
  22848. +x
  22849. +s/\(=[ ]*\).*/\1/
  22850. +G
  22851. +s/\n//
  22852. +s/^[^=]*=[ ]*$//
  22853. +}'
  22854. +fi
  22855. +
  22856. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22857. +fi # test -n "$CONFIG_FILES"
  22858. +
  22859. +# Set up the scripts for CONFIG_HEADERS section.
  22860. +# No need to generate them if there are no CONFIG_HEADERS.
  22861. +# This happens for instance with `./config.status Makefile'.
  22862. +if test -n "$CONFIG_HEADERS"; then
  22863. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  22864. +BEGIN {
  22865. +_ACEOF
  22866. +
  22867. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  22868. +# here-document in config.status, that substitutes the proper values into
  22869. +# config.h.in to produce config.h.
  22870. +
  22871. +# Create a delimiter string that does not exist in confdefs.h, to ease
  22872. +# handling of long lines.
  22873. +ac_delim='%!_!# '
  22874. +for ac_last_try in false false :; do
  22875. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  22876. + if test -z "$ac_tt"; then
  22877. + break
  22878. + elif $ac_last_try; then
  22879. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  22880. + else
  22881. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  22882. + fi
  22883. +done
  22884. +
  22885. +# For the awk script, D is an array of macro values keyed by name,
  22886. +# likewise P contains macro parameters if any. Preserve backslash
  22887. +# newline sequences.
  22888. +
  22889. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  22890. +sed -n '
  22891. +s/.\{148\}/&'"$ac_delim"'/g
  22892. +t rset
  22893. +:rset
  22894. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  22895. +t def
  22896. +d
  22897. +:def
  22898. +s/\\$//
  22899. +t bsnl
  22900. +s/["\\]/\\&/g
  22901. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  22902. +D["\1"]=" \3"/p
  22903. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  22904. +d
  22905. +:bsnl
  22906. +s/["\\]/\\&/g
  22907. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  22908. +D["\1"]=" \3\\\\\\n"\\/p
  22909. +t cont
  22910. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  22911. +t cont
  22912. +d
  22913. +:cont
  22914. +n
  22915. +s/.\{148\}/&'"$ac_delim"'/g
  22916. +t clear
  22917. +:clear
  22918. +s/\\$//
  22919. +t bsnlc
  22920. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  22921. +d
  22922. +:bsnlc
  22923. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  22924. +b cont
  22925. +' <confdefs.h | sed '
  22926. +s/'"$ac_delim"'/"\\\
  22927. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  22928. +
  22929. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22930. + for (key in D) D_is_set[key] = 1
  22931. + FS = ""
  22932. +}
  22933. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  22934. + line = \$ 0
  22935. + split(line, arg, " ")
  22936. + if (arg[1] == "#") {
  22937. + defundef = arg[2]
  22938. + mac1 = arg[3]
  22939. + } else {
  22940. + defundef = substr(arg[1], 2)
  22941. + mac1 = arg[2]
  22942. + }
  22943. + split(mac1, mac2, "(") #)
  22944. + macro = mac2[1]
  22945. + prefix = substr(line, 1, index(line, defundef) - 1)
  22946. + if (D_is_set[macro]) {
  22947. + # Preserve the white space surrounding the "#".
  22948. + print prefix "define", macro P[macro] D[macro]
  22949. + next
  22950. + } else {
  22951. + # Replace #undef with comments. This is necessary, for example,
  22952. + # in the case of _POSIX_SOURCE, which is predefined and required
  22953. + # on some systems where configure will not decide to define it.
  22954. + if (defundef == "undef") {
  22955. + print "/*", prefix defundef, macro, "*/"
  22956. + next
  22957. + }
  22958. + }
  22959. +}
  22960. +{ print }
  22961. +_ACAWK
  22962. +_ACEOF
  22963. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22964. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  22965. +fi # test -n "$CONFIG_HEADERS"
  22966. +
  22967. +
  22968. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  22969. +shift
  22970. +for ac_tag
  22971. +do
  22972. + case $ac_tag in
  22973. + :[FHLC]) ac_mode=$ac_tag; continue;;
  22974. + esac
  22975. + case $ac_mode$ac_tag in
  22976. + :[FHL]*:*);;
  22977. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  22978. + :[FH]-) ac_tag=-:-;;
  22979. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  22980. + esac
  22981. + ac_save_IFS=$IFS
  22982. + IFS=:
  22983. + set x $ac_tag
  22984. + IFS=$ac_save_IFS
  22985. + shift
  22986. + ac_file=$1
  22987. + shift
  22988. +
  22989. + case $ac_mode in
  22990. + :L) ac_source=$1;;
  22991. + :[FH])
  22992. + ac_file_inputs=
  22993. + for ac_f
  22994. + do
  22995. + case $ac_f in
  22996. + -) ac_f="$ac_tmp/stdin";;
  22997. + *) # Look for the file first in the build tree, then in the source tree
  22998. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  22999. + # because $ac_f cannot contain `:'.
  23000. + test -f "$ac_f" ||
  23001. + case $ac_f in
  23002. + [\\/$]*) false;;
  23003. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  23004. + esac ||
  23005. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  23006. + esac
  23007. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  23008. + as_fn_append ac_file_inputs " '$ac_f'"
  23009. + done
  23010. +
  23011. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  23012. + # use $as_me), people would be surprised to read:
  23013. + # /* config.h. Generated by config.status. */
  23014. + configure_input='Generated from '`
  23015. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  23016. + `' by configure.'
  23017. + if test x"$ac_file" != x-; then
  23018. + configure_input="$ac_file. $configure_input"
  23019. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  23020. +$as_echo "$as_me: creating $ac_file" >&6;}
  23021. + fi
  23022. + # Neutralize special characters interpreted by sed in replacement strings.
  23023. + case $configure_input in #(
  23024. + *\&* | *\|* | *\\* )
  23025. + ac_sed_conf_input=`$as_echo "$configure_input" |
  23026. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  23027. + *) ac_sed_conf_input=$configure_input;;
  23028. + esac
  23029. +
  23030. + case $ac_tag in
  23031. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  23032. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  23033. + esac
  23034. + ;;
  23035. + esac
  23036. +
  23037. + ac_dir=`$as_dirname -- "$ac_file" ||
  23038. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23039. + X"$ac_file" : 'X\(//\)[^/]' \| \
  23040. + X"$ac_file" : 'X\(//\)$' \| \
  23041. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  23042. +$as_echo X"$ac_file" |
  23043. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23044. + s//\1/
  23045. + q
  23046. + }
  23047. + /^X\(\/\/\)[^/].*/{
  23048. + s//\1/
  23049. + q
  23050. + }
  23051. + /^X\(\/\/\)$/{
  23052. + s//\1/
  23053. + q
  23054. + }
  23055. + /^X\(\/\).*/{
  23056. + s//\1/
  23057. + q
  23058. + }
  23059. + s/.*/./; q'`
  23060. + as_dir="$ac_dir"; as_fn_mkdir_p
  23061. + ac_builddir=.
  23062. +
  23063. +case "$ac_dir" in
  23064. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  23065. +*)
  23066. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  23067. + # A ".." for each directory in $ac_dir_suffix.
  23068. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  23069. + case $ac_top_builddir_sub in
  23070. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  23071. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  23072. + esac ;;
  23073. +esac
  23074. +ac_abs_top_builddir=$ac_pwd
  23075. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  23076. +# for backward compatibility:
  23077. +ac_top_builddir=$ac_top_build_prefix
  23078. +
  23079. +case $srcdir in
  23080. + .) # We are building in place.
  23081. + ac_srcdir=.
  23082. + ac_top_srcdir=$ac_top_builddir_sub
  23083. + ac_abs_top_srcdir=$ac_pwd ;;
  23084. + [\\/]* | ?:[\\/]* ) # Absolute name.
  23085. + ac_srcdir=$srcdir$ac_dir_suffix;
  23086. + ac_top_srcdir=$srcdir
  23087. + ac_abs_top_srcdir=$srcdir ;;
  23088. + *) # Relative name.
  23089. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  23090. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  23091. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  23092. +esac
  23093. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  23094. +
  23095. +
  23096. + case $ac_mode in
  23097. + :F)
  23098. + #
  23099. + # CONFIG_FILE
  23100. + #
  23101. +
  23102. + case $INSTALL in
  23103. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  23104. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  23105. + esac
  23106. + ac_MKDIR_P=$MKDIR_P
  23107. + case $MKDIR_P in
  23108. + [\\/$]* | ?:[\\/]* ) ;;
  23109. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  23110. + esac
  23111. +_ACEOF
  23112. +
  23113. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23114. +# If the template does not know about datarootdir, expand it.
  23115. +# FIXME: This hack should be removed a few years after 2.60.
  23116. +ac_datarootdir_hack=; ac_datarootdir_seen=
  23117. +ac_sed_dataroot='
  23118. +/datarootdir/ {
  23119. + p
  23120. + q
  23121. +}
  23122. +/@datadir@/p
  23123. +/@docdir@/p
  23124. +/@infodir@/p
  23125. +/@localedir@/p
  23126. +/@mandir@/p'
  23127. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  23128. +*datarootdir*) ac_datarootdir_seen=yes;;
  23129. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  23130. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  23131. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  23132. +_ACEOF
  23133. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23134. + ac_datarootdir_hack='
  23135. + s&@datadir@&$datadir&g
  23136. + s&@docdir@&$docdir&g
  23137. + s&@infodir@&$infodir&g
  23138. + s&@localedir@&$localedir&g
  23139. + s&@mandir@&$mandir&g
  23140. + s&\\\${datarootdir}&$datarootdir&g' ;;
  23141. +esac
  23142. +_ACEOF
  23143. +
  23144. +# Neutralize VPATH when `$srcdir' = `.'.
  23145. +# Shell code in configure.ac might set extrasub.
  23146. +# FIXME: do we really want to maintain this feature?
  23147. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23148. +ac_sed_extra="$ac_vpsub
  23149. +$extrasub
  23150. +_ACEOF
  23151. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23152. +:t
  23153. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  23154. +s|@configure_input@|$ac_sed_conf_input|;t t
  23155. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  23156. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  23157. +s&@srcdir@&$ac_srcdir&;t t
  23158. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  23159. +s&@top_srcdir@&$ac_top_srcdir&;t t
  23160. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  23161. +s&@builddir@&$ac_builddir&;t t
  23162. +s&@abs_builddir@&$ac_abs_builddir&;t t
  23163. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  23164. +s&@INSTALL@&$ac_INSTALL&;t t
  23165. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  23166. +$ac_datarootdir_hack
  23167. +"
  23168. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  23169. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23170. +
  23171. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  23172. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  23173. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  23174. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  23175. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  23176. +which seems to be undefined. Please make sure it is defined" >&5
  23177. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  23178. +which seems to be undefined. Please make sure it is defined" >&2;}
  23179. +
  23180. + rm -f "$ac_tmp/stdin"
  23181. + case $ac_file in
  23182. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  23183. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  23184. + esac \
  23185. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23186. + ;;
  23187. + :H)
  23188. + #
  23189. + # CONFIG_HEADER
  23190. + #
  23191. + if test x"$ac_file" != x-; then
  23192. + {
  23193. + $as_echo "/* $configure_input */" \
  23194. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  23195. + } >"$ac_tmp/config.h" \
  23196. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23197. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  23198. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  23199. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  23200. + else
  23201. + rm -f "$ac_file"
  23202. + mv "$ac_tmp/config.h" "$ac_file" \
  23203. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  23204. + fi
  23205. + else
  23206. + $as_echo "/* $configure_input */" \
  23207. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  23208. + || as_fn_error $? "could not create -" "$LINENO" 5
  23209. + fi
  23210. +# Compute "$ac_file"'s index in $config_headers.
  23211. +_am_arg="$ac_file"
  23212. +_am_stamp_count=1
  23213. +for _am_header in $config_headers :; do
  23214. + case $_am_header in
  23215. + $_am_arg | $_am_arg:* )
  23216. + break ;;
  23217. + * )
  23218. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  23219. + esac
  23220. +done
  23221. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  23222. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23223. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  23224. + X"$_am_arg" : 'X\(//\)$' \| \
  23225. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  23226. +$as_echo X"$_am_arg" |
  23227. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23228. + s//\1/
  23229. + q
  23230. + }
  23231. + /^X\(\/\/\)[^/].*/{
  23232. + s//\1/
  23233. + q
  23234. + }
  23235. + /^X\(\/\/\)$/{
  23236. + s//\1/
  23237. + q
  23238. + }
  23239. + /^X\(\/\).*/{
  23240. + s//\1/
  23241. + q
  23242. + }
  23243. + s/.*/./; q'`/stamp-h$_am_stamp_count
  23244. + ;;
  23245. +
  23246. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  23247. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  23248. + ;;
  23249. + esac
  23250. +
  23251. +
  23252. + case $ac_file$ac_mode in
  23253. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  23254. + # Older Autoconf quotes --file arguments for eval, but not when files
  23255. + # are listed without --file. Let's play safe and only enable the eval
  23256. + # if we detect the quoting.
  23257. + # TODO: see whether this extra hack can be removed once we start
  23258. + # requiring Autoconf 2.70 or later.
  23259. + case $CONFIG_FILES in @%:@(
  23260. + *\'*) :
  23261. + eval set x "$CONFIG_FILES" ;; @%:@(
  23262. + *) :
  23263. + set x $CONFIG_FILES ;; @%:@(
  23264. + *) :
  23265. + ;;
  23266. +esac
  23267. + shift
  23268. + # Used to flag and report bootstrapping failures.
  23269. + am_rc=0
  23270. + for am_mf
  23271. + do
  23272. + # Strip MF so we end up with the name of the file.
  23273. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  23274. + # Check whether this is an Automake generated Makefile which includes
  23275. + # dependency-tracking related rules and includes.
  23276. + # Grep'ing the whole file directly is not great: AIX grep has a line
  23277. + # limit of 2048, but all sed's we know have understand at least 4000.
  23278. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  23279. + || continue
  23280. + am_dirpart=`$as_dirname -- "$am_mf" ||
  23281. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23282. + X"$am_mf" : 'X\(//\)[^/]' \| \
  23283. + X"$am_mf" : 'X\(//\)$' \| \
  23284. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  23285. +$as_echo X"$am_mf" |
  23286. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23287. + s//\1/
  23288. + q
  23289. + }
  23290. + /^X\(\/\/\)[^/].*/{
  23291. + s//\1/
  23292. + q
  23293. + }
  23294. + /^X\(\/\/\)$/{
  23295. + s//\1/
  23296. + q
  23297. + }
  23298. + /^X\(\/\).*/{
  23299. + s//\1/
  23300. + q
  23301. + }
  23302. + s/.*/./; q'`
  23303. + am_filepart=`$as_basename -- "$am_mf" ||
  23304. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  23305. + X"$am_mf" : 'X\(//\)$' \| \
  23306. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  23307. +$as_echo X/"$am_mf" |
  23308. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  23309. + s//\1/
  23310. + q
  23311. + }
  23312. + /^X\/\(\/\/\)$/{
  23313. + s//\1/
  23314. + q
  23315. + }
  23316. + /^X\/\(\/\).*/{
  23317. + s//\1/
  23318. + q
  23319. + }
  23320. + s/.*/./; q'`
  23321. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  23322. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  23323. + | $MAKE -f - am--depfiles" >&5
  23324. + (cd "$am_dirpart" \
  23325. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  23326. + | $MAKE -f - am--depfiles) >&5 2>&5
  23327. + ac_status=$?
  23328. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23329. + (exit $ac_status); } || am_rc=$?
  23330. + done
  23331. + if test $am_rc -ne 0; then
  23332. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23333. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23334. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  23335. + for automatic dependency tracking. Try re-running configure with the
  23336. + '--disable-dependency-tracking' option to at least be able to build
  23337. + the package (albeit without support for automatic dependency tracking).
  23338. +See \`config.log' for more details" "$LINENO" 5; }
  23339. + fi
  23340. + { am_dirpart=; unset am_dirpart;}
  23341. + { am_filepart=; unset am_filepart;}
  23342. + { am_mf=; unset am_mf;}
  23343. + { am_rc=; unset am_rc;}
  23344. + rm -f conftest-deps.mk
  23345. +}
  23346. + ;;
  23347. + "libtool":C)
  23348. +
  23349. + # See if we are running on zsh, and set the options which allow our
  23350. + # commands through without removal of \ escapes.
  23351. + if test -n "${ZSH_VERSION+set}" ; then
  23352. + setopt NO_GLOB_SUBST
  23353. + fi
  23354. +
  23355. + cfgfile="${ofile}T"
  23356. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  23357. + $RM "$cfgfile"
  23358. +
  23359. + cat <<_LT_EOF >> "$cfgfile"
  23360. +#! $SHELL
  23361. +
  23362. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  23363. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  23364. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  23365. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  23366. +#
  23367. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  23368. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  23369. +# Written by Gordon Matzigkeit, 1996
  23370. +#
  23371. +# This file is part of GNU Libtool.
  23372. +#
  23373. +# GNU Libtool is free software; you can redistribute it and/or
  23374. +# modify it under the terms of the GNU General Public License as
  23375. +# published by the Free Software Foundation; either version 2 of
  23376. +# the License, or (at your option) any later version.
  23377. +#
  23378. +# As a special exception to the GNU General Public License,
  23379. +# if you distribute this file as part of a program or library that
  23380. +# is built using GNU Libtool, you may include this file under the
  23381. +# same distribution terms that you use for the rest of that program.
  23382. +#
  23383. +# GNU Libtool is distributed in the hope that it will be useful,
  23384. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  23385. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23386. +# GNU General Public License for more details.
  23387. +#
  23388. +# You should have received a copy of the GNU General Public License
  23389. +# along with GNU Libtool; see the file COPYING. If not, a copy
  23390. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  23391. +# obtained by writing to the Free Software Foundation, Inc.,
  23392. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  23393. +
  23394. +
  23395. +# The names of the tagged configurations supported by this script.
  23396. +available_tags=""
  23397. +
  23398. +# ### BEGIN LIBTOOL CONFIG
  23399. +
  23400. +# Which release of libtool.m4 was used?
  23401. +macro_version=$macro_version
  23402. +macro_revision=$macro_revision
  23403. +
  23404. +# Whether or not to build shared libraries.
  23405. +build_libtool_libs=$enable_shared
  23406. +
  23407. +# Whether or not to build static libraries.
  23408. +build_old_libs=$enable_static
  23409. +
  23410. +# What type of objects to build.
  23411. +pic_mode=$pic_mode
  23412. +
  23413. +# Whether or not to optimize for fast installation.
  23414. +fast_install=$enable_fast_install
  23415. +
  23416. +# The host system.
  23417. +host_alias=$host_alias
  23418. +host=$host
  23419. +host_os=$host_os
  23420. +
  23421. +# The build system.
  23422. +build_alias=$build_alias
  23423. +build=$build
  23424. +build_os=$build_os
  23425. +
  23426. +# A sed program that does not truncate output.
  23427. +SED=$lt_SED
  23428. +
  23429. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  23430. +Xsed="\$SED -e 1s/^X//"
  23431. +
  23432. +# A grep program that handles long lines.
  23433. +GREP=$lt_GREP
  23434. +
  23435. +# An ERE matcher.
  23436. +EGREP=$lt_EGREP
  23437. +
  23438. +# A literal string matcher.
  23439. +FGREP=$lt_FGREP
  23440. +
  23441. +# A BSD- or MS-compatible name lister.
  23442. +NM=$lt_NM
  23443. +
  23444. +# Whether we need soft or hard links.
  23445. +LN_S=$lt_LN_S
  23446. +
  23447. +# What is the maximum length of a command?
  23448. +max_cmd_len=$max_cmd_len
  23449. +
  23450. +# Object file suffix (normally "o").
  23451. +objext=$ac_objext
  23452. +
  23453. +# Executable file suffix (normally "").
  23454. +exeext=$exeext
  23455. +
  23456. +# whether the shell understands "unset".
  23457. +lt_unset=$lt_unset
  23458. +
  23459. +# turn spaces into newlines.
  23460. +SP2NL=$lt_lt_SP2NL
  23461. +
  23462. +# turn newlines into spaces.
  23463. +NL2SP=$lt_lt_NL2SP
  23464. +
  23465. +# How to create reloadable object files.
  23466. +reload_flag=$lt_reload_flag
  23467. +reload_cmds=$lt_reload_cmds
  23468. +
  23469. +# An object symbol dumper.
  23470. +OBJDUMP=$lt_OBJDUMP
  23471. +
  23472. +# Method to check whether dependent libraries are shared objects.
  23473. +deplibs_check_method=$lt_deplibs_check_method
  23474. +
  23475. +# Command to use when deplibs_check_method == "file_magic".
  23476. +file_magic_cmd=$lt_file_magic_cmd
  23477. +
  23478. +# The archiver.
  23479. +AR=$lt_AR
  23480. +AR_FLAGS=$lt_AR_FLAGS
  23481. +
  23482. +# A symbol stripping program.
  23483. +STRIP=$lt_STRIP
  23484. +
  23485. +# Commands used to install an old-style archive.
  23486. +RANLIB=$lt_RANLIB
  23487. +old_postinstall_cmds=$lt_old_postinstall_cmds
  23488. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  23489. +
  23490. +# A C compiler.
  23491. +LTCC=$lt_CC
  23492. +
  23493. +# LTCC compiler flags.
  23494. +LTCFLAGS=$lt_CFLAGS
  23495. +
  23496. +# Take the output of nm and produce a listing of raw symbols and C names.
  23497. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  23498. +
  23499. +# Transform the output of nm in a proper C declaration.
  23500. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  23501. +
  23502. +# Transform the output of nm in a C name address pair.
  23503. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  23504. +
  23505. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  23506. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  23507. +
  23508. +# The name of the directory that contains temporary libtool files.
  23509. +objdir=$objdir
  23510. +
  23511. +# Shell to use when invoking shell scripts.
  23512. +SHELL=$lt_SHELL
  23513. +
  23514. +# An echo program that does not interpret backslashes.
  23515. +ECHO=$lt_ECHO
  23516. +
  23517. +# Used to examine libraries when file_magic_cmd begins with "file".
  23518. +MAGIC_CMD=$MAGIC_CMD
  23519. +
  23520. +# Must we lock files when doing compilation?
  23521. +need_locks=$lt_need_locks
  23522. +
  23523. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  23524. +DSYMUTIL=$lt_DSYMUTIL
  23525. +
  23526. +# Tool to change global to local symbols on Mac OS X.
  23527. +NMEDIT=$lt_NMEDIT
  23528. +
  23529. +# Tool to manipulate fat objects and archives on Mac OS X.
  23530. +LIPO=$lt_LIPO
  23531. +
  23532. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  23533. +OTOOL=$lt_OTOOL
  23534. +
  23535. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  23536. +OTOOL64=$lt_OTOOL64
  23537. +
  23538. +# Old archive suffix (normally "a").
  23539. +libext=$libext
  23540. +
  23541. +# Shared library suffix (normally ".so").
  23542. +shrext_cmds=$lt_shrext_cmds
  23543. +
  23544. +# The commands to extract the exported symbol list from a shared archive.
  23545. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  23546. +
  23547. +# Variables whose values should be saved in libtool wrapper scripts and
  23548. +# restored at link time.
  23549. +variables_saved_for_relink=$lt_variables_saved_for_relink
  23550. +
  23551. +# Do we need the "lib" prefix for modules?
  23552. +need_lib_prefix=$need_lib_prefix
  23553. +
  23554. +# Do we need a version for libraries?
  23555. +need_version=$need_version
  23556. +
  23557. +# Library versioning type.
  23558. +version_type=$version_type
  23559. +
  23560. +# Shared library runtime path variable.
  23561. +runpath_var=$runpath_var
  23562. +
  23563. +# Shared library path variable.
  23564. +shlibpath_var=$shlibpath_var
  23565. +
  23566. +# Is shlibpath searched before the hard-coded library search path?
  23567. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  23568. +
  23569. +# Format of library name prefix.
  23570. +libname_spec=$lt_libname_spec
  23571. +
  23572. +# List of archive names. First name is the real one, the rest are links.
  23573. +# The last name is the one that the linker finds with -lNAME
  23574. +library_names_spec=$lt_library_names_spec
  23575. +
  23576. +# The coded name of the library, if different from the real name.
  23577. +soname_spec=$lt_soname_spec
  23578. +
  23579. +# Command to use after installation of a shared archive.
  23580. +postinstall_cmds=$lt_postinstall_cmds
  23581. +
  23582. +# Command to use after uninstallation of a shared archive.
  23583. +postuninstall_cmds=$lt_postuninstall_cmds
  23584. +
  23585. +# Commands used to finish a libtool library installation in a directory.
  23586. +finish_cmds=$lt_finish_cmds
  23587. +
  23588. +# As "finish_cmds", except a single script fragment to be evaled but
  23589. +# not shown.
  23590. +finish_eval=$lt_finish_eval
  23591. +
  23592. +# Whether we should hardcode library paths into libraries.
  23593. +hardcode_into_libs=$hardcode_into_libs
  23594. +
  23595. +# Compile-time system search path for libraries.
  23596. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  23597. +
  23598. +# Run-time system search path for libraries.
  23599. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  23600. +
  23601. +# Whether dlopen is supported.
  23602. +dlopen_support=$enable_dlopen
  23603. +
  23604. +# Whether dlopen of programs is supported.
  23605. +dlopen_self=$enable_dlopen_self
  23606. +
  23607. +# Whether dlopen of statically linked programs is supported.
  23608. +dlopen_self_static=$enable_dlopen_self_static
  23609. +
  23610. +# Commands to strip libraries.
  23611. +old_striplib=$lt_old_striplib
  23612. +striplib=$lt_striplib
  23613. +
  23614. +
  23615. +# The linker used to build libraries.
  23616. +LD=$lt_LD
  23617. +
  23618. +# Commands used to build an old-style archive.
  23619. +old_archive_cmds=$lt_old_archive_cmds
  23620. +
  23621. +# A language specific compiler.
  23622. +CC=$lt_compiler
  23623. +
  23624. +# Is the compiler the GNU compiler?
  23625. +with_gcc=$GCC
  23626. +
  23627. +# Compiler flag to turn off builtin functions.
  23628. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  23629. +
  23630. +# How to pass a linker flag through the compiler.
  23631. +wl=$lt_lt_prog_compiler_wl
  23632. +
  23633. +# Additional compiler flags for building library objects.
  23634. +pic_flag=$lt_lt_prog_compiler_pic
  23635. +
  23636. +# Compiler flag to prevent dynamic linking.
  23637. +link_static_flag=$lt_lt_prog_compiler_static
  23638. +
  23639. +# Does compiler simultaneously support -c and -o options?
  23640. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  23641. +
  23642. +# Whether or not to add -lc for building shared libraries.
  23643. +build_libtool_need_lc=$archive_cmds_need_lc
  23644. +
  23645. +# Whether or not to disallow shared libs when runtime libs are static.
  23646. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  23647. +
  23648. +# Compiler flag to allow reflexive dlopens.
  23649. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  23650. +
  23651. +# Compiler flag to generate shared objects directly from archives.
  23652. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  23653. +
  23654. +# Whether the compiler copes with passing no objects directly.
  23655. +compiler_needs_object=$lt_compiler_needs_object
  23656. +
  23657. +# Create an old-style archive from a shared archive.
  23658. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  23659. +
  23660. +# Create a temporary old-style archive to link instead of a shared archive.
  23661. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  23662. +
  23663. +# Commands used to build a shared archive.
  23664. +archive_cmds=$lt_archive_cmds
  23665. +archive_expsym_cmds=$lt_archive_expsym_cmds
  23666. +
  23667. +# Commands used to build a loadable module if different from building
  23668. +# a shared archive.
  23669. +module_cmds=$lt_module_cmds
  23670. +module_expsym_cmds=$lt_module_expsym_cmds
  23671. +
  23672. +# Whether we are building with GNU ld or not.
  23673. +with_gnu_ld=$lt_with_gnu_ld
  23674. +
  23675. +# Flag that allows shared libraries with undefined symbols to be built.
  23676. +allow_undefined_flag=$lt_allow_undefined_flag
  23677. +
  23678. +# Flag that enforces no undefined symbols.
  23679. +no_undefined_flag=$lt_no_undefined_flag
  23680. +
  23681. +# Flag to hardcode \$libdir into a binary during linking.
  23682. +# This must work even if \$libdir does not exist
  23683. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  23684. +
  23685. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  23686. +# during linking. This must work even if \$libdir does not exist.
  23687. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  23688. +
  23689. +# Whether we need a single "-rpath" flag with a separated argument.
  23690. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  23691. +
  23692. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  23693. +# DIR into the resulting binary.
  23694. +hardcode_direct=$hardcode_direct
  23695. +
  23696. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  23697. +# DIR into the resulting binary and the resulting library dependency is
  23698. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  23699. +# library is relocated.
  23700. +hardcode_direct_absolute=$hardcode_direct_absolute
  23701. +
  23702. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  23703. +# into the resulting binary.
  23704. +hardcode_minus_L=$hardcode_minus_L
  23705. +
  23706. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  23707. +# into the resulting binary.
  23708. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  23709. +
  23710. +# Set to "yes" if building a shared library automatically hardcodes DIR
  23711. +# into the library and all subsequent libraries and executables linked
  23712. +# against it.
  23713. +hardcode_automatic=$hardcode_automatic
  23714. +
  23715. +# Set to yes if linker adds runtime paths of dependent libraries
  23716. +# to runtime path list.
  23717. +inherit_rpath=$inherit_rpath
  23718. +
  23719. +# Whether libtool must link a program against all its dependency libraries.
  23720. +link_all_deplibs=$link_all_deplibs
  23721. +
  23722. +# Fix the shell variable \$srcfile for the compiler.
  23723. +fix_srcfile_path=$lt_fix_srcfile_path
  23724. +
  23725. +# Set to "yes" if exported symbols are required.
  23726. +always_export_symbols=$always_export_symbols
  23727. +
  23728. +# The commands to list exported symbols.
  23729. +export_symbols_cmds=$lt_export_symbols_cmds
  23730. +
  23731. +# Symbols that should not be listed in the preloaded symbols.
  23732. +exclude_expsyms=$lt_exclude_expsyms
  23733. +
  23734. +# Symbols that must always be exported.
  23735. +include_expsyms=$lt_include_expsyms
  23736. +
  23737. +# Commands necessary for linking programs (against libraries) with templates.
  23738. +prelink_cmds=$lt_prelink_cmds
  23739. +
  23740. +# Specify filename containing input files.
  23741. +file_list_spec=$lt_file_list_spec
  23742. +
  23743. +# How to hardcode a shared library path into an executable.
  23744. +hardcode_action=$hardcode_action
  23745. +
  23746. +# ### END LIBTOOL CONFIG
  23747. +
  23748. +_LT_EOF
  23749. +
  23750. + case $host_os in
  23751. + aix3*)
  23752. + cat <<\_LT_EOF >> "$cfgfile"
  23753. +# AIX sometimes has problems with the GCC collect2 program. For some
  23754. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  23755. +# vanish in a puff of smoke.
  23756. +if test "X${COLLECT_NAMES+set}" != Xset; then
  23757. + COLLECT_NAMES=
  23758. + export COLLECT_NAMES
  23759. +fi
  23760. +_LT_EOF
  23761. + ;;
  23762. + esac
  23763. +
  23764. +
  23765. +ltmain="$ac_aux_dir/ltmain.sh"
  23766. +
  23767. +
  23768. + # We use sed instead of cat because bash on DJGPP gets confused if
  23769. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  23770. + # text mode, it properly converts lines to CR/LF. This bash problem
  23771. + # is reportedly fixed, but why not run on old versions too?
  23772. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  23773. + || (rm -f "$cfgfile"; exit 1)
  23774. +
  23775. + case $xsi_shell in
  23776. + yes)
  23777. + cat << \_LT_EOF >> "$cfgfile"
  23778. +
  23779. +# func_dirname file append nondir_replacement
  23780. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  23781. +# otherwise set result to NONDIR_REPLACEMENT.
  23782. +func_dirname ()
  23783. +{
  23784. + case ${1} in
  23785. + */*) func_dirname_result="${1%/*}${2}" ;;
  23786. + * ) func_dirname_result="${3}" ;;
  23787. + esac
  23788. +}
  23789. +
  23790. +# func_basename file
  23791. +func_basename ()
  23792. +{
  23793. + func_basename_result="${1##*/}"
  23794. +}
  23795. +
  23796. +# func_dirname_and_basename file append nondir_replacement
  23797. +# perform func_basename and func_dirname in a single function
  23798. +# call:
  23799. +# dirname: Compute the dirname of FILE. If nonempty,
  23800. +# add APPEND to the result, otherwise set result
  23801. +# to NONDIR_REPLACEMENT.
  23802. +# value returned in "$func_dirname_result"
  23803. +# basename: Compute filename of FILE.
  23804. +# value retuned in "$func_basename_result"
  23805. +# Implementation must be kept synchronized with func_dirname
  23806. +# and func_basename. For efficiency, we do not delegate to
  23807. +# those functions but instead duplicate the functionality here.
  23808. +func_dirname_and_basename ()
  23809. +{
  23810. + case ${1} in
  23811. + */*) func_dirname_result="${1%/*}${2}" ;;
  23812. + * ) func_dirname_result="${3}" ;;
  23813. + esac
  23814. + func_basename_result="${1##*/}"
  23815. +}
  23816. +
  23817. +# func_stripname prefix suffix name
  23818. +# strip PREFIX and SUFFIX off of NAME.
  23819. +# PREFIX and SUFFIX must not contain globbing or regex special
  23820. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  23821. +# dot (in which case that matches only a dot).
  23822. +func_stripname ()
  23823. +{
  23824. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  23825. + # positional parameters, so assign one to ordinary parameter first.
  23826. + func_stripname_result=${3}
  23827. + func_stripname_result=${func_stripname_result#"${1}"}
  23828. + func_stripname_result=${func_stripname_result%"${2}"}
  23829. +}
  23830. +
  23831. +# func_opt_split
  23832. +func_opt_split ()
  23833. +{
  23834. + func_opt_split_opt=${1%%=*}
  23835. + func_opt_split_arg=${1#*=}
  23836. +}
  23837. +
  23838. +# func_lo2o object
  23839. +func_lo2o ()
  23840. +{
  23841. + case ${1} in
  23842. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  23843. + *) func_lo2o_result=${1} ;;
  23844. + esac
  23845. +}
  23846. +
  23847. +# func_xform libobj-or-source
  23848. +func_xform ()
  23849. +{
  23850. + func_xform_result=${1%.*}.lo
  23851. +}
  23852. +
  23853. +# func_arith arithmetic-term...
  23854. +func_arith ()
  23855. +{
  23856. + func_arith_result=$(( $* ))
  23857. +}
  23858. +
  23859. +# func_len string
  23860. +# STRING may not start with a hyphen.
  23861. +func_len ()
  23862. +{
  23863. + func_len_result=${#1}
  23864. +}
  23865. +
  23866. +_LT_EOF
  23867. + ;;
  23868. + *) # Bourne compatible functions.
  23869. + cat << \_LT_EOF >> "$cfgfile"
  23870. +
  23871. +# func_dirname file append nondir_replacement
  23872. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  23873. +# otherwise set result to NONDIR_REPLACEMENT.
  23874. +func_dirname ()
  23875. +{
  23876. + # Extract subdirectory from the argument.
  23877. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  23878. + if test "X$func_dirname_result" = "X${1}"; then
  23879. + func_dirname_result="${3}"
  23880. + else
  23881. + func_dirname_result="$func_dirname_result${2}"
  23882. + fi
  23883. +}
  23884. +
  23885. +# func_basename file
  23886. +func_basename ()
  23887. +{
  23888. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  23889. +}
  23890. +
  23891. +
  23892. +# func_stripname prefix suffix name
  23893. +# strip PREFIX and SUFFIX off of NAME.
  23894. +# PREFIX and SUFFIX must not contain globbing or regex special
  23895. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  23896. +# dot (in which case that matches only a dot).
  23897. +# func_strip_suffix prefix name
  23898. +func_stripname ()
  23899. +{
  23900. + case ${2} in
  23901. + .*) func_stripname_result=`$ECHO "X${3}" \
  23902. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  23903. + *) func_stripname_result=`$ECHO "X${3}" \
  23904. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  23905. + esac
  23906. +}
  23907. +
  23908. +# sed scripts:
  23909. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  23910. +my_sed_long_arg='1s/^-[^=]*=//'
  23911. +
  23912. +# func_opt_split
  23913. +func_opt_split ()
  23914. +{
  23915. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  23916. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  23917. +}
  23918. +
  23919. +# func_lo2o object
  23920. +func_lo2o ()
  23921. +{
  23922. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  23923. +}
  23924. +
  23925. +# func_xform libobj-or-source
  23926. +func_xform ()
  23927. +{
  23928. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  23929. +}
  23930. +
  23931. +# func_arith arithmetic-term...
  23932. +func_arith ()
  23933. +{
  23934. + func_arith_result=`expr "$@"`
  23935. +}
  23936. +
  23937. +# func_len string
  23938. +# STRING may not start with a hyphen.
  23939. +func_len ()
  23940. +{
  23941. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  23942. +}
  23943. +
  23944. +_LT_EOF
  23945. +esac
  23946. +
  23947. +case $lt_shell_append in
  23948. + yes)
  23949. + cat << \_LT_EOF >> "$cfgfile"
  23950. +
  23951. +# func_append var value
  23952. +# Append VALUE to the end of shell variable VAR.
  23953. +func_append ()
  23954. +{
  23955. + eval "$1+=\$2"
  23956. +}
  23957. +_LT_EOF
  23958. + ;;
  23959. + *)
  23960. + cat << \_LT_EOF >> "$cfgfile"
  23961. +
  23962. +# func_append var value
  23963. +# Append VALUE to the end of shell variable VAR.
  23964. +func_append ()
  23965. +{
  23966. + eval "$1=\$$1\$2"
  23967. +}
  23968. +
  23969. +_LT_EOF
  23970. + ;;
  23971. + esac
  23972. +
  23973. +
  23974. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  23975. + || (rm -f "$cfgfile"; exit 1)
  23976. +
  23977. + mv -f "$cfgfile" "$ofile" ||
  23978. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  23979. + chmod +x "$ofile"
  23980. +
  23981. + ;;
  23982. + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  23983. +
  23984. + esac
  23985. +done # for ac_tag
  23986. +
  23987. +
  23988. +as_fn_exit 0
  23989. +_ACEOF
  23990. +ac_clean_files=$ac_clean_files_save
  23991. +
  23992. +test $ac_write_fail = 0 ||
  23993. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  23994. +
  23995. +
  23996. +# configure is writing to config.log, and then calls config.status.
  23997. +# config.status does its own redirection, appending to config.log.
  23998. +# Unfortunately, on DOS this fails, as config.log is still kept open
  23999. +# by configure, so config.status won't be able to write to it; its
  24000. +# output is simply discarded. So we exec the FD to /dev/null,
  24001. +# effectively closing config.log, so it can be properly (re)opened and
  24002. +# appended to by config.status. When coming back to configure, we
  24003. +# need to make the FD available again.
  24004. +if test "$no_create" != yes; then
  24005. + ac_cs_success=:
  24006. + ac_config_status_args=
  24007. + test "$silent" = yes &&
  24008. + ac_config_status_args="$ac_config_status_args --quiet"
  24009. + exec 5>/dev/null
  24010. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  24011. + exec 5>>config.log
  24012. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  24013. + # would make configure fail if this is the last instruction.
  24014. + $ac_cs_success || as_fn_exit 1
  24015. +fi
  24016. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  24017. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  24018. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  24019. +fi
  24020. +
  24021. +
  24022. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  24023. + echo
  24024. + echo "WARNING:"
  24025. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  24026. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  24027. + echo "Please send me a mail ([email protected]) with the output of"
  24028. + echo "the configure script."
  24029. + echo
  24030. +fi
  24031. +
  24032. diff -Nru Fiasco-master/autom4te.cache/output.1 Fiasco-master-pfiasco/autom4te.cache/output.1
  24033. --- Fiasco-master/autom4te.cache/output.1 1969-12-31 19:00:00.000000000 -0500
  24034. +++ Fiasco-master-pfiasco/autom4te.cache/output.1 2019-06-17 21:04:51.879817561 -0400
  24035. @@ -0,0 +1,16012 @@
  24036. +@%:@! /bin/sh
  24037. +@%:@ Guess values for system-dependent variables and create Makefiles.
  24038. +@%:@ Generated by GNU Autoconf 2.69 for fiasco 1.3.
  24039. +@%:@
  24040. +@%:@
  24041. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  24042. +@%:@
  24043. +@%:@
  24044. +@%:@ This configure script is free software; the Free Software Foundation
  24045. +@%:@ gives unlimited permission to copy, distribute and modify it.
  24046. +## -------------------- ##
  24047. +## M4sh Initialization. ##
  24048. +## -------------------- ##
  24049. +
  24050. +# Be more Bourne compatible
  24051. +DUALCASE=1; export DUALCASE # for MKS sh
  24052. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  24053. + emulate sh
  24054. + NULLCMD=:
  24055. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  24056. + # is contrary to our usage. Disable this feature.
  24057. + alias -g '${1+"$@"}'='"$@"'
  24058. + setopt NO_GLOB_SUBST
  24059. +else
  24060. + case `(set -o) 2>/dev/null` in @%:@(
  24061. + *posix*) :
  24062. + set -o posix ;; @%:@(
  24063. + *) :
  24064. + ;;
  24065. +esac
  24066. +fi
  24067. +
  24068. +
  24069. +as_nl='
  24070. +'
  24071. +export as_nl
  24072. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  24073. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  24074. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  24075. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  24076. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  24077. +# but without wasting forks for bash or zsh.
  24078. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  24079. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  24080. + as_echo='print -r --'
  24081. + as_echo_n='print -rn --'
  24082. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  24083. + as_echo='printf %s\n'
  24084. + as_echo_n='printf %s'
  24085. +else
  24086. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  24087. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  24088. + as_echo_n='/usr/ucb/echo -n'
  24089. + else
  24090. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  24091. + as_echo_n_body='eval
  24092. + arg=$1;
  24093. + case $arg in @%:@(
  24094. + *"$as_nl"*)
  24095. + expr "X$arg" : "X\\(.*\\)$as_nl";
  24096. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  24097. + esac;
  24098. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  24099. + '
  24100. + export as_echo_n_body
  24101. + as_echo_n='sh -c $as_echo_n_body as_echo'
  24102. + fi
  24103. + export as_echo_body
  24104. + as_echo='sh -c $as_echo_body as_echo'
  24105. +fi
  24106. +
  24107. +# The user is always right.
  24108. +if test "${PATH_SEPARATOR+set}" != set; then
  24109. + PATH_SEPARATOR=:
  24110. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  24111. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  24112. + PATH_SEPARATOR=';'
  24113. + }
  24114. +fi
  24115. +
  24116. +
  24117. +# IFS
  24118. +# We need space, tab and new line, in precisely that order. Quoting is
  24119. +# there to prevent editors from complaining about space-tab.
  24120. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  24121. +# splitting by setting IFS to empty value.)
  24122. +IFS=" "" $as_nl"
  24123. +
  24124. +# Find who we are. Look in the path if we contain no directory separator.
  24125. +as_myself=
  24126. +case $0 in @%:@((
  24127. + *[\\/]* ) as_myself=$0 ;;
  24128. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24129. +for as_dir in $PATH
  24130. +do
  24131. + IFS=$as_save_IFS
  24132. + test -z "$as_dir" && as_dir=.
  24133. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  24134. + done
  24135. +IFS=$as_save_IFS
  24136. +
  24137. + ;;
  24138. +esac
  24139. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  24140. +# in which case we are not to be found in the path.
  24141. +if test "x$as_myself" = x; then
  24142. + as_myself=$0
  24143. +fi
  24144. +if test ! -f "$as_myself"; then
  24145. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  24146. + exit 1
  24147. +fi
  24148. +
  24149. +# Unset variables that we do not need and which cause bugs (e.g. in
  24150. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  24151. +# suppresses any "Segmentation fault" message there. '((' could
  24152. +# trigger a bug in pdksh 5.2.14.
  24153. +for as_var in BASH_ENV ENV MAIL MAILPATH
  24154. +do eval test x\${$as_var+set} = xset \
  24155. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  24156. +done
  24157. +PS1='$ '
  24158. +PS2='> '
  24159. +PS4='+ '
  24160. +
  24161. +# NLS nuisances.
  24162. +LC_ALL=C
  24163. +export LC_ALL
  24164. +LANGUAGE=C
  24165. +export LANGUAGE
  24166. +
  24167. +# CDPATH.
  24168. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  24169. +
  24170. +# Use a proper internal environment variable to ensure we don't fall
  24171. + # into an infinite loop, continuously re-executing ourselves.
  24172. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  24173. + _as_can_reexec=no; export _as_can_reexec;
  24174. + # We cannot yet assume a decent shell, so we have to provide a
  24175. +# neutralization value for shells without unset; and this also
  24176. +# works around shells that cannot unset nonexistent variables.
  24177. +# Preserve -v and -x to the replacement shell.
  24178. +BASH_ENV=/dev/null
  24179. +ENV=/dev/null
  24180. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  24181. +case $- in @%:@ ((((
  24182. + *v*x* | *x*v* ) as_opts=-vx ;;
  24183. + *v* ) as_opts=-v ;;
  24184. + *x* ) as_opts=-x ;;
  24185. + * ) as_opts= ;;
  24186. +esac
  24187. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  24188. +# Admittedly, this is quite paranoid, since all the known shells bail
  24189. +# out after a failed `exec'.
  24190. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  24191. +as_fn_exit 255
  24192. + fi
  24193. + # We don't want this to propagate to other subprocesses.
  24194. + { _as_can_reexec=; unset _as_can_reexec;}
  24195. +if test "x$CONFIG_SHELL" = x; then
  24196. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  24197. + emulate sh
  24198. + NULLCMD=:
  24199. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  24200. + # is contrary to our usage. Disable this feature.
  24201. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  24202. + setopt NO_GLOB_SUBST
  24203. +else
  24204. + case \`(set -o) 2>/dev/null\` in @%:@(
  24205. + *posix*) :
  24206. + set -o posix ;; @%:@(
  24207. + *) :
  24208. + ;;
  24209. +esac
  24210. +fi
  24211. +"
  24212. + as_required="as_fn_return () { (exit \$1); }
  24213. +as_fn_success () { as_fn_return 0; }
  24214. +as_fn_failure () { as_fn_return 1; }
  24215. +as_fn_ret_success () { return 0; }
  24216. +as_fn_ret_failure () { return 1; }
  24217. +
  24218. +exitcode=0
  24219. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  24220. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  24221. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  24222. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  24223. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  24224. +
  24225. +else
  24226. + exitcode=1; echo positional parameters were not saved.
  24227. +fi
  24228. +test x\$exitcode = x0 || exit 1
  24229. +test -x / || exit 1"
  24230. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  24231. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  24232. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  24233. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  24234. +
  24235. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  24236. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  24237. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  24238. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  24239. + PATH=/empty FPATH=/empty; export PATH FPATH
  24240. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  24241. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  24242. +test \$(( 1 + 1 )) = 2 || exit 1"
  24243. + if (eval "$as_required") 2>/dev/null; then :
  24244. + as_have_required=yes
  24245. +else
  24246. + as_have_required=no
  24247. +fi
  24248. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  24249. +
  24250. +else
  24251. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24252. +as_found=false
  24253. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  24254. +do
  24255. + IFS=$as_save_IFS
  24256. + test -z "$as_dir" && as_dir=.
  24257. + as_found=:
  24258. + case $as_dir in @%:@(
  24259. + /*)
  24260. + for as_base in sh bash ksh sh5; do
  24261. + # Try only shells that exist, to save several forks.
  24262. + as_shell=$as_dir/$as_base
  24263. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  24264. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  24265. + CONFIG_SHELL=$as_shell as_have_required=yes
  24266. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  24267. + break 2
  24268. +fi
  24269. +fi
  24270. + done;;
  24271. + esac
  24272. + as_found=false
  24273. +done
  24274. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  24275. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  24276. + CONFIG_SHELL=$SHELL as_have_required=yes
  24277. +fi; }
  24278. +IFS=$as_save_IFS
  24279. +
  24280. +
  24281. + if test "x$CONFIG_SHELL" != x; then :
  24282. + export CONFIG_SHELL
  24283. + # We cannot yet assume a decent shell, so we have to provide a
  24284. +# neutralization value for shells without unset; and this also
  24285. +# works around shells that cannot unset nonexistent variables.
  24286. +# Preserve -v and -x to the replacement shell.
  24287. +BASH_ENV=/dev/null
  24288. +ENV=/dev/null
  24289. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  24290. +case $- in @%:@ ((((
  24291. + *v*x* | *x*v* ) as_opts=-vx ;;
  24292. + *v* ) as_opts=-v ;;
  24293. + *x* ) as_opts=-x ;;
  24294. + * ) as_opts= ;;
  24295. +esac
  24296. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  24297. +# Admittedly, this is quite paranoid, since all the known shells bail
  24298. +# out after a failed `exec'.
  24299. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  24300. +exit 255
  24301. +fi
  24302. +
  24303. + if test x$as_have_required = xno; then :
  24304. + $as_echo "$0: This script requires a shell more modern than all"
  24305. + $as_echo "$0: the shells that I found on your system."
  24306. + if test x${ZSH_VERSION+set} = xset ; then
  24307. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  24308. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  24309. + else
  24310. + $as_echo "$0: Please tell [email protected] about your system,
  24311. +$0: including any error possibly output before this
  24312. +$0: message. Then install a modern shell, or manually run
  24313. +$0: the script under such a shell if you do have one."
  24314. + fi
  24315. + exit 1
  24316. +fi
  24317. +fi
  24318. +fi
  24319. +SHELL=${CONFIG_SHELL-/bin/sh}
  24320. +export SHELL
  24321. +# Unset more variables known to interfere with behavior of common tools.
  24322. +CLICOLOR_FORCE= GREP_OPTIONS=
  24323. +unset CLICOLOR_FORCE GREP_OPTIONS
  24324. +
  24325. +## --------------------- ##
  24326. +## M4sh Shell Functions. ##
  24327. +## --------------------- ##
  24328. +@%:@ as_fn_unset VAR
  24329. +@%:@ ---------------
  24330. +@%:@ Portably unset VAR.
  24331. +as_fn_unset ()
  24332. +{
  24333. + { eval $1=; unset $1;}
  24334. +}
  24335. +as_unset=as_fn_unset
  24336. +
  24337. +@%:@ as_fn_set_status STATUS
  24338. +@%:@ -----------------------
  24339. +@%:@ Set @S|@? to STATUS, without forking.
  24340. +as_fn_set_status ()
  24341. +{
  24342. + return $1
  24343. +} @%:@ as_fn_set_status
  24344. +
  24345. +@%:@ as_fn_exit STATUS
  24346. +@%:@ -----------------
  24347. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  24348. +as_fn_exit ()
  24349. +{
  24350. + set +e
  24351. + as_fn_set_status $1
  24352. + exit $1
  24353. +} @%:@ as_fn_exit
  24354. +
  24355. +@%:@ as_fn_mkdir_p
  24356. +@%:@ -------------
  24357. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  24358. +as_fn_mkdir_p ()
  24359. +{
  24360. +
  24361. + case $as_dir in #(
  24362. + -*) as_dir=./$as_dir;;
  24363. + esac
  24364. + test -d "$as_dir" || eval $as_mkdir_p || {
  24365. + as_dirs=
  24366. + while :; do
  24367. + case $as_dir in #(
  24368. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  24369. + *) as_qdir=$as_dir;;
  24370. + esac
  24371. + as_dirs="'$as_qdir' $as_dirs"
  24372. + as_dir=`$as_dirname -- "$as_dir" ||
  24373. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24374. + X"$as_dir" : 'X\(//\)[^/]' \| \
  24375. + X"$as_dir" : 'X\(//\)$' \| \
  24376. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  24377. +$as_echo X"$as_dir" |
  24378. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24379. + s//\1/
  24380. + q
  24381. + }
  24382. + /^X\(\/\/\)[^/].*/{
  24383. + s//\1/
  24384. + q
  24385. + }
  24386. + /^X\(\/\/\)$/{
  24387. + s//\1/
  24388. + q
  24389. + }
  24390. + /^X\(\/\).*/{
  24391. + s//\1/
  24392. + q
  24393. + }
  24394. + s/.*/./; q'`
  24395. + test -d "$as_dir" && break
  24396. + done
  24397. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  24398. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  24399. +
  24400. +
  24401. +} @%:@ as_fn_mkdir_p
  24402. +
  24403. +@%:@ as_fn_executable_p FILE
  24404. +@%:@ -----------------------
  24405. +@%:@ Test if FILE is an executable regular file.
  24406. +as_fn_executable_p ()
  24407. +{
  24408. + test -f "$1" && test -x "$1"
  24409. +} @%:@ as_fn_executable_p
  24410. +@%:@ as_fn_append VAR VALUE
  24411. +@%:@ ----------------------
  24412. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  24413. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  24414. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  24415. +@%:@ implementations.
  24416. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  24417. + eval 'as_fn_append ()
  24418. + {
  24419. + eval $1+=\$2
  24420. + }'
  24421. +else
  24422. + as_fn_append ()
  24423. + {
  24424. + eval $1=\$$1\$2
  24425. + }
  24426. +fi # as_fn_append
  24427. +
  24428. +@%:@ as_fn_arith ARG...
  24429. +@%:@ ------------------
  24430. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  24431. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  24432. +@%:@ must be portable across @S|@(()) and expr.
  24433. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  24434. + eval 'as_fn_arith ()
  24435. + {
  24436. + as_val=$(( $* ))
  24437. + }'
  24438. +else
  24439. + as_fn_arith ()
  24440. + {
  24441. + as_val=`expr "$@" || test $? -eq 1`
  24442. + }
  24443. +fi # as_fn_arith
  24444. +
  24445. +
  24446. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  24447. +@%:@ ----------------------------------------
  24448. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  24449. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  24450. +@%:@ script with STATUS, using 1 if that was 0.
  24451. +as_fn_error ()
  24452. +{
  24453. + as_status=$1; test $as_status -eq 0 && as_status=1
  24454. + if test "$4"; then
  24455. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  24456. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  24457. + fi
  24458. + $as_echo "$as_me: error: $2" >&2
  24459. + as_fn_exit $as_status
  24460. +} @%:@ as_fn_error
  24461. +
  24462. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  24463. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  24464. + as_expr=expr
  24465. +else
  24466. + as_expr=false
  24467. +fi
  24468. +
  24469. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  24470. + as_basename=basename
  24471. +else
  24472. + as_basename=false
  24473. +fi
  24474. +
  24475. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  24476. + as_dirname=dirname
  24477. +else
  24478. + as_dirname=false
  24479. +fi
  24480. +
  24481. +as_me=`$as_basename -- "$0" ||
  24482. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  24483. + X"$0" : 'X\(//\)$' \| \
  24484. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  24485. +$as_echo X/"$0" |
  24486. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  24487. + s//\1/
  24488. + q
  24489. + }
  24490. + /^X\/\(\/\/\)$/{
  24491. + s//\1/
  24492. + q
  24493. + }
  24494. + /^X\/\(\/\).*/{
  24495. + s//\1/
  24496. + q
  24497. + }
  24498. + s/.*/./; q'`
  24499. +
  24500. +# Avoid depending upon Character Ranges.
  24501. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  24502. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  24503. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  24504. +as_cr_digits='0123456789'
  24505. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  24506. +
  24507. +
  24508. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  24509. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  24510. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  24511. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  24512. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  24513. + sed -n '
  24514. + p
  24515. + /[$]LINENO/=
  24516. + ' <$as_myself |
  24517. + sed '
  24518. + s/[$]LINENO.*/&-/
  24519. + t lineno
  24520. + b
  24521. + :lineno
  24522. + N
  24523. + :loop
  24524. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  24525. + t loop
  24526. + s/-\n.*//
  24527. + ' >$as_me.lineno &&
  24528. + chmod +x "$as_me.lineno" ||
  24529. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  24530. +
  24531. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  24532. + # already done that, so ensure we don't try to do so again and fall
  24533. + # in an infinite loop. This has already happened in practice.
  24534. + _as_can_reexec=no; export _as_can_reexec
  24535. + # Don't try to exec as it changes $[0], causing all sort of problems
  24536. + # (the dirname of $[0] is not the place where we might find the
  24537. + # original and so on. Autoconf is especially sensitive to this).
  24538. + . "./$as_me.lineno"
  24539. + # Exit status is that of the last command.
  24540. + exit
  24541. +}
  24542. +
  24543. +ECHO_C= ECHO_N= ECHO_T=
  24544. +case `echo -n x` in @%:@(((((
  24545. +-n*)
  24546. + case `echo 'xy\c'` in
  24547. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  24548. + xy) ECHO_C='\c';;
  24549. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  24550. + ECHO_T=' ';;
  24551. + esac;;
  24552. +*)
  24553. + ECHO_N='-n';;
  24554. +esac
  24555. +
  24556. +rm -f conf$$ conf$$.exe conf$$.file
  24557. +if test -d conf$$.dir; then
  24558. + rm -f conf$$.dir/conf$$.file
  24559. +else
  24560. + rm -f conf$$.dir
  24561. + mkdir conf$$.dir 2>/dev/null
  24562. +fi
  24563. +if (echo >conf$$.file) 2>/dev/null; then
  24564. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  24565. + as_ln_s='ln -s'
  24566. + # ... but there are two gotchas:
  24567. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  24568. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  24569. + # In both cases, we have to default to `cp -pR'.
  24570. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  24571. + as_ln_s='cp -pR'
  24572. + elif ln conf$$.file conf$$ 2>/dev/null; then
  24573. + as_ln_s=ln
  24574. + else
  24575. + as_ln_s='cp -pR'
  24576. + fi
  24577. +else
  24578. + as_ln_s='cp -pR'
  24579. +fi
  24580. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  24581. +rmdir conf$$.dir 2>/dev/null
  24582. +
  24583. +if mkdir -p . 2>/dev/null; then
  24584. + as_mkdir_p='mkdir -p "$as_dir"'
  24585. +else
  24586. + test -d ./-p && rmdir ./-p
  24587. + as_mkdir_p=false
  24588. +fi
  24589. +
  24590. +as_test_x='test -x'
  24591. +as_executable_p=as_fn_executable_p
  24592. +
  24593. +# Sed expression to map a string onto a valid CPP name.
  24594. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  24595. +
  24596. +# Sed expression to map a string onto a valid variable name.
  24597. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  24598. +
  24599. +SHELL=${CONFIG_SHELL-/bin/sh}
  24600. +
  24601. +
  24602. +test -n "$DJDIR" || exec 7<&0 </dev/null
  24603. +exec 6>&1
  24604. +
  24605. +# Name of the host.
  24606. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  24607. +# so uname gets run too.
  24608. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  24609. +
  24610. +#
  24611. +# Initializations.
  24612. +#
  24613. +ac_default_prefix=/usr/local
  24614. +ac_clean_files=
  24615. +ac_config_libobj_dir=.
  24616. +LIB@&t@OBJS=
  24617. +cross_compiling=no
  24618. +subdirs=
  24619. +MFLAGS=
  24620. +MAKEFLAGS=
  24621. +
  24622. +# Identity of this package.
  24623. +PACKAGE_NAME='fiasco'
  24624. +PACKAGE_TARNAME='fiasco'
  24625. +PACKAGE_VERSION='1.3'
  24626. +PACKAGE_STRING='fiasco 1.3'
  24627. +PACKAGE_BUGREPORT=''
  24628. +PACKAGE_URL=''
  24629. +
  24630. +# Factoring default headers for most tests.
  24631. +ac_includes_default="\
  24632. +#include <stdio.h>
  24633. +#ifdef HAVE_SYS_TYPES_H
  24634. +# include <sys/types.h>
  24635. +#endif
  24636. +#ifdef HAVE_SYS_STAT_H
  24637. +# include <sys/stat.h>
  24638. +#endif
  24639. +#ifdef STDC_HEADERS
  24640. +# include <stdlib.h>
  24641. +# include <stddef.h>
  24642. +#else
  24643. +# ifdef HAVE_STDLIB_H
  24644. +# include <stdlib.h>
  24645. +# endif
  24646. +#endif
  24647. +#ifdef HAVE_STRING_H
  24648. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  24649. +# include <memory.h>
  24650. +# endif
  24651. +# include <string.h>
  24652. +#endif
  24653. +#ifdef HAVE_STRINGS_H
  24654. +# include <strings.h>
  24655. +#endif
  24656. +#ifdef HAVE_INTTYPES_H
  24657. +# include <inttypes.h>
  24658. +#endif
  24659. +#ifdef HAVE_STDINT_H
  24660. +# include <stdint.h>
  24661. +#endif
  24662. +#ifdef HAVE_UNISTD_H
  24663. +# include <unistd.h>
  24664. +#endif"
  24665. +
  24666. +ac_subst_vars='am__EXEEXT_FALSE
  24667. +am__EXEEXT_TRUE
  24668. +LTLIBOBJS
  24669. +LIB@&t@OBJS
  24670. +xmag
  24671. +xfig
  24672. +AM_CPPFLAGS
  24673. +LIBTOOL_DEPS
  24674. +CPP
  24675. +LT_SYS_LIBRARY_PATH
  24676. +OTOOL64
  24677. +OTOOL
  24678. +LIPO
  24679. +NMEDIT
  24680. +DSYMUTIL
  24681. +MANIFEST_TOOL
  24682. +RANLIB
  24683. +ac_ct_AR
  24684. +AR
  24685. +DLLTOOL
  24686. +OBJDUMP
  24687. +LN_S
  24688. +NM
  24689. +ac_ct_DUMPBIN
  24690. +DUMPBIN
  24691. +LD
  24692. +FGREP
  24693. +EGREP
  24694. +GREP
  24695. +SED
  24696. +am__fastdepCC_FALSE
  24697. +am__fastdepCC_TRUE
  24698. +CCDEPMODE
  24699. +am__nodep
  24700. +AMDEPBACKSLASH
  24701. +AMDEP_FALSE
  24702. +AMDEP_TRUE
  24703. +am__include
  24704. +DEPDIR
  24705. +OBJEXT
  24706. +EXEEXT
  24707. +ac_ct_CC
  24708. +CPPFLAGS
  24709. +LDFLAGS
  24710. +CFLAGS
  24711. +CC
  24712. +host_os
  24713. +host_vendor
  24714. +host_cpu
  24715. +host
  24716. +build_os
  24717. +build_vendor
  24718. +build_cpu
  24719. +build
  24720. +LIBTOOL
  24721. +AM_BACKSLASH
  24722. +AM_DEFAULT_VERBOSITY
  24723. +AM_DEFAULT_V
  24724. +AM_V
  24725. +am__untar
  24726. +am__tar
  24727. +AMTAR
  24728. +am__leading_dot
  24729. +SET_MAKE
  24730. +AWK
  24731. +mkdir_p
  24732. +MKDIR_P
  24733. +INSTALL_STRIP_PROGRAM
  24734. +STRIP
  24735. +install_sh
  24736. +MAKEINFO
  24737. +AUTOHEADER
  24738. +AUTOMAKE
  24739. +AUTOCONF
  24740. +ACLOCAL
  24741. +VERSION
  24742. +PACKAGE
  24743. +CYGPATH_W
  24744. +am__isrc
  24745. +INSTALL_DATA
  24746. +INSTALL_SCRIPT
  24747. +INSTALL_PROGRAM
  24748. +target_alias
  24749. +host_alias
  24750. +build_alias
  24751. +LIBS
  24752. +ECHO_T
  24753. +ECHO_N
  24754. +ECHO_C
  24755. +DEFS
  24756. +mandir
  24757. +localedir
  24758. +libdir
  24759. +psdir
  24760. +pdfdir
  24761. +dvidir
  24762. +htmldir
  24763. +infodir
  24764. +docdir
  24765. +oldincludedir
  24766. +includedir
  24767. +localstatedir
  24768. +sharedstatedir
  24769. +sysconfdir
  24770. +datadir
  24771. +datarootdir
  24772. +libexecdir
  24773. +sbindir
  24774. +bindir
  24775. +program_transform_name
  24776. +prefix
  24777. +exec_prefix
  24778. +PACKAGE_URL
  24779. +PACKAGE_BUGREPORT
  24780. +PACKAGE_STRING
  24781. +PACKAGE_VERSION
  24782. +PACKAGE_TARNAME
  24783. +PACKAGE_NAME
  24784. +PATH_SEPARATOR
  24785. +SHELL
  24786. +am__quote'
  24787. +ac_subst_files=''
  24788. +ac_user_opts='
  24789. +enable_option_checking
  24790. +enable_silent_rules
  24791. +enable_shared
  24792. +enable_static
  24793. +with_pic
  24794. +enable_fast_install
  24795. +with_aix_soname
  24796. +enable_dependency_tracking
  24797. +with_gnu_ld
  24798. +with_sysroot
  24799. +enable_libtool_lock
  24800. +'
  24801. + ac_precious_vars='build_alias
  24802. +host_alias
  24803. +target_alias
  24804. +CC
  24805. +CFLAGS
  24806. +LDFLAGS
  24807. +LIBS
  24808. +CPPFLAGS
  24809. +LT_SYS_LIBRARY_PATH
  24810. +CPP'
  24811. +
  24812. +
  24813. +# Initialize some variables set by options.
  24814. +ac_init_help=
  24815. +ac_init_version=false
  24816. +ac_unrecognized_opts=
  24817. +ac_unrecognized_sep=
  24818. +# The variables have the same names as the options, with
  24819. +# dashes changed to underlines.
  24820. +cache_file=/dev/null
  24821. +exec_prefix=NONE
  24822. +no_create=
  24823. +no_recursion=
  24824. +prefix=NONE
  24825. +program_prefix=NONE
  24826. +program_suffix=NONE
  24827. +program_transform_name=s,x,x,
  24828. +silent=
  24829. +site=
  24830. +srcdir=
  24831. +verbose=
  24832. +x_includes=NONE
  24833. +x_libraries=NONE
  24834. +
  24835. +# Installation directory options.
  24836. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  24837. +# and all the variables that are supposed to be based on exec_prefix
  24838. +# by default will actually change.
  24839. +# Use braces instead of parens because sh, perl, etc. also accept them.
  24840. +# (The list follows the same order as the GNU Coding Standards.)
  24841. +bindir='${exec_prefix}/bin'
  24842. +sbindir='${exec_prefix}/sbin'
  24843. +libexecdir='${exec_prefix}/libexec'
  24844. +datarootdir='${prefix}/share'
  24845. +datadir='${datarootdir}'
  24846. +sysconfdir='${prefix}/etc'
  24847. +sharedstatedir='${prefix}/com'
  24848. +localstatedir='${prefix}/var'
  24849. +includedir='${prefix}/include'
  24850. +oldincludedir='/usr/include'
  24851. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  24852. +infodir='${datarootdir}/info'
  24853. +htmldir='${docdir}'
  24854. +dvidir='${docdir}'
  24855. +pdfdir='${docdir}'
  24856. +psdir='${docdir}'
  24857. +libdir='${exec_prefix}/lib'
  24858. +localedir='${datarootdir}/locale'
  24859. +mandir='${datarootdir}/man'
  24860. +
  24861. +ac_prev=
  24862. +ac_dashdash=
  24863. +for ac_option
  24864. +do
  24865. + # If the previous option needs an argument, assign it.
  24866. + if test -n "$ac_prev"; then
  24867. + eval $ac_prev=\$ac_option
  24868. + ac_prev=
  24869. + continue
  24870. + fi
  24871. +
  24872. + case $ac_option in
  24873. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  24874. + *=) ac_optarg= ;;
  24875. + *) ac_optarg=yes ;;
  24876. + esac
  24877. +
  24878. + # Accept the important Cygnus configure options, so we can diagnose typos.
  24879. +
  24880. + case $ac_dashdash$ac_option in
  24881. + --)
  24882. + ac_dashdash=yes ;;
  24883. +
  24884. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  24885. + ac_prev=bindir ;;
  24886. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  24887. + bindir=$ac_optarg ;;
  24888. +
  24889. + -build | --build | --buil | --bui | --bu)
  24890. + ac_prev=build_alias ;;
  24891. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  24892. + build_alias=$ac_optarg ;;
  24893. +
  24894. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  24895. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  24896. + ac_prev=cache_file ;;
  24897. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  24898. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  24899. + cache_file=$ac_optarg ;;
  24900. +
  24901. + --config-cache | -C)
  24902. + cache_file=config.cache ;;
  24903. +
  24904. + -datadir | --datadir | --datadi | --datad)
  24905. + ac_prev=datadir ;;
  24906. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  24907. + datadir=$ac_optarg ;;
  24908. +
  24909. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  24910. + | --dataroo | --dataro | --datar)
  24911. + ac_prev=datarootdir ;;
  24912. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  24913. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  24914. + datarootdir=$ac_optarg ;;
  24915. +
  24916. + -disable-* | --disable-*)
  24917. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  24918. + # Reject names that are not valid shell variable names.
  24919. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  24920. + as_fn_error $? "invalid feature name: $ac_useropt"
  24921. + ac_useropt_orig=$ac_useropt
  24922. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  24923. + case $ac_user_opts in
  24924. + *"
  24925. +"enable_$ac_useropt"
  24926. +"*) ;;
  24927. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  24928. + ac_unrecognized_sep=', ';;
  24929. + esac
  24930. + eval enable_$ac_useropt=no ;;
  24931. +
  24932. + -docdir | --docdir | --docdi | --doc | --do)
  24933. + ac_prev=docdir ;;
  24934. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  24935. + docdir=$ac_optarg ;;
  24936. +
  24937. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  24938. + ac_prev=dvidir ;;
  24939. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  24940. + dvidir=$ac_optarg ;;
  24941. +
  24942. + -enable-* | --enable-*)
  24943. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  24944. + # Reject names that are not valid shell variable names.
  24945. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  24946. + as_fn_error $? "invalid feature name: $ac_useropt"
  24947. + ac_useropt_orig=$ac_useropt
  24948. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  24949. + case $ac_user_opts in
  24950. + *"
  24951. +"enable_$ac_useropt"
  24952. +"*) ;;
  24953. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  24954. + ac_unrecognized_sep=', ';;
  24955. + esac
  24956. + eval enable_$ac_useropt=\$ac_optarg ;;
  24957. +
  24958. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  24959. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  24960. + | --exec | --exe | --ex)
  24961. + ac_prev=exec_prefix ;;
  24962. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  24963. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  24964. + | --exec=* | --exe=* | --ex=*)
  24965. + exec_prefix=$ac_optarg ;;
  24966. +
  24967. + -gas | --gas | --ga | --g)
  24968. + # Obsolete; use --with-gas.
  24969. + with_gas=yes ;;
  24970. +
  24971. + -help | --help | --hel | --he | -h)
  24972. + ac_init_help=long ;;
  24973. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  24974. + ac_init_help=recursive ;;
  24975. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  24976. + ac_init_help=short ;;
  24977. +
  24978. + -host | --host | --hos | --ho)
  24979. + ac_prev=host_alias ;;
  24980. + -host=* | --host=* | --hos=* | --ho=*)
  24981. + host_alias=$ac_optarg ;;
  24982. +
  24983. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  24984. + ac_prev=htmldir ;;
  24985. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  24986. + | --ht=*)
  24987. + htmldir=$ac_optarg ;;
  24988. +
  24989. + -includedir | --includedir | --includedi | --included | --include \
  24990. + | --includ | --inclu | --incl | --inc)
  24991. + ac_prev=includedir ;;
  24992. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  24993. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  24994. + includedir=$ac_optarg ;;
  24995. +
  24996. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  24997. + ac_prev=infodir ;;
  24998. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  24999. + infodir=$ac_optarg ;;
  25000. +
  25001. + -libdir | --libdir | --libdi | --libd)
  25002. + ac_prev=libdir ;;
  25003. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  25004. + libdir=$ac_optarg ;;
  25005. +
  25006. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  25007. + | --libexe | --libex | --libe)
  25008. + ac_prev=libexecdir ;;
  25009. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  25010. + | --libexe=* | --libex=* | --libe=*)
  25011. + libexecdir=$ac_optarg ;;
  25012. +
  25013. + -localedir | --localedir | --localedi | --localed | --locale)
  25014. + ac_prev=localedir ;;
  25015. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  25016. + localedir=$ac_optarg ;;
  25017. +
  25018. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  25019. + | --localstate | --localstat | --localsta | --localst | --locals)
  25020. + ac_prev=localstatedir ;;
  25021. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  25022. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  25023. + localstatedir=$ac_optarg ;;
  25024. +
  25025. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  25026. + ac_prev=mandir ;;
  25027. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  25028. + mandir=$ac_optarg ;;
  25029. +
  25030. + -nfp | --nfp | --nf)
  25031. + # Obsolete; use --without-fp.
  25032. + with_fp=no ;;
  25033. +
  25034. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  25035. + | --no-cr | --no-c | -n)
  25036. + no_create=yes ;;
  25037. +
  25038. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  25039. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  25040. + no_recursion=yes ;;
  25041. +
  25042. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  25043. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  25044. + | --oldin | --oldi | --old | --ol | --o)
  25045. + ac_prev=oldincludedir ;;
  25046. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  25047. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  25048. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  25049. + oldincludedir=$ac_optarg ;;
  25050. +
  25051. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  25052. + ac_prev=prefix ;;
  25053. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  25054. + prefix=$ac_optarg ;;
  25055. +
  25056. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  25057. + | --program-pre | --program-pr | --program-p)
  25058. + ac_prev=program_prefix ;;
  25059. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  25060. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  25061. + program_prefix=$ac_optarg ;;
  25062. +
  25063. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  25064. + | --program-suf | --program-su | --program-s)
  25065. + ac_prev=program_suffix ;;
  25066. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  25067. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  25068. + program_suffix=$ac_optarg ;;
  25069. +
  25070. + -program-transform-name | --program-transform-name \
  25071. + | --program-transform-nam | --program-transform-na \
  25072. + | --program-transform-n | --program-transform- \
  25073. + | --program-transform | --program-transfor \
  25074. + | --program-transfo | --program-transf \
  25075. + | --program-trans | --program-tran \
  25076. + | --progr-tra | --program-tr | --program-t)
  25077. + ac_prev=program_transform_name ;;
  25078. + -program-transform-name=* | --program-transform-name=* \
  25079. + | --program-transform-nam=* | --program-transform-na=* \
  25080. + | --program-transform-n=* | --program-transform-=* \
  25081. + | --program-transform=* | --program-transfor=* \
  25082. + | --program-transfo=* | --program-transf=* \
  25083. + | --program-trans=* | --program-tran=* \
  25084. + | --progr-tra=* | --program-tr=* | --program-t=*)
  25085. + program_transform_name=$ac_optarg ;;
  25086. +
  25087. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  25088. + ac_prev=pdfdir ;;
  25089. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  25090. + pdfdir=$ac_optarg ;;
  25091. +
  25092. + -psdir | --psdir | --psdi | --psd | --ps)
  25093. + ac_prev=psdir ;;
  25094. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  25095. + psdir=$ac_optarg ;;
  25096. +
  25097. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  25098. + | -silent | --silent | --silen | --sile | --sil)
  25099. + silent=yes ;;
  25100. +
  25101. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  25102. + ac_prev=sbindir ;;
  25103. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  25104. + | --sbi=* | --sb=*)
  25105. + sbindir=$ac_optarg ;;
  25106. +
  25107. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  25108. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  25109. + | --sharedst | --shareds | --shared | --share | --shar \
  25110. + | --sha | --sh)
  25111. + ac_prev=sharedstatedir ;;
  25112. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  25113. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  25114. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  25115. + | --sha=* | --sh=*)
  25116. + sharedstatedir=$ac_optarg ;;
  25117. +
  25118. + -site | --site | --sit)
  25119. + ac_prev=site ;;
  25120. + -site=* | --site=* | --sit=*)
  25121. + site=$ac_optarg ;;
  25122. +
  25123. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  25124. + ac_prev=srcdir ;;
  25125. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  25126. + srcdir=$ac_optarg ;;
  25127. +
  25128. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  25129. + | --syscon | --sysco | --sysc | --sys | --sy)
  25130. + ac_prev=sysconfdir ;;
  25131. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  25132. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  25133. + sysconfdir=$ac_optarg ;;
  25134. +
  25135. + -target | --target | --targe | --targ | --tar | --ta | --t)
  25136. + ac_prev=target_alias ;;
  25137. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  25138. + target_alias=$ac_optarg ;;
  25139. +
  25140. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  25141. + verbose=yes ;;
  25142. +
  25143. + -version | --version | --versio | --versi | --vers | -V)
  25144. + ac_init_version=: ;;
  25145. +
  25146. + -with-* | --with-*)
  25147. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  25148. + # Reject names that are not valid shell variable names.
  25149. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  25150. + as_fn_error $? "invalid package name: $ac_useropt"
  25151. + ac_useropt_orig=$ac_useropt
  25152. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  25153. + case $ac_user_opts in
  25154. + *"
  25155. +"with_$ac_useropt"
  25156. +"*) ;;
  25157. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  25158. + ac_unrecognized_sep=', ';;
  25159. + esac
  25160. + eval with_$ac_useropt=\$ac_optarg ;;
  25161. +
  25162. + -without-* | --without-*)
  25163. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  25164. + # Reject names that are not valid shell variable names.
  25165. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  25166. + as_fn_error $? "invalid package name: $ac_useropt"
  25167. + ac_useropt_orig=$ac_useropt
  25168. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  25169. + case $ac_user_opts in
  25170. + *"
  25171. +"with_$ac_useropt"
  25172. +"*) ;;
  25173. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  25174. + ac_unrecognized_sep=', ';;
  25175. + esac
  25176. + eval with_$ac_useropt=no ;;
  25177. +
  25178. + --x)
  25179. + # Obsolete; use --with-x.
  25180. + with_x=yes ;;
  25181. +
  25182. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  25183. + | --x-incl | --x-inc | --x-in | --x-i)
  25184. + ac_prev=x_includes ;;
  25185. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  25186. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  25187. + x_includes=$ac_optarg ;;
  25188. +
  25189. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  25190. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  25191. + ac_prev=x_libraries ;;
  25192. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  25193. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  25194. + x_libraries=$ac_optarg ;;
  25195. +
  25196. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  25197. +Try \`$0 --help' for more information"
  25198. + ;;
  25199. +
  25200. + *=*)
  25201. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  25202. + # Reject names that are not valid shell variable names.
  25203. + case $ac_envvar in #(
  25204. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  25205. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  25206. + esac
  25207. + eval $ac_envvar=\$ac_optarg
  25208. + export $ac_envvar ;;
  25209. +
  25210. + *)
  25211. + # FIXME: should be removed in autoconf 3.0.
  25212. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  25213. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  25214. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  25215. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  25216. + ;;
  25217. +
  25218. + esac
  25219. +done
  25220. +
  25221. +if test -n "$ac_prev"; then
  25222. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  25223. + as_fn_error $? "missing argument to $ac_option"
  25224. +fi
  25225. +
  25226. +if test -n "$ac_unrecognized_opts"; then
  25227. + case $enable_option_checking in
  25228. + no) ;;
  25229. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  25230. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  25231. + esac
  25232. +fi
  25233. +
  25234. +# Check all directory arguments for consistency.
  25235. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  25236. + datadir sysconfdir sharedstatedir localstatedir includedir \
  25237. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  25238. + libdir localedir mandir
  25239. +do
  25240. + eval ac_val=\$$ac_var
  25241. + # Remove trailing slashes.
  25242. + case $ac_val in
  25243. + */ )
  25244. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  25245. + eval $ac_var=\$ac_val;;
  25246. + esac
  25247. + # Be sure to have absolute directory names.
  25248. + case $ac_val in
  25249. + [\\/$]* | ?:[\\/]* ) continue;;
  25250. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  25251. + esac
  25252. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  25253. +done
  25254. +
  25255. +# There might be people who depend on the old broken behavior: `$host'
  25256. +# used to hold the argument of --host etc.
  25257. +# FIXME: To remove some day.
  25258. +build=$build_alias
  25259. +host=$host_alias
  25260. +target=$target_alias
  25261. +
  25262. +# FIXME: To remove some day.
  25263. +if test "x$host_alias" != x; then
  25264. + if test "x$build_alias" = x; then
  25265. + cross_compiling=maybe
  25266. + elif test "x$build_alias" != "x$host_alias"; then
  25267. + cross_compiling=yes
  25268. + fi
  25269. +fi
  25270. +
  25271. +ac_tool_prefix=
  25272. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  25273. +
  25274. +test "$silent" = yes && exec 6>/dev/null
  25275. +
  25276. +
  25277. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  25278. +ac_ls_di=`ls -di .` &&
  25279. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  25280. + as_fn_error $? "working directory cannot be determined"
  25281. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  25282. + as_fn_error $? "pwd does not report name of working directory"
  25283. +
  25284. +
  25285. +# Find the source files, if location was not specified.
  25286. +if test -z "$srcdir"; then
  25287. + ac_srcdir_defaulted=yes
  25288. + # Try the directory containing this script, then the parent directory.
  25289. + ac_confdir=`$as_dirname -- "$as_myself" ||
  25290. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25291. + X"$as_myself" : 'X\(//\)[^/]' \| \
  25292. + X"$as_myself" : 'X\(//\)$' \| \
  25293. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  25294. +$as_echo X"$as_myself" |
  25295. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25296. + s//\1/
  25297. + q
  25298. + }
  25299. + /^X\(\/\/\)[^/].*/{
  25300. + s//\1/
  25301. + q
  25302. + }
  25303. + /^X\(\/\/\)$/{
  25304. + s//\1/
  25305. + q
  25306. + }
  25307. + /^X\(\/\).*/{
  25308. + s//\1/
  25309. + q
  25310. + }
  25311. + s/.*/./; q'`
  25312. + srcdir=$ac_confdir
  25313. + if test ! -r "$srcdir/$ac_unique_file"; then
  25314. + srcdir=..
  25315. + fi
  25316. +else
  25317. + ac_srcdir_defaulted=no
  25318. +fi
  25319. +if test ! -r "$srcdir/$ac_unique_file"; then
  25320. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  25321. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  25322. +fi
  25323. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  25324. +ac_abs_confdir=`(
  25325. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  25326. + pwd)`
  25327. +# When building in place, set srcdir=.
  25328. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  25329. + srcdir=.
  25330. +fi
  25331. +# Remove unnecessary trailing slashes from srcdir.
  25332. +# Double slashes in file names in object file debugging info
  25333. +# mess up M-x gdb in Emacs.
  25334. +case $srcdir in
  25335. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  25336. +esac
  25337. +for ac_var in $ac_precious_vars; do
  25338. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  25339. + eval ac_env_${ac_var}_value=\$${ac_var}
  25340. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  25341. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  25342. +done
  25343. +
  25344. +#
  25345. +# Report the --help message.
  25346. +#
  25347. +if test "$ac_init_help" = "long"; then
  25348. + # Omit some internal or obsolete options to make the list less imposing.
  25349. + # This message is too long to be a string in the A/UX 3.1 sh.
  25350. + cat <<_ACEOF
  25351. +\`configure' configures fiasco 1.3 to adapt to many kinds of systems.
  25352. +
  25353. +Usage: $0 [OPTION]... [VAR=VALUE]...
  25354. +
  25355. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  25356. +VAR=VALUE. See below for descriptions of some of the useful variables.
  25357. +
  25358. +Defaults for the options are specified in brackets.
  25359. +
  25360. +Configuration:
  25361. + -h, --help display this help and exit
  25362. + --help=short display options specific to this package
  25363. + --help=recursive display the short help of all the included packages
  25364. + -V, --version display version information and exit
  25365. + -q, --quiet, --silent do not print \`checking ...' messages
  25366. + --cache-file=FILE cache test results in FILE [disabled]
  25367. + -C, --config-cache alias for \`--cache-file=config.cache'
  25368. + -n, --no-create do not create output files
  25369. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  25370. +
  25371. +Installation directories:
  25372. + --prefix=PREFIX install architecture-independent files in PREFIX
  25373. + @<:@@S|@ac_default_prefix@:>@
  25374. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  25375. + @<:@PREFIX@:>@
  25376. +
  25377. +By default, \`make install' will install all the files in
  25378. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  25379. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  25380. +for instance \`--prefix=\$HOME'.
  25381. +
  25382. +For better control, use the options below.
  25383. +
  25384. +Fine tuning of the installation directories:
  25385. + --bindir=DIR user executables [EPREFIX/bin]
  25386. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  25387. + --libexecdir=DIR program executables [EPREFIX/libexec]
  25388. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  25389. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  25390. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  25391. + --libdir=DIR object code libraries [EPREFIX/lib]
  25392. + --includedir=DIR C header files [PREFIX/include]
  25393. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  25394. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  25395. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  25396. + --infodir=DIR info documentation [DATAROOTDIR/info]
  25397. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  25398. + --mandir=DIR man documentation [DATAROOTDIR/man]
  25399. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/fiasco@:>@
  25400. + --htmldir=DIR html documentation [DOCDIR]
  25401. + --dvidir=DIR dvi documentation [DOCDIR]
  25402. + --pdfdir=DIR pdf documentation [DOCDIR]
  25403. + --psdir=DIR ps documentation [DOCDIR]
  25404. +_ACEOF
  25405. +
  25406. + cat <<\_ACEOF
  25407. +
  25408. +Program names:
  25409. + --program-prefix=PREFIX prepend PREFIX to installed program names
  25410. + --program-suffix=SUFFIX append SUFFIX to installed program names
  25411. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  25412. +
  25413. +System types:
  25414. + --build=BUILD configure for building on BUILD [guessed]
  25415. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  25416. +_ACEOF
  25417. +fi
  25418. +
  25419. +if test -n "$ac_init_help"; then
  25420. + case $ac_init_help in
  25421. + short | recursive ) echo "Configuration of fiasco 1.3:";;
  25422. + esac
  25423. + cat <<\_ACEOF
  25424. +
  25425. +Optional Features:
  25426. + --disable-option-checking ignore unrecognized --enable/--with options
  25427. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  25428. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  25429. + --enable-silent-rules less verbose build output (undo: "make V=1")
  25430. + --disable-silent-rules verbose build output (undo: "make V=0")
  25431. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  25432. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  25433. + --enable-fast-install@<:@=PKGS@:>@
  25434. + optimize for fast installation @<:@default=yes@:>@
  25435. + --enable-dependency-tracking
  25436. + do not reject slow dependency extractors
  25437. + --disable-dependency-tracking
  25438. + speeds up one-time build
  25439. + --disable-libtool-lock avoid locking (might break parallel builds)
  25440. +
  25441. +Optional Packages:
  25442. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  25443. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  25444. + --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  25445. + both@:>@
  25446. + --with-aix-soname=aix|svr4|both
  25447. + shared library versioning (aka "SONAME") variant to
  25448. + provide on AIX, @<:@default=aix@:>@.
  25449. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  25450. + --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
  25451. + compiler's sysroot if not specified).
  25452. +
  25453. +Some influential environment variables:
  25454. + CC C compiler command
  25455. + CFLAGS C compiler flags
  25456. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  25457. + nonstandard directory <lib dir>
  25458. + LIBS libraries to pass to the linker, e.g. -l<library>
  25459. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  25460. + you have headers in a nonstandard directory <include dir>
  25461. + LT_SYS_LIBRARY_PATH
  25462. + User-defined run-time library search path.
  25463. + CPP C preprocessor
  25464. +
  25465. +Use these variables to override the choices made by `configure' or to help
  25466. +it to find libraries and programs with nonstandard names/locations.
  25467. +
  25468. +Report bugs to the package provider.
  25469. +_ACEOF
  25470. +ac_status=$?
  25471. +fi
  25472. +
  25473. +if test "$ac_init_help" = "recursive"; then
  25474. + # If there are subdirs, report their specific --help.
  25475. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  25476. + test -d "$ac_dir" ||
  25477. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  25478. + continue
  25479. + ac_builddir=.
  25480. +
  25481. +case "$ac_dir" in
  25482. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  25483. +*)
  25484. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  25485. + # A ".." for each directory in $ac_dir_suffix.
  25486. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  25487. + case $ac_top_builddir_sub in
  25488. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  25489. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  25490. + esac ;;
  25491. +esac
  25492. +ac_abs_top_builddir=$ac_pwd
  25493. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  25494. +# for backward compatibility:
  25495. +ac_top_builddir=$ac_top_build_prefix
  25496. +
  25497. +case $srcdir in
  25498. + .) # We are building in place.
  25499. + ac_srcdir=.
  25500. + ac_top_srcdir=$ac_top_builddir_sub
  25501. + ac_abs_top_srcdir=$ac_pwd ;;
  25502. + [\\/]* | ?:[\\/]* ) # Absolute name.
  25503. + ac_srcdir=$srcdir$ac_dir_suffix;
  25504. + ac_top_srcdir=$srcdir
  25505. + ac_abs_top_srcdir=$srcdir ;;
  25506. + *) # Relative name.
  25507. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  25508. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  25509. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  25510. +esac
  25511. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  25512. +
  25513. + cd "$ac_dir" || { ac_status=$?; continue; }
  25514. + # Check for guested configure.
  25515. + if test -f "$ac_srcdir/configure.gnu"; then
  25516. + echo &&
  25517. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  25518. + elif test -f "$ac_srcdir/configure"; then
  25519. + echo &&
  25520. + $SHELL "$ac_srcdir/configure" --help=recursive
  25521. + else
  25522. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  25523. + fi || ac_status=$?
  25524. + cd "$ac_pwd" || { ac_status=$?; break; }
  25525. + done
  25526. +fi
  25527. +
  25528. +test -n "$ac_init_help" && exit $ac_status
  25529. +if $ac_init_version; then
  25530. + cat <<\_ACEOF
  25531. +fiasco configure 1.3
  25532. +generated by GNU Autoconf 2.69
  25533. +
  25534. +Copyright (C) 2012 Free Software Foundation, Inc.
  25535. +This configure script is free software; the Free Software Foundation
  25536. +gives unlimited permission to copy, distribute and modify it.
  25537. +_ACEOF
  25538. + exit
  25539. +fi
  25540. +
  25541. +## ------------------------ ##
  25542. +## Autoconf initialization. ##
  25543. +## ------------------------ ##
  25544. +
  25545. +@%:@ ac_fn_c_try_compile LINENO
  25546. +@%:@ --------------------------
  25547. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  25548. +ac_fn_c_try_compile ()
  25549. +{
  25550. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25551. + rm -f conftest.$ac_objext
  25552. + if { { ac_try="$ac_compile"
  25553. +case "(($ac_try" in
  25554. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25555. + *) ac_try_echo=$ac_try;;
  25556. +esac
  25557. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25558. +$as_echo "$ac_try_echo"; } >&5
  25559. + (eval "$ac_compile") 2>conftest.err
  25560. + ac_status=$?
  25561. + if test -s conftest.err; then
  25562. + grep -v '^ *+' conftest.err >conftest.er1
  25563. + cat conftest.er1 >&5
  25564. + mv -f conftest.er1 conftest.err
  25565. + fi
  25566. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25567. + test $ac_status = 0; } && {
  25568. + test -z "$ac_c_werror_flag" ||
  25569. + test ! -s conftest.err
  25570. + } && test -s conftest.$ac_objext; then :
  25571. + ac_retval=0
  25572. +else
  25573. + $as_echo "$as_me: failed program was:" >&5
  25574. +sed 's/^/| /' conftest.$ac_ext >&5
  25575. +
  25576. + ac_retval=1
  25577. +fi
  25578. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25579. + as_fn_set_status $ac_retval
  25580. +
  25581. +} @%:@ ac_fn_c_try_compile
  25582. +
  25583. +@%:@ ac_fn_c_try_link LINENO
  25584. +@%:@ -----------------------
  25585. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  25586. +ac_fn_c_try_link ()
  25587. +{
  25588. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25589. + rm -f conftest.$ac_objext conftest$ac_exeext
  25590. + if { { ac_try="$ac_link"
  25591. +case "(($ac_try" in
  25592. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25593. + *) ac_try_echo=$ac_try;;
  25594. +esac
  25595. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25596. +$as_echo "$ac_try_echo"; } >&5
  25597. + (eval "$ac_link") 2>conftest.err
  25598. + ac_status=$?
  25599. + if test -s conftest.err; then
  25600. + grep -v '^ *+' conftest.err >conftest.er1
  25601. + cat conftest.er1 >&5
  25602. + mv -f conftest.er1 conftest.err
  25603. + fi
  25604. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25605. + test $ac_status = 0; } && {
  25606. + test -z "$ac_c_werror_flag" ||
  25607. + test ! -s conftest.err
  25608. + } && test -s conftest$ac_exeext && {
  25609. + test "$cross_compiling" = yes ||
  25610. + test -x conftest$ac_exeext
  25611. + }; then :
  25612. + ac_retval=0
  25613. +else
  25614. + $as_echo "$as_me: failed program was:" >&5
  25615. +sed 's/^/| /' conftest.$ac_ext >&5
  25616. +
  25617. + ac_retval=1
  25618. +fi
  25619. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  25620. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  25621. + # interfere with the next link command; also delete a directory that is
  25622. + # left behind by Apple's compiler. We do this before executing the actions.
  25623. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  25624. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25625. + as_fn_set_status $ac_retval
  25626. +
  25627. +} @%:@ ac_fn_c_try_link
  25628. +
  25629. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  25630. +@%:@ -------------------------------------------------------
  25631. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  25632. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  25633. +ac_fn_c_check_header_compile ()
  25634. +{
  25635. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25636. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  25637. +$as_echo_n "checking for $2... " >&6; }
  25638. +if eval \${$3+:} false; then :
  25639. + $as_echo_n "(cached) " >&6
  25640. +else
  25641. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25642. +/* end confdefs.h. */
  25643. +$4
  25644. +@%:@include <$2>
  25645. +_ACEOF
  25646. +if ac_fn_c_try_compile "$LINENO"; then :
  25647. + eval "$3=yes"
  25648. +else
  25649. + eval "$3=no"
  25650. +fi
  25651. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25652. +fi
  25653. +eval ac_res=\$$3
  25654. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25655. +$as_echo "$ac_res" >&6; }
  25656. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25657. +
  25658. +} @%:@ ac_fn_c_check_header_compile
  25659. +
  25660. +@%:@ ac_fn_c_try_cpp LINENO
  25661. +@%:@ ----------------------
  25662. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  25663. +ac_fn_c_try_cpp ()
  25664. +{
  25665. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25666. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  25667. +case "(($ac_try" in
  25668. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25669. + *) ac_try_echo=$ac_try;;
  25670. +esac
  25671. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25672. +$as_echo "$ac_try_echo"; } >&5
  25673. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  25674. + ac_status=$?
  25675. + if test -s conftest.err; then
  25676. + grep -v '^ *+' conftest.err >conftest.er1
  25677. + cat conftest.er1 >&5
  25678. + mv -f conftest.er1 conftest.err
  25679. + fi
  25680. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25681. + test $ac_status = 0; } > conftest.i && {
  25682. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  25683. + test ! -s conftest.err
  25684. + }; then :
  25685. + ac_retval=0
  25686. +else
  25687. + $as_echo "$as_me: failed program was:" >&5
  25688. +sed 's/^/| /' conftest.$ac_ext >&5
  25689. +
  25690. + ac_retval=1
  25691. +fi
  25692. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25693. + as_fn_set_status $ac_retval
  25694. +
  25695. +} @%:@ ac_fn_c_try_cpp
  25696. +
  25697. +@%:@ ac_fn_c_try_run LINENO
  25698. +@%:@ ----------------------
  25699. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  25700. +@%:@ that executables *can* be run.
  25701. +ac_fn_c_try_run ()
  25702. +{
  25703. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25704. + if { { ac_try="$ac_link"
  25705. +case "(($ac_try" in
  25706. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25707. + *) ac_try_echo=$ac_try;;
  25708. +esac
  25709. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25710. +$as_echo "$ac_try_echo"; } >&5
  25711. + (eval "$ac_link") 2>&5
  25712. + ac_status=$?
  25713. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25714. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  25715. + { { case "(($ac_try" in
  25716. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25717. + *) ac_try_echo=$ac_try;;
  25718. +esac
  25719. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  25720. +$as_echo "$ac_try_echo"; } >&5
  25721. + (eval "$ac_try") 2>&5
  25722. + ac_status=$?
  25723. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  25724. + test $ac_status = 0; }; }; then :
  25725. + ac_retval=0
  25726. +else
  25727. + $as_echo "$as_me: program exited with status $ac_status" >&5
  25728. + $as_echo "$as_me: failed program was:" >&5
  25729. +sed 's/^/| /' conftest.$ac_ext >&5
  25730. +
  25731. + ac_retval=$ac_status
  25732. +fi
  25733. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  25734. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25735. + as_fn_set_status $ac_retval
  25736. +
  25737. +} @%:@ ac_fn_c_try_run
  25738. +
  25739. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  25740. +@%:@ ----------------------------------
  25741. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  25742. +ac_fn_c_check_func ()
  25743. +{
  25744. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25745. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  25746. +$as_echo_n "checking for $2... " >&6; }
  25747. +if eval \${$3+:} false; then :
  25748. + $as_echo_n "(cached) " >&6
  25749. +else
  25750. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25751. +/* end confdefs.h. */
  25752. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  25753. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  25754. +#define $2 innocuous_$2
  25755. +
  25756. +/* System header to define __stub macros and hopefully few prototypes,
  25757. + which can conflict with char $2 (); below.
  25758. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  25759. + <limits.h> exists even on freestanding compilers. */
  25760. +
  25761. +#ifdef __STDC__
  25762. +# include <limits.h>
  25763. +#else
  25764. +# include <assert.h>
  25765. +#endif
  25766. +
  25767. +#undef $2
  25768. +
  25769. +/* Override any GCC internal prototype to avoid an error.
  25770. + Use char because int might match the return type of a GCC
  25771. + builtin and then its argument prototype would still apply. */
  25772. +#ifdef __cplusplus
  25773. +extern "C"
  25774. +#endif
  25775. +char $2 ();
  25776. +/* The GNU C library defines this for functions which it implements
  25777. + to always fail with ENOSYS. Some functions are actually named
  25778. + something starting with __ and the normal name is an alias. */
  25779. +#if defined __stub_$2 || defined __stub___$2
  25780. +choke me
  25781. +#endif
  25782. +
  25783. +int
  25784. +main ()
  25785. +{
  25786. +return $2 ();
  25787. + ;
  25788. + return 0;
  25789. +}
  25790. +_ACEOF
  25791. +if ac_fn_c_try_link "$LINENO"; then :
  25792. + eval "$3=yes"
  25793. +else
  25794. + eval "$3=no"
  25795. +fi
  25796. +rm -f core conftest.err conftest.$ac_objext \
  25797. + conftest$ac_exeext conftest.$ac_ext
  25798. +fi
  25799. +eval ac_res=\$$3
  25800. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25801. +$as_echo "$ac_res" >&6; }
  25802. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25803. +
  25804. +} @%:@ ac_fn_c_check_func
  25805. +
  25806. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  25807. +@%:@ --------------------------------------------
  25808. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  25809. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  25810. +@%:@ computed
  25811. +ac_fn_c_compute_int ()
  25812. +{
  25813. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25814. + if test "$cross_compiling" = yes; then
  25815. + # Depending upon the size, compute the lo and hi bounds.
  25816. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25817. +/* end confdefs.h. */
  25818. +$4
  25819. +int
  25820. +main ()
  25821. +{
  25822. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  25823. +test_array @<:@0@:>@ = 0;
  25824. +return test_array @<:@0@:>@;
  25825. +
  25826. + ;
  25827. + return 0;
  25828. +}
  25829. +_ACEOF
  25830. +if ac_fn_c_try_compile "$LINENO"; then :
  25831. + ac_lo=0 ac_mid=0
  25832. + while :; do
  25833. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25834. +/* end confdefs.h. */
  25835. +$4
  25836. +int
  25837. +main ()
  25838. +{
  25839. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  25840. +test_array @<:@0@:>@ = 0;
  25841. +return test_array @<:@0@:>@;
  25842. +
  25843. + ;
  25844. + return 0;
  25845. +}
  25846. +_ACEOF
  25847. +if ac_fn_c_try_compile "$LINENO"; then :
  25848. + ac_hi=$ac_mid; break
  25849. +else
  25850. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  25851. + if test $ac_lo -le $ac_mid; then
  25852. + ac_lo= ac_hi=
  25853. + break
  25854. + fi
  25855. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  25856. +fi
  25857. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25858. + done
  25859. +else
  25860. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25861. +/* end confdefs.h. */
  25862. +$4
  25863. +int
  25864. +main ()
  25865. +{
  25866. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  25867. +test_array @<:@0@:>@ = 0;
  25868. +return test_array @<:@0@:>@;
  25869. +
  25870. + ;
  25871. + return 0;
  25872. +}
  25873. +_ACEOF
  25874. +if ac_fn_c_try_compile "$LINENO"; then :
  25875. + ac_hi=-1 ac_mid=-1
  25876. + while :; do
  25877. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25878. +/* end confdefs.h. */
  25879. +$4
  25880. +int
  25881. +main ()
  25882. +{
  25883. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  25884. +test_array @<:@0@:>@ = 0;
  25885. +return test_array @<:@0@:>@;
  25886. +
  25887. + ;
  25888. + return 0;
  25889. +}
  25890. +_ACEOF
  25891. +if ac_fn_c_try_compile "$LINENO"; then :
  25892. + ac_lo=$ac_mid; break
  25893. +else
  25894. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  25895. + if test $ac_mid -le $ac_hi; then
  25896. + ac_lo= ac_hi=
  25897. + break
  25898. + fi
  25899. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  25900. +fi
  25901. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25902. + done
  25903. +else
  25904. + ac_lo= ac_hi=
  25905. +fi
  25906. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25907. +fi
  25908. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25909. +# Binary search between lo and hi bounds.
  25910. +while test "x$ac_lo" != "x$ac_hi"; do
  25911. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  25912. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25913. +/* end confdefs.h. */
  25914. +$4
  25915. +int
  25916. +main ()
  25917. +{
  25918. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  25919. +test_array @<:@0@:>@ = 0;
  25920. +return test_array @<:@0@:>@;
  25921. +
  25922. + ;
  25923. + return 0;
  25924. +}
  25925. +_ACEOF
  25926. +if ac_fn_c_try_compile "$LINENO"; then :
  25927. + ac_hi=$ac_mid
  25928. +else
  25929. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  25930. +fi
  25931. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25932. +done
  25933. +case $ac_lo in @%:@((
  25934. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  25935. +'') ac_retval=1 ;;
  25936. +esac
  25937. + else
  25938. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25939. +/* end confdefs.h. */
  25940. +$4
  25941. +static long int longval () { return $2; }
  25942. +static unsigned long int ulongval () { return $2; }
  25943. +@%:@include <stdio.h>
  25944. +@%:@include <stdlib.h>
  25945. +int
  25946. +main ()
  25947. +{
  25948. +
  25949. + FILE *f = fopen ("conftest.val", "w");
  25950. + if (! f)
  25951. + return 1;
  25952. + if (($2) < 0)
  25953. + {
  25954. + long int i = longval ();
  25955. + if (i != ($2))
  25956. + return 1;
  25957. + fprintf (f, "%ld", i);
  25958. + }
  25959. + else
  25960. + {
  25961. + unsigned long int i = ulongval ();
  25962. + if (i != ($2))
  25963. + return 1;
  25964. + fprintf (f, "%lu", i);
  25965. + }
  25966. + /* Do not output a trailing newline, as this causes \r\n confusion
  25967. + on some platforms. */
  25968. + return ferror (f) || fclose (f) != 0;
  25969. +
  25970. + ;
  25971. + return 0;
  25972. +}
  25973. +_ACEOF
  25974. +if ac_fn_c_try_run "$LINENO"; then :
  25975. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  25976. +else
  25977. + ac_retval=1
  25978. +fi
  25979. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25980. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25981. +rm -f conftest.val
  25982. +
  25983. + fi
  25984. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  25985. + as_fn_set_status $ac_retval
  25986. +
  25987. +} @%:@ ac_fn_c_compute_int
  25988. +
  25989. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  25990. +@%:@ -------------------------------------------------------
  25991. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  25992. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  25993. +@%:@ accordingly.
  25994. +ac_fn_c_check_header_mongrel ()
  25995. +{
  25996. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  25997. + if eval \${$3+:} false; then :
  25998. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  25999. +$as_echo_n "checking for $2... " >&6; }
  26000. +if eval \${$3+:} false; then :
  26001. + $as_echo_n "(cached) " >&6
  26002. +fi
  26003. +eval ac_res=\$$3
  26004. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26005. +$as_echo "$ac_res" >&6; }
  26006. +else
  26007. + # Is the header compilable?
  26008. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  26009. +$as_echo_n "checking $2 usability... " >&6; }
  26010. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26011. +/* end confdefs.h. */
  26012. +$4
  26013. +@%:@include <$2>
  26014. +_ACEOF
  26015. +if ac_fn_c_try_compile "$LINENO"; then :
  26016. + ac_header_compiler=yes
  26017. +else
  26018. + ac_header_compiler=no
  26019. +fi
  26020. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26021. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  26022. +$as_echo "$ac_header_compiler" >&6; }
  26023. +
  26024. +# Is the header present?
  26025. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  26026. +$as_echo_n "checking $2 presence... " >&6; }
  26027. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26028. +/* end confdefs.h. */
  26029. +@%:@include <$2>
  26030. +_ACEOF
  26031. +if ac_fn_c_try_cpp "$LINENO"; then :
  26032. + ac_header_preproc=yes
  26033. +else
  26034. + ac_header_preproc=no
  26035. +fi
  26036. +rm -f conftest.err conftest.i conftest.$ac_ext
  26037. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  26038. +$as_echo "$ac_header_preproc" >&6; }
  26039. +
  26040. +# So? What about this header?
  26041. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  26042. + yes:no: )
  26043. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  26044. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  26045. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  26046. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  26047. + ;;
  26048. + no:yes:* )
  26049. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  26050. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  26051. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  26052. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  26053. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  26054. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  26055. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  26056. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  26057. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  26058. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  26059. + ;;
  26060. +esac
  26061. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  26062. +$as_echo_n "checking for $2... " >&6; }
  26063. +if eval \${$3+:} false; then :
  26064. + $as_echo_n "(cached) " >&6
  26065. +else
  26066. + eval "$3=\$ac_header_compiler"
  26067. +fi
  26068. +eval ac_res=\$$3
  26069. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26070. +$as_echo "$ac_res" >&6; }
  26071. +fi
  26072. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  26073. +
  26074. +} @%:@ ac_fn_c_check_header_mongrel
  26075. +
  26076. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  26077. +@%:@ -------------------------------------------
  26078. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  26079. +@%:@ variable VAR accordingly.
  26080. +ac_fn_c_check_type ()
  26081. +{
  26082. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  26083. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  26084. +$as_echo_n "checking for $2... " >&6; }
  26085. +if eval \${$3+:} false; then :
  26086. + $as_echo_n "(cached) " >&6
  26087. +else
  26088. + eval "$3=no"
  26089. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26090. +/* end confdefs.h. */
  26091. +$4
  26092. +int
  26093. +main ()
  26094. +{
  26095. +if (sizeof ($2))
  26096. + return 0;
  26097. + ;
  26098. + return 0;
  26099. +}
  26100. +_ACEOF
  26101. +if ac_fn_c_try_compile "$LINENO"; then :
  26102. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26103. +/* end confdefs.h. */
  26104. +$4
  26105. +int
  26106. +main ()
  26107. +{
  26108. +if (sizeof (($2)))
  26109. + return 0;
  26110. + ;
  26111. + return 0;
  26112. +}
  26113. +_ACEOF
  26114. +if ac_fn_c_try_compile "$LINENO"; then :
  26115. +
  26116. +else
  26117. + eval "$3=yes"
  26118. +fi
  26119. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26120. +fi
  26121. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26122. +fi
  26123. +eval ac_res=\$$3
  26124. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26125. +$as_echo "$ac_res" >&6; }
  26126. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  26127. +
  26128. +} @%:@ ac_fn_c_check_type
  26129. +cat >config.log <<_ACEOF
  26130. +This file contains any messages produced by compilers while
  26131. +running configure, to aid debugging if configure makes a mistake.
  26132. +
  26133. +It was created by fiasco $as_me 1.3, which was
  26134. +generated by GNU Autoconf 2.69. Invocation command line was
  26135. +
  26136. + $ $0 $@
  26137. +
  26138. +_ACEOF
  26139. +exec 5>>config.log
  26140. +{
  26141. +cat <<_ASUNAME
  26142. +## --------- ##
  26143. +## Platform. ##
  26144. +## --------- ##
  26145. +
  26146. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  26147. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  26148. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  26149. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  26150. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  26151. +
  26152. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  26153. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  26154. +
  26155. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  26156. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  26157. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  26158. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  26159. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  26160. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  26161. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  26162. +
  26163. +_ASUNAME
  26164. +
  26165. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26166. +for as_dir in $PATH
  26167. +do
  26168. + IFS=$as_save_IFS
  26169. + test -z "$as_dir" && as_dir=.
  26170. + $as_echo "PATH: $as_dir"
  26171. + done
  26172. +IFS=$as_save_IFS
  26173. +
  26174. +} >&5
  26175. +
  26176. +cat >&5 <<_ACEOF
  26177. +
  26178. +
  26179. +## ----------- ##
  26180. +## Core tests. ##
  26181. +## ----------- ##
  26182. +
  26183. +_ACEOF
  26184. +
  26185. +
  26186. +# Keep a trace of the command line.
  26187. +# Strip out --no-create and --no-recursion so they do not pile up.
  26188. +# Strip out --silent because we don't want to record it for future runs.
  26189. +# Also quote any args containing shell meta-characters.
  26190. +# Make two passes to allow for proper duplicate-argument suppression.
  26191. +ac_configure_args=
  26192. +ac_configure_args0=
  26193. +ac_configure_args1=
  26194. +ac_must_keep_next=false
  26195. +for ac_pass in 1 2
  26196. +do
  26197. + for ac_arg
  26198. + do
  26199. + case $ac_arg in
  26200. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  26201. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  26202. + | -silent | --silent | --silen | --sile | --sil)
  26203. + continue ;;
  26204. + *\'*)
  26205. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  26206. + esac
  26207. + case $ac_pass in
  26208. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  26209. + 2)
  26210. + as_fn_append ac_configure_args1 " '$ac_arg'"
  26211. + if test $ac_must_keep_next = true; then
  26212. + ac_must_keep_next=false # Got value, back to normal.
  26213. + else
  26214. + case $ac_arg in
  26215. + *=* | --config-cache | -C | -disable-* | --disable-* \
  26216. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  26217. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  26218. + | -with-* | --with-* | -without-* | --without-* | --x)
  26219. + case "$ac_configure_args0 " in
  26220. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  26221. + esac
  26222. + ;;
  26223. + -* ) ac_must_keep_next=true ;;
  26224. + esac
  26225. + fi
  26226. + as_fn_append ac_configure_args " '$ac_arg'"
  26227. + ;;
  26228. + esac
  26229. + done
  26230. +done
  26231. +{ ac_configure_args0=; unset ac_configure_args0;}
  26232. +{ ac_configure_args1=; unset ac_configure_args1;}
  26233. +
  26234. +# When interrupted or exit'd, cleanup temporary files, and complete
  26235. +# config.log. We remove comments because anyway the quotes in there
  26236. +# would cause problems or look ugly.
  26237. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  26238. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  26239. +trap 'exit_status=$?
  26240. + # Save into config.log some information that might help in debugging.
  26241. + {
  26242. + echo
  26243. +
  26244. + $as_echo "## ---------------- ##
  26245. +## Cache variables. ##
  26246. +## ---------------- ##"
  26247. + echo
  26248. + # The following way of writing the cache mishandles newlines in values,
  26249. +(
  26250. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  26251. + eval ac_val=\$$ac_var
  26252. + case $ac_val in #(
  26253. + *${as_nl}*)
  26254. + case $ac_var in #(
  26255. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  26256. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  26257. + esac
  26258. + case $ac_var in #(
  26259. + _ | IFS | as_nl) ;; #(
  26260. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  26261. + *) { eval $ac_var=; unset $ac_var;} ;;
  26262. + esac ;;
  26263. + esac
  26264. + done
  26265. + (set) 2>&1 |
  26266. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  26267. + *${as_nl}ac_space=\ *)
  26268. + sed -n \
  26269. + "s/'\''/'\''\\\\'\'''\''/g;
  26270. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  26271. + ;; #(
  26272. + *)
  26273. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  26274. + ;;
  26275. + esac |
  26276. + sort
  26277. +)
  26278. + echo
  26279. +
  26280. + $as_echo "## ----------------- ##
  26281. +## Output variables. ##
  26282. +## ----------------- ##"
  26283. + echo
  26284. + for ac_var in $ac_subst_vars
  26285. + do
  26286. + eval ac_val=\$$ac_var
  26287. + case $ac_val in
  26288. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  26289. + esac
  26290. + $as_echo "$ac_var='\''$ac_val'\''"
  26291. + done | sort
  26292. + echo
  26293. +
  26294. + if test -n "$ac_subst_files"; then
  26295. + $as_echo "## ------------------- ##
  26296. +## File substitutions. ##
  26297. +## ------------------- ##"
  26298. + echo
  26299. + for ac_var in $ac_subst_files
  26300. + do
  26301. + eval ac_val=\$$ac_var
  26302. + case $ac_val in
  26303. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  26304. + esac
  26305. + $as_echo "$ac_var='\''$ac_val'\''"
  26306. + done | sort
  26307. + echo
  26308. + fi
  26309. +
  26310. + if test -s confdefs.h; then
  26311. + $as_echo "## ----------- ##
  26312. +## confdefs.h. ##
  26313. +## ----------- ##"
  26314. + echo
  26315. + cat confdefs.h
  26316. + echo
  26317. + fi
  26318. + test "$ac_signal" != 0 &&
  26319. + $as_echo "$as_me: caught signal $ac_signal"
  26320. + $as_echo "$as_me: exit $exit_status"
  26321. + } >&5
  26322. + rm -f core *.core core.conftest.* &&
  26323. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  26324. + exit $exit_status
  26325. +' 0
  26326. +for ac_signal in 1 2 13 15; do
  26327. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  26328. +done
  26329. +ac_signal=0
  26330. +
  26331. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  26332. +rm -f -r conftest* confdefs.h
  26333. +
  26334. +$as_echo "/* confdefs.h */" > confdefs.h
  26335. +
  26336. +# Predefined preprocessor variables.
  26337. +
  26338. +cat >>confdefs.h <<_ACEOF
  26339. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  26340. +_ACEOF
  26341. +
  26342. +cat >>confdefs.h <<_ACEOF
  26343. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  26344. +_ACEOF
  26345. +
  26346. +cat >>confdefs.h <<_ACEOF
  26347. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  26348. +_ACEOF
  26349. +
  26350. +cat >>confdefs.h <<_ACEOF
  26351. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  26352. +_ACEOF
  26353. +
  26354. +cat >>confdefs.h <<_ACEOF
  26355. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  26356. +_ACEOF
  26357. +
  26358. +cat >>confdefs.h <<_ACEOF
  26359. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  26360. +_ACEOF
  26361. +
  26362. +
  26363. +# Let the site file select an alternate cache file if it wants to.
  26364. +# Prefer an explicitly selected file to automatically selected ones.
  26365. +ac_site_file1=NONE
  26366. +ac_site_file2=NONE
  26367. +if test -n "$CONFIG_SITE"; then
  26368. + # We do not want a PATH search for config.site.
  26369. + case $CONFIG_SITE in @%:@((
  26370. + -*) ac_site_file1=./$CONFIG_SITE;;
  26371. + */*) ac_site_file1=$CONFIG_SITE;;
  26372. + *) ac_site_file1=./$CONFIG_SITE;;
  26373. + esac
  26374. +elif test "x$prefix" != xNONE; then
  26375. + ac_site_file1=$prefix/share/config.site
  26376. + ac_site_file2=$prefix/etc/config.site
  26377. +else
  26378. + ac_site_file1=$ac_default_prefix/share/config.site
  26379. + ac_site_file2=$ac_default_prefix/etc/config.site
  26380. +fi
  26381. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  26382. +do
  26383. + test "x$ac_site_file" = xNONE && continue
  26384. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  26385. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  26386. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  26387. + sed 's/^/| /' "$ac_site_file" >&5
  26388. + . "$ac_site_file" \
  26389. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  26390. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  26391. +as_fn_error $? "failed to load site script $ac_site_file
  26392. +See \`config.log' for more details" "$LINENO" 5; }
  26393. + fi
  26394. +done
  26395. +
  26396. +if test -r "$cache_file"; then
  26397. + # Some versions of bash will fail to source /dev/null (special files
  26398. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  26399. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  26400. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  26401. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  26402. + case $cache_file in
  26403. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  26404. + *) . "./$cache_file";;
  26405. + esac
  26406. + fi
  26407. +else
  26408. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  26409. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  26410. + >$cache_file
  26411. +fi
  26412. +
  26413. +# Check that the precious variables saved in the cache have kept the same
  26414. +# value.
  26415. +ac_cache_corrupted=false
  26416. +for ac_var in $ac_precious_vars; do
  26417. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  26418. + eval ac_new_set=\$ac_env_${ac_var}_set
  26419. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  26420. + eval ac_new_val=\$ac_env_${ac_var}_value
  26421. + case $ac_old_set,$ac_new_set in
  26422. + set,)
  26423. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  26424. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  26425. + ac_cache_corrupted=: ;;
  26426. + ,set)
  26427. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  26428. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  26429. + ac_cache_corrupted=: ;;
  26430. + ,);;
  26431. + *)
  26432. + if test "x$ac_old_val" != "x$ac_new_val"; then
  26433. + # differences in whitespace do not lead to failure.
  26434. + ac_old_val_w=`echo x $ac_old_val`
  26435. + ac_new_val_w=`echo x $ac_new_val`
  26436. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  26437. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  26438. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  26439. + ac_cache_corrupted=:
  26440. + else
  26441. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  26442. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  26443. + eval $ac_var=\$ac_old_val
  26444. + fi
  26445. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  26446. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  26447. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  26448. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  26449. + fi;;
  26450. + esac
  26451. + # Pass precious variables to config.status.
  26452. + if test "$ac_new_set" = set; then
  26453. + case $ac_new_val in
  26454. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  26455. + *) ac_arg=$ac_var=$ac_new_val ;;
  26456. + esac
  26457. + case " $ac_configure_args " in
  26458. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  26459. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  26460. + esac
  26461. + fi
  26462. +done
  26463. +if $ac_cache_corrupted; then
  26464. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  26465. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  26466. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  26467. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  26468. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  26469. +fi
  26470. +## -------------------- ##
  26471. +## Main body of script. ##
  26472. +## -------------------- ##
  26473. +
  26474. +ac_ext=c
  26475. +ac_cpp='$CPP $CPPFLAGS'
  26476. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26477. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26478. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  26479. +
  26480. +
  26481. +
  26482. +am__api_version='1.16'
  26483. +
  26484. +ac_aux_dir=
  26485. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  26486. + if test -f "$ac_dir/install-sh"; then
  26487. + ac_aux_dir=$ac_dir
  26488. + ac_install_sh="$ac_aux_dir/install-sh -c"
  26489. + break
  26490. + elif test -f "$ac_dir/install.sh"; then
  26491. + ac_aux_dir=$ac_dir
  26492. + ac_install_sh="$ac_aux_dir/install.sh -c"
  26493. + break
  26494. + elif test -f "$ac_dir/shtool"; then
  26495. + ac_aux_dir=$ac_dir
  26496. + ac_install_sh="$ac_aux_dir/shtool install -c"
  26497. + break
  26498. + fi
  26499. +done
  26500. +if test -z "$ac_aux_dir"; then
  26501. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  26502. +fi
  26503. +
  26504. +# These three variables are undocumented and unsupported,
  26505. +# and are intended to be withdrawn in a future Autoconf release.
  26506. +# They can cause serious problems if a builder's source tree is in a directory
  26507. +# whose full name contains unusual characters.
  26508. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  26509. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  26510. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  26511. +
  26512. +
  26513. +# Find a good install program. We prefer a C program (faster),
  26514. +# so one script is as good as another. But avoid the broken or
  26515. +# incompatible versions:
  26516. +# SysV /etc/install, /usr/sbin/install
  26517. +# SunOS /usr/etc/install
  26518. +# IRIX /sbin/install
  26519. +# AIX /bin/install
  26520. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  26521. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  26522. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  26523. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  26524. +# OS/2's system install, which has a completely different semantic
  26525. +# ./install, which can be erroneously created by make from ./install.sh.
  26526. +# Reject install programs that cannot install multiple files.
  26527. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  26528. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  26529. +if test -z "$INSTALL"; then
  26530. +if ${ac_cv_path_install+:} false; then :
  26531. + $as_echo_n "(cached) " >&6
  26532. +else
  26533. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26534. +for as_dir in $PATH
  26535. +do
  26536. + IFS=$as_save_IFS
  26537. + test -z "$as_dir" && as_dir=.
  26538. + # Account for people who put trailing slashes in PATH elements.
  26539. +case $as_dir/ in @%:@((
  26540. + ./ | .// | /[cC]/* | \
  26541. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  26542. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  26543. + /usr/ucb/* ) ;;
  26544. + *)
  26545. + # OSF1 and SCO ODT 3.0 have their own names for install.
  26546. + # Don't use installbsd from OSF since it installs stuff as root
  26547. + # by default.
  26548. + for ac_prog in ginstall scoinst install; do
  26549. + for ac_exec_ext in '' $ac_executable_extensions; do
  26550. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  26551. + if test $ac_prog = install &&
  26552. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  26553. + # AIX install. It has an incompatible calling convention.
  26554. + :
  26555. + elif test $ac_prog = install &&
  26556. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  26557. + # program-specific install script used by HP pwplus--don't use.
  26558. + :
  26559. + else
  26560. + rm -rf conftest.one conftest.two conftest.dir
  26561. + echo one > conftest.one
  26562. + echo two > conftest.two
  26563. + mkdir conftest.dir
  26564. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  26565. + test -s conftest.one && test -s conftest.two &&
  26566. + test -s conftest.dir/conftest.one &&
  26567. + test -s conftest.dir/conftest.two
  26568. + then
  26569. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  26570. + break 3
  26571. + fi
  26572. + fi
  26573. + fi
  26574. + done
  26575. + done
  26576. + ;;
  26577. +esac
  26578. +
  26579. + done
  26580. +IFS=$as_save_IFS
  26581. +
  26582. +rm -rf conftest.one conftest.two conftest.dir
  26583. +
  26584. +fi
  26585. + if test "${ac_cv_path_install+set}" = set; then
  26586. + INSTALL=$ac_cv_path_install
  26587. + else
  26588. + # As a last resort, use the slow shell script. Don't cache a
  26589. + # value for INSTALL within a source directory, because that will
  26590. + # break other packages using the cache if that directory is
  26591. + # removed, or if the value is a relative name.
  26592. + INSTALL=$ac_install_sh
  26593. + fi
  26594. +fi
  26595. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  26596. +$as_echo "$INSTALL" >&6; }
  26597. +
  26598. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  26599. +# It thinks the first close brace ends the variable substitution.
  26600. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  26601. +
  26602. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  26603. +
  26604. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  26605. +
  26606. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  26607. +$as_echo_n "checking whether build environment is sane... " >&6; }
  26608. +# Reject unsafe characters in $srcdir or the absolute working directory
  26609. +# name. Accept space and tab only in the latter.
  26610. +am_lf='
  26611. +'
  26612. +case `pwd` in
  26613. + *[\\\"\#\$\&\'\`$am_lf]*)
  26614. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  26615. +esac
  26616. +case $srcdir in
  26617. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  26618. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  26619. +esac
  26620. +
  26621. +# Do 'set' in a subshell so we don't clobber the current shell's
  26622. +# arguments. Must try -L first in case configure is actually a
  26623. +# symlink; some systems play weird games with the mod time of symlinks
  26624. +# (eg FreeBSD returns the mod time of the symlink's containing
  26625. +# directory).
  26626. +if (
  26627. + am_has_slept=no
  26628. + for am_try in 1 2; do
  26629. + echo "timestamp, slept: $am_has_slept" > conftest.file
  26630. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  26631. + if test "$*" = "X"; then
  26632. + # -L didn't work.
  26633. + set X `ls -t "$srcdir/configure" conftest.file`
  26634. + fi
  26635. + if test "$*" != "X $srcdir/configure conftest.file" \
  26636. + && test "$*" != "X conftest.file $srcdir/configure"; then
  26637. +
  26638. + # If neither matched, then we have a broken ls. This can happen
  26639. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  26640. + # broken ls alias from the environment. This has actually
  26641. + # happened. Such a system could not be considered "sane".
  26642. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  26643. + alias in your environment" "$LINENO" 5
  26644. + fi
  26645. + if test "$2" = conftest.file || test $am_try -eq 2; then
  26646. + break
  26647. + fi
  26648. + # Just in case.
  26649. + sleep 1
  26650. + am_has_slept=yes
  26651. + done
  26652. + test "$2" = conftest.file
  26653. + )
  26654. +then
  26655. + # Ok.
  26656. + :
  26657. +else
  26658. + as_fn_error $? "newly created file is older than distributed files!
  26659. +Check your system clock" "$LINENO" 5
  26660. +fi
  26661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  26662. +$as_echo "yes" >&6; }
  26663. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  26664. +# generated files are strictly newer.
  26665. +am_sleep_pid=
  26666. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  26667. + ( sleep 1 ) &
  26668. + am_sleep_pid=$!
  26669. +fi
  26670. +
  26671. +rm -f conftest.file
  26672. +
  26673. +test "$program_prefix" != NONE &&
  26674. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  26675. +# Use a double $ so make ignores it.
  26676. +test "$program_suffix" != NONE &&
  26677. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  26678. +# Double any \ or $.
  26679. +# By default was `s,x,x', remove it if useless.
  26680. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  26681. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  26682. +
  26683. +# Expand $ac_aux_dir to an absolute path.
  26684. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  26685. +
  26686. +if test x"${MISSING+set}" != xset; then
  26687. + case $am_aux_dir in
  26688. + *\ * | *\ *)
  26689. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  26690. + *)
  26691. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  26692. + esac
  26693. +fi
  26694. +# Use eval to expand $SHELL
  26695. +if eval "$MISSING --is-lightweight"; then
  26696. + am_missing_run="$MISSING "
  26697. +else
  26698. + am_missing_run=
  26699. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  26700. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  26701. +fi
  26702. +
  26703. +if test x"${install_sh+set}" != xset; then
  26704. + case $am_aux_dir in
  26705. + *\ * | *\ *)
  26706. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  26707. + *)
  26708. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  26709. + esac
  26710. +fi
  26711. +
  26712. +# Installed binaries are usually stripped using 'strip' when the user
  26713. +# run "make install-strip". However 'strip' might not be the right
  26714. +# tool to use in cross-compilation environments, therefore Automake
  26715. +# will honor the 'STRIP' environment variable to overrule this program.
  26716. +if test "$cross_compiling" != no; then
  26717. + if test -n "$ac_tool_prefix"; then
  26718. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  26719. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  26720. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  26721. +$as_echo_n "checking for $ac_word... " >&6; }
  26722. +if ${ac_cv_prog_STRIP+:} false; then :
  26723. + $as_echo_n "(cached) " >&6
  26724. +else
  26725. + if test -n "$STRIP"; then
  26726. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  26727. +else
  26728. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26729. +for as_dir in $PATH
  26730. +do
  26731. + IFS=$as_save_IFS
  26732. + test -z "$as_dir" && as_dir=.
  26733. + for ac_exec_ext in '' $ac_executable_extensions; do
  26734. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  26735. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  26736. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  26737. + break 2
  26738. + fi
  26739. +done
  26740. + done
  26741. +IFS=$as_save_IFS
  26742. +
  26743. +fi
  26744. +fi
  26745. +STRIP=$ac_cv_prog_STRIP
  26746. +if test -n "$STRIP"; then
  26747. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  26748. +$as_echo "$STRIP" >&6; }
  26749. +else
  26750. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26751. +$as_echo "no" >&6; }
  26752. +fi
  26753. +
  26754. +
  26755. +fi
  26756. +if test -z "$ac_cv_prog_STRIP"; then
  26757. + ac_ct_STRIP=$STRIP
  26758. + # Extract the first word of "strip", so it can be a program name with args.
  26759. +set dummy strip; ac_word=$2
  26760. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  26761. +$as_echo_n "checking for $ac_word... " >&6; }
  26762. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  26763. + $as_echo_n "(cached) " >&6
  26764. +else
  26765. + if test -n "$ac_ct_STRIP"; then
  26766. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  26767. +else
  26768. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26769. +for as_dir in $PATH
  26770. +do
  26771. + IFS=$as_save_IFS
  26772. + test -z "$as_dir" && as_dir=.
  26773. + for ac_exec_ext in '' $ac_executable_extensions; do
  26774. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  26775. + ac_cv_prog_ac_ct_STRIP="strip"
  26776. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  26777. + break 2
  26778. + fi
  26779. +done
  26780. + done
  26781. +IFS=$as_save_IFS
  26782. +
  26783. +fi
  26784. +fi
  26785. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  26786. +if test -n "$ac_ct_STRIP"; then
  26787. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  26788. +$as_echo "$ac_ct_STRIP" >&6; }
  26789. +else
  26790. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26791. +$as_echo "no" >&6; }
  26792. +fi
  26793. +
  26794. + if test "x$ac_ct_STRIP" = x; then
  26795. + STRIP=":"
  26796. + else
  26797. + case $cross_compiling:$ac_tool_warned in
  26798. +yes:)
  26799. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  26800. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  26801. +ac_tool_warned=yes ;;
  26802. +esac
  26803. + STRIP=$ac_ct_STRIP
  26804. + fi
  26805. +else
  26806. + STRIP="$ac_cv_prog_STRIP"
  26807. +fi
  26808. +
  26809. +fi
  26810. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  26811. +
  26812. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  26813. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  26814. +if test -z "$MKDIR_P"; then
  26815. + if ${ac_cv_path_mkdir+:} false; then :
  26816. + $as_echo_n "(cached) " >&6
  26817. +else
  26818. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26819. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  26820. +do
  26821. + IFS=$as_save_IFS
  26822. + test -z "$as_dir" && as_dir=.
  26823. + for ac_prog in mkdir gmkdir; do
  26824. + for ac_exec_ext in '' $ac_executable_extensions; do
  26825. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  26826. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  26827. + 'mkdir (GNU coreutils) '* | \
  26828. + 'mkdir (coreutils) '* | \
  26829. + 'mkdir (fileutils) '4.1*)
  26830. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  26831. + break 3;;
  26832. + esac
  26833. + done
  26834. + done
  26835. + done
  26836. +IFS=$as_save_IFS
  26837. +
  26838. +fi
  26839. +
  26840. + test -d ./--version && rmdir ./--version
  26841. + if test "${ac_cv_path_mkdir+set}" = set; then
  26842. + MKDIR_P="$ac_cv_path_mkdir -p"
  26843. + else
  26844. + # As a last resort, use the slow shell script. Don't cache a
  26845. + # value for MKDIR_P within a source directory, because that will
  26846. + # break other packages using the cache if that directory is
  26847. + # removed, or if the value is a relative name.
  26848. + MKDIR_P="$ac_install_sh -d"
  26849. + fi
  26850. +fi
  26851. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  26852. +$as_echo "$MKDIR_P" >&6; }
  26853. +
  26854. +for ac_prog in gawk mawk nawk awk
  26855. +do
  26856. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  26857. +set dummy $ac_prog; ac_word=$2
  26858. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  26859. +$as_echo_n "checking for $ac_word... " >&6; }
  26860. +if ${ac_cv_prog_AWK+:} false; then :
  26861. + $as_echo_n "(cached) " >&6
  26862. +else
  26863. + if test -n "$AWK"; then
  26864. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  26865. +else
  26866. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  26867. +for as_dir in $PATH
  26868. +do
  26869. + IFS=$as_save_IFS
  26870. + test -z "$as_dir" && as_dir=.
  26871. + for ac_exec_ext in '' $ac_executable_extensions; do
  26872. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  26873. + ac_cv_prog_AWK="$ac_prog"
  26874. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  26875. + break 2
  26876. + fi
  26877. +done
  26878. + done
  26879. +IFS=$as_save_IFS
  26880. +
  26881. +fi
  26882. +fi
  26883. +AWK=$ac_cv_prog_AWK
  26884. +if test -n "$AWK"; then
  26885. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  26886. +$as_echo "$AWK" >&6; }
  26887. +else
  26888. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26889. +$as_echo "no" >&6; }
  26890. +fi
  26891. +
  26892. +
  26893. + test -n "$AWK" && break
  26894. +done
  26895. +
  26896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  26897. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  26898. +set x ${MAKE-make}
  26899. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  26900. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  26901. + $as_echo_n "(cached) " >&6
  26902. +else
  26903. + cat >conftest.make <<\_ACEOF
  26904. +SHELL = /bin/sh
  26905. +all:
  26906. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  26907. +_ACEOF
  26908. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  26909. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  26910. + *@@@%%%=?*=@@@%%%*)
  26911. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  26912. + *)
  26913. + eval ac_cv_prog_make_${ac_make}_set=no;;
  26914. +esac
  26915. +rm -f conftest.make
  26916. +fi
  26917. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  26918. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  26919. +$as_echo "yes" >&6; }
  26920. + SET_MAKE=
  26921. +else
  26922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26923. +$as_echo "no" >&6; }
  26924. + SET_MAKE="MAKE=${MAKE-make}"
  26925. +fi
  26926. +
  26927. +rm -rf .tst 2>/dev/null
  26928. +mkdir .tst 2>/dev/null
  26929. +if test -d .tst; then
  26930. + am__leading_dot=.
  26931. +else
  26932. + am__leading_dot=_
  26933. +fi
  26934. +rmdir .tst 2>/dev/null
  26935. +
  26936. +@%:@ Check whether --enable-silent-rules was given.
  26937. +if test "${enable_silent_rules+set}" = set; then :
  26938. + enableval=$enable_silent_rules;
  26939. +fi
  26940. +
  26941. +case $enable_silent_rules in @%:@ (((
  26942. + yes) AM_DEFAULT_VERBOSITY=0;;
  26943. + no) AM_DEFAULT_VERBOSITY=1;;
  26944. + *) AM_DEFAULT_VERBOSITY=1;;
  26945. +esac
  26946. +am_make=${MAKE-make}
  26947. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  26948. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  26949. +if ${am_cv_make_support_nested_variables+:} false; then :
  26950. + $as_echo_n "(cached) " >&6
  26951. +else
  26952. + if $as_echo 'TRUE=$(BAR$(V))
  26953. +BAR0=false
  26954. +BAR1=true
  26955. +V=1
  26956. +am__doit:
  26957. + @$(TRUE)
  26958. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  26959. + am_cv_make_support_nested_variables=yes
  26960. +else
  26961. + am_cv_make_support_nested_variables=no
  26962. +fi
  26963. +fi
  26964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  26965. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  26966. +if test $am_cv_make_support_nested_variables = yes; then
  26967. + AM_V='$(V)'
  26968. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  26969. +else
  26970. + AM_V=$AM_DEFAULT_VERBOSITY
  26971. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  26972. +fi
  26973. +AM_BACKSLASH='\'
  26974. +
  26975. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  26976. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  26977. + # is not polluted with repeated "-I."
  26978. + am__isrc=' -I$(srcdir)'
  26979. + # test to see if srcdir already configured
  26980. + if test -f $srcdir/config.status; then
  26981. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  26982. + fi
  26983. +fi
  26984. +
  26985. +# test whether we have cygpath
  26986. +if test -z "$CYGPATH_W"; then
  26987. + if (cygpath --version) >/dev/null 2>/dev/null; then
  26988. + CYGPATH_W='cygpath -w'
  26989. + else
  26990. + CYGPATH_W=echo
  26991. + fi
  26992. +fi
  26993. +
  26994. +
  26995. +# Define the identity of the package.
  26996. + PACKAGE='fiasco'
  26997. + VERSION='1.3'
  26998. +
  26999. +
  27000. +cat >>confdefs.h <<_ACEOF
  27001. +@%:@define PACKAGE "$PACKAGE"
  27002. +_ACEOF
  27003. +
  27004. +
  27005. +cat >>confdefs.h <<_ACEOF
  27006. +@%:@define VERSION "$VERSION"
  27007. +_ACEOF
  27008. +
  27009. +# Some tools Automake needs.
  27010. +
  27011. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  27012. +
  27013. +
  27014. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  27015. +
  27016. +
  27017. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  27018. +
  27019. +
  27020. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  27021. +
  27022. +
  27023. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  27024. +
  27025. +# For better backward compatibility. To be removed once Automake 1.9.x
  27026. +# dies out for good. For more background, see:
  27027. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  27028. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  27029. +mkdir_p='$(MKDIR_P)'
  27030. +
  27031. +# We need awk for the "check" target (and possibly the TAP driver). The
  27032. +# system "awk" is bad on some platforms.
  27033. +# Always define AMTAR for backward compatibility. Yes, it's still used
  27034. +# in the wild :-( We should find a proper way to deprecate it ...
  27035. +AMTAR='$${TAR-tar}'
  27036. +
  27037. +
  27038. +# We'll loop over all known methods to create a tar archive until one works.
  27039. +_am_tools='gnutar pax cpio none'
  27040. +
  27041. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  27042. +
  27043. +
  27044. +
  27045. +
  27046. +
  27047. +
  27048. +# POSIX will say in a future version that running "rm -f" with no argument
  27049. +# is OK; and we want to be able to make that assumption in our Makefile
  27050. +# recipes. So use an aggressive probe to check that the usage we want is
  27051. +# actually supported "in the wild" to an acceptable degree.
  27052. +# See automake bug#10828.
  27053. +# To make any issue more visible, cause the running configure to be aborted
  27054. +# by default if the 'rm' program in use doesn't match our expectations; the
  27055. +# user can still override this though.
  27056. +if rm -f && rm -fr && rm -rf; then : OK; else
  27057. + cat >&2 <<'END'
  27058. +Oops!
  27059. +
  27060. +Your 'rm' program seems unable to run without file operands specified
  27061. +on the command line, even when the '-f' option is present. This is contrary
  27062. +to the behaviour of most rm programs out there, and not conforming with
  27063. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  27064. +
  27065. +Please tell [email protected] about your system, including the value
  27066. +of your $PATH and any error possibly output before this message. This
  27067. +can help us improve future automake versions.
  27068. +
  27069. +END
  27070. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  27071. + echo 'Configuration will proceed anyway, since you have set the' >&2
  27072. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  27073. + echo >&2
  27074. + else
  27075. + cat >&2 <<'END'
  27076. +Aborting the configuration process, to ensure you take notice of the issue.
  27077. +
  27078. +You can download and install GNU coreutils to get an 'rm' implementation
  27079. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  27080. +
  27081. +If you want to complete the configuration process using your problematic
  27082. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  27083. +to "yes", and re-run configure.
  27084. +
  27085. +END
  27086. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  27087. + fi
  27088. +fi
  27089. +
  27090. +ac_config_headers="$ac_config_headers config.h"
  27091. +
  27092. +
  27093. +# Important programs:
  27094. +case `pwd` in
  27095. + *\ * | *\ *)
  27096. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  27097. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  27098. +esac
  27099. +
  27100. +
  27101. +
  27102. +macro_version='2.4.6'
  27103. +macro_revision='2.4.6'
  27104. +
  27105. +
  27106. +
  27107. +
  27108. +
  27109. +
  27110. +
  27111. +
  27112. +
  27113. +
  27114. +
  27115. +
  27116. +
  27117. +ltmain=$ac_aux_dir/ltmain.sh
  27118. +
  27119. +# Make sure we can run config.sub.
  27120. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  27121. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  27122. +
  27123. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  27124. +$as_echo_n "checking build system type... " >&6; }
  27125. +if ${ac_cv_build+:} false; then :
  27126. + $as_echo_n "(cached) " >&6
  27127. +else
  27128. + ac_build_alias=$build_alias
  27129. +test "x$ac_build_alias" = x &&
  27130. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  27131. +test "x$ac_build_alias" = x &&
  27132. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  27133. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  27134. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  27135. +
  27136. +fi
  27137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  27138. +$as_echo "$ac_cv_build" >&6; }
  27139. +case $ac_cv_build in
  27140. +*-*-*) ;;
  27141. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  27142. +esac
  27143. +build=$ac_cv_build
  27144. +ac_save_IFS=$IFS; IFS='-'
  27145. +set x $ac_cv_build
  27146. +shift
  27147. +build_cpu=$1
  27148. +build_vendor=$2
  27149. +shift; shift
  27150. +# Remember, the first character of IFS is used to create $*,
  27151. +# except with old shells:
  27152. +build_os=$*
  27153. +IFS=$ac_save_IFS
  27154. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  27155. +
  27156. +
  27157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  27158. +$as_echo_n "checking host system type... " >&6; }
  27159. +if ${ac_cv_host+:} false; then :
  27160. + $as_echo_n "(cached) " >&6
  27161. +else
  27162. + if test "x$host_alias" = x; then
  27163. + ac_cv_host=$ac_cv_build
  27164. +else
  27165. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  27166. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  27167. +fi
  27168. +
  27169. +fi
  27170. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  27171. +$as_echo "$ac_cv_host" >&6; }
  27172. +case $ac_cv_host in
  27173. +*-*-*) ;;
  27174. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  27175. +esac
  27176. +host=$ac_cv_host
  27177. +ac_save_IFS=$IFS; IFS='-'
  27178. +set x $ac_cv_host
  27179. +shift
  27180. +host_cpu=$1
  27181. +host_vendor=$2
  27182. +shift; shift
  27183. +# Remember, the first character of IFS is used to create $*,
  27184. +# except with old shells:
  27185. +host_os=$*
  27186. +IFS=$ac_save_IFS
  27187. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  27188. +
  27189. +
  27190. +# Backslashify metacharacters that are still active within
  27191. +# double-quoted strings.
  27192. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  27193. +
  27194. +# Same as above, but do not quote variable references.
  27195. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  27196. +
  27197. +# Sed substitution to delay expansion of an escaped shell variable in a
  27198. +# double_quote_subst'ed string.
  27199. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  27200. +
  27201. +# Sed substitution to delay expansion of an escaped single quote.
  27202. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  27203. +
  27204. +# Sed substitution to avoid accidental globbing in evaled expressions
  27205. +no_glob_subst='s/\*/\\\*/g'
  27206. +
  27207. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  27208. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  27209. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  27210. +
  27211. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  27212. +$as_echo_n "checking how to print strings... " >&6; }
  27213. +# Test print first, because it will be a builtin if present.
  27214. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  27215. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  27216. + ECHO='print -r --'
  27217. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  27218. + ECHO='printf %s\n'
  27219. +else
  27220. + # Use this function as a fallback that always works.
  27221. + func_fallback_echo ()
  27222. + {
  27223. + eval 'cat <<_LTECHO_EOF
  27224. +$1
  27225. +_LTECHO_EOF'
  27226. + }
  27227. + ECHO='func_fallback_echo'
  27228. +fi
  27229. +
  27230. +# func_echo_all arg...
  27231. +# Invoke $ECHO with all args, space-separated.
  27232. +func_echo_all ()
  27233. +{
  27234. + $ECHO ""
  27235. +}
  27236. +
  27237. +case $ECHO in
  27238. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  27239. +$as_echo "printf" >&6; } ;;
  27240. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  27241. +$as_echo "print -r" >&6; } ;;
  27242. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  27243. +$as_echo "cat" >&6; } ;;
  27244. +esac
  27245. +
  27246. +
  27247. +
  27248. +
  27249. +
  27250. +
  27251. +
  27252. +
  27253. +
  27254. +
  27255. +
  27256. +
  27257. +
  27258. +
  27259. +DEPDIR="${am__leading_dot}deps"
  27260. +
  27261. +ac_config_commands="$ac_config_commands depfiles"
  27262. +
  27263. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  27264. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  27265. +cat > confinc.mk << 'END'
  27266. +am__doit:
  27267. + @echo this is the am__doit target >confinc.out
  27268. +.PHONY: am__doit
  27269. +END
  27270. +am__include="#"
  27271. +am__quote=
  27272. +# BSD make does it like this.
  27273. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  27274. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  27275. +echo 'include confinc.mk # ignored' > confmf.GNU
  27276. +_am_result=no
  27277. +for s in GNU BSD; do
  27278. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  27279. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  27280. + ac_status=$?
  27281. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27282. + (exit $ac_status); }
  27283. + case $?:`cat confinc.out 2>/dev/null` in @%:@(
  27284. + '0:this is the am__doit target') :
  27285. + case $s in @%:@(
  27286. + BSD) :
  27287. + am__include='.include' am__quote='"' ;; @%:@(
  27288. + *) :
  27289. + am__include='include' am__quote='' ;;
  27290. +esac ;; @%:@(
  27291. + *) :
  27292. + ;;
  27293. +esac
  27294. + if test "$am__include" != "#"; then
  27295. + _am_result="yes ($s style)"
  27296. + break
  27297. + fi
  27298. +done
  27299. +rm -f confinc.* confmf.*
  27300. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  27301. +$as_echo "${_am_result}" >&6; }
  27302. +
  27303. +@%:@ Check whether --enable-dependency-tracking was given.
  27304. +if test "${enable_dependency_tracking+set}" = set; then :
  27305. + enableval=$enable_dependency_tracking;
  27306. +fi
  27307. +
  27308. +if test "x$enable_dependency_tracking" != xno; then
  27309. + am_depcomp="$ac_aux_dir/depcomp"
  27310. + AMDEPBACKSLASH='\'
  27311. + am__nodep='_no'
  27312. +fi
  27313. + if test "x$enable_dependency_tracking" != xno; then
  27314. + AMDEP_TRUE=
  27315. + AMDEP_FALSE='#'
  27316. +else
  27317. + AMDEP_TRUE='#'
  27318. + AMDEP_FALSE=
  27319. +fi
  27320. +
  27321. +
  27322. +ac_ext=c
  27323. +ac_cpp='$CPP $CPPFLAGS'
  27324. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27325. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27326. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  27327. +if test -n "$ac_tool_prefix"; then
  27328. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  27329. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  27330. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27331. +$as_echo_n "checking for $ac_word... " >&6; }
  27332. +if ${ac_cv_prog_CC+:} false; then :
  27333. + $as_echo_n "(cached) " >&6
  27334. +else
  27335. + if test -n "$CC"; then
  27336. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27337. +else
  27338. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27339. +for as_dir in $PATH
  27340. +do
  27341. + IFS=$as_save_IFS
  27342. + test -z "$as_dir" && as_dir=.
  27343. + for ac_exec_ext in '' $ac_executable_extensions; do
  27344. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27345. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  27346. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27347. + break 2
  27348. + fi
  27349. +done
  27350. + done
  27351. +IFS=$as_save_IFS
  27352. +
  27353. +fi
  27354. +fi
  27355. +CC=$ac_cv_prog_CC
  27356. +if test -n "$CC"; then
  27357. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27358. +$as_echo "$CC" >&6; }
  27359. +else
  27360. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27361. +$as_echo "no" >&6; }
  27362. +fi
  27363. +
  27364. +
  27365. +fi
  27366. +if test -z "$ac_cv_prog_CC"; then
  27367. + ac_ct_CC=$CC
  27368. + # Extract the first word of "gcc", so it can be a program name with args.
  27369. +set dummy gcc; ac_word=$2
  27370. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27371. +$as_echo_n "checking for $ac_word... " >&6; }
  27372. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  27373. + $as_echo_n "(cached) " >&6
  27374. +else
  27375. + if test -n "$ac_ct_CC"; then
  27376. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  27377. +else
  27378. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27379. +for as_dir in $PATH
  27380. +do
  27381. + IFS=$as_save_IFS
  27382. + test -z "$as_dir" && as_dir=.
  27383. + for ac_exec_ext in '' $ac_executable_extensions; do
  27384. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27385. + ac_cv_prog_ac_ct_CC="gcc"
  27386. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27387. + break 2
  27388. + fi
  27389. +done
  27390. + done
  27391. +IFS=$as_save_IFS
  27392. +
  27393. +fi
  27394. +fi
  27395. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  27396. +if test -n "$ac_ct_CC"; then
  27397. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  27398. +$as_echo "$ac_ct_CC" >&6; }
  27399. +else
  27400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27401. +$as_echo "no" >&6; }
  27402. +fi
  27403. +
  27404. + if test "x$ac_ct_CC" = x; then
  27405. + CC=""
  27406. + else
  27407. + case $cross_compiling:$ac_tool_warned in
  27408. +yes:)
  27409. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  27410. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  27411. +ac_tool_warned=yes ;;
  27412. +esac
  27413. + CC=$ac_ct_CC
  27414. + fi
  27415. +else
  27416. + CC="$ac_cv_prog_CC"
  27417. +fi
  27418. +
  27419. +if test -z "$CC"; then
  27420. + if test -n "$ac_tool_prefix"; then
  27421. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  27422. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  27423. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27424. +$as_echo_n "checking for $ac_word... " >&6; }
  27425. +if ${ac_cv_prog_CC+:} false; then :
  27426. + $as_echo_n "(cached) " >&6
  27427. +else
  27428. + if test -n "$CC"; then
  27429. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27430. +else
  27431. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27432. +for as_dir in $PATH
  27433. +do
  27434. + IFS=$as_save_IFS
  27435. + test -z "$as_dir" && as_dir=.
  27436. + for ac_exec_ext in '' $ac_executable_extensions; do
  27437. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27438. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  27439. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27440. + break 2
  27441. + fi
  27442. +done
  27443. + done
  27444. +IFS=$as_save_IFS
  27445. +
  27446. +fi
  27447. +fi
  27448. +CC=$ac_cv_prog_CC
  27449. +if test -n "$CC"; then
  27450. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27451. +$as_echo "$CC" >&6; }
  27452. +else
  27453. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27454. +$as_echo "no" >&6; }
  27455. +fi
  27456. +
  27457. +
  27458. + fi
  27459. +fi
  27460. +if test -z "$CC"; then
  27461. + # Extract the first word of "cc", so it can be a program name with args.
  27462. +set dummy cc; ac_word=$2
  27463. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27464. +$as_echo_n "checking for $ac_word... " >&6; }
  27465. +if ${ac_cv_prog_CC+:} false; then :
  27466. + $as_echo_n "(cached) " >&6
  27467. +else
  27468. + if test -n "$CC"; then
  27469. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27470. +else
  27471. + ac_prog_rejected=no
  27472. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27473. +for as_dir in $PATH
  27474. +do
  27475. + IFS=$as_save_IFS
  27476. + test -z "$as_dir" && as_dir=.
  27477. + for ac_exec_ext in '' $ac_executable_extensions; do
  27478. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27479. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  27480. + ac_prog_rejected=yes
  27481. + continue
  27482. + fi
  27483. + ac_cv_prog_CC="cc"
  27484. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27485. + break 2
  27486. + fi
  27487. +done
  27488. + done
  27489. +IFS=$as_save_IFS
  27490. +
  27491. +if test $ac_prog_rejected = yes; then
  27492. + # We found a bogon in the path, so make sure we never use it.
  27493. + set dummy $ac_cv_prog_CC
  27494. + shift
  27495. + if test $@%:@ != 0; then
  27496. + # We chose a different compiler from the bogus one.
  27497. + # However, it has the same basename, so the bogon will be chosen
  27498. + # first if we set CC to just the basename; use the full file name.
  27499. + shift
  27500. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  27501. + fi
  27502. +fi
  27503. +fi
  27504. +fi
  27505. +CC=$ac_cv_prog_CC
  27506. +if test -n "$CC"; then
  27507. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27508. +$as_echo "$CC" >&6; }
  27509. +else
  27510. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27511. +$as_echo "no" >&6; }
  27512. +fi
  27513. +
  27514. +
  27515. +fi
  27516. +if test -z "$CC"; then
  27517. + if test -n "$ac_tool_prefix"; then
  27518. + for ac_prog in cl.exe
  27519. + do
  27520. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  27521. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  27522. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27523. +$as_echo_n "checking for $ac_word... " >&6; }
  27524. +if ${ac_cv_prog_CC+:} false; then :
  27525. + $as_echo_n "(cached) " >&6
  27526. +else
  27527. + if test -n "$CC"; then
  27528. + ac_cv_prog_CC="$CC" # Let the user override the test.
  27529. +else
  27530. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27531. +for as_dir in $PATH
  27532. +do
  27533. + IFS=$as_save_IFS
  27534. + test -z "$as_dir" && as_dir=.
  27535. + for ac_exec_ext in '' $ac_executable_extensions; do
  27536. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27537. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  27538. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27539. + break 2
  27540. + fi
  27541. +done
  27542. + done
  27543. +IFS=$as_save_IFS
  27544. +
  27545. +fi
  27546. +fi
  27547. +CC=$ac_cv_prog_CC
  27548. +if test -n "$CC"; then
  27549. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  27550. +$as_echo "$CC" >&6; }
  27551. +else
  27552. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27553. +$as_echo "no" >&6; }
  27554. +fi
  27555. +
  27556. +
  27557. + test -n "$CC" && break
  27558. + done
  27559. +fi
  27560. +if test -z "$CC"; then
  27561. + ac_ct_CC=$CC
  27562. + for ac_prog in cl.exe
  27563. +do
  27564. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  27565. +set dummy $ac_prog; ac_word=$2
  27566. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27567. +$as_echo_n "checking for $ac_word... " >&6; }
  27568. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  27569. + $as_echo_n "(cached) " >&6
  27570. +else
  27571. + if test -n "$ac_ct_CC"; then
  27572. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  27573. +else
  27574. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27575. +for as_dir in $PATH
  27576. +do
  27577. + IFS=$as_save_IFS
  27578. + test -z "$as_dir" && as_dir=.
  27579. + for ac_exec_ext in '' $ac_executable_extensions; do
  27580. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27581. + ac_cv_prog_ac_ct_CC="$ac_prog"
  27582. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27583. + break 2
  27584. + fi
  27585. +done
  27586. + done
  27587. +IFS=$as_save_IFS
  27588. +
  27589. +fi
  27590. +fi
  27591. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  27592. +if test -n "$ac_ct_CC"; then
  27593. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  27594. +$as_echo "$ac_ct_CC" >&6; }
  27595. +else
  27596. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27597. +$as_echo "no" >&6; }
  27598. +fi
  27599. +
  27600. +
  27601. + test -n "$ac_ct_CC" && break
  27602. +done
  27603. +
  27604. + if test "x$ac_ct_CC" = x; then
  27605. + CC=""
  27606. + else
  27607. + case $cross_compiling:$ac_tool_warned in
  27608. +yes:)
  27609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  27610. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  27611. +ac_tool_warned=yes ;;
  27612. +esac
  27613. + CC=$ac_ct_CC
  27614. + fi
  27615. +fi
  27616. +
  27617. +fi
  27618. +
  27619. +
  27620. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27621. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27622. +as_fn_error $? "no acceptable C compiler found in \$PATH
  27623. +See \`config.log' for more details" "$LINENO" 5; }
  27624. +
  27625. +# Provide some information about the compiler.
  27626. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  27627. +set X $ac_compile
  27628. +ac_compiler=$2
  27629. +for ac_option in --version -v -V -qversion; do
  27630. + { { ac_try="$ac_compiler $ac_option >&5"
  27631. +case "(($ac_try" in
  27632. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27633. + *) ac_try_echo=$ac_try;;
  27634. +esac
  27635. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27636. +$as_echo "$ac_try_echo"; } >&5
  27637. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  27638. + ac_status=$?
  27639. + if test -s conftest.err; then
  27640. + sed '10a\
  27641. +... rest of stderr output deleted ...
  27642. + 10q' conftest.err >conftest.er1
  27643. + cat conftest.er1 >&5
  27644. + fi
  27645. + rm -f conftest.er1 conftest.err
  27646. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27647. + test $ac_status = 0; }
  27648. +done
  27649. +
  27650. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27651. +/* end confdefs.h. */
  27652. +
  27653. +int
  27654. +main ()
  27655. +{
  27656. +
  27657. + ;
  27658. + return 0;
  27659. +}
  27660. +_ACEOF
  27661. +ac_clean_files_save=$ac_clean_files
  27662. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  27663. +# Try to create an executable without -o first, disregard a.out.
  27664. +# It will help us diagnose broken compilers, and finding out an intuition
  27665. +# of exeext.
  27666. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  27667. +$as_echo_n "checking whether the C compiler works... " >&6; }
  27668. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  27669. +
  27670. +# The possible output files:
  27671. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  27672. +
  27673. +ac_rmfiles=
  27674. +for ac_file in $ac_files
  27675. +do
  27676. + case $ac_file in
  27677. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  27678. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  27679. + esac
  27680. +done
  27681. +rm -f $ac_rmfiles
  27682. +
  27683. +if { { ac_try="$ac_link_default"
  27684. +case "(($ac_try" in
  27685. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27686. + *) ac_try_echo=$ac_try;;
  27687. +esac
  27688. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27689. +$as_echo "$ac_try_echo"; } >&5
  27690. + (eval "$ac_link_default") 2>&5
  27691. + ac_status=$?
  27692. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27693. + test $ac_status = 0; }; then :
  27694. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  27695. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  27696. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  27697. +# so that the user can short-circuit this test for compilers unknown to
  27698. +# Autoconf.
  27699. +for ac_file in $ac_files ''
  27700. +do
  27701. + test -f "$ac_file" || continue
  27702. + case $ac_file in
  27703. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  27704. + ;;
  27705. + [ab].out )
  27706. + # We found the default executable, but exeext='' is most
  27707. + # certainly right.
  27708. + break;;
  27709. + *.* )
  27710. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  27711. + then :; else
  27712. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  27713. + fi
  27714. + # We set ac_cv_exeext here because the later test for it is not
  27715. + # safe: cross compilers may not add the suffix if given an `-o'
  27716. + # argument, so we may need to know it at that point already.
  27717. + # Even if this section looks crufty: it has the advantage of
  27718. + # actually working.
  27719. + break;;
  27720. + * )
  27721. + break;;
  27722. + esac
  27723. +done
  27724. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  27725. +
  27726. +else
  27727. + ac_file=''
  27728. +fi
  27729. +if test -z "$ac_file"; then :
  27730. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27731. +$as_echo "no" >&6; }
  27732. +$as_echo "$as_me: failed program was:" >&5
  27733. +sed 's/^/| /' conftest.$ac_ext >&5
  27734. +
  27735. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27736. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27737. +as_fn_error 77 "C compiler cannot create executables
  27738. +See \`config.log' for more details" "$LINENO" 5; }
  27739. +else
  27740. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  27741. +$as_echo "yes" >&6; }
  27742. +fi
  27743. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  27744. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  27745. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  27746. +$as_echo "$ac_file" >&6; }
  27747. +ac_exeext=$ac_cv_exeext
  27748. +
  27749. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  27750. +ac_clean_files=$ac_clean_files_save
  27751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  27752. +$as_echo_n "checking for suffix of executables... " >&6; }
  27753. +if { { ac_try="$ac_link"
  27754. +case "(($ac_try" in
  27755. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27756. + *) ac_try_echo=$ac_try;;
  27757. +esac
  27758. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27759. +$as_echo "$ac_try_echo"; } >&5
  27760. + (eval "$ac_link") 2>&5
  27761. + ac_status=$?
  27762. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27763. + test $ac_status = 0; }; then :
  27764. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  27765. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  27766. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  27767. +# `rm'.
  27768. +for ac_file in conftest.exe conftest conftest.*; do
  27769. + test -f "$ac_file" || continue
  27770. + case $ac_file in
  27771. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  27772. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  27773. + break;;
  27774. + * ) break;;
  27775. + esac
  27776. +done
  27777. +else
  27778. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27779. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27780. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  27781. +See \`config.log' for more details" "$LINENO" 5; }
  27782. +fi
  27783. +rm -f conftest conftest$ac_cv_exeext
  27784. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  27785. +$as_echo "$ac_cv_exeext" >&6; }
  27786. +
  27787. +rm -f conftest.$ac_ext
  27788. +EXEEXT=$ac_cv_exeext
  27789. +ac_exeext=$EXEEXT
  27790. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27791. +/* end confdefs.h. */
  27792. +@%:@include <stdio.h>
  27793. +int
  27794. +main ()
  27795. +{
  27796. +FILE *f = fopen ("conftest.out", "w");
  27797. + return ferror (f) || fclose (f) != 0;
  27798. +
  27799. + ;
  27800. + return 0;
  27801. +}
  27802. +_ACEOF
  27803. +ac_clean_files="$ac_clean_files conftest.out"
  27804. +# Check that the compiler produces executables we can run. If not, either
  27805. +# the compiler is broken, or we cross compile.
  27806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  27807. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  27808. +if test "$cross_compiling" != yes; then
  27809. + { { ac_try="$ac_link"
  27810. +case "(($ac_try" in
  27811. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27812. + *) ac_try_echo=$ac_try;;
  27813. +esac
  27814. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27815. +$as_echo "$ac_try_echo"; } >&5
  27816. + (eval "$ac_link") 2>&5
  27817. + ac_status=$?
  27818. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27819. + test $ac_status = 0; }
  27820. + if { ac_try='./conftest$ac_cv_exeext'
  27821. + { { case "(($ac_try" in
  27822. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27823. + *) ac_try_echo=$ac_try;;
  27824. +esac
  27825. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27826. +$as_echo "$ac_try_echo"; } >&5
  27827. + (eval "$ac_try") 2>&5
  27828. + ac_status=$?
  27829. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27830. + test $ac_status = 0; }; }; then
  27831. + cross_compiling=no
  27832. + else
  27833. + if test "$cross_compiling" = maybe; then
  27834. + cross_compiling=yes
  27835. + else
  27836. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27837. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27838. +as_fn_error $? "cannot run C compiled programs.
  27839. +If you meant to cross compile, use \`--host'.
  27840. +See \`config.log' for more details" "$LINENO" 5; }
  27841. + fi
  27842. + fi
  27843. +fi
  27844. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  27845. +$as_echo "$cross_compiling" >&6; }
  27846. +
  27847. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  27848. +ac_clean_files=$ac_clean_files_save
  27849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  27850. +$as_echo_n "checking for suffix of object files... " >&6; }
  27851. +if ${ac_cv_objext+:} false; then :
  27852. + $as_echo_n "(cached) " >&6
  27853. +else
  27854. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27855. +/* end confdefs.h. */
  27856. +
  27857. +int
  27858. +main ()
  27859. +{
  27860. +
  27861. + ;
  27862. + return 0;
  27863. +}
  27864. +_ACEOF
  27865. +rm -f conftest.o conftest.obj
  27866. +if { { ac_try="$ac_compile"
  27867. +case "(($ac_try" in
  27868. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27869. + *) ac_try_echo=$ac_try;;
  27870. +esac
  27871. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  27872. +$as_echo "$ac_try_echo"; } >&5
  27873. + (eval "$ac_compile") 2>&5
  27874. + ac_status=$?
  27875. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27876. + test $ac_status = 0; }; then :
  27877. + for ac_file in conftest.o conftest.obj conftest.*; do
  27878. + test -f "$ac_file" || continue;
  27879. + case $ac_file in
  27880. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  27881. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  27882. + break;;
  27883. + esac
  27884. +done
  27885. +else
  27886. + $as_echo "$as_me: failed program was:" >&5
  27887. +sed 's/^/| /' conftest.$ac_ext >&5
  27888. +
  27889. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  27890. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  27891. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  27892. +See \`config.log' for more details" "$LINENO" 5; }
  27893. +fi
  27894. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  27895. +fi
  27896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  27897. +$as_echo "$ac_cv_objext" >&6; }
  27898. +OBJEXT=$ac_cv_objext
  27899. +ac_objext=$OBJEXT
  27900. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  27901. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  27902. +if ${ac_cv_c_compiler_gnu+:} false; then :
  27903. + $as_echo_n "(cached) " >&6
  27904. +else
  27905. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27906. +/* end confdefs.h. */
  27907. +
  27908. +int
  27909. +main ()
  27910. +{
  27911. +#ifndef __GNUC__
  27912. + choke me
  27913. +#endif
  27914. +
  27915. + ;
  27916. + return 0;
  27917. +}
  27918. +_ACEOF
  27919. +if ac_fn_c_try_compile "$LINENO"; then :
  27920. + ac_compiler_gnu=yes
  27921. +else
  27922. + ac_compiler_gnu=no
  27923. +fi
  27924. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27925. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  27926. +
  27927. +fi
  27928. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  27929. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  27930. +if test $ac_compiler_gnu = yes; then
  27931. + GCC=yes
  27932. +else
  27933. + GCC=
  27934. +fi
  27935. +ac_test_CFLAGS=${CFLAGS+set}
  27936. +ac_save_CFLAGS=$CFLAGS
  27937. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  27938. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  27939. +if ${ac_cv_prog_cc_g+:} false; then :
  27940. + $as_echo_n "(cached) " >&6
  27941. +else
  27942. + ac_save_c_werror_flag=$ac_c_werror_flag
  27943. + ac_c_werror_flag=yes
  27944. + ac_cv_prog_cc_g=no
  27945. + CFLAGS="-g"
  27946. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27947. +/* end confdefs.h. */
  27948. +
  27949. +int
  27950. +main ()
  27951. +{
  27952. +
  27953. + ;
  27954. + return 0;
  27955. +}
  27956. +_ACEOF
  27957. +if ac_fn_c_try_compile "$LINENO"; then :
  27958. + ac_cv_prog_cc_g=yes
  27959. +else
  27960. + CFLAGS=""
  27961. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27962. +/* end confdefs.h. */
  27963. +
  27964. +int
  27965. +main ()
  27966. +{
  27967. +
  27968. + ;
  27969. + return 0;
  27970. +}
  27971. +_ACEOF
  27972. +if ac_fn_c_try_compile "$LINENO"; then :
  27973. +
  27974. +else
  27975. + ac_c_werror_flag=$ac_save_c_werror_flag
  27976. + CFLAGS="-g"
  27977. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27978. +/* end confdefs.h. */
  27979. +
  27980. +int
  27981. +main ()
  27982. +{
  27983. +
  27984. + ;
  27985. + return 0;
  27986. +}
  27987. +_ACEOF
  27988. +if ac_fn_c_try_compile "$LINENO"; then :
  27989. + ac_cv_prog_cc_g=yes
  27990. +fi
  27991. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27992. +fi
  27993. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27994. +fi
  27995. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27996. + ac_c_werror_flag=$ac_save_c_werror_flag
  27997. +fi
  27998. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  27999. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  28000. +if test "$ac_test_CFLAGS" = set; then
  28001. + CFLAGS=$ac_save_CFLAGS
  28002. +elif test $ac_cv_prog_cc_g = yes; then
  28003. + if test "$GCC" = yes; then
  28004. + CFLAGS="-g -O2"
  28005. + else
  28006. + CFLAGS="-g"
  28007. + fi
  28008. +else
  28009. + if test "$GCC" = yes; then
  28010. + CFLAGS="-O2"
  28011. + else
  28012. + CFLAGS=
  28013. + fi
  28014. +fi
  28015. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  28016. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  28017. +if ${ac_cv_prog_cc_c89+:} false; then :
  28018. + $as_echo_n "(cached) " >&6
  28019. +else
  28020. + ac_cv_prog_cc_c89=no
  28021. +ac_save_CC=$CC
  28022. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28023. +/* end confdefs.h. */
  28024. +#include <stdarg.h>
  28025. +#include <stdio.h>
  28026. +struct stat;
  28027. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  28028. +struct buf { int x; };
  28029. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  28030. +static char *e (p, i)
  28031. + char **p;
  28032. + int i;
  28033. +{
  28034. + return p[i];
  28035. +}
  28036. +static char *f (char * (*g) (char **, int), char **p, ...)
  28037. +{
  28038. + char *s;
  28039. + va_list v;
  28040. + va_start (v,p);
  28041. + s = g (p, va_arg (v,int));
  28042. + va_end (v);
  28043. + return s;
  28044. +}
  28045. +
  28046. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  28047. + function prototypes and stuff, but not '\xHH' hex character constants.
  28048. + These don't provoke an error unfortunately, instead are silently treated
  28049. + as 'x'. The following induces an error, until -std is added to get
  28050. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  28051. + array size at least. It's necessary to write '\x00'==0 to get something
  28052. + that's true only with -std. */
  28053. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  28054. +
  28055. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  28056. + inside strings and character constants. */
  28057. +#define FOO(x) 'x'
  28058. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  28059. +
  28060. +int test (int i, double x);
  28061. +struct s1 {int (*f) (int a);};
  28062. +struct s2 {int (*f) (double a);};
  28063. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  28064. +int argc;
  28065. +char **argv;
  28066. +int
  28067. +main ()
  28068. +{
  28069. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  28070. + ;
  28071. + return 0;
  28072. +}
  28073. +_ACEOF
  28074. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  28075. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  28076. +do
  28077. + CC="$ac_save_CC $ac_arg"
  28078. + if ac_fn_c_try_compile "$LINENO"; then :
  28079. + ac_cv_prog_cc_c89=$ac_arg
  28080. +fi
  28081. +rm -f core conftest.err conftest.$ac_objext
  28082. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  28083. +done
  28084. +rm -f conftest.$ac_ext
  28085. +CC=$ac_save_CC
  28086. +
  28087. +fi
  28088. +# AC_CACHE_VAL
  28089. +case "x$ac_cv_prog_cc_c89" in
  28090. + x)
  28091. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  28092. +$as_echo "none needed" >&6; } ;;
  28093. + xno)
  28094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  28095. +$as_echo "unsupported" >&6; } ;;
  28096. + *)
  28097. + CC="$CC $ac_cv_prog_cc_c89"
  28098. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  28099. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  28100. +esac
  28101. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  28102. +
  28103. +fi
  28104. +
  28105. +ac_ext=c
  28106. +ac_cpp='$CPP $CPPFLAGS'
  28107. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28108. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28109. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28110. +
  28111. +ac_ext=c
  28112. +ac_cpp='$CPP $CPPFLAGS'
  28113. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28114. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28115. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28116. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  28117. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  28118. +if ${am_cv_prog_cc_c_o+:} false; then :
  28119. + $as_echo_n "(cached) " >&6
  28120. +else
  28121. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28122. +/* end confdefs.h. */
  28123. +
  28124. +int
  28125. +main ()
  28126. +{
  28127. +
  28128. + ;
  28129. + return 0;
  28130. +}
  28131. +_ACEOF
  28132. + # Make sure it works both with $CC and with simple cc.
  28133. + # Following AC_PROG_CC_C_O, we do the test twice because some
  28134. + # compilers refuse to overwrite an existing .o file with -o,
  28135. + # though they will create one.
  28136. + am_cv_prog_cc_c_o=yes
  28137. + for am_i in 1 2; do
  28138. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  28139. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  28140. + ac_status=$?
  28141. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  28142. + (exit $ac_status); } \
  28143. + && test -f conftest2.$ac_objext; then
  28144. + : OK
  28145. + else
  28146. + am_cv_prog_cc_c_o=no
  28147. + break
  28148. + fi
  28149. + done
  28150. + rm -f core conftest*
  28151. + unset am_i
  28152. +fi
  28153. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  28154. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  28155. +if test "$am_cv_prog_cc_c_o" != yes; then
  28156. + # Losing compiler, so override with the script.
  28157. + # FIXME: It is wrong to rewrite CC.
  28158. + # But if we don't then we get into trouble of one sort or another.
  28159. + # A longer-term fix would be to have automake use am__CC in this case,
  28160. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  28161. + CC="$am_aux_dir/compile $CC"
  28162. +fi
  28163. +ac_ext=c
  28164. +ac_cpp='$CPP $CPPFLAGS'
  28165. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28166. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28167. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28168. +
  28169. +
  28170. +depcc="$CC" am_compiler_list=
  28171. +
  28172. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  28173. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  28174. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  28175. + $as_echo_n "(cached) " >&6
  28176. +else
  28177. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  28178. + # We make a subdir and do the tests there. Otherwise we can end up
  28179. + # making bogus files that we don't know about and never remove. For
  28180. + # instance it was reported that on HP-UX the gcc test will end up
  28181. + # making a dummy file named 'D' -- because '-MD' means "put the output
  28182. + # in D".
  28183. + rm -rf conftest.dir
  28184. + mkdir conftest.dir
  28185. + # Copy depcomp to subdir because otherwise we won't find it if we're
  28186. + # using a relative directory.
  28187. + cp "$am_depcomp" conftest.dir
  28188. + cd conftest.dir
  28189. + # We will build objects and dependencies in a subdirectory because
  28190. + # it helps to detect inapplicable dependency modes. For instance
  28191. + # both Tru64's cc and ICC support -MD to output dependencies as a
  28192. + # side effect of compilation, but ICC will put the dependencies in
  28193. + # the current directory while Tru64 will put them in the object
  28194. + # directory.
  28195. + mkdir sub
  28196. +
  28197. + am_cv_CC_dependencies_compiler_type=none
  28198. + if test "$am_compiler_list" = ""; then
  28199. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  28200. + fi
  28201. + am__universal=false
  28202. + case " $depcc " in #(
  28203. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  28204. + esac
  28205. +
  28206. + for depmode in $am_compiler_list; do
  28207. + # Setup a source with many dependencies, because some compilers
  28208. + # like to wrap large dependency lists on column 80 (with \), and
  28209. + # we should not choose a depcomp mode which is confused by this.
  28210. + #
  28211. + # We need to recreate these files for each test, as the compiler may
  28212. + # overwrite some of them when testing with obscure command lines.
  28213. + # This happens at least with the AIX C compiler.
  28214. + : > sub/conftest.c
  28215. + for i in 1 2 3 4 5 6; do
  28216. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  28217. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  28218. + # Solaris 10 /bin/sh.
  28219. + echo '/* dummy */' > sub/conftst$i.h
  28220. + done
  28221. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  28222. +
  28223. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  28224. + # mode. It turns out that the SunPro C++ compiler does not properly
  28225. + # handle '-M -o', and we need to detect this. Also, some Intel
  28226. + # versions had trouble with output in subdirs.
  28227. + am__obj=sub/conftest.${OBJEXT-o}
  28228. + am__minus_obj="-o $am__obj"
  28229. + case $depmode in
  28230. + gcc)
  28231. + # This depmode causes a compiler race in universal mode.
  28232. + test "$am__universal" = false || continue
  28233. + ;;
  28234. + nosideeffect)
  28235. + # After this tag, mechanisms are not by side-effect, so they'll
  28236. + # only be used when explicitly requested.
  28237. + if test "x$enable_dependency_tracking" = xyes; then
  28238. + continue
  28239. + else
  28240. + break
  28241. + fi
  28242. + ;;
  28243. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  28244. + # This compiler won't grok '-c -o', but also, the minuso test has
  28245. + # not run yet. These depmodes are late enough in the game, and
  28246. + # so weak that their functioning should not be impacted.
  28247. + am__obj=conftest.${OBJEXT-o}
  28248. + am__minus_obj=
  28249. + ;;
  28250. + none) break ;;
  28251. + esac
  28252. + if depmode=$depmode \
  28253. + source=sub/conftest.c object=$am__obj \
  28254. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  28255. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  28256. + >/dev/null 2>conftest.err &&
  28257. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  28258. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  28259. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  28260. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  28261. + # icc doesn't choke on unknown options, it will just issue warnings
  28262. + # or remarks (even with -Werror). So we grep stderr for any message
  28263. + # that says an option was ignored or not supported.
  28264. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  28265. + # icc: Command line warning: ignoring option '-M'; no argument required
  28266. + # The diagnosis changed in icc 8.0:
  28267. + # icc: Command line remark: option '-MP' not supported
  28268. + if (grep 'ignoring option' conftest.err ||
  28269. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  28270. + am_cv_CC_dependencies_compiler_type=$depmode
  28271. + break
  28272. + fi
  28273. + fi
  28274. + done
  28275. +
  28276. + cd ..
  28277. + rm -rf conftest.dir
  28278. +else
  28279. + am_cv_CC_dependencies_compiler_type=none
  28280. +fi
  28281. +
  28282. +fi
  28283. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  28284. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  28285. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  28286. +
  28287. + if
  28288. + test "x$enable_dependency_tracking" != xno \
  28289. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  28290. + am__fastdepCC_TRUE=
  28291. + am__fastdepCC_FALSE='#'
  28292. +else
  28293. + am__fastdepCC_TRUE='#'
  28294. + am__fastdepCC_FALSE=
  28295. +fi
  28296. +
  28297. +
  28298. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  28299. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  28300. +if ${ac_cv_path_SED+:} false; then :
  28301. + $as_echo_n "(cached) " >&6
  28302. +else
  28303. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  28304. + for ac_i in 1 2 3 4 5 6 7; do
  28305. + ac_script="$ac_script$as_nl$ac_script"
  28306. + done
  28307. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  28308. + { ac_script=; unset ac_script;}
  28309. + if test -z "$SED"; then
  28310. + ac_path_SED_found=false
  28311. + # Loop through the user's path and test for each of PROGNAME-LIST
  28312. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28313. +for as_dir in $PATH
  28314. +do
  28315. + IFS=$as_save_IFS
  28316. + test -z "$as_dir" && as_dir=.
  28317. + for ac_prog in sed gsed; do
  28318. + for ac_exec_ext in '' $ac_executable_extensions; do
  28319. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  28320. + as_fn_executable_p "$ac_path_SED" || continue
  28321. +# Check for GNU ac_path_SED and select it if it is found.
  28322. + # Check for GNU $ac_path_SED
  28323. +case `"$ac_path_SED" --version 2>&1` in
  28324. +*GNU*)
  28325. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  28326. +*)
  28327. + ac_count=0
  28328. + $as_echo_n 0123456789 >"conftest.in"
  28329. + while :
  28330. + do
  28331. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28332. + mv "conftest.tmp" "conftest.in"
  28333. + cp "conftest.in" "conftest.nl"
  28334. + $as_echo '' >> "conftest.nl"
  28335. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28336. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28337. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28338. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  28339. + # Best one so far, save it but keep looking for a better one
  28340. + ac_cv_path_SED="$ac_path_SED"
  28341. + ac_path_SED_max=$ac_count
  28342. + fi
  28343. + # 10*(2^10) chars as input seems more than enough
  28344. + test $ac_count -gt 10 && break
  28345. + done
  28346. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28347. +esac
  28348. +
  28349. + $ac_path_SED_found && break 3
  28350. + done
  28351. + done
  28352. + done
  28353. +IFS=$as_save_IFS
  28354. + if test -z "$ac_cv_path_SED"; then
  28355. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  28356. + fi
  28357. +else
  28358. + ac_cv_path_SED=$SED
  28359. +fi
  28360. +
  28361. +fi
  28362. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  28363. +$as_echo "$ac_cv_path_SED" >&6; }
  28364. + SED="$ac_cv_path_SED"
  28365. + rm -f conftest.sed
  28366. +
  28367. +test -z "$SED" && SED=sed
  28368. +Xsed="$SED -e 1s/^X//"
  28369. +
  28370. +
  28371. +
  28372. +
  28373. +
  28374. +
  28375. +
  28376. +
  28377. +
  28378. +
  28379. +
  28380. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  28381. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  28382. +if ${ac_cv_path_GREP+:} false; then :
  28383. + $as_echo_n "(cached) " >&6
  28384. +else
  28385. + if test -z "$GREP"; then
  28386. + ac_path_GREP_found=false
  28387. + # Loop through the user's path and test for each of PROGNAME-LIST
  28388. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28389. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  28390. +do
  28391. + IFS=$as_save_IFS
  28392. + test -z "$as_dir" && as_dir=.
  28393. + for ac_prog in grep ggrep; do
  28394. + for ac_exec_ext in '' $ac_executable_extensions; do
  28395. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  28396. + as_fn_executable_p "$ac_path_GREP" || continue
  28397. +# Check for GNU ac_path_GREP and select it if it is found.
  28398. + # Check for GNU $ac_path_GREP
  28399. +case `"$ac_path_GREP" --version 2>&1` in
  28400. +*GNU*)
  28401. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  28402. +*)
  28403. + ac_count=0
  28404. + $as_echo_n 0123456789 >"conftest.in"
  28405. + while :
  28406. + do
  28407. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28408. + mv "conftest.tmp" "conftest.in"
  28409. + cp "conftest.in" "conftest.nl"
  28410. + $as_echo 'GREP' >> "conftest.nl"
  28411. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28412. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28413. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28414. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  28415. + # Best one so far, save it but keep looking for a better one
  28416. + ac_cv_path_GREP="$ac_path_GREP"
  28417. + ac_path_GREP_max=$ac_count
  28418. + fi
  28419. + # 10*(2^10) chars as input seems more than enough
  28420. + test $ac_count -gt 10 && break
  28421. + done
  28422. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28423. +esac
  28424. +
  28425. + $ac_path_GREP_found && break 3
  28426. + done
  28427. + done
  28428. + done
  28429. +IFS=$as_save_IFS
  28430. + if test -z "$ac_cv_path_GREP"; then
  28431. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  28432. + fi
  28433. +else
  28434. + ac_cv_path_GREP=$GREP
  28435. +fi
  28436. +
  28437. +fi
  28438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  28439. +$as_echo "$ac_cv_path_GREP" >&6; }
  28440. + GREP="$ac_cv_path_GREP"
  28441. +
  28442. +
  28443. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  28444. +$as_echo_n "checking for egrep... " >&6; }
  28445. +if ${ac_cv_path_EGREP+:} false; then :
  28446. + $as_echo_n "(cached) " >&6
  28447. +else
  28448. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  28449. + then ac_cv_path_EGREP="$GREP -E"
  28450. + else
  28451. + if test -z "$EGREP"; then
  28452. + ac_path_EGREP_found=false
  28453. + # Loop through the user's path and test for each of PROGNAME-LIST
  28454. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28455. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  28456. +do
  28457. + IFS=$as_save_IFS
  28458. + test -z "$as_dir" && as_dir=.
  28459. + for ac_prog in egrep; do
  28460. + for ac_exec_ext in '' $ac_executable_extensions; do
  28461. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  28462. + as_fn_executable_p "$ac_path_EGREP" || continue
  28463. +# Check for GNU ac_path_EGREP and select it if it is found.
  28464. + # Check for GNU $ac_path_EGREP
  28465. +case `"$ac_path_EGREP" --version 2>&1` in
  28466. +*GNU*)
  28467. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  28468. +*)
  28469. + ac_count=0
  28470. + $as_echo_n 0123456789 >"conftest.in"
  28471. + while :
  28472. + do
  28473. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28474. + mv "conftest.tmp" "conftest.in"
  28475. + cp "conftest.in" "conftest.nl"
  28476. + $as_echo 'EGREP' >> "conftest.nl"
  28477. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28478. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28479. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28480. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  28481. + # Best one so far, save it but keep looking for a better one
  28482. + ac_cv_path_EGREP="$ac_path_EGREP"
  28483. + ac_path_EGREP_max=$ac_count
  28484. + fi
  28485. + # 10*(2^10) chars as input seems more than enough
  28486. + test $ac_count -gt 10 && break
  28487. + done
  28488. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28489. +esac
  28490. +
  28491. + $ac_path_EGREP_found && break 3
  28492. + done
  28493. + done
  28494. + done
  28495. +IFS=$as_save_IFS
  28496. + if test -z "$ac_cv_path_EGREP"; then
  28497. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  28498. + fi
  28499. +else
  28500. + ac_cv_path_EGREP=$EGREP
  28501. +fi
  28502. +
  28503. + fi
  28504. +fi
  28505. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  28506. +$as_echo "$ac_cv_path_EGREP" >&6; }
  28507. + EGREP="$ac_cv_path_EGREP"
  28508. +
  28509. +
  28510. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  28511. +$as_echo_n "checking for fgrep... " >&6; }
  28512. +if ${ac_cv_path_FGREP+:} false; then :
  28513. + $as_echo_n "(cached) " >&6
  28514. +else
  28515. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  28516. + then ac_cv_path_FGREP="$GREP -F"
  28517. + else
  28518. + if test -z "$FGREP"; then
  28519. + ac_path_FGREP_found=false
  28520. + # Loop through the user's path and test for each of PROGNAME-LIST
  28521. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28522. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  28523. +do
  28524. + IFS=$as_save_IFS
  28525. + test -z "$as_dir" && as_dir=.
  28526. + for ac_prog in fgrep; do
  28527. + for ac_exec_ext in '' $ac_executable_extensions; do
  28528. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  28529. + as_fn_executable_p "$ac_path_FGREP" || continue
  28530. +# Check for GNU ac_path_FGREP and select it if it is found.
  28531. + # Check for GNU $ac_path_FGREP
  28532. +case `"$ac_path_FGREP" --version 2>&1` in
  28533. +*GNU*)
  28534. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  28535. +*)
  28536. + ac_count=0
  28537. + $as_echo_n 0123456789 >"conftest.in"
  28538. + while :
  28539. + do
  28540. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  28541. + mv "conftest.tmp" "conftest.in"
  28542. + cp "conftest.in" "conftest.nl"
  28543. + $as_echo 'FGREP' >> "conftest.nl"
  28544. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  28545. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  28546. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  28547. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  28548. + # Best one so far, save it but keep looking for a better one
  28549. + ac_cv_path_FGREP="$ac_path_FGREP"
  28550. + ac_path_FGREP_max=$ac_count
  28551. + fi
  28552. + # 10*(2^10) chars as input seems more than enough
  28553. + test $ac_count -gt 10 && break
  28554. + done
  28555. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  28556. +esac
  28557. +
  28558. + $ac_path_FGREP_found && break 3
  28559. + done
  28560. + done
  28561. + done
  28562. +IFS=$as_save_IFS
  28563. + if test -z "$ac_cv_path_FGREP"; then
  28564. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  28565. + fi
  28566. +else
  28567. + ac_cv_path_FGREP=$FGREP
  28568. +fi
  28569. +
  28570. + fi
  28571. +fi
  28572. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  28573. +$as_echo "$ac_cv_path_FGREP" >&6; }
  28574. + FGREP="$ac_cv_path_FGREP"
  28575. +
  28576. +
  28577. +test -z "$GREP" && GREP=grep
  28578. +
  28579. +
  28580. +
  28581. +
  28582. +
  28583. +
  28584. +
  28585. +
  28586. +
  28587. +
  28588. +
  28589. +
  28590. +
  28591. +
  28592. +
  28593. +
  28594. +
  28595. +
  28596. +
  28597. +@%:@ Check whether --with-gnu-ld was given.
  28598. +if test "${with_gnu_ld+set}" = set; then :
  28599. + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  28600. +else
  28601. + with_gnu_ld=no
  28602. +fi
  28603. +
  28604. +ac_prog=ld
  28605. +if test yes = "$GCC"; then
  28606. + # Check if gcc -print-prog-name=ld gives a path.
  28607. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  28608. +$as_echo_n "checking for ld used by $CC... " >&6; }
  28609. + case $host in
  28610. + *-*-mingw*)
  28611. + # gcc leaves a trailing carriage return, which upsets mingw
  28612. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  28613. + *)
  28614. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  28615. + esac
  28616. + case $ac_prog in
  28617. + # Accept absolute paths.
  28618. + [\\/]* | ?:[\\/]*)
  28619. + re_direlt='/[^/][^/]*/\.\./'
  28620. + # Canonicalize the pathname of ld
  28621. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  28622. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  28623. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  28624. + done
  28625. + test -z "$LD" && LD=$ac_prog
  28626. + ;;
  28627. + "")
  28628. + # If it fails, then pretend we aren't using GCC.
  28629. + ac_prog=ld
  28630. + ;;
  28631. + *)
  28632. + # If it is relative, then search for the first ld in PATH.
  28633. + with_gnu_ld=unknown
  28634. + ;;
  28635. + esac
  28636. +elif test yes = "$with_gnu_ld"; then
  28637. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  28638. +$as_echo_n "checking for GNU ld... " >&6; }
  28639. +else
  28640. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  28641. +$as_echo_n "checking for non-GNU ld... " >&6; }
  28642. +fi
  28643. +if ${lt_cv_path_LD+:} false; then :
  28644. + $as_echo_n "(cached) " >&6
  28645. +else
  28646. + if test -z "$LD"; then
  28647. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  28648. + for ac_dir in $PATH; do
  28649. + IFS=$lt_save_ifs
  28650. + test -z "$ac_dir" && ac_dir=.
  28651. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  28652. + lt_cv_path_LD=$ac_dir/$ac_prog
  28653. + # Check to see if the program is GNU ld. I'd rather use --version,
  28654. + # but apparently some variants of GNU ld only accept -v.
  28655. + # Break only if it was the GNU/non-GNU ld that we prefer.
  28656. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  28657. + *GNU* | *'with BFD'*)
  28658. + test no != "$with_gnu_ld" && break
  28659. + ;;
  28660. + *)
  28661. + test yes != "$with_gnu_ld" && break
  28662. + ;;
  28663. + esac
  28664. + fi
  28665. + done
  28666. + IFS=$lt_save_ifs
  28667. +else
  28668. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  28669. +fi
  28670. +fi
  28671. +
  28672. +LD=$lt_cv_path_LD
  28673. +if test -n "$LD"; then
  28674. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  28675. +$as_echo "$LD" >&6; }
  28676. +else
  28677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28678. +$as_echo "no" >&6; }
  28679. +fi
  28680. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  28681. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  28682. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  28683. +if ${lt_cv_prog_gnu_ld+:} false; then :
  28684. + $as_echo_n "(cached) " >&6
  28685. +else
  28686. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  28687. +case `$LD -v 2>&1 </dev/null` in
  28688. +*GNU* | *'with BFD'*)
  28689. + lt_cv_prog_gnu_ld=yes
  28690. + ;;
  28691. +*)
  28692. + lt_cv_prog_gnu_ld=no
  28693. + ;;
  28694. +esac
  28695. +fi
  28696. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  28697. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  28698. +with_gnu_ld=$lt_cv_prog_gnu_ld
  28699. +
  28700. +
  28701. +
  28702. +
  28703. +
  28704. +
  28705. +
  28706. +
  28707. +
  28708. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  28709. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  28710. +if ${lt_cv_path_NM+:} false; then :
  28711. + $as_echo_n "(cached) " >&6
  28712. +else
  28713. + if test -n "$NM"; then
  28714. + # Let the user override the test.
  28715. + lt_cv_path_NM=$NM
  28716. +else
  28717. + lt_nm_to_check=${ac_tool_prefix}nm
  28718. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  28719. + lt_nm_to_check="$lt_nm_to_check nm"
  28720. + fi
  28721. + for lt_tmp_nm in $lt_nm_to_check; do
  28722. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  28723. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  28724. + IFS=$lt_save_ifs
  28725. + test -z "$ac_dir" && ac_dir=.
  28726. + tmp_nm=$ac_dir/$lt_tmp_nm
  28727. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  28728. + # Check to see if the nm accepts a BSD-compat flag.
  28729. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  28730. + # nm: unknown option "B" ignored
  28731. + # Tru64's nm complains that /dev/null is an invalid object file
  28732. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  28733. + case $build_os in
  28734. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  28735. + *) lt_bad_file=/dev/null ;;
  28736. + esac
  28737. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  28738. + *$lt_bad_file* | *'Invalid file or object type'*)
  28739. + lt_cv_path_NM="$tmp_nm -B"
  28740. + break 2
  28741. + ;;
  28742. + *)
  28743. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  28744. + */dev/null*)
  28745. + lt_cv_path_NM="$tmp_nm -p"
  28746. + break 2
  28747. + ;;
  28748. + *)
  28749. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  28750. + continue # so that we can try to find one that supports BSD flags
  28751. + ;;
  28752. + esac
  28753. + ;;
  28754. + esac
  28755. + fi
  28756. + done
  28757. + IFS=$lt_save_ifs
  28758. + done
  28759. + : ${lt_cv_path_NM=no}
  28760. +fi
  28761. +fi
  28762. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  28763. +$as_echo "$lt_cv_path_NM" >&6; }
  28764. +if test no != "$lt_cv_path_NM"; then
  28765. + NM=$lt_cv_path_NM
  28766. +else
  28767. + # Didn't find any BSD compatible name lister, look for dumpbin.
  28768. + if test -n "$DUMPBIN"; then :
  28769. + # Let the user override the test.
  28770. + else
  28771. + if test -n "$ac_tool_prefix"; then
  28772. + for ac_prog in dumpbin "link -dump"
  28773. + do
  28774. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  28775. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  28776. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  28777. +$as_echo_n "checking for $ac_word... " >&6; }
  28778. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  28779. + $as_echo_n "(cached) " >&6
  28780. +else
  28781. + if test -n "$DUMPBIN"; then
  28782. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  28783. +else
  28784. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28785. +for as_dir in $PATH
  28786. +do
  28787. + IFS=$as_save_IFS
  28788. + test -z "$as_dir" && as_dir=.
  28789. + for ac_exec_ext in '' $ac_executable_extensions; do
  28790. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  28791. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  28792. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  28793. + break 2
  28794. + fi
  28795. +done
  28796. + done
  28797. +IFS=$as_save_IFS
  28798. +
  28799. +fi
  28800. +fi
  28801. +DUMPBIN=$ac_cv_prog_DUMPBIN
  28802. +if test -n "$DUMPBIN"; then
  28803. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  28804. +$as_echo "$DUMPBIN" >&6; }
  28805. +else
  28806. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28807. +$as_echo "no" >&6; }
  28808. +fi
  28809. +
  28810. +
  28811. + test -n "$DUMPBIN" && break
  28812. + done
  28813. +fi
  28814. +if test -z "$DUMPBIN"; then
  28815. + ac_ct_DUMPBIN=$DUMPBIN
  28816. + for ac_prog in dumpbin "link -dump"
  28817. +do
  28818. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  28819. +set dummy $ac_prog; ac_word=$2
  28820. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  28821. +$as_echo_n "checking for $ac_word... " >&6; }
  28822. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  28823. + $as_echo_n "(cached) " >&6
  28824. +else
  28825. + if test -n "$ac_ct_DUMPBIN"; then
  28826. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  28827. +else
  28828. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28829. +for as_dir in $PATH
  28830. +do
  28831. + IFS=$as_save_IFS
  28832. + test -z "$as_dir" && as_dir=.
  28833. + for ac_exec_ext in '' $ac_executable_extensions; do
  28834. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  28835. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  28836. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  28837. + break 2
  28838. + fi
  28839. +done
  28840. + done
  28841. +IFS=$as_save_IFS
  28842. +
  28843. +fi
  28844. +fi
  28845. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  28846. +if test -n "$ac_ct_DUMPBIN"; then
  28847. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  28848. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  28849. +else
  28850. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28851. +$as_echo "no" >&6; }
  28852. +fi
  28853. +
  28854. +
  28855. + test -n "$ac_ct_DUMPBIN" && break
  28856. +done
  28857. +
  28858. + if test "x$ac_ct_DUMPBIN" = x; then
  28859. + DUMPBIN=":"
  28860. + else
  28861. + case $cross_compiling:$ac_tool_warned in
  28862. +yes:)
  28863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  28864. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  28865. +ac_tool_warned=yes ;;
  28866. +esac
  28867. + DUMPBIN=$ac_ct_DUMPBIN
  28868. + fi
  28869. +fi
  28870. +
  28871. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  28872. + *COFF*)
  28873. + DUMPBIN="$DUMPBIN -symbols -headers"
  28874. + ;;
  28875. + *)
  28876. + DUMPBIN=:
  28877. + ;;
  28878. + esac
  28879. + fi
  28880. +
  28881. + if test : != "$DUMPBIN"; then
  28882. + NM=$DUMPBIN
  28883. + fi
  28884. +fi
  28885. +test -z "$NM" && NM=nm
  28886. +
  28887. +
  28888. +
  28889. +
  28890. +
  28891. +
  28892. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  28893. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  28894. +if ${lt_cv_nm_interface+:} false; then :
  28895. + $as_echo_n "(cached) " >&6
  28896. +else
  28897. + lt_cv_nm_interface="BSD nm"
  28898. + echo "int some_variable = 0;" > conftest.$ac_ext
  28899. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  28900. + (eval "$ac_compile" 2>conftest.err)
  28901. + cat conftest.err >&5
  28902. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  28903. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  28904. + cat conftest.err >&5
  28905. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  28906. + cat conftest.out >&5
  28907. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  28908. + lt_cv_nm_interface="MS dumpbin"
  28909. + fi
  28910. + rm -f conftest*
  28911. +fi
  28912. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  28913. +$as_echo "$lt_cv_nm_interface" >&6; }
  28914. +
  28915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  28916. +$as_echo_n "checking whether ln -s works... " >&6; }
  28917. +LN_S=$as_ln_s
  28918. +if test "$LN_S" = "ln -s"; then
  28919. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28920. +$as_echo "yes" >&6; }
  28921. +else
  28922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  28923. +$as_echo "no, using $LN_S" >&6; }
  28924. +fi
  28925. +
  28926. +# find the maximum length of command line arguments
  28927. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  28928. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  28929. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  28930. + $as_echo_n "(cached) " >&6
  28931. +else
  28932. + i=0
  28933. + teststring=ABCD
  28934. +
  28935. + case $build_os in
  28936. + msdosdjgpp*)
  28937. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  28938. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  28939. + # during glob expansion). Even if it were fixed, the result of this
  28940. + # check would be larger than it should be.
  28941. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  28942. + ;;
  28943. +
  28944. + gnu*)
  28945. + # Under GNU Hurd, this test is not required because there is
  28946. + # no limit to the length of command line arguments.
  28947. + # Libtool will interpret -1 as no limit whatsoever
  28948. + lt_cv_sys_max_cmd_len=-1;
  28949. + ;;
  28950. +
  28951. + cygwin* | mingw* | cegcc*)
  28952. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  28953. + # about 5 minutes as the teststring grows exponentially.
  28954. + # Worse, since 9x/ME are not pre-emptively multitasking,
  28955. + # you end up with a "frozen" computer, even though with patience
  28956. + # the test eventually succeeds (with a max line length of 256k).
  28957. + # Instead, let's just punt: use the minimum linelength reported by
  28958. + # all of the supported platforms: 8192 (on NT/2K/XP).
  28959. + lt_cv_sys_max_cmd_len=8192;
  28960. + ;;
  28961. +
  28962. + mint*)
  28963. + # On MiNT this can take a long time and run out of memory.
  28964. + lt_cv_sys_max_cmd_len=8192;
  28965. + ;;
  28966. +
  28967. + amigaos*)
  28968. + # On AmigaOS with pdksh, this test takes hours, literally.
  28969. + # So we just punt and use a minimum line length of 8192.
  28970. + lt_cv_sys_max_cmd_len=8192;
  28971. + ;;
  28972. +
  28973. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  28974. + # This has been around since 386BSD, at least. Likely further.
  28975. + if test -x /sbin/sysctl; then
  28976. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  28977. + elif test -x /usr/sbin/sysctl; then
  28978. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  28979. + else
  28980. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  28981. + fi
  28982. + # And add a safety zone
  28983. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  28984. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  28985. + ;;
  28986. +
  28987. + interix*)
  28988. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  28989. + lt_cv_sys_max_cmd_len=196608
  28990. + ;;
  28991. +
  28992. + os2*)
  28993. + # The test takes a long time on OS/2.
  28994. + lt_cv_sys_max_cmd_len=8192
  28995. + ;;
  28996. +
  28997. + osf*)
  28998. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  28999. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  29000. + # nice to cause kernel panics so lets avoid the loop below.
  29001. + # First set a reasonable default.
  29002. + lt_cv_sys_max_cmd_len=16384
  29003. + #
  29004. + if test -x /sbin/sysconfig; then
  29005. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  29006. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  29007. + esac
  29008. + fi
  29009. + ;;
  29010. + sco3.2v5*)
  29011. + lt_cv_sys_max_cmd_len=102400
  29012. + ;;
  29013. + sysv5* | sco5v6* | sysv4.2uw2*)
  29014. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  29015. + if test -n "$kargmax"; then
  29016. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  29017. + else
  29018. + lt_cv_sys_max_cmd_len=32768
  29019. + fi
  29020. + ;;
  29021. + *)
  29022. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  29023. + if test -n "$lt_cv_sys_max_cmd_len" && \
  29024. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  29025. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  29026. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  29027. + else
  29028. + # Make teststring a little bigger before we do anything with it.
  29029. + # a 1K string should be a reasonable start.
  29030. + for i in 1 2 3 4 5 6 7 8; do
  29031. + teststring=$teststring$teststring
  29032. + done
  29033. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  29034. + # If test is not a shell built-in, we'll probably end up computing a
  29035. + # maximum length that is only half of the actual maximum length, but
  29036. + # we can't tell.
  29037. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  29038. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  29039. + test 17 != "$i" # 1/2 MB should be enough
  29040. + do
  29041. + i=`expr $i + 1`
  29042. + teststring=$teststring$teststring
  29043. + done
  29044. + # Only check the string length outside the loop.
  29045. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  29046. + teststring=
  29047. + # Add a significant safety factor because C++ compilers can tack on
  29048. + # massive amounts of additional arguments before passing them to the
  29049. + # linker. It appears as though 1/2 is a usable value.
  29050. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  29051. + fi
  29052. + ;;
  29053. + esac
  29054. +
  29055. +fi
  29056. +
  29057. +if test -n "$lt_cv_sys_max_cmd_len"; then
  29058. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  29059. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  29060. +else
  29061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  29062. +$as_echo "none" >&6; }
  29063. +fi
  29064. +max_cmd_len=$lt_cv_sys_max_cmd_len
  29065. +
  29066. +
  29067. +
  29068. +
  29069. +
  29070. +
  29071. +: ${CP="cp -f"}
  29072. +: ${MV="mv -f"}
  29073. +: ${RM="rm -f"}
  29074. +
  29075. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  29076. + lt_unset=unset
  29077. +else
  29078. + lt_unset=false
  29079. +fi
  29080. +
  29081. +
  29082. +
  29083. +
  29084. +
  29085. +# test EBCDIC or ASCII
  29086. +case `echo X|tr X '\101'` in
  29087. + A) # ASCII based system
  29088. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  29089. + lt_SP2NL='tr \040 \012'
  29090. + lt_NL2SP='tr \015\012 \040\040'
  29091. + ;;
  29092. + *) # EBCDIC based system
  29093. + lt_SP2NL='tr \100 \n'
  29094. + lt_NL2SP='tr \r\n \100\100'
  29095. + ;;
  29096. +esac
  29097. +
  29098. +
  29099. +
  29100. +
  29101. +
  29102. +
  29103. +
  29104. +
  29105. +
  29106. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  29107. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  29108. +if ${lt_cv_to_host_file_cmd+:} false; then :
  29109. + $as_echo_n "(cached) " >&6
  29110. +else
  29111. + case $host in
  29112. + *-*-mingw* )
  29113. + case $build in
  29114. + *-*-mingw* ) # actually msys
  29115. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  29116. + ;;
  29117. + *-*-cygwin* )
  29118. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  29119. + ;;
  29120. + * ) # otherwise, assume *nix
  29121. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  29122. + ;;
  29123. + esac
  29124. + ;;
  29125. + *-*-cygwin* )
  29126. + case $build in
  29127. + *-*-mingw* ) # actually msys
  29128. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  29129. + ;;
  29130. + *-*-cygwin* )
  29131. + lt_cv_to_host_file_cmd=func_convert_file_noop
  29132. + ;;
  29133. + * ) # otherwise, assume *nix
  29134. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  29135. + ;;
  29136. + esac
  29137. + ;;
  29138. + * ) # unhandled hosts (and "normal" native builds)
  29139. + lt_cv_to_host_file_cmd=func_convert_file_noop
  29140. + ;;
  29141. +esac
  29142. +
  29143. +fi
  29144. +
  29145. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  29146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  29147. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  29148. +
  29149. +
  29150. +
  29151. +
  29152. +
  29153. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  29154. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  29155. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  29156. + $as_echo_n "(cached) " >&6
  29157. +else
  29158. + #assume ordinary cross tools, or native build.
  29159. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  29160. +case $host in
  29161. + *-*-mingw* )
  29162. + case $build in
  29163. + *-*-mingw* ) # actually msys
  29164. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  29165. + ;;
  29166. + esac
  29167. + ;;
  29168. +esac
  29169. +
  29170. +fi
  29171. +
  29172. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  29173. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  29174. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  29175. +
  29176. +
  29177. +
  29178. +
  29179. +
  29180. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  29181. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  29182. +if ${lt_cv_ld_reload_flag+:} false; then :
  29183. + $as_echo_n "(cached) " >&6
  29184. +else
  29185. + lt_cv_ld_reload_flag='-r'
  29186. +fi
  29187. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  29188. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  29189. +reload_flag=$lt_cv_ld_reload_flag
  29190. +case $reload_flag in
  29191. +"" | " "*) ;;
  29192. +*) reload_flag=" $reload_flag" ;;
  29193. +esac
  29194. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  29195. +case $host_os in
  29196. + cygwin* | mingw* | pw32* | cegcc*)
  29197. + if test yes != "$GCC"; then
  29198. + reload_cmds=false
  29199. + fi
  29200. + ;;
  29201. + darwin*)
  29202. + if test yes = "$GCC"; then
  29203. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  29204. + else
  29205. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  29206. + fi
  29207. + ;;
  29208. +esac
  29209. +
  29210. +
  29211. +
  29212. +
  29213. +
  29214. +
  29215. +
  29216. +
  29217. +
  29218. +if test -n "$ac_tool_prefix"; then
  29219. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  29220. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  29221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29222. +$as_echo_n "checking for $ac_word... " >&6; }
  29223. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  29224. + $as_echo_n "(cached) " >&6
  29225. +else
  29226. + if test -n "$OBJDUMP"; then
  29227. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  29228. +else
  29229. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29230. +for as_dir in $PATH
  29231. +do
  29232. + IFS=$as_save_IFS
  29233. + test -z "$as_dir" && as_dir=.
  29234. + for ac_exec_ext in '' $ac_executable_extensions; do
  29235. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29236. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  29237. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29238. + break 2
  29239. + fi
  29240. +done
  29241. + done
  29242. +IFS=$as_save_IFS
  29243. +
  29244. +fi
  29245. +fi
  29246. +OBJDUMP=$ac_cv_prog_OBJDUMP
  29247. +if test -n "$OBJDUMP"; then
  29248. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  29249. +$as_echo "$OBJDUMP" >&6; }
  29250. +else
  29251. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29252. +$as_echo "no" >&6; }
  29253. +fi
  29254. +
  29255. +
  29256. +fi
  29257. +if test -z "$ac_cv_prog_OBJDUMP"; then
  29258. + ac_ct_OBJDUMP=$OBJDUMP
  29259. + # Extract the first word of "objdump", so it can be a program name with args.
  29260. +set dummy objdump; ac_word=$2
  29261. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29262. +$as_echo_n "checking for $ac_word... " >&6; }
  29263. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  29264. + $as_echo_n "(cached) " >&6
  29265. +else
  29266. + if test -n "$ac_ct_OBJDUMP"; then
  29267. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  29268. +else
  29269. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29270. +for as_dir in $PATH
  29271. +do
  29272. + IFS=$as_save_IFS
  29273. + test -z "$as_dir" && as_dir=.
  29274. + for ac_exec_ext in '' $ac_executable_extensions; do
  29275. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29276. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  29277. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29278. + break 2
  29279. + fi
  29280. +done
  29281. + done
  29282. +IFS=$as_save_IFS
  29283. +
  29284. +fi
  29285. +fi
  29286. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  29287. +if test -n "$ac_ct_OBJDUMP"; then
  29288. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  29289. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  29290. +else
  29291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29292. +$as_echo "no" >&6; }
  29293. +fi
  29294. +
  29295. + if test "x$ac_ct_OBJDUMP" = x; then
  29296. + OBJDUMP="false"
  29297. + else
  29298. + case $cross_compiling:$ac_tool_warned in
  29299. +yes:)
  29300. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29301. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29302. +ac_tool_warned=yes ;;
  29303. +esac
  29304. + OBJDUMP=$ac_ct_OBJDUMP
  29305. + fi
  29306. +else
  29307. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  29308. +fi
  29309. +
  29310. +test -z "$OBJDUMP" && OBJDUMP=objdump
  29311. +
  29312. +
  29313. +
  29314. +
  29315. +
  29316. +
  29317. +
  29318. +
  29319. +
  29320. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  29321. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  29322. +if ${lt_cv_deplibs_check_method+:} false; then :
  29323. + $as_echo_n "(cached) " >&6
  29324. +else
  29325. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  29326. +lt_cv_file_magic_test_file=
  29327. +lt_cv_deplibs_check_method='unknown'
  29328. +# Need to set the preceding variable on all platforms that support
  29329. +# interlibrary dependencies.
  29330. +# 'none' -- dependencies not supported.
  29331. +# 'unknown' -- same as none, but documents that we really don't know.
  29332. +# 'pass_all' -- all dependencies passed with no checks.
  29333. +# 'test_compile' -- check by making test program.
  29334. +# 'file_magic [[regex]]' -- check by looking for files in library path
  29335. +# that responds to the $file_magic_cmd with a given extended regex.
  29336. +# If you have 'file' or equivalent on your system and you're not sure
  29337. +# whether 'pass_all' will *always* work, you probably want this one.
  29338. +
  29339. +case $host_os in
  29340. +aix[4-9]*)
  29341. + lt_cv_deplibs_check_method=pass_all
  29342. + ;;
  29343. +
  29344. +beos*)
  29345. + lt_cv_deplibs_check_method=pass_all
  29346. + ;;
  29347. +
  29348. +bsdi[45]*)
  29349. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  29350. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  29351. + lt_cv_file_magic_test_file=/shlib/libc.so
  29352. + ;;
  29353. +
  29354. +cygwin*)
  29355. + # func_win32_libid is a shell function defined in ltmain.sh
  29356. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  29357. + lt_cv_file_magic_cmd='func_win32_libid'
  29358. + ;;
  29359. +
  29360. +mingw* | pw32*)
  29361. + # Base MSYS/MinGW do not provide the 'file' command needed by
  29362. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  29363. + # unless we find 'file', for example because we are cross-compiling.
  29364. + if ( file / ) >/dev/null 2>&1; then
  29365. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  29366. + lt_cv_file_magic_cmd='func_win32_libid'
  29367. + else
  29368. + # Keep this pattern in sync with the one in func_win32_libid.
  29369. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  29370. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  29371. + fi
  29372. + ;;
  29373. +
  29374. +cegcc*)
  29375. + # use the weaker test based on 'objdump'. See mingw*.
  29376. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  29377. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  29378. + ;;
  29379. +
  29380. +darwin* | rhapsody*)
  29381. + lt_cv_deplibs_check_method=pass_all
  29382. + ;;
  29383. +
  29384. +freebsd* | dragonfly*)
  29385. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  29386. + case $host_cpu in
  29387. + i*86 )
  29388. + # Not sure whether the presence of OpenBSD here was a mistake.
  29389. + # Let's accept both of them until this is cleared up.
  29390. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  29391. + lt_cv_file_magic_cmd=/usr/bin/file
  29392. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  29393. + ;;
  29394. + esac
  29395. + else
  29396. + lt_cv_deplibs_check_method=pass_all
  29397. + fi
  29398. + ;;
  29399. +
  29400. +haiku*)
  29401. + lt_cv_deplibs_check_method=pass_all
  29402. + ;;
  29403. +
  29404. +hpux10.20* | hpux11*)
  29405. + lt_cv_file_magic_cmd=/usr/bin/file
  29406. + case $host_cpu in
  29407. + ia64*)
  29408. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  29409. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  29410. + ;;
  29411. + hppa*64*)
  29412. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  29413. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  29414. + ;;
  29415. + *)
  29416. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  29417. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  29418. + ;;
  29419. + esac
  29420. + ;;
  29421. +
  29422. +interix[3-9]*)
  29423. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  29424. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  29425. + ;;
  29426. +
  29427. +irix5* | irix6* | nonstopux*)
  29428. + case $LD in
  29429. + *-32|*"-32 ") libmagic=32-bit;;
  29430. + *-n32|*"-n32 ") libmagic=N32;;
  29431. + *-64|*"-64 ") libmagic=64-bit;;
  29432. + *) libmagic=never-match;;
  29433. + esac
  29434. + lt_cv_deplibs_check_method=pass_all
  29435. + ;;
  29436. +
  29437. +# This must be glibc/ELF.
  29438. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  29439. + lt_cv_deplibs_check_method=pass_all
  29440. + ;;
  29441. +
  29442. +netbsd*)
  29443. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  29444. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  29445. + else
  29446. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  29447. + fi
  29448. + ;;
  29449. +
  29450. +newos6*)
  29451. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  29452. + lt_cv_file_magic_cmd=/usr/bin/file
  29453. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  29454. + ;;
  29455. +
  29456. +*nto* | *qnx*)
  29457. + lt_cv_deplibs_check_method=pass_all
  29458. + ;;
  29459. +
  29460. +openbsd* | bitrig*)
  29461. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  29462. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  29463. + else
  29464. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  29465. + fi
  29466. + ;;
  29467. +
  29468. +osf3* | osf4* | osf5*)
  29469. + lt_cv_deplibs_check_method=pass_all
  29470. + ;;
  29471. +
  29472. +rdos*)
  29473. + lt_cv_deplibs_check_method=pass_all
  29474. + ;;
  29475. +
  29476. +solaris*)
  29477. + lt_cv_deplibs_check_method=pass_all
  29478. + ;;
  29479. +
  29480. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  29481. + lt_cv_deplibs_check_method=pass_all
  29482. + ;;
  29483. +
  29484. +sysv4 | sysv4.3*)
  29485. + case $host_vendor in
  29486. + motorola)
  29487. + 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]'
  29488. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  29489. + ;;
  29490. + ncr)
  29491. + lt_cv_deplibs_check_method=pass_all
  29492. + ;;
  29493. + sequent)
  29494. + lt_cv_file_magic_cmd='/bin/file'
  29495. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  29496. + ;;
  29497. + sni)
  29498. + lt_cv_file_magic_cmd='/bin/file'
  29499. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  29500. + lt_cv_file_magic_test_file=/lib/libc.so
  29501. + ;;
  29502. + siemens)
  29503. + lt_cv_deplibs_check_method=pass_all
  29504. + ;;
  29505. + pc)
  29506. + lt_cv_deplibs_check_method=pass_all
  29507. + ;;
  29508. + esac
  29509. + ;;
  29510. +
  29511. +tpf*)
  29512. + lt_cv_deplibs_check_method=pass_all
  29513. + ;;
  29514. +os2*)
  29515. + lt_cv_deplibs_check_method=pass_all
  29516. + ;;
  29517. +esac
  29518. +
  29519. +fi
  29520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  29521. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  29522. +
  29523. +file_magic_glob=
  29524. +want_nocaseglob=no
  29525. +if test "$build" = "$host"; then
  29526. + case $host_os in
  29527. + mingw* | pw32*)
  29528. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  29529. + want_nocaseglob=yes
  29530. + else
  29531. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  29532. + fi
  29533. + ;;
  29534. + esac
  29535. +fi
  29536. +
  29537. +file_magic_cmd=$lt_cv_file_magic_cmd
  29538. +deplibs_check_method=$lt_cv_deplibs_check_method
  29539. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  29540. +
  29541. +
  29542. +
  29543. +
  29544. +
  29545. +
  29546. +
  29547. +
  29548. +
  29549. +
  29550. +
  29551. +
  29552. +
  29553. +
  29554. +
  29555. +
  29556. +
  29557. +
  29558. +
  29559. +
  29560. +
  29561. +
  29562. +if test -n "$ac_tool_prefix"; then
  29563. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  29564. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  29565. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29566. +$as_echo_n "checking for $ac_word... " >&6; }
  29567. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  29568. + $as_echo_n "(cached) " >&6
  29569. +else
  29570. + if test -n "$DLLTOOL"; then
  29571. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  29572. +else
  29573. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29574. +for as_dir in $PATH
  29575. +do
  29576. + IFS=$as_save_IFS
  29577. + test -z "$as_dir" && as_dir=.
  29578. + for ac_exec_ext in '' $ac_executable_extensions; do
  29579. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29580. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  29581. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29582. + break 2
  29583. + fi
  29584. +done
  29585. + done
  29586. +IFS=$as_save_IFS
  29587. +
  29588. +fi
  29589. +fi
  29590. +DLLTOOL=$ac_cv_prog_DLLTOOL
  29591. +if test -n "$DLLTOOL"; then
  29592. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  29593. +$as_echo "$DLLTOOL" >&6; }
  29594. +else
  29595. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29596. +$as_echo "no" >&6; }
  29597. +fi
  29598. +
  29599. +
  29600. +fi
  29601. +if test -z "$ac_cv_prog_DLLTOOL"; then
  29602. + ac_ct_DLLTOOL=$DLLTOOL
  29603. + # Extract the first word of "dlltool", so it can be a program name with args.
  29604. +set dummy dlltool; ac_word=$2
  29605. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29606. +$as_echo_n "checking for $ac_word... " >&6; }
  29607. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  29608. + $as_echo_n "(cached) " >&6
  29609. +else
  29610. + if test -n "$ac_ct_DLLTOOL"; then
  29611. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  29612. +else
  29613. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29614. +for as_dir in $PATH
  29615. +do
  29616. + IFS=$as_save_IFS
  29617. + test -z "$as_dir" && as_dir=.
  29618. + for ac_exec_ext in '' $ac_executable_extensions; do
  29619. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29620. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  29621. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29622. + break 2
  29623. + fi
  29624. +done
  29625. + done
  29626. +IFS=$as_save_IFS
  29627. +
  29628. +fi
  29629. +fi
  29630. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  29631. +if test -n "$ac_ct_DLLTOOL"; then
  29632. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  29633. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  29634. +else
  29635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29636. +$as_echo "no" >&6; }
  29637. +fi
  29638. +
  29639. + if test "x$ac_ct_DLLTOOL" = x; then
  29640. + DLLTOOL="false"
  29641. + else
  29642. + case $cross_compiling:$ac_tool_warned in
  29643. +yes:)
  29644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29645. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29646. +ac_tool_warned=yes ;;
  29647. +esac
  29648. + DLLTOOL=$ac_ct_DLLTOOL
  29649. + fi
  29650. +else
  29651. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  29652. +fi
  29653. +
  29654. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  29655. +
  29656. +
  29657. +
  29658. +
  29659. +
  29660. +
  29661. +
  29662. +
  29663. +
  29664. +
  29665. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  29666. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  29667. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  29668. + $as_echo_n "(cached) " >&6
  29669. +else
  29670. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  29671. +
  29672. +case $host_os in
  29673. +cygwin* | mingw* | pw32* | cegcc*)
  29674. + # two different shell functions defined in ltmain.sh;
  29675. + # decide which one to use based on capabilities of $DLLTOOL
  29676. + case `$DLLTOOL --help 2>&1` in
  29677. + *--identify-strict*)
  29678. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  29679. + ;;
  29680. + *)
  29681. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  29682. + ;;
  29683. + esac
  29684. + ;;
  29685. +*)
  29686. + # fallback: assume linklib IS sharedlib
  29687. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  29688. + ;;
  29689. +esac
  29690. +
  29691. +fi
  29692. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  29693. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  29694. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  29695. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  29696. +
  29697. +
  29698. +
  29699. +
  29700. +
  29701. +
  29702. +
  29703. +
  29704. +if test -n "$ac_tool_prefix"; then
  29705. + for ac_prog in ar
  29706. + do
  29707. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  29708. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  29709. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29710. +$as_echo_n "checking for $ac_word... " >&6; }
  29711. +if ${ac_cv_prog_AR+:} false; then :
  29712. + $as_echo_n "(cached) " >&6
  29713. +else
  29714. + if test -n "$AR"; then
  29715. + ac_cv_prog_AR="$AR" # Let the user override the test.
  29716. +else
  29717. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29718. +for as_dir in $PATH
  29719. +do
  29720. + IFS=$as_save_IFS
  29721. + test -z "$as_dir" && as_dir=.
  29722. + for ac_exec_ext in '' $ac_executable_extensions; do
  29723. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29724. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  29725. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29726. + break 2
  29727. + fi
  29728. +done
  29729. + done
  29730. +IFS=$as_save_IFS
  29731. +
  29732. +fi
  29733. +fi
  29734. +AR=$ac_cv_prog_AR
  29735. +if test -n "$AR"; then
  29736. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  29737. +$as_echo "$AR" >&6; }
  29738. +else
  29739. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29740. +$as_echo "no" >&6; }
  29741. +fi
  29742. +
  29743. +
  29744. + test -n "$AR" && break
  29745. + done
  29746. +fi
  29747. +if test -z "$AR"; then
  29748. + ac_ct_AR=$AR
  29749. + for ac_prog in ar
  29750. +do
  29751. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  29752. +set dummy $ac_prog; ac_word=$2
  29753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29754. +$as_echo_n "checking for $ac_word... " >&6; }
  29755. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  29756. + $as_echo_n "(cached) " >&6
  29757. +else
  29758. + if test -n "$ac_ct_AR"; then
  29759. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  29760. +else
  29761. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29762. +for as_dir in $PATH
  29763. +do
  29764. + IFS=$as_save_IFS
  29765. + test -z "$as_dir" && as_dir=.
  29766. + for ac_exec_ext in '' $ac_executable_extensions; do
  29767. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29768. + ac_cv_prog_ac_ct_AR="$ac_prog"
  29769. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29770. + break 2
  29771. + fi
  29772. +done
  29773. + done
  29774. +IFS=$as_save_IFS
  29775. +
  29776. +fi
  29777. +fi
  29778. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  29779. +if test -n "$ac_ct_AR"; then
  29780. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  29781. +$as_echo "$ac_ct_AR" >&6; }
  29782. +else
  29783. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29784. +$as_echo "no" >&6; }
  29785. +fi
  29786. +
  29787. +
  29788. + test -n "$ac_ct_AR" && break
  29789. +done
  29790. +
  29791. + if test "x$ac_ct_AR" = x; then
  29792. + AR="false"
  29793. + else
  29794. + case $cross_compiling:$ac_tool_warned in
  29795. +yes:)
  29796. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29797. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29798. +ac_tool_warned=yes ;;
  29799. +esac
  29800. + AR=$ac_ct_AR
  29801. + fi
  29802. +fi
  29803. +
  29804. +: ${AR=ar}
  29805. +: ${AR_FLAGS=cru}
  29806. +
  29807. +
  29808. +
  29809. +
  29810. +
  29811. +
  29812. +
  29813. +
  29814. +
  29815. +
  29816. +
  29817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  29818. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  29819. +if ${lt_cv_ar_at_file+:} false; then :
  29820. + $as_echo_n "(cached) " >&6
  29821. +else
  29822. + lt_cv_ar_at_file=no
  29823. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29824. +/* end confdefs.h. */
  29825. +
  29826. +int
  29827. +main ()
  29828. +{
  29829. +
  29830. + ;
  29831. + return 0;
  29832. +}
  29833. +_ACEOF
  29834. +if ac_fn_c_try_compile "$LINENO"; then :
  29835. + echo conftest.$ac_objext > conftest.lst
  29836. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  29837. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  29838. + (eval $lt_ar_try) 2>&5
  29839. + ac_status=$?
  29840. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29841. + test $ac_status = 0; }
  29842. + if test 0 -eq "$ac_status"; then
  29843. + # Ensure the archiver fails upon bogus file names.
  29844. + rm -f conftest.$ac_objext libconftest.a
  29845. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  29846. + (eval $lt_ar_try) 2>&5
  29847. + ac_status=$?
  29848. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  29849. + test $ac_status = 0; }
  29850. + if test 0 -ne "$ac_status"; then
  29851. + lt_cv_ar_at_file=@
  29852. + fi
  29853. + fi
  29854. + rm -f conftest.* libconftest.a
  29855. +
  29856. +fi
  29857. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29858. +
  29859. +fi
  29860. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  29861. +$as_echo "$lt_cv_ar_at_file" >&6; }
  29862. +
  29863. +if test no = "$lt_cv_ar_at_file"; then
  29864. + archiver_list_spec=
  29865. +else
  29866. + archiver_list_spec=$lt_cv_ar_at_file
  29867. +fi
  29868. +
  29869. +
  29870. +
  29871. +
  29872. +
  29873. +
  29874. +
  29875. +if test -n "$ac_tool_prefix"; then
  29876. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  29877. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  29878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29879. +$as_echo_n "checking for $ac_word... " >&6; }
  29880. +if ${ac_cv_prog_STRIP+:} false; then :
  29881. + $as_echo_n "(cached) " >&6
  29882. +else
  29883. + if test -n "$STRIP"; then
  29884. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  29885. +else
  29886. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29887. +for as_dir in $PATH
  29888. +do
  29889. + IFS=$as_save_IFS
  29890. + test -z "$as_dir" && as_dir=.
  29891. + for ac_exec_ext in '' $ac_executable_extensions; do
  29892. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29893. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  29894. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29895. + break 2
  29896. + fi
  29897. +done
  29898. + done
  29899. +IFS=$as_save_IFS
  29900. +
  29901. +fi
  29902. +fi
  29903. +STRIP=$ac_cv_prog_STRIP
  29904. +if test -n "$STRIP"; then
  29905. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  29906. +$as_echo "$STRIP" >&6; }
  29907. +else
  29908. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29909. +$as_echo "no" >&6; }
  29910. +fi
  29911. +
  29912. +
  29913. +fi
  29914. +if test -z "$ac_cv_prog_STRIP"; then
  29915. + ac_ct_STRIP=$STRIP
  29916. + # Extract the first word of "strip", so it can be a program name with args.
  29917. +set dummy strip; ac_word=$2
  29918. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29919. +$as_echo_n "checking for $ac_word... " >&6; }
  29920. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  29921. + $as_echo_n "(cached) " >&6
  29922. +else
  29923. + if test -n "$ac_ct_STRIP"; then
  29924. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  29925. +else
  29926. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29927. +for as_dir in $PATH
  29928. +do
  29929. + IFS=$as_save_IFS
  29930. + test -z "$as_dir" && as_dir=.
  29931. + for ac_exec_ext in '' $ac_executable_extensions; do
  29932. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29933. + ac_cv_prog_ac_ct_STRIP="strip"
  29934. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29935. + break 2
  29936. + fi
  29937. +done
  29938. + done
  29939. +IFS=$as_save_IFS
  29940. +
  29941. +fi
  29942. +fi
  29943. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  29944. +if test -n "$ac_ct_STRIP"; then
  29945. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  29946. +$as_echo "$ac_ct_STRIP" >&6; }
  29947. +else
  29948. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29949. +$as_echo "no" >&6; }
  29950. +fi
  29951. +
  29952. + if test "x$ac_ct_STRIP" = x; then
  29953. + STRIP=":"
  29954. + else
  29955. + case $cross_compiling:$ac_tool_warned in
  29956. +yes:)
  29957. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  29958. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  29959. +ac_tool_warned=yes ;;
  29960. +esac
  29961. + STRIP=$ac_ct_STRIP
  29962. + fi
  29963. +else
  29964. + STRIP="$ac_cv_prog_STRIP"
  29965. +fi
  29966. +
  29967. +test -z "$STRIP" && STRIP=:
  29968. +
  29969. +
  29970. +
  29971. +
  29972. +
  29973. +
  29974. +if test -n "$ac_tool_prefix"; then
  29975. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  29976. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  29977. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29978. +$as_echo_n "checking for $ac_word... " >&6; }
  29979. +if ${ac_cv_prog_RANLIB+:} false; then :
  29980. + $as_echo_n "(cached) " >&6
  29981. +else
  29982. + if test -n "$RANLIB"; then
  29983. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  29984. +else
  29985. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29986. +for as_dir in $PATH
  29987. +do
  29988. + IFS=$as_save_IFS
  29989. + test -z "$as_dir" && as_dir=.
  29990. + for ac_exec_ext in '' $ac_executable_extensions; do
  29991. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29992. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  29993. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29994. + break 2
  29995. + fi
  29996. +done
  29997. + done
  29998. +IFS=$as_save_IFS
  29999. +
  30000. +fi
  30001. +fi
  30002. +RANLIB=$ac_cv_prog_RANLIB
  30003. +if test -n "$RANLIB"; then
  30004. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  30005. +$as_echo "$RANLIB" >&6; }
  30006. +else
  30007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30008. +$as_echo "no" >&6; }
  30009. +fi
  30010. +
  30011. +
  30012. +fi
  30013. +if test -z "$ac_cv_prog_RANLIB"; then
  30014. + ac_ct_RANLIB=$RANLIB
  30015. + # Extract the first word of "ranlib", so it can be a program name with args.
  30016. +set dummy ranlib; ac_word=$2
  30017. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30018. +$as_echo_n "checking for $ac_word... " >&6; }
  30019. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  30020. + $as_echo_n "(cached) " >&6
  30021. +else
  30022. + if test -n "$ac_ct_RANLIB"; then
  30023. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  30024. +else
  30025. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30026. +for as_dir in $PATH
  30027. +do
  30028. + IFS=$as_save_IFS
  30029. + test -z "$as_dir" && as_dir=.
  30030. + for ac_exec_ext in '' $ac_executable_extensions; do
  30031. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30032. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  30033. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30034. + break 2
  30035. + fi
  30036. +done
  30037. + done
  30038. +IFS=$as_save_IFS
  30039. +
  30040. +fi
  30041. +fi
  30042. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  30043. +if test -n "$ac_ct_RANLIB"; then
  30044. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  30045. +$as_echo "$ac_ct_RANLIB" >&6; }
  30046. +else
  30047. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30048. +$as_echo "no" >&6; }
  30049. +fi
  30050. +
  30051. + if test "x$ac_ct_RANLIB" = x; then
  30052. + RANLIB=":"
  30053. + else
  30054. + case $cross_compiling:$ac_tool_warned in
  30055. +yes:)
  30056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  30057. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  30058. +ac_tool_warned=yes ;;
  30059. +esac
  30060. + RANLIB=$ac_ct_RANLIB
  30061. + fi
  30062. +else
  30063. + RANLIB="$ac_cv_prog_RANLIB"
  30064. +fi
  30065. +
  30066. +test -z "$RANLIB" && RANLIB=:
  30067. +
  30068. +
  30069. +
  30070. +
  30071. +
  30072. +
  30073. +# Determine commands to create old-style static archives.
  30074. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  30075. +old_postinstall_cmds='chmod 644 $oldlib'
  30076. +old_postuninstall_cmds=
  30077. +
  30078. +if test -n "$RANLIB"; then
  30079. + case $host_os in
  30080. + bitrig* | openbsd*)
  30081. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  30082. + ;;
  30083. + *)
  30084. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  30085. + ;;
  30086. + esac
  30087. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  30088. +fi
  30089. +
  30090. +case $host_os in
  30091. + darwin*)
  30092. + lock_old_archive_extraction=yes ;;
  30093. + *)
  30094. + lock_old_archive_extraction=no ;;
  30095. +esac
  30096. +
  30097. +
  30098. +
  30099. +
  30100. +
  30101. +
  30102. +
  30103. +
  30104. +
  30105. +
  30106. +
  30107. +
  30108. +
  30109. +
  30110. +
  30111. +
  30112. +
  30113. +
  30114. +
  30115. +
  30116. +
  30117. +
  30118. +
  30119. +
  30120. +
  30121. +
  30122. +
  30123. +
  30124. +
  30125. +
  30126. +
  30127. +
  30128. +
  30129. +
  30130. +
  30131. +
  30132. +
  30133. +
  30134. +
  30135. +# If no C compiler was specified, use CC.
  30136. +LTCC=${LTCC-"$CC"}
  30137. +
  30138. +# If no C compiler flags were specified, use CFLAGS.
  30139. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  30140. +
  30141. +# Allow CC to be a program name with arguments.
  30142. +compiler=$CC
  30143. +
  30144. +
  30145. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  30146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  30147. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  30148. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  30149. + $as_echo_n "(cached) " >&6
  30150. +else
  30151. +
  30152. +# These are sane defaults that work on at least a few old systems.
  30153. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  30154. +
  30155. +# Character class describing NM global symbol codes.
  30156. +symcode='[BCDEGRST]'
  30157. +
  30158. +# Regexp to match symbols that can be accessed directly from C.
  30159. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  30160. +
  30161. +# Define system-specific variables.
  30162. +case $host_os in
  30163. +aix*)
  30164. + symcode='[BCDT]'
  30165. + ;;
  30166. +cygwin* | mingw* | pw32* | cegcc*)
  30167. + symcode='[ABCDGISTW]'
  30168. + ;;
  30169. +hpux*)
  30170. + if test ia64 = "$host_cpu"; then
  30171. + symcode='[ABCDEGRST]'
  30172. + fi
  30173. + ;;
  30174. +irix* | nonstopux*)
  30175. + symcode='[BCDEGRST]'
  30176. + ;;
  30177. +osf*)
  30178. + symcode='[BCDEGQRST]'
  30179. + ;;
  30180. +solaris*)
  30181. + symcode='[BDRT]'
  30182. + ;;
  30183. +sco3.2v5*)
  30184. + symcode='[DT]'
  30185. + ;;
  30186. +sysv4.2uw2*)
  30187. + symcode='[DT]'
  30188. + ;;
  30189. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  30190. + symcode='[ABDT]'
  30191. + ;;
  30192. +sysv4)
  30193. + symcode='[DFNSTU]'
  30194. + ;;
  30195. +esac
  30196. +
  30197. +# If we're using GNU nm, then use its standard symbol codes.
  30198. +case `$NM -V 2>&1` in
  30199. +*GNU* | *'with BFD'*)
  30200. + symcode='[ABCDGIRSTW]' ;;
  30201. +esac
  30202. +
  30203. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30204. + # Gets list of data symbols to import.
  30205. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  30206. + # Adjust the below global symbol transforms to fixup imported variables.
  30207. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  30208. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  30209. + lt_c_name_lib_hook="\
  30210. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  30211. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  30212. +else
  30213. + # Disable hooks by default.
  30214. + lt_cv_sys_global_symbol_to_import=
  30215. + lt_cdecl_hook=
  30216. + lt_c_name_hook=
  30217. + lt_c_name_lib_hook=
  30218. +fi
  30219. +
  30220. +# Transform an extracted symbol line into a proper C declaration.
  30221. +# Some systems (esp. on ia64) link data and code symbols differently,
  30222. +# so use this general approach.
  30223. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  30224. +$lt_cdecl_hook\
  30225. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  30226. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  30227. +
  30228. +# Transform an extracted symbol line into symbol name and symbol address
  30229. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  30230. +$lt_c_name_hook\
  30231. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  30232. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  30233. +
  30234. +# Transform an extracted symbol line into symbol name with lib prefix and
  30235. +# symbol address.
  30236. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  30237. +$lt_c_name_lib_hook\
  30238. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  30239. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  30240. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  30241. +
  30242. +# Handle CRLF in mingw tool chain
  30243. +opt_cr=
  30244. +case $build_os in
  30245. +mingw*)
  30246. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  30247. + ;;
  30248. +esac
  30249. +
  30250. +# Try without a prefix underscore, then with it.
  30251. +for ac_symprfx in "" "_"; do
  30252. +
  30253. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  30254. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  30255. +
  30256. + # Write the raw and C identifiers.
  30257. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30258. + # Fake it for dumpbin and say T for any non-static function,
  30259. + # D for any global variable and I for any imported variable.
  30260. + # Also find C++ and __fastcall symbols from MSVC++,
  30261. + # which start with @ or ?.
  30262. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  30263. +" {last_section=section; section=\$ 3};"\
  30264. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  30265. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  30266. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  30267. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  30268. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  30269. +" \$ 0!~/External *\|/{next};"\
  30270. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  30271. +" {if(hide[section]) next};"\
  30272. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  30273. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  30274. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  30275. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  30276. +" ' prfx=^$ac_symprfx"
  30277. + else
  30278. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  30279. + fi
  30280. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  30281. +
  30282. + # Check to see that the pipe works correctly.
  30283. + pipe_works=no
  30284. +
  30285. + rm -f conftest*
  30286. + cat > conftest.$ac_ext <<_LT_EOF
  30287. +#ifdef __cplusplus
  30288. +extern "C" {
  30289. +#endif
  30290. +char nm_test_var;
  30291. +void nm_test_func(void);
  30292. +void nm_test_func(void){}
  30293. +#ifdef __cplusplus
  30294. +}
  30295. +#endif
  30296. +int main(){nm_test_var='a';nm_test_func();return(0);}
  30297. +_LT_EOF
  30298. +
  30299. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30300. + (eval $ac_compile) 2>&5
  30301. + ac_status=$?
  30302. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30303. + test $ac_status = 0; }; then
  30304. + # Now try to grab the symbols.
  30305. + nlist=conftest.nm
  30306. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  30307. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  30308. + ac_status=$?
  30309. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30310. + test $ac_status = 0; } && test -s "$nlist"; then
  30311. + # Try sorting and uniquifying the output.
  30312. + if sort "$nlist" | uniq > "$nlist"T; then
  30313. + mv -f "$nlist"T "$nlist"
  30314. + else
  30315. + rm -f "$nlist"T
  30316. + fi
  30317. +
  30318. + # Make sure that we snagged all the symbols we need.
  30319. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  30320. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  30321. + cat <<_LT_EOF > conftest.$ac_ext
  30322. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  30323. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  30324. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  30325. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  30326. +# define LT@&t@_DLSYM_CONST
  30327. +#elif defined __osf__
  30328. +/* This system does not cope well with relocations in const data. */
  30329. +# define LT@&t@_DLSYM_CONST
  30330. +#else
  30331. +# define LT@&t@_DLSYM_CONST const
  30332. +#endif
  30333. +
  30334. +#ifdef __cplusplus
  30335. +extern "C" {
  30336. +#endif
  30337. +
  30338. +_LT_EOF
  30339. + # Now generate the symbol file.
  30340. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  30341. +
  30342. + cat <<_LT_EOF >> conftest.$ac_ext
  30343. +
  30344. +/* The mapping between symbol names and symbols. */
  30345. +LT@&t@_DLSYM_CONST struct {
  30346. + const char *name;
  30347. + void *address;
  30348. +}
  30349. +lt__PROGRAM__LTX_preloaded_symbols[] =
  30350. +{
  30351. + { "@PROGRAM@", (void *) 0 },
  30352. +_LT_EOF
  30353. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  30354. + cat <<\_LT_EOF >> conftest.$ac_ext
  30355. + {0, (void *) 0}
  30356. +};
  30357. +
  30358. +/* This works around a problem in FreeBSD linker */
  30359. +#ifdef FREEBSD_WORKAROUND
  30360. +static const void *lt_preloaded_setup() {
  30361. + return lt__PROGRAM__LTX_preloaded_symbols;
  30362. +}
  30363. +#endif
  30364. +
  30365. +#ifdef __cplusplus
  30366. +}
  30367. +#endif
  30368. +_LT_EOF
  30369. + # Now try linking the two files.
  30370. + mv conftest.$ac_objext conftstm.$ac_objext
  30371. + lt_globsym_save_LIBS=$LIBS
  30372. + lt_globsym_save_CFLAGS=$CFLAGS
  30373. + LIBS=conftstm.$ac_objext
  30374. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  30375. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  30376. + (eval $ac_link) 2>&5
  30377. + ac_status=$?
  30378. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30379. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  30380. + pipe_works=yes
  30381. + fi
  30382. + LIBS=$lt_globsym_save_LIBS
  30383. + CFLAGS=$lt_globsym_save_CFLAGS
  30384. + else
  30385. + echo "cannot find nm_test_func in $nlist" >&5
  30386. + fi
  30387. + else
  30388. + echo "cannot find nm_test_var in $nlist" >&5
  30389. + fi
  30390. + else
  30391. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  30392. + fi
  30393. + else
  30394. + echo "$progname: failed program was:" >&5
  30395. + cat conftest.$ac_ext >&5
  30396. + fi
  30397. + rm -rf conftest* conftst*
  30398. +
  30399. + # Do not use the global_symbol_pipe unless it works.
  30400. + if test yes = "$pipe_works"; then
  30401. + break
  30402. + else
  30403. + lt_cv_sys_global_symbol_pipe=
  30404. + fi
  30405. +done
  30406. +
  30407. +fi
  30408. +
  30409. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  30410. + lt_cv_sys_global_symbol_to_cdecl=
  30411. +fi
  30412. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  30413. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  30414. +$as_echo "failed" >&6; }
  30415. +else
  30416. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  30417. +$as_echo "ok" >&6; }
  30418. +fi
  30419. +
  30420. +# Response file support.
  30421. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30422. + nm_file_list_spec='@'
  30423. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  30424. + nm_file_list_spec='@'
  30425. +fi
  30426. +
  30427. +
  30428. +
  30429. +
  30430. +
  30431. +
  30432. +
  30433. +
  30434. +
  30435. +
  30436. +
  30437. +
  30438. +
  30439. +
  30440. +
  30441. +
  30442. +
  30443. +
  30444. +
  30445. +
  30446. +
  30447. +
  30448. +
  30449. +
  30450. +
  30451. +
  30452. +
  30453. +
  30454. +
  30455. +
  30456. +
  30457. +
  30458. +
  30459. +
  30460. +
  30461. +
  30462. +
  30463. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  30464. +$as_echo_n "checking for sysroot... " >&6; }
  30465. +
  30466. +@%:@ Check whether --with-sysroot was given.
  30467. +if test "${with_sysroot+set}" = set; then :
  30468. + withval=$with_sysroot;
  30469. +else
  30470. + with_sysroot=no
  30471. +fi
  30472. +
  30473. +
  30474. +lt_sysroot=
  30475. +case $with_sysroot in #(
  30476. + yes)
  30477. + if test yes = "$GCC"; then
  30478. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  30479. + fi
  30480. + ;; #(
  30481. + /*)
  30482. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  30483. + ;; #(
  30484. + no|'')
  30485. + ;; #(
  30486. + *)
  30487. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  30488. +$as_echo "$with_sysroot" >&6; }
  30489. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  30490. + ;;
  30491. +esac
  30492. +
  30493. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  30494. +$as_echo "${lt_sysroot:-no}" >&6; }
  30495. +
  30496. +
  30497. +
  30498. +
  30499. +
  30500. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  30501. +$as_echo_n "checking for a working dd... " >&6; }
  30502. +if ${ac_cv_path_lt_DD+:} false; then :
  30503. + $as_echo_n "(cached) " >&6
  30504. +else
  30505. + printf 0123456789abcdef0123456789abcdef >conftest.i
  30506. +cat conftest.i conftest.i >conftest2.i
  30507. +: ${lt_DD:=$DD}
  30508. +if test -z "$lt_DD"; then
  30509. + ac_path_lt_DD_found=false
  30510. + # Loop through the user's path and test for each of PROGNAME-LIST
  30511. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30512. +for as_dir in $PATH
  30513. +do
  30514. + IFS=$as_save_IFS
  30515. + test -z "$as_dir" && as_dir=.
  30516. + for ac_prog in dd; do
  30517. + for ac_exec_ext in '' $ac_executable_extensions; do
  30518. + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  30519. + as_fn_executable_p "$ac_path_lt_DD" || continue
  30520. +if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  30521. + cmp -s conftest.i conftest.out \
  30522. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  30523. +fi
  30524. + $ac_path_lt_DD_found && break 3
  30525. + done
  30526. + done
  30527. + done
  30528. +IFS=$as_save_IFS
  30529. + if test -z "$ac_cv_path_lt_DD"; then
  30530. + :
  30531. + fi
  30532. +else
  30533. + ac_cv_path_lt_DD=$lt_DD
  30534. +fi
  30535. +
  30536. +rm -f conftest.i conftest2.i conftest.out
  30537. +fi
  30538. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  30539. +$as_echo "$ac_cv_path_lt_DD" >&6; }
  30540. +
  30541. +
  30542. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  30543. +$as_echo_n "checking how to truncate binary pipes... " >&6; }
  30544. +if ${lt_cv_truncate_bin+:} false; then :
  30545. + $as_echo_n "(cached) " >&6
  30546. +else
  30547. + printf 0123456789abcdef0123456789abcdef >conftest.i
  30548. +cat conftest.i conftest.i >conftest2.i
  30549. +lt_cv_truncate_bin=
  30550. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  30551. + cmp -s conftest.i conftest.out \
  30552. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  30553. +fi
  30554. +rm -f conftest.i conftest2.i conftest.out
  30555. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  30556. +fi
  30557. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  30558. +$as_echo "$lt_cv_truncate_bin" >&6; }
  30559. +
  30560. +
  30561. +
  30562. +
  30563. +
  30564. +
  30565. +
  30566. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  30567. +func_cc_basename ()
  30568. +{
  30569. + for cc_temp in @S|@*""; do
  30570. + case $cc_temp in
  30571. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  30572. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  30573. + \-*) ;;
  30574. + *) break;;
  30575. + esac
  30576. + done
  30577. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  30578. +}
  30579. +
  30580. +@%:@ Check whether --enable-libtool-lock was given.
  30581. +if test "${enable_libtool_lock+set}" = set; then :
  30582. + enableval=$enable_libtool_lock;
  30583. +fi
  30584. +
  30585. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  30586. +
  30587. +# Some flags need to be propagated to the compiler or linker for good
  30588. +# libtool support.
  30589. +case $host in
  30590. +ia64-*-hpux*)
  30591. + # Find out what ABI is being produced by ac_compile, and set mode
  30592. + # options accordingly.
  30593. + echo 'int i;' > conftest.$ac_ext
  30594. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30595. + (eval $ac_compile) 2>&5
  30596. + ac_status=$?
  30597. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30598. + test $ac_status = 0; }; then
  30599. + case `/usr/bin/file conftest.$ac_objext` in
  30600. + *ELF-32*)
  30601. + HPUX_IA64_MODE=32
  30602. + ;;
  30603. + *ELF-64*)
  30604. + HPUX_IA64_MODE=64
  30605. + ;;
  30606. + esac
  30607. + fi
  30608. + rm -rf conftest*
  30609. + ;;
  30610. +*-*-irix6*)
  30611. + # Find out what ABI is being produced by ac_compile, and set linker
  30612. + # options accordingly.
  30613. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  30614. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30615. + (eval $ac_compile) 2>&5
  30616. + ac_status=$?
  30617. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30618. + test $ac_status = 0; }; then
  30619. + if test yes = "$lt_cv_prog_gnu_ld"; then
  30620. + case `/usr/bin/file conftest.$ac_objext` in
  30621. + *32-bit*)
  30622. + LD="${LD-ld} -melf32bsmip"
  30623. + ;;
  30624. + *N32*)
  30625. + LD="${LD-ld} -melf32bmipn32"
  30626. + ;;
  30627. + *64-bit*)
  30628. + LD="${LD-ld} -melf64bmip"
  30629. + ;;
  30630. + esac
  30631. + else
  30632. + case `/usr/bin/file conftest.$ac_objext` in
  30633. + *32-bit*)
  30634. + LD="${LD-ld} -32"
  30635. + ;;
  30636. + *N32*)
  30637. + LD="${LD-ld} -n32"
  30638. + ;;
  30639. + *64-bit*)
  30640. + LD="${LD-ld} -64"
  30641. + ;;
  30642. + esac
  30643. + fi
  30644. + fi
  30645. + rm -rf conftest*
  30646. + ;;
  30647. +
  30648. +mips64*-*linux*)
  30649. + # Find out what ABI is being produced by ac_compile, and set linker
  30650. + # options accordingly.
  30651. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  30652. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30653. + (eval $ac_compile) 2>&5
  30654. + ac_status=$?
  30655. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30656. + test $ac_status = 0; }; then
  30657. + emul=elf
  30658. + case `/usr/bin/file conftest.$ac_objext` in
  30659. + *32-bit*)
  30660. + emul="${emul}32"
  30661. + ;;
  30662. + *64-bit*)
  30663. + emul="${emul}64"
  30664. + ;;
  30665. + esac
  30666. + case `/usr/bin/file conftest.$ac_objext` in
  30667. + *MSB*)
  30668. + emul="${emul}btsmip"
  30669. + ;;
  30670. + *LSB*)
  30671. + emul="${emul}ltsmip"
  30672. + ;;
  30673. + esac
  30674. + case `/usr/bin/file conftest.$ac_objext` in
  30675. + *N32*)
  30676. + emul="${emul}n32"
  30677. + ;;
  30678. + esac
  30679. + LD="${LD-ld} -m $emul"
  30680. + fi
  30681. + rm -rf conftest*
  30682. + ;;
  30683. +
  30684. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  30685. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  30686. + # Find out what ABI is being produced by ac_compile, and set linker
  30687. + # options accordingly. Note that the listed cases only cover the
  30688. + # situations where additional linker options are needed (such as when
  30689. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  30690. + # vice versa); the common cases where no linker options are needed do
  30691. + # not appear in the list.
  30692. + echo 'int i;' > conftest.$ac_ext
  30693. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30694. + (eval $ac_compile) 2>&5
  30695. + ac_status=$?
  30696. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30697. + test $ac_status = 0; }; then
  30698. + case `/usr/bin/file conftest.o` in
  30699. + *32-bit*)
  30700. + case $host in
  30701. + x86_64-*kfreebsd*-gnu)
  30702. + LD="${LD-ld} -m elf_i386_fbsd"
  30703. + ;;
  30704. + x86_64-*linux*)
  30705. + case `/usr/bin/file conftest.o` in
  30706. + *x86-64*)
  30707. + LD="${LD-ld} -m elf32_x86_64"
  30708. + ;;
  30709. + *)
  30710. + LD="${LD-ld} -m elf_i386"
  30711. + ;;
  30712. + esac
  30713. + ;;
  30714. + powerpc64le-*linux*)
  30715. + LD="${LD-ld} -m elf32lppclinux"
  30716. + ;;
  30717. + powerpc64-*linux*)
  30718. + LD="${LD-ld} -m elf32ppclinux"
  30719. + ;;
  30720. + s390x-*linux*)
  30721. + LD="${LD-ld} -m elf_s390"
  30722. + ;;
  30723. + sparc64-*linux*)
  30724. + LD="${LD-ld} -m elf32_sparc"
  30725. + ;;
  30726. + esac
  30727. + ;;
  30728. + *64-bit*)
  30729. + case $host in
  30730. + x86_64-*kfreebsd*-gnu)
  30731. + LD="${LD-ld} -m elf_x86_64_fbsd"
  30732. + ;;
  30733. + x86_64-*linux*)
  30734. + LD="${LD-ld} -m elf_x86_64"
  30735. + ;;
  30736. + powerpcle-*linux*)
  30737. + LD="${LD-ld} -m elf64lppc"
  30738. + ;;
  30739. + powerpc-*linux*)
  30740. + LD="${LD-ld} -m elf64ppc"
  30741. + ;;
  30742. + s390*-*linux*|s390*-*tpf*)
  30743. + LD="${LD-ld} -m elf64_s390"
  30744. + ;;
  30745. + sparc*-*linux*)
  30746. + LD="${LD-ld} -m elf64_sparc"
  30747. + ;;
  30748. + esac
  30749. + ;;
  30750. + esac
  30751. + fi
  30752. + rm -rf conftest*
  30753. + ;;
  30754. +
  30755. +*-*-sco3.2v5*)
  30756. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  30757. + SAVE_CFLAGS=$CFLAGS
  30758. + CFLAGS="$CFLAGS -belf"
  30759. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  30760. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  30761. +if ${lt_cv_cc_needs_belf+:} false; then :
  30762. + $as_echo_n "(cached) " >&6
  30763. +else
  30764. + ac_ext=c
  30765. +ac_cpp='$CPP $CPPFLAGS'
  30766. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30767. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30768. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30769. +
  30770. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30771. +/* end confdefs.h. */
  30772. +
  30773. +int
  30774. +main ()
  30775. +{
  30776. +
  30777. + ;
  30778. + return 0;
  30779. +}
  30780. +_ACEOF
  30781. +if ac_fn_c_try_link "$LINENO"; then :
  30782. + lt_cv_cc_needs_belf=yes
  30783. +else
  30784. + lt_cv_cc_needs_belf=no
  30785. +fi
  30786. +rm -f core conftest.err conftest.$ac_objext \
  30787. + conftest$ac_exeext conftest.$ac_ext
  30788. + ac_ext=c
  30789. +ac_cpp='$CPP $CPPFLAGS'
  30790. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30791. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30792. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30793. +
  30794. +fi
  30795. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  30796. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  30797. + if test yes != "$lt_cv_cc_needs_belf"; then
  30798. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  30799. + CFLAGS=$SAVE_CFLAGS
  30800. + fi
  30801. + ;;
  30802. +*-*solaris*)
  30803. + # Find out what ABI is being produced by ac_compile, and set linker
  30804. + # options accordingly.
  30805. + echo 'int i;' > conftest.$ac_ext
  30806. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30807. + (eval $ac_compile) 2>&5
  30808. + ac_status=$?
  30809. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30810. + test $ac_status = 0; }; then
  30811. + case `/usr/bin/file conftest.o` in
  30812. + *64-bit*)
  30813. + case $lt_cv_prog_gnu_ld in
  30814. + yes*)
  30815. + case $host in
  30816. + i?86-*-solaris*|x86_64-*-solaris*)
  30817. + LD="${LD-ld} -m elf_x86_64"
  30818. + ;;
  30819. + sparc*-*-solaris*)
  30820. + LD="${LD-ld} -m elf64_sparc"
  30821. + ;;
  30822. + esac
  30823. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  30824. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  30825. + LD=${LD-ld}_sol2
  30826. + fi
  30827. + ;;
  30828. + *)
  30829. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  30830. + LD="${LD-ld} -64"
  30831. + fi
  30832. + ;;
  30833. + esac
  30834. + ;;
  30835. + esac
  30836. + fi
  30837. + rm -rf conftest*
  30838. + ;;
  30839. +esac
  30840. +
  30841. +need_locks=$enable_libtool_lock
  30842. +
  30843. +if test -n "$ac_tool_prefix"; then
  30844. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  30845. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  30846. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30847. +$as_echo_n "checking for $ac_word... " >&6; }
  30848. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  30849. + $as_echo_n "(cached) " >&6
  30850. +else
  30851. + if test -n "$MANIFEST_TOOL"; then
  30852. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  30853. +else
  30854. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30855. +for as_dir in $PATH
  30856. +do
  30857. + IFS=$as_save_IFS
  30858. + test -z "$as_dir" && as_dir=.
  30859. + for ac_exec_ext in '' $ac_executable_extensions; do
  30860. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30861. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  30862. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30863. + break 2
  30864. + fi
  30865. +done
  30866. + done
  30867. +IFS=$as_save_IFS
  30868. +
  30869. +fi
  30870. +fi
  30871. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  30872. +if test -n "$MANIFEST_TOOL"; then
  30873. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  30874. +$as_echo "$MANIFEST_TOOL" >&6; }
  30875. +else
  30876. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30877. +$as_echo "no" >&6; }
  30878. +fi
  30879. +
  30880. +
  30881. +fi
  30882. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  30883. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  30884. + # Extract the first word of "mt", so it can be a program name with args.
  30885. +set dummy mt; ac_word=$2
  30886. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30887. +$as_echo_n "checking for $ac_word... " >&6; }
  30888. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  30889. + $as_echo_n "(cached) " >&6
  30890. +else
  30891. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  30892. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  30893. +else
  30894. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30895. +for as_dir in $PATH
  30896. +do
  30897. + IFS=$as_save_IFS
  30898. + test -z "$as_dir" && as_dir=.
  30899. + for ac_exec_ext in '' $ac_executable_extensions; do
  30900. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30901. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  30902. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30903. + break 2
  30904. + fi
  30905. +done
  30906. + done
  30907. +IFS=$as_save_IFS
  30908. +
  30909. +fi
  30910. +fi
  30911. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  30912. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  30913. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  30914. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  30915. +else
  30916. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30917. +$as_echo "no" >&6; }
  30918. +fi
  30919. +
  30920. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  30921. + MANIFEST_TOOL=":"
  30922. + else
  30923. + case $cross_compiling:$ac_tool_warned in
  30924. +yes:)
  30925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  30926. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  30927. +ac_tool_warned=yes ;;
  30928. +esac
  30929. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  30930. + fi
  30931. +else
  30932. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  30933. +fi
  30934. +
  30935. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  30936. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  30937. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  30938. +if ${lt_cv_path_mainfest_tool+:} false; then :
  30939. + $as_echo_n "(cached) " >&6
  30940. +else
  30941. + lt_cv_path_mainfest_tool=no
  30942. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  30943. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  30944. + cat conftest.err >&5
  30945. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  30946. + lt_cv_path_mainfest_tool=yes
  30947. + fi
  30948. + rm -f conftest*
  30949. +fi
  30950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  30951. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  30952. +if test yes != "$lt_cv_path_mainfest_tool"; then
  30953. + MANIFEST_TOOL=:
  30954. +fi
  30955. +
  30956. +
  30957. +
  30958. +
  30959. +
  30960. +
  30961. + case $host_os in
  30962. + rhapsody* | darwin*)
  30963. + if test -n "$ac_tool_prefix"; then
  30964. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  30965. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  30966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30967. +$as_echo_n "checking for $ac_word... " >&6; }
  30968. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  30969. + $as_echo_n "(cached) " >&6
  30970. +else
  30971. + if test -n "$DSYMUTIL"; then
  30972. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  30973. +else
  30974. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30975. +for as_dir in $PATH
  30976. +do
  30977. + IFS=$as_save_IFS
  30978. + test -z "$as_dir" && as_dir=.
  30979. + for ac_exec_ext in '' $ac_executable_extensions; do
  30980. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30981. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  30982. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30983. + break 2
  30984. + fi
  30985. +done
  30986. + done
  30987. +IFS=$as_save_IFS
  30988. +
  30989. +fi
  30990. +fi
  30991. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  30992. +if test -n "$DSYMUTIL"; then
  30993. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  30994. +$as_echo "$DSYMUTIL" >&6; }
  30995. +else
  30996. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30997. +$as_echo "no" >&6; }
  30998. +fi
  30999. +
  31000. +
  31001. +fi
  31002. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  31003. + ac_ct_DSYMUTIL=$DSYMUTIL
  31004. + # Extract the first word of "dsymutil", so it can be a program name with args.
  31005. +set dummy dsymutil; ac_word=$2
  31006. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31007. +$as_echo_n "checking for $ac_word... " >&6; }
  31008. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  31009. + $as_echo_n "(cached) " >&6
  31010. +else
  31011. + if test -n "$ac_ct_DSYMUTIL"; then
  31012. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  31013. +else
  31014. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31015. +for as_dir in $PATH
  31016. +do
  31017. + IFS=$as_save_IFS
  31018. + test -z "$as_dir" && as_dir=.
  31019. + for ac_exec_ext in '' $ac_executable_extensions; do
  31020. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31021. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  31022. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31023. + break 2
  31024. + fi
  31025. +done
  31026. + done
  31027. +IFS=$as_save_IFS
  31028. +
  31029. +fi
  31030. +fi
  31031. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  31032. +if test -n "$ac_ct_DSYMUTIL"; then
  31033. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  31034. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  31035. +else
  31036. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31037. +$as_echo "no" >&6; }
  31038. +fi
  31039. +
  31040. + if test "x$ac_ct_DSYMUTIL" = x; then
  31041. + DSYMUTIL=":"
  31042. + else
  31043. + case $cross_compiling:$ac_tool_warned in
  31044. +yes:)
  31045. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31046. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31047. +ac_tool_warned=yes ;;
  31048. +esac
  31049. + DSYMUTIL=$ac_ct_DSYMUTIL
  31050. + fi
  31051. +else
  31052. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  31053. +fi
  31054. +
  31055. + if test -n "$ac_tool_prefix"; then
  31056. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  31057. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  31058. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31059. +$as_echo_n "checking for $ac_word... " >&6; }
  31060. +if ${ac_cv_prog_NMEDIT+:} false; then :
  31061. + $as_echo_n "(cached) " >&6
  31062. +else
  31063. + if test -n "$NMEDIT"; then
  31064. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  31065. +else
  31066. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31067. +for as_dir in $PATH
  31068. +do
  31069. + IFS=$as_save_IFS
  31070. + test -z "$as_dir" && as_dir=.
  31071. + for ac_exec_ext in '' $ac_executable_extensions; do
  31072. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31073. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  31074. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31075. + break 2
  31076. + fi
  31077. +done
  31078. + done
  31079. +IFS=$as_save_IFS
  31080. +
  31081. +fi
  31082. +fi
  31083. +NMEDIT=$ac_cv_prog_NMEDIT
  31084. +if test -n "$NMEDIT"; then
  31085. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  31086. +$as_echo "$NMEDIT" >&6; }
  31087. +else
  31088. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31089. +$as_echo "no" >&6; }
  31090. +fi
  31091. +
  31092. +
  31093. +fi
  31094. +if test -z "$ac_cv_prog_NMEDIT"; then
  31095. + ac_ct_NMEDIT=$NMEDIT
  31096. + # Extract the first word of "nmedit", so it can be a program name with args.
  31097. +set dummy nmedit; ac_word=$2
  31098. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31099. +$as_echo_n "checking for $ac_word... " >&6; }
  31100. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  31101. + $as_echo_n "(cached) " >&6
  31102. +else
  31103. + if test -n "$ac_ct_NMEDIT"; then
  31104. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  31105. +else
  31106. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31107. +for as_dir in $PATH
  31108. +do
  31109. + IFS=$as_save_IFS
  31110. + test -z "$as_dir" && as_dir=.
  31111. + for ac_exec_ext in '' $ac_executable_extensions; do
  31112. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31113. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  31114. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31115. + break 2
  31116. + fi
  31117. +done
  31118. + done
  31119. +IFS=$as_save_IFS
  31120. +
  31121. +fi
  31122. +fi
  31123. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  31124. +if test -n "$ac_ct_NMEDIT"; then
  31125. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  31126. +$as_echo "$ac_ct_NMEDIT" >&6; }
  31127. +else
  31128. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31129. +$as_echo "no" >&6; }
  31130. +fi
  31131. +
  31132. + if test "x$ac_ct_NMEDIT" = x; then
  31133. + NMEDIT=":"
  31134. + else
  31135. + case $cross_compiling:$ac_tool_warned in
  31136. +yes:)
  31137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31138. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31139. +ac_tool_warned=yes ;;
  31140. +esac
  31141. + NMEDIT=$ac_ct_NMEDIT
  31142. + fi
  31143. +else
  31144. + NMEDIT="$ac_cv_prog_NMEDIT"
  31145. +fi
  31146. +
  31147. + if test -n "$ac_tool_prefix"; then
  31148. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  31149. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  31150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31151. +$as_echo_n "checking for $ac_word... " >&6; }
  31152. +if ${ac_cv_prog_LIPO+:} false; then :
  31153. + $as_echo_n "(cached) " >&6
  31154. +else
  31155. + if test -n "$LIPO"; then
  31156. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  31157. +else
  31158. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31159. +for as_dir in $PATH
  31160. +do
  31161. + IFS=$as_save_IFS
  31162. + test -z "$as_dir" && as_dir=.
  31163. + for ac_exec_ext in '' $ac_executable_extensions; do
  31164. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31165. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  31166. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31167. + break 2
  31168. + fi
  31169. +done
  31170. + done
  31171. +IFS=$as_save_IFS
  31172. +
  31173. +fi
  31174. +fi
  31175. +LIPO=$ac_cv_prog_LIPO
  31176. +if test -n "$LIPO"; then
  31177. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  31178. +$as_echo "$LIPO" >&6; }
  31179. +else
  31180. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31181. +$as_echo "no" >&6; }
  31182. +fi
  31183. +
  31184. +
  31185. +fi
  31186. +if test -z "$ac_cv_prog_LIPO"; then
  31187. + ac_ct_LIPO=$LIPO
  31188. + # Extract the first word of "lipo", so it can be a program name with args.
  31189. +set dummy lipo; ac_word=$2
  31190. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31191. +$as_echo_n "checking for $ac_word... " >&6; }
  31192. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  31193. + $as_echo_n "(cached) " >&6
  31194. +else
  31195. + if test -n "$ac_ct_LIPO"; then
  31196. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  31197. +else
  31198. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31199. +for as_dir in $PATH
  31200. +do
  31201. + IFS=$as_save_IFS
  31202. + test -z "$as_dir" && as_dir=.
  31203. + for ac_exec_ext in '' $ac_executable_extensions; do
  31204. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31205. + ac_cv_prog_ac_ct_LIPO="lipo"
  31206. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31207. + break 2
  31208. + fi
  31209. +done
  31210. + done
  31211. +IFS=$as_save_IFS
  31212. +
  31213. +fi
  31214. +fi
  31215. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  31216. +if test -n "$ac_ct_LIPO"; then
  31217. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  31218. +$as_echo "$ac_ct_LIPO" >&6; }
  31219. +else
  31220. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31221. +$as_echo "no" >&6; }
  31222. +fi
  31223. +
  31224. + if test "x$ac_ct_LIPO" = x; then
  31225. + LIPO=":"
  31226. + else
  31227. + case $cross_compiling:$ac_tool_warned in
  31228. +yes:)
  31229. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31230. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31231. +ac_tool_warned=yes ;;
  31232. +esac
  31233. + LIPO=$ac_ct_LIPO
  31234. + fi
  31235. +else
  31236. + LIPO="$ac_cv_prog_LIPO"
  31237. +fi
  31238. +
  31239. + if test -n "$ac_tool_prefix"; then
  31240. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  31241. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  31242. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31243. +$as_echo_n "checking for $ac_word... " >&6; }
  31244. +if ${ac_cv_prog_OTOOL+:} false; then :
  31245. + $as_echo_n "(cached) " >&6
  31246. +else
  31247. + if test -n "$OTOOL"; then
  31248. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  31249. +else
  31250. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31251. +for as_dir in $PATH
  31252. +do
  31253. + IFS=$as_save_IFS
  31254. + test -z "$as_dir" && as_dir=.
  31255. + for ac_exec_ext in '' $ac_executable_extensions; do
  31256. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31257. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  31258. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31259. + break 2
  31260. + fi
  31261. +done
  31262. + done
  31263. +IFS=$as_save_IFS
  31264. +
  31265. +fi
  31266. +fi
  31267. +OTOOL=$ac_cv_prog_OTOOL
  31268. +if test -n "$OTOOL"; then
  31269. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  31270. +$as_echo "$OTOOL" >&6; }
  31271. +else
  31272. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31273. +$as_echo "no" >&6; }
  31274. +fi
  31275. +
  31276. +
  31277. +fi
  31278. +if test -z "$ac_cv_prog_OTOOL"; then
  31279. + ac_ct_OTOOL=$OTOOL
  31280. + # Extract the first word of "otool", so it can be a program name with args.
  31281. +set dummy otool; ac_word=$2
  31282. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31283. +$as_echo_n "checking for $ac_word... " >&6; }
  31284. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  31285. + $as_echo_n "(cached) " >&6
  31286. +else
  31287. + if test -n "$ac_ct_OTOOL"; then
  31288. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  31289. +else
  31290. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31291. +for as_dir in $PATH
  31292. +do
  31293. + IFS=$as_save_IFS
  31294. + test -z "$as_dir" && as_dir=.
  31295. + for ac_exec_ext in '' $ac_executable_extensions; do
  31296. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31297. + ac_cv_prog_ac_ct_OTOOL="otool"
  31298. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31299. + break 2
  31300. + fi
  31301. +done
  31302. + done
  31303. +IFS=$as_save_IFS
  31304. +
  31305. +fi
  31306. +fi
  31307. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  31308. +if test -n "$ac_ct_OTOOL"; then
  31309. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  31310. +$as_echo "$ac_ct_OTOOL" >&6; }
  31311. +else
  31312. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31313. +$as_echo "no" >&6; }
  31314. +fi
  31315. +
  31316. + if test "x$ac_ct_OTOOL" = x; then
  31317. + OTOOL=":"
  31318. + else
  31319. + case $cross_compiling:$ac_tool_warned in
  31320. +yes:)
  31321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31322. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31323. +ac_tool_warned=yes ;;
  31324. +esac
  31325. + OTOOL=$ac_ct_OTOOL
  31326. + fi
  31327. +else
  31328. + OTOOL="$ac_cv_prog_OTOOL"
  31329. +fi
  31330. +
  31331. + if test -n "$ac_tool_prefix"; then
  31332. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  31333. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  31334. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31335. +$as_echo_n "checking for $ac_word... " >&6; }
  31336. +if ${ac_cv_prog_OTOOL64+:} false; then :
  31337. + $as_echo_n "(cached) " >&6
  31338. +else
  31339. + if test -n "$OTOOL64"; then
  31340. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  31341. +else
  31342. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31343. +for as_dir in $PATH
  31344. +do
  31345. + IFS=$as_save_IFS
  31346. + test -z "$as_dir" && as_dir=.
  31347. + for ac_exec_ext in '' $ac_executable_extensions; do
  31348. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31349. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  31350. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31351. + break 2
  31352. + fi
  31353. +done
  31354. + done
  31355. +IFS=$as_save_IFS
  31356. +
  31357. +fi
  31358. +fi
  31359. +OTOOL64=$ac_cv_prog_OTOOL64
  31360. +if test -n "$OTOOL64"; then
  31361. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  31362. +$as_echo "$OTOOL64" >&6; }
  31363. +else
  31364. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31365. +$as_echo "no" >&6; }
  31366. +fi
  31367. +
  31368. +
  31369. +fi
  31370. +if test -z "$ac_cv_prog_OTOOL64"; then
  31371. + ac_ct_OTOOL64=$OTOOL64
  31372. + # Extract the first word of "otool64", so it can be a program name with args.
  31373. +set dummy otool64; ac_word=$2
  31374. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31375. +$as_echo_n "checking for $ac_word... " >&6; }
  31376. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  31377. + $as_echo_n "(cached) " >&6
  31378. +else
  31379. + if test -n "$ac_ct_OTOOL64"; then
  31380. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  31381. +else
  31382. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31383. +for as_dir in $PATH
  31384. +do
  31385. + IFS=$as_save_IFS
  31386. + test -z "$as_dir" && as_dir=.
  31387. + for ac_exec_ext in '' $ac_executable_extensions; do
  31388. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31389. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  31390. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31391. + break 2
  31392. + fi
  31393. +done
  31394. + done
  31395. +IFS=$as_save_IFS
  31396. +
  31397. +fi
  31398. +fi
  31399. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  31400. +if test -n "$ac_ct_OTOOL64"; then
  31401. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  31402. +$as_echo "$ac_ct_OTOOL64" >&6; }
  31403. +else
  31404. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31405. +$as_echo "no" >&6; }
  31406. +fi
  31407. +
  31408. + if test "x$ac_ct_OTOOL64" = x; then
  31409. + OTOOL64=":"
  31410. + else
  31411. + case $cross_compiling:$ac_tool_warned in
  31412. +yes:)
  31413. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31414. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31415. +ac_tool_warned=yes ;;
  31416. +esac
  31417. + OTOOL64=$ac_ct_OTOOL64
  31418. + fi
  31419. +else
  31420. + OTOOL64="$ac_cv_prog_OTOOL64"
  31421. +fi
  31422. +
  31423. +
  31424. +
  31425. +
  31426. +
  31427. +
  31428. +
  31429. +
  31430. +
  31431. +
  31432. +
  31433. +
  31434. +
  31435. +
  31436. +
  31437. +
  31438. +
  31439. +
  31440. +
  31441. +
  31442. +
  31443. +
  31444. +
  31445. +
  31446. +
  31447. +
  31448. +
  31449. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  31450. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  31451. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  31452. + $as_echo_n "(cached) " >&6
  31453. +else
  31454. + lt_cv_apple_cc_single_mod=no
  31455. + if test -z "$LT_MULTI_MODULE"; then
  31456. + # By default we will add the -single_module flag. You can override
  31457. + # by either setting the environment variable LT_MULTI_MODULE
  31458. + # non-empty at configure time, or by adding -multi_module to the
  31459. + # link flags.
  31460. + rm -rf libconftest.dylib*
  31461. + echo "int foo(void){return 1;}" > conftest.c
  31462. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  31463. +-dynamiclib -Wl,-single_module conftest.c" >&5
  31464. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  31465. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  31466. + _lt_result=$?
  31467. + # If there is a non-empty error log, and "single_module"
  31468. + # appears in it, assume the flag caused a linker warning
  31469. + if test -s conftest.err && $GREP single_module conftest.err; then
  31470. + cat conftest.err >&5
  31471. + # Otherwise, if the output was created with a 0 exit code from
  31472. + # the compiler, it worked.
  31473. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  31474. + lt_cv_apple_cc_single_mod=yes
  31475. + else
  31476. + cat conftest.err >&5
  31477. + fi
  31478. + rm -rf libconftest.dylib*
  31479. + rm -f conftest.*
  31480. + fi
  31481. +fi
  31482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  31483. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  31484. +
  31485. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  31486. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  31487. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  31488. + $as_echo_n "(cached) " >&6
  31489. +else
  31490. + lt_cv_ld_exported_symbols_list=no
  31491. + save_LDFLAGS=$LDFLAGS
  31492. + echo "_main" > conftest.sym
  31493. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  31494. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31495. +/* end confdefs.h. */
  31496. +
  31497. +int
  31498. +main ()
  31499. +{
  31500. +
  31501. + ;
  31502. + return 0;
  31503. +}
  31504. +_ACEOF
  31505. +if ac_fn_c_try_link "$LINENO"; then :
  31506. + lt_cv_ld_exported_symbols_list=yes
  31507. +else
  31508. + lt_cv_ld_exported_symbols_list=no
  31509. +fi
  31510. +rm -f core conftest.err conftest.$ac_objext \
  31511. + conftest$ac_exeext conftest.$ac_ext
  31512. + LDFLAGS=$save_LDFLAGS
  31513. +
  31514. +fi
  31515. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  31516. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  31517. +
  31518. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  31519. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  31520. +if ${lt_cv_ld_force_load+:} false; then :
  31521. + $as_echo_n "(cached) " >&6
  31522. +else
  31523. + lt_cv_ld_force_load=no
  31524. + cat > conftest.c << _LT_EOF
  31525. +int forced_loaded() { return 2;}
  31526. +_LT_EOF
  31527. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  31528. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  31529. + echo "$AR cru libconftest.a conftest.o" >&5
  31530. + $AR cru libconftest.a conftest.o 2>&5
  31531. + echo "$RANLIB libconftest.a" >&5
  31532. + $RANLIB libconftest.a 2>&5
  31533. + cat > conftest.c << _LT_EOF
  31534. +int main() { return 0;}
  31535. +_LT_EOF
  31536. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  31537. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  31538. + _lt_result=$?
  31539. + if test -s conftest.err && $GREP force_load conftest.err; then
  31540. + cat conftest.err >&5
  31541. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  31542. + lt_cv_ld_force_load=yes
  31543. + else
  31544. + cat conftest.err >&5
  31545. + fi
  31546. + rm -f conftest.err libconftest.a conftest conftest.c
  31547. + rm -rf conftest.dSYM
  31548. +
  31549. +fi
  31550. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  31551. +$as_echo "$lt_cv_ld_force_load" >&6; }
  31552. + case $host_os in
  31553. + rhapsody* | darwin1.[012])
  31554. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  31555. + darwin1.*)
  31556. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  31557. + darwin*) # darwin 5.x on
  31558. + # if running on 10.5 or later, the deployment target defaults
  31559. + # to the OS version, if on x86, and 10.4, the deployment
  31560. + # target defaults to 10.4. Don't you love it?
  31561. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  31562. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  31563. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  31564. + 10.[012][,.]*)
  31565. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  31566. + 10.*)
  31567. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  31568. + esac
  31569. + ;;
  31570. + esac
  31571. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  31572. + _lt_dar_single_mod='$single_module'
  31573. + fi
  31574. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  31575. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  31576. + else
  31577. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  31578. + fi
  31579. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  31580. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  31581. + else
  31582. + _lt_dsymutil=
  31583. + fi
  31584. + ;;
  31585. + esac
  31586. +
  31587. +# func_munge_path_list VARIABLE PATH
  31588. +# -----------------------------------
  31589. +# VARIABLE is name of variable containing _space_ separated list of
  31590. +# directories to be munged by the contents of PATH, which is string
  31591. +# having a format:
  31592. +# "DIR[:DIR]:"
  31593. +# string "DIR[ DIR]" will be prepended to VARIABLE
  31594. +# ":DIR[:DIR]"
  31595. +# string "DIR[ DIR]" will be appended to VARIABLE
  31596. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  31597. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  31598. +# "DIRA[ DIRA]" will be appended to VARIABLE
  31599. +# "DIR[:DIR]"
  31600. +# VARIABLE will be replaced by "DIR[ DIR]"
  31601. +func_munge_path_list ()
  31602. +{
  31603. + case x@S|@2 in
  31604. + x)
  31605. + ;;
  31606. + *:)
  31607. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  31608. + ;;
  31609. + x:*)
  31610. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  31611. + ;;
  31612. + *::*)
  31613. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  31614. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  31615. + ;;
  31616. + *)
  31617. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  31618. + ;;
  31619. + esac
  31620. +}
  31621. +
  31622. +ac_ext=c
  31623. +ac_cpp='$CPP $CPPFLAGS'
  31624. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  31625. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  31626. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  31627. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  31628. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  31629. +# On Suns, sometimes $CPP names a directory.
  31630. +if test -n "$CPP" && test -d "$CPP"; then
  31631. + CPP=
  31632. +fi
  31633. +if test -z "$CPP"; then
  31634. + if ${ac_cv_prog_CPP+:} false; then :
  31635. + $as_echo_n "(cached) " >&6
  31636. +else
  31637. + # Double quotes because CPP needs to be expanded
  31638. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  31639. + do
  31640. + ac_preproc_ok=false
  31641. +for ac_c_preproc_warn_flag in '' yes
  31642. +do
  31643. + # Use a header file that comes with gcc, so configuring glibc
  31644. + # with a fresh cross-compiler works.
  31645. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  31646. + # <limits.h> exists even on freestanding compilers.
  31647. + # On the NeXT, cc -E runs the code through the compiler's parser,
  31648. + # not just through cpp. "Syntax error" is here to catch this case.
  31649. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31650. +/* end confdefs.h. */
  31651. +@%:@ifdef __STDC__
  31652. +@%:@ include <limits.h>
  31653. +@%:@else
  31654. +@%:@ include <assert.h>
  31655. +@%:@endif
  31656. + Syntax error
  31657. +_ACEOF
  31658. +if ac_fn_c_try_cpp "$LINENO"; then :
  31659. +
  31660. +else
  31661. + # Broken: fails on valid input.
  31662. +continue
  31663. +fi
  31664. +rm -f conftest.err conftest.i conftest.$ac_ext
  31665. +
  31666. + # OK, works on sane cases. Now check whether nonexistent headers
  31667. + # can be detected and how.
  31668. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31669. +/* end confdefs.h. */
  31670. +@%:@include <ac_nonexistent.h>
  31671. +_ACEOF
  31672. +if ac_fn_c_try_cpp "$LINENO"; then :
  31673. + # Broken: success on invalid input.
  31674. +continue
  31675. +else
  31676. + # Passes both tests.
  31677. +ac_preproc_ok=:
  31678. +break
  31679. +fi
  31680. +rm -f conftest.err conftest.i conftest.$ac_ext
  31681. +
  31682. +done
  31683. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  31684. +rm -f conftest.i conftest.err conftest.$ac_ext
  31685. +if $ac_preproc_ok; then :
  31686. + break
  31687. +fi
  31688. +
  31689. + done
  31690. + ac_cv_prog_CPP=$CPP
  31691. +
  31692. +fi
  31693. + CPP=$ac_cv_prog_CPP
  31694. +else
  31695. + ac_cv_prog_CPP=$CPP
  31696. +fi
  31697. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  31698. +$as_echo "$CPP" >&6; }
  31699. +ac_preproc_ok=false
  31700. +for ac_c_preproc_warn_flag in '' yes
  31701. +do
  31702. + # Use a header file that comes with gcc, so configuring glibc
  31703. + # with a fresh cross-compiler works.
  31704. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  31705. + # <limits.h> exists even on freestanding compilers.
  31706. + # On the NeXT, cc -E runs the code through the compiler's parser,
  31707. + # not just through cpp. "Syntax error" is here to catch this case.
  31708. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31709. +/* end confdefs.h. */
  31710. +@%:@ifdef __STDC__
  31711. +@%:@ include <limits.h>
  31712. +@%:@else
  31713. +@%:@ include <assert.h>
  31714. +@%:@endif
  31715. + Syntax error
  31716. +_ACEOF
  31717. +if ac_fn_c_try_cpp "$LINENO"; then :
  31718. +
  31719. +else
  31720. + # Broken: fails on valid input.
  31721. +continue
  31722. +fi
  31723. +rm -f conftest.err conftest.i conftest.$ac_ext
  31724. +
  31725. + # OK, works on sane cases. Now check whether nonexistent headers
  31726. + # can be detected and how.
  31727. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31728. +/* end confdefs.h. */
  31729. +@%:@include <ac_nonexistent.h>
  31730. +_ACEOF
  31731. +if ac_fn_c_try_cpp "$LINENO"; then :
  31732. + # Broken: success on invalid input.
  31733. +continue
  31734. +else
  31735. + # Passes both tests.
  31736. +ac_preproc_ok=:
  31737. +break
  31738. +fi
  31739. +rm -f conftest.err conftest.i conftest.$ac_ext
  31740. +
  31741. +done
  31742. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  31743. +rm -f conftest.i conftest.err conftest.$ac_ext
  31744. +if $ac_preproc_ok; then :
  31745. +
  31746. +else
  31747. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  31748. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  31749. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  31750. +See \`config.log' for more details" "$LINENO" 5; }
  31751. +fi
  31752. +
  31753. +ac_ext=c
  31754. +ac_cpp='$CPP $CPPFLAGS'
  31755. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  31756. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  31757. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  31758. +
  31759. +
  31760. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  31761. +$as_echo_n "checking for ANSI C header files... " >&6; }
  31762. +if ${ac_cv_header_stdc+:} false; then :
  31763. + $as_echo_n "(cached) " >&6
  31764. +else
  31765. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31766. +/* end confdefs.h. */
  31767. +#include <stdlib.h>
  31768. +#include <stdarg.h>
  31769. +#include <string.h>
  31770. +#include <float.h>
  31771. +
  31772. +int
  31773. +main ()
  31774. +{
  31775. +
  31776. + ;
  31777. + return 0;
  31778. +}
  31779. +_ACEOF
  31780. +if ac_fn_c_try_compile "$LINENO"; then :
  31781. + ac_cv_header_stdc=yes
  31782. +else
  31783. + ac_cv_header_stdc=no
  31784. +fi
  31785. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31786. +
  31787. +if test $ac_cv_header_stdc = yes; then
  31788. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  31789. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31790. +/* end confdefs.h. */
  31791. +#include <string.h>
  31792. +
  31793. +_ACEOF
  31794. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  31795. + $EGREP "memchr" >/dev/null 2>&1; then :
  31796. +
  31797. +else
  31798. + ac_cv_header_stdc=no
  31799. +fi
  31800. +rm -f conftest*
  31801. +
  31802. +fi
  31803. +
  31804. +if test $ac_cv_header_stdc = yes; then
  31805. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  31806. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31807. +/* end confdefs.h. */
  31808. +#include <stdlib.h>
  31809. +
  31810. +_ACEOF
  31811. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  31812. + $EGREP "free" >/dev/null 2>&1; then :
  31813. +
  31814. +else
  31815. + ac_cv_header_stdc=no
  31816. +fi
  31817. +rm -f conftest*
  31818. +
  31819. +fi
  31820. +
  31821. +if test $ac_cv_header_stdc = yes; then
  31822. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  31823. + if test "$cross_compiling" = yes; then :
  31824. + :
  31825. +else
  31826. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31827. +/* end confdefs.h. */
  31828. +#include <ctype.h>
  31829. +#include <stdlib.h>
  31830. +#if ((' ' & 0x0FF) == 0x020)
  31831. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  31832. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  31833. +#else
  31834. +# define ISLOWER(c) \
  31835. + (('a' <= (c) && (c) <= 'i') \
  31836. + || ('j' <= (c) && (c) <= 'r') \
  31837. + || ('s' <= (c) && (c) <= 'z'))
  31838. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  31839. +#endif
  31840. +
  31841. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  31842. +int
  31843. +main ()
  31844. +{
  31845. + int i;
  31846. + for (i = 0; i < 256; i++)
  31847. + if (XOR (islower (i), ISLOWER (i))
  31848. + || toupper (i) != TOUPPER (i))
  31849. + return 2;
  31850. + return 0;
  31851. +}
  31852. +_ACEOF
  31853. +if ac_fn_c_try_run "$LINENO"; then :
  31854. +
  31855. +else
  31856. + ac_cv_header_stdc=no
  31857. +fi
  31858. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31859. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31860. +fi
  31861. +
  31862. +fi
  31863. +fi
  31864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  31865. +$as_echo "$ac_cv_header_stdc" >&6; }
  31866. +if test $ac_cv_header_stdc = yes; then
  31867. +
  31868. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  31869. +
  31870. +fi
  31871. +
  31872. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  31873. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  31874. + inttypes.h stdint.h unistd.h
  31875. +do :
  31876. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  31877. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  31878. +"
  31879. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  31880. + cat >>confdefs.h <<_ACEOF
  31881. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  31882. +_ACEOF
  31883. +
  31884. +fi
  31885. +
  31886. +done
  31887. +
  31888. +
  31889. +for ac_header in dlfcn.h
  31890. +do :
  31891. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  31892. +"
  31893. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  31894. + cat >>confdefs.h <<_ACEOF
  31895. +@%:@define HAVE_DLFCN_H 1
  31896. +_ACEOF
  31897. +
  31898. +fi
  31899. +
  31900. +done
  31901. +
  31902. +
  31903. +
  31904. +
  31905. +
  31906. +# Set options
  31907. +
  31908. +
  31909. +
  31910. + enable_dlopen=no
  31911. +
  31912. +
  31913. + enable_win32_dll=no
  31914. +
  31915. +
  31916. + @%:@ Check whether --enable-shared was given.
  31917. +if test "${enable_shared+set}" = set; then :
  31918. + enableval=$enable_shared; p=${PACKAGE-default}
  31919. + case $enableval in
  31920. + yes) enable_shared=yes ;;
  31921. + no) enable_shared=no ;;
  31922. + *)
  31923. + enable_shared=no
  31924. + # Look at the argument we got. We use all the common list separators.
  31925. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  31926. + for pkg in $enableval; do
  31927. + IFS=$lt_save_ifs
  31928. + if test "X$pkg" = "X$p"; then
  31929. + enable_shared=yes
  31930. + fi
  31931. + done
  31932. + IFS=$lt_save_ifs
  31933. + ;;
  31934. + esac
  31935. +else
  31936. + enable_shared=yes
  31937. +fi
  31938. +
  31939. +
  31940. +
  31941. +
  31942. +
  31943. +
  31944. +
  31945. +
  31946. +
  31947. + @%:@ Check whether --enable-static was given.
  31948. +if test "${enable_static+set}" = set; then :
  31949. + enableval=$enable_static; p=${PACKAGE-default}
  31950. + case $enableval in
  31951. + yes) enable_static=yes ;;
  31952. + no) enable_static=no ;;
  31953. + *)
  31954. + enable_static=no
  31955. + # Look at the argument we got. We use all the common list separators.
  31956. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  31957. + for pkg in $enableval; do
  31958. + IFS=$lt_save_ifs
  31959. + if test "X$pkg" = "X$p"; then
  31960. + enable_static=yes
  31961. + fi
  31962. + done
  31963. + IFS=$lt_save_ifs
  31964. + ;;
  31965. + esac
  31966. +else
  31967. + enable_static=yes
  31968. +fi
  31969. +
  31970. +
  31971. +
  31972. +
  31973. +
  31974. +
  31975. +
  31976. +
  31977. +
  31978. +
  31979. +@%:@ Check whether --with-pic was given.
  31980. +if test "${with_pic+set}" = set; then :
  31981. + withval=$with_pic; lt_p=${PACKAGE-default}
  31982. + case $withval in
  31983. + yes|no) pic_mode=$withval ;;
  31984. + *)
  31985. + pic_mode=default
  31986. + # Look at the argument we got. We use all the common list separators.
  31987. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  31988. + for lt_pkg in $withval; do
  31989. + IFS=$lt_save_ifs
  31990. + if test "X$lt_pkg" = "X$lt_p"; then
  31991. + pic_mode=yes
  31992. + fi
  31993. + done
  31994. + IFS=$lt_save_ifs
  31995. + ;;
  31996. + esac
  31997. +else
  31998. + pic_mode=default
  31999. +fi
  32000. +
  32001. +
  32002. +
  32003. +
  32004. +
  32005. +
  32006. +
  32007. +
  32008. + @%:@ Check whether --enable-fast-install was given.
  32009. +if test "${enable_fast_install+set}" = set; then :
  32010. + enableval=$enable_fast_install; p=${PACKAGE-default}
  32011. + case $enableval in
  32012. + yes) enable_fast_install=yes ;;
  32013. + no) enable_fast_install=no ;;
  32014. + *)
  32015. + enable_fast_install=no
  32016. + # Look at the argument we got. We use all the common list separators.
  32017. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  32018. + for pkg in $enableval; do
  32019. + IFS=$lt_save_ifs
  32020. + if test "X$pkg" = "X$p"; then
  32021. + enable_fast_install=yes
  32022. + fi
  32023. + done
  32024. + IFS=$lt_save_ifs
  32025. + ;;
  32026. + esac
  32027. +else
  32028. + enable_fast_install=yes
  32029. +fi
  32030. +
  32031. +
  32032. +
  32033. +
  32034. +
  32035. +
  32036. +
  32037. +
  32038. + shared_archive_member_spec=
  32039. +case $host,$enable_shared in
  32040. +power*-*-aix[5-9]*,yes)
  32041. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  32042. +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  32043. +
  32044. +@%:@ Check whether --with-aix-soname was given.
  32045. +if test "${with_aix_soname+set}" = set; then :
  32046. + withval=$with_aix_soname; case $withval in
  32047. + aix|svr4|both)
  32048. + ;;
  32049. + *)
  32050. + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  32051. + ;;
  32052. + esac
  32053. + lt_cv_with_aix_soname=$with_aix_soname
  32054. +else
  32055. + if ${lt_cv_with_aix_soname+:} false; then :
  32056. + $as_echo_n "(cached) " >&6
  32057. +else
  32058. + lt_cv_with_aix_soname=aix
  32059. +fi
  32060. +
  32061. + with_aix_soname=$lt_cv_with_aix_soname
  32062. +fi
  32063. +
  32064. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  32065. +$as_echo "$with_aix_soname" >&6; }
  32066. + if test aix != "$with_aix_soname"; then
  32067. + # For the AIX way of multilib, we name the shared archive member
  32068. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  32069. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  32070. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  32071. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  32072. + if test 64 = "${OBJECT_MODE-32}"; then
  32073. + shared_archive_member_spec=shr_64
  32074. + else
  32075. + shared_archive_member_spec=shr
  32076. + fi
  32077. + fi
  32078. + ;;
  32079. +*)
  32080. + with_aix_soname=aix
  32081. + ;;
  32082. +esac
  32083. +
  32084. +
  32085. +
  32086. +
  32087. +
  32088. +
  32089. +
  32090. +
  32091. +
  32092. +
  32093. +# This can be used to rebuild libtool when needed
  32094. +LIBTOOL_DEPS=$ltmain
  32095. +
  32096. +# Always use our own libtool.
  32097. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  32098. +
  32099. +
  32100. +
  32101. +
  32102. +
  32103. +
  32104. +
  32105. +
  32106. +
  32107. +
  32108. +
  32109. +
  32110. +
  32111. +
  32112. +
  32113. +
  32114. +
  32115. +
  32116. +
  32117. +
  32118. +
  32119. +
  32120. +
  32121. +
  32122. +
  32123. +
  32124. +
  32125. +
  32126. +
  32127. +
  32128. +test -z "$LN_S" && LN_S="ln -s"
  32129. +
  32130. +
  32131. +
  32132. +
  32133. +
  32134. +
  32135. +
  32136. +
  32137. +
  32138. +
  32139. +
  32140. +
  32141. +
  32142. +
  32143. +if test -n "${ZSH_VERSION+set}"; then
  32144. + setopt NO_GLOB_SUBST
  32145. +fi
  32146. +
  32147. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  32148. +$as_echo_n "checking for objdir... " >&6; }
  32149. +if ${lt_cv_objdir+:} false; then :
  32150. + $as_echo_n "(cached) " >&6
  32151. +else
  32152. + rm -f .libs 2>/dev/null
  32153. +mkdir .libs 2>/dev/null
  32154. +if test -d .libs; then
  32155. + lt_cv_objdir=.libs
  32156. +else
  32157. + # MS-DOS does not allow filenames that begin with a dot.
  32158. + lt_cv_objdir=_libs
  32159. +fi
  32160. +rmdir .libs 2>/dev/null
  32161. +fi
  32162. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  32163. +$as_echo "$lt_cv_objdir" >&6; }
  32164. +objdir=$lt_cv_objdir
  32165. +
  32166. +
  32167. +
  32168. +
  32169. +
  32170. +cat >>confdefs.h <<_ACEOF
  32171. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  32172. +_ACEOF
  32173. +
  32174. +
  32175. +
  32176. +
  32177. +case $host_os in
  32178. +aix3*)
  32179. + # AIX sometimes has problems with the GCC collect2 program. For some
  32180. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  32181. + # vanish in a puff of smoke.
  32182. + if test set != "${COLLECT_NAMES+set}"; then
  32183. + COLLECT_NAMES=
  32184. + export COLLECT_NAMES
  32185. + fi
  32186. + ;;
  32187. +esac
  32188. +
  32189. +# Global variables:
  32190. +ofile=libtool
  32191. +can_build_shared=yes
  32192. +
  32193. +# All known linkers require a '.a' archive for static linking (except MSVC,
  32194. +# which needs '.lib').
  32195. +libext=a
  32196. +
  32197. +with_gnu_ld=$lt_cv_prog_gnu_ld
  32198. +
  32199. +old_CC=$CC
  32200. +old_CFLAGS=$CFLAGS
  32201. +
  32202. +# Set sane defaults for various variables
  32203. +test -z "$CC" && CC=cc
  32204. +test -z "$LTCC" && LTCC=$CC
  32205. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  32206. +test -z "$LD" && LD=ld
  32207. +test -z "$ac_objext" && ac_objext=o
  32208. +
  32209. +func_cc_basename $compiler
  32210. +cc_basename=$func_cc_basename_result
  32211. +
  32212. +
  32213. +# Only perform the check for file, if the check method requires it
  32214. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  32215. +case $deplibs_check_method in
  32216. +file_magic*)
  32217. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  32218. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  32219. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  32220. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  32221. + $as_echo_n "(cached) " >&6
  32222. +else
  32223. + case $MAGIC_CMD in
  32224. +[\\/*] | ?:[\\/]*)
  32225. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  32226. + ;;
  32227. +*)
  32228. + lt_save_MAGIC_CMD=$MAGIC_CMD
  32229. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  32230. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  32231. + for ac_dir in $ac_dummy; do
  32232. + IFS=$lt_save_ifs
  32233. + test -z "$ac_dir" && ac_dir=.
  32234. + if test -f "$ac_dir/${ac_tool_prefix}file"; then
  32235. + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  32236. + if test -n "$file_magic_test_file"; then
  32237. + case $deplibs_check_method in
  32238. + "file_magic "*)
  32239. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  32240. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32241. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  32242. + $EGREP "$file_magic_regex" > /dev/null; then
  32243. + :
  32244. + else
  32245. + cat <<_LT_EOF 1>&2
  32246. +
  32247. +*** Warning: the command libtool uses to detect shared libraries,
  32248. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  32249. +*** The result is that libtool may fail to recognize shared libraries
  32250. +*** as such. This will affect the creation of libtool libraries that
  32251. +*** depend on shared libraries, but programs linked with such libtool
  32252. +*** libraries will work regardless of this problem. Nevertheless, you
  32253. +*** may want to report the problem to your system manager and/or to
  32254. +
  32255. +_LT_EOF
  32256. + fi ;;
  32257. + esac
  32258. + fi
  32259. + break
  32260. + fi
  32261. + done
  32262. + IFS=$lt_save_ifs
  32263. + MAGIC_CMD=$lt_save_MAGIC_CMD
  32264. + ;;
  32265. +esac
  32266. +fi
  32267. +
  32268. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32269. +if test -n "$MAGIC_CMD"; then
  32270. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  32271. +$as_echo "$MAGIC_CMD" >&6; }
  32272. +else
  32273. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32274. +$as_echo "no" >&6; }
  32275. +fi
  32276. +
  32277. +
  32278. +
  32279. +
  32280. +
  32281. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  32282. + if test -n "$ac_tool_prefix"; then
  32283. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  32284. +$as_echo_n "checking for file... " >&6; }
  32285. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  32286. + $as_echo_n "(cached) " >&6
  32287. +else
  32288. + case $MAGIC_CMD in
  32289. +[\\/*] | ?:[\\/]*)
  32290. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  32291. + ;;
  32292. +*)
  32293. + lt_save_MAGIC_CMD=$MAGIC_CMD
  32294. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  32295. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  32296. + for ac_dir in $ac_dummy; do
  32297. + IFS=$lt_save_ifs
  32298. + test -z "$ac_dir" && ac_dir=.
  32299. + if test -f "$ac_dir/file"; then
  32300. + lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  32301. + if test -n "$file_magic_test_file"; then
  32302. + case $deplibs_check_method in
  32303. + "file_magic "*)
  32304. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  32305. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32306. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  32307. + $EGREP "$file_magic_regex" > /dev/null; then
  32308. + :
  32309. + else
  32310. + cat <<_LT_EOF 1>&2
  32311. +
  32312. +*** Warning: the command libtool uses to detect shared libraries,
  32313. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  32314. +*** The result is that libtool may fail to recognize shared libraries
  32315. +*** as such. This will affect the creation of libtool libraries that
  32316. +*** depend on shared libraries, but programs linked with such libtool
  32317. +*** libraries will work regardless of this problem. Nevertheless, you
  32318. +*** may want to report the problem to your system manager and/or to
  32319. +
  32320. +_LT_EOF
  32321. + fi ;;
  32322. + esac
  32323. + fi
  32324. + break
  32325. + fi
  32326. + done
  32327. + IFS=$lt_save_ifs
  32328. + MAGIC_CMD=$lt_save_MAGIC_CMD
  32329. + ;;
  32330. +esac
  32331. +fi
  32332. +
  32333. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  32334. +if test -n "$MAGIC_CMD"; then
  32335. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  32336. +$as_echo "$MAGIC_CMD" >&6; }
  32337. +else
  32338. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32339. +$as_echo "no" >&6; }
  32340. +fi
  32341. +
  32342. +
  32343. + else
  32344. + MAGIC_CMD=:
  32345. + fi
  32346. +fi
  32347. +
  32348. + fi
  32349. + ;;
  32350. +esac
  32351. +
  32352. +# Use C for the default configuration in the libtool script
  32353. +
  32354. +lt_save_CC=$CC
  32355. +ac_ext=c
  32356. +ac_cpp='$CPP $CPPFLAGS'
  32357. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  32358. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  32359. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  32360. +
  32361. +
  32362. +# Source file extension for C test sources.
  32363. +ac_ext=c
  32364. +
  32365. +# Object file extension for compiled C test sources.
  32366. +objext=o
  32367. +objext=$objext
  32368. +
  32369. +# Code to be used in simple compile tests
  32370. +lt_simple_compile_test_code="int some_variable = 0;"
  32371. +
  32372. +# Code to be used in simple link tests
  32373. +lt_simple_link_test_code='int main(){return(0);}'
  32374. +
  32375. +
  32376. +
  32377. +
  32378. +
  32379. +
  32380. +
  32381. +# If no C compiler was specified, use CC.
  32382. +LTCC=${LTCC-"$CC"}
  32383. +
  32384. +# If no C compiler flags were specified, use CFLAGS.
  32385. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  32386. +
  32387. +# Allow CC to be a program name with arguments.
  32388. +compiler=$CC
  32389. +
  32390. +# Save the default compiler, since it gets overwritten when the other
  32391. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  32392. +compiler_DEFAULT=$CC
  32393. +
  32394. +# save warnings/boilerplate of simple test code
  32395. +ac_outfile=conftest.$ac_objext
  32396. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  32397. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  32398. +_lt_compiler_boilerplate=`cat conftest.err`
  32399. +$RM conftest*
  32400. +
  32401. +ac_outfile=conftest.$ac_objext
  32402. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  32403. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  32404. +_lt_linker_boilerplate=`cat conftest.err`
  32405. +$RM -r conftest*
  32406. +
  32407. +
  32408. +## CAVEAT EMPTOR:
  32409. +## There is no encapsulation within the following macros, do not change
  32410. +## the running order or otherwise move them around unless you know exactly
  32411. +## what you are doing...
  32412. +if test -n "$compiler"; then
  32413. +
  32414. +lt_prog_compiler_no_builtin_flag=
  32415. +
  32416. +if test yes = "$GCC"; then
  32417. + case $cc_basename in
  32418. + nvcc*)
  32419. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  32420. + *)
  32421. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  32422. + esac
  32423. +
  32424. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  32425. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  32426. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  32427. + $as_echo_n "(cached) " >&6
  32428. +else
  32429. + lt_cv_prog_compiler_rtti_exceptions=no
  32430. + ac_outfile=conftest.$ac_objext
  32431. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32432. + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  32433. + # Insert the option either (1) after the last *FLAGS variable, or
  32434. + # (2) before a word containing "conftest.", or (3) at the end.
  32435. + # Note that $ac_compile itself does not contain backslashes and begins
  32436. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  32437. + # The option is referenced via a variable to avoid confusing sed.
  32438. + lt_compile=`echo "$ac_compile" | $SED \
  32439. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  32440. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  32441. + -e 's:$: $lt_compiler_flag:'`
  32442. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  32443. + (eval "$lt_compile" 2>conftest.err)
  32444. + ac_status=$?
  32445. + cat conftest.err >&5
  32446. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32447. + if (exit $ac_status) && test -s "$ac_outfile"; then
  32448. + # The compiler can only warn and ignore the option if not recognized
  32449. + # So say no if there are warnings other than the usual output.
  32450. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  32451. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  32452. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  32453. + lt_cv_prog_compiler_rtti_exceptions=yes
  32454. + fi
  32455. + fi
  32456. + $RM conftest*
  32457. +
  32458. +fi
  32459. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  32460. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  32461. +
  32462. +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  32463. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  32464. +else
  32465. + :
  32466. +fi
  32467. +
  32468. +fi
  32469. +
  32470. +
  32471. +
  32472. +
  32473. +
  32474. +
  32475. + lt_prog_compiler_wl=
  32476. +lt_prog_compiler_pic=
  32477. +lt_prog_compiler_static=
  32478. +
  32479. +
  32480. + if test yes = "$GCC"; then
  32481. + lt_prog_compiler_wl='-Wl,'
  32482. + lt_prog_compiler_static='-static'
  32483. +
  32484. + case $host_os in
  32485. + aix*)
  32486. + # All AIX code is PIC.
  32487. + if test ia64 = "$host_cpu"; then
  32488. + # AIX 5 now supports IA64 processor
  32489. + lt_prog_compiler_static='-Bstatic'
  32490. + fi
  32491. + lt_prog_compiler_pic='-fPIC'
  32492. + ;;
  32493. +
  32494. + amigaos*)
  32495. + case $host_cpu in
  32496. + powerpc)
  32497. + # see comment about AmigaOS4 .so support
  32498. + lt_prog_compiler_pic='-fPIC'
  32499. + ;;
  32500. + m68k)
  32501. + # FIXME: we need at least 68020 code to build shared libraries, but
  32502. + # adding the '-m68020' flag to GCC prevents building anything better,
  32503. + # like '-m68040'.
  32504. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  32505. + ;;
  32506. + esac
  32507. + ;;
  32508. +
  32509. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  32510. + # PIC is the default for these OSes.
  32511. + ;;
  32512. +
  32513. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  32514. + # This hack is so that the source file can tell whether it is being
  32515. + # built for inclusion in a dll (and should export symbols for example).
  32516. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  32517. + # (--disable-auto-import) libraries
  32518. + lt_prog_compiler_pic='-DDLL_EXPORT'
  32519. + case $host_os in
  32520. + os2*)
  32521. + lt_prog_compiler_static='$wl-static'
  32522. + ;;
  32523. + esac
  32524. + ;;
  32525. +
  32526. + darwin* | rhapsody*)
  32527. + # PIC is the default on this platform
  32528. + # Common symbols not allowed in MH_DYLIB files
  32529. + lt_prog_compiler_pic='-fno-common'
  32530. + ;;
  32531. +
  32532. + haiku*)
  32533. + # PIC is the default for Haiku.
  32534. + # The "-static" flag exists, but is broken.
  32535. + lt_prog_compiler_static=
  32536. + ;;
  32537. +
  32538. + hpux*)
  32539. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  32540. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  32541. + # sets the default TLS model and affects inlining.
  32542. + case $host_cpu in
  32543. + hppa*64*)
  32544. + # +Z the default
  32545. + ;;
  32546. + *)
  32547. + lt_prog_compiler_pic='-fPIC'
  32548. + ;;
  32549. + esac
  32550. + ;;
  32551. +
  32552. + interix[3-9]*)
  32553. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  32554. + # Instead, we relocate shared libraries at runtime.
  32555. + ;;
  32556. +
  32557. + msdosdjgpp*)
  32558. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  32559. + # on systems that don't support them.
  32560. + lt_prog_compiler_can_build_shared=no
  32561. + enable_shared=no
  32562. + ;;
  32563. +
  32564. + *nto* | *qnx*)
  32565. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  32566. + # it will coredump.
  32567. + lt_prog_compiler_pic='-fPIC -shared'
  32568. + ;;
  32569. +
  32570. + sysv4*MP*)
  32571. + if test -d /usr/nec; then
  32572. + lt_prog_compiler_pic=-Kconform_pic
  32573. + fi
  32574. + ;;
  32575. +
  32576. + *)
  32577. + lt_prog_compiler_pic='-fPIC'
  32578. + ;;
  32579. + esac
  32580. +
  32581. + case $cc_basename in
  32582. + nvcc*) # Cuda Compiler Driver 2.2
  32583. + lt_prog_compiler_wl='-Xlinker '
  32584. + if test -n "$lt_prog_compiler_pic"; then
  32585. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  32586. + fi
  32587. + ;;
  32588. + esac
  32589. + else
  32590. + # PORTME Check for flag to pass linker flags through the system compiler.
  32591. + case $host_os in
  32592. + aix*)
  32593. + lt_prog_compiler_wl='-Wl,'
  32594. + if test ia64 = "$host_cpu"; then
  32595. + # AIX 5 now supports IA64 processor
  32596. + lt_prog_compiler_static='-Bstatic'
  32597. + else
  32598. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  32599. + fi
  32600. + ;;
  32601. +
  32602. + darwin* | rhapsody*)
  32603. + # PIC is the default on this platform
  32604. + # Common symbols not allowed in MH_DYLIB files
  32605. + lt_prog_compiler_pic='-fno-common'
  32606. + case $cc_basename in
  32607. + nagfor*)
  32608. + # NAG Fortran compiler
  32609. + lt_prog_compiler_wl='-Wl,-Wl,,'
  32610. + lt_prog_compiler_pic='-PIC'
  32611. + lt_prog_compiler_static='-Bstatic'
  32612. + ;;
  32613. + esac
  32614. + ;;
  32615. +
  32616. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  32617. + # This hack is so that the source file can tell whether it is being
  32618. + # built for inclusion in a dll (and should export symbols for example).
  32619. + lt_prog_compiler_pic='-DDLL_EXPORT'
  32620. + case $host_os in
  32621. + os2*)
  32622. + lt_prog_compiler_static='$wl-static'
  32623. + ;;
  32624. + esac
  32625. + ;;
  32626. +
  32627. + hpux9* | hpux10* | hpux11*)
  32628. + lt_prog_compiler_wl='-Wl,'
  32629. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  32630. + # not for PA HP-UX.
  32631. + case $host_cpu in
  32632. + hppa*64*|ia64*)
  32633. + # +Z the default
  32634. + ;;
  32635. + *)
  32636. + lt_prog_compiler_pic='+Z'
  32637. + ;;
  32638. + esac
  32639. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  32640. + lt_prog_compiler_static='$wl-a ${wl}archive'
  32641. + ;;
  32642. +
  32643. + irix5* | irix6* | nonstopux*)
  32644. + lt_prog_compiler_wl='-Wl,'
  32645. + # PIC (with -KPIC) is the default.
  32646. + lt_prog_compiler_static='-non_shared'
  32647. + ;;
  32648. +
  32649. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  32650. + case $cc_basename in
  32651. + # old Intel for x86_64, which still supported -KPIC.
  32652. + ecc*)
  32653. + lt_prog_compiler_wl='-Wl,'
  32654. + lt_prog_compiler_pic='-KPIC'
  32655. + lt_prog_compiler_static='-static'
  32656. + ;;
  32657. + # icc used to be incompatible with GCC.
  32658. + # ICC 10 doesn't accept -KPIC any more.
  32659. + icc* | ifort*)
  32660. + lt_prog_compiler_wl='-Wl,'
  32661. + lt_prog_compiler_pic='-fPIC'
  32662. + lt_prog_compiler_static='-static'
  32663. + ;;
  32664. + # Lahey Fortran 8.1.
  32665. + lf95*)
  32666. + lt_prog_compiler_wl='-Wl,'
  32667. + lt_prog_compiler_pic='--shared'
  32668. + lt_prog_compiler_static='--static'
  32669. + ;;
  32670. + nagfor*)
  32671. + # NAG Fortran compiler
  32672. + lt_prog_compiler_wl='-Wl,-Wl,,'
  32673. + lt_prog_compiler_pic='-PIC'
  32674. + lt_prog_compiler_static='-Bstatic'
  32675. + ;;
  32676. + tcc*)
  32677. + # Fabrice Bellard et al's Tiny C Compiler
  32678. + lt_prog_compiler_wl='-Wl,'
  32679. + lt_prog_compiler_pic='-fPIC'
  32680. + lt_prog_compiler_static='-static'
  32681. + ;;
  32682. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  32683. + # Portland Group compilers (*not* the Pentium gcc compiler,
  32684. + # which looks to be a dead project)
  32685. + lt_prog_compiler_wl='-Wl,'
  32686. + lt_prog_compiler_pic='-fpic'
  32687. + lt_prog_compiler_static='-Bstatic'
  32688. + ;;
  32689. + ccc*)
  32690. + lt_prog_compiler_wl='-Wl,'
  32691. + # All Alpha code is PIC.
  32692. + lt_prog_compiler_static='-non_shared'
  32693. + ;;
  32694. + xl* | bgxl* | bgf* | mpixl*)
  32695. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  32696. + lt_prog_compiler_wl='-Wl,'
  32697. + lt_prog_compiler_pic='-qpic'
  32698. + lt_prog_compiler_static='-qstaticlink'
  32699. + ;;
  32700. + *)
  32701. + case `$CC -V 2>&1 | sed 5q` in
  32702. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  32703. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  32704. + lt_prog_compiler_pic='-KPIC'
  32705. + lt_prog_compiler_static='-Bstatic'
  32706. + lt_prog_compiler_wl=''
  32707. + ;;
  32708. + *Sun\ F* | *Sun*Fortran*)
  32709. + lt_prog_compiler_pic='-KPIC'
  32710. + lt_prog_compiler_static='-Bstatic'
  32711. + lt_prog_compiler_wl='-Qoption ld '
  32712. + ;;
  32713. + *Sun\ C*)
  32714. + # Sun C 5.9
  32715. + lt_prog_compiler_pic='-KPIC'
  32716. + lt_prog_compiler_static='-Bstatic'
  32717. + lt_prog_compiler_wl='-Wl,'
  32718. + ;;
  32719. + *Intel*\ [CF]*Compiler*)
  32720. + lt_prog_compiler_wl='-Wl,'
  32721. + lt_prog_compiler_pic='-fPIC'
  32722. + lt_prog_compiler_static='-static'
  32723. + ;;
  32724. + *Portland\ Group*)
  32725. + lt_prog_compiler_wl='-Wl,'
  32726. + lt_prog_compiler_pic='-fpic'
  32727. + lt_prog_compiler_static='-Bstatic'
  32728. + ;;
  32729. + esac
  32730. + ;;
  32731. + esac
  32732. + ;;
  32733. +
  32734. + newsos6)
  32735. + lt_prog_compiler_pic='-KPIC'
  32736. + lt_prog_compiler_static='-Bstatic'
  32737. + ;;
  32738. +
  32739. + *nto* | *qnx*)
  32740. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  32741. + # it will coredump.
  32742. + lt_prog_compiler_pic='-fPIC -shared'
  32743. + ;;
  32744. +
  32745. + osf3* | osf4* | osf5*)
  32746. + lt_prog_compiler_wl='-Wl,'
  32747. + # All OSF/1 code is PIC.
  32748. + lt_prog_compiler_static='-non_shared'
  32749. + ;;
  32750. +
  32751. + rdos*)
  32752. + lt_prog_compiler_static='-non_shared'
  32753. + ;;
  32754. +
  32755. + solaris*)
  32756. + lt_prog_compiler_pic='-KPIC'
  32757. + lt_prog_compiler_static='-Bstatic'
  32758. + case $cc_basename in
  32759. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  32760. + lt_prog_compiler_wl='-Qoption ld ';;
  32761. + *)
  32762. + lt_prog_compiler_wl='-Wl,';;
  32763. + esac
  32764. + ;;
  32765. +
  32766. + sunos4*)
  32767. + lt_prog_compiler_wl='-Qoption ld '
  32768. + lt_prog_compiler_pic='-PIC'
  32769. + lt_prog_compiler_static='-Bstatic'
  32770. + ;;
  32771. +
  32772. + sysv4 | sysv4.2uw2* | sysv4.3*)
  32773. + lt_prog_compiler_wl='-Wl,'
  32774. + lt_prog_compiler_pic='-KPIC'
  32775. + lt_prog_compiler_static='-Bstatic'
  32776. + ;;
  32777. +
  32778. + sysv4*MP*)
  32779. + if test -d /usr/nec; then
  32780. + lt_prog_compiler_pic='-Kconform_pic'
  32781. + lt_prog_compiler_static='-Bstatic'
  32782. + fi
  32783. + ;;
  32784. +
  32785. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  32786. + lt_prog_compiler_wl='-Wl,'
  32787. + lt_prog_compiler_pic='-KPIC'
  32788. + lt_prog_compiler_static='-Bstatic'
  32789. + ;;
  32790. +
  32791. + unicos*)
  32792. + lt_prog_compiler_wl='-Wl,'
  32793. + lt_prog_compiler_can_build_shared=no
  32794. + ;;
  32795. +
  32796. + uts4*)
  32797. + lt_prog_compiler_pic='-pic'
  32798. + lt_prog_compiler_static='-Bstatic'
  32799. + ;;
  32800. +
  32801. + *)
  32802. + lt_prog_compiler_can_build_shared=no
  32803. + ;;
  32804. + esac
  32805. + fi
  32806. +
  32807. +case $host_os in
  32808. + # For platforms that do not support PIC, -DPIC is meaningless:
  32809. + *djgpp*)
  32810. + lt_prog_compiler_pic=
  32811. + ;;
  32812. + *)
  32813. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  32814. + ;;
  32815. +esac
  32816. +
  32817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  32818. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  32819. +if ${lt_cv_prog_compiler_pic+:} false; then :
  32820. + $as_echo_n "(cached) " >&6
  32821. +else
  32822. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  32823. +fi
  32824. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  32825. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  32826. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  32827. +
  32828. +#
  32829. +# Check to make sure the PIC flag actually works.
  32830. +#
  32831. +if test -n "$lt_prog_compiler_pic"; then
  32832. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  32833. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  32834. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  32835. + $as_echo_n "(cached) " >&6
  32836. +else
  32837. + lt_cv_prog_compiler_pic_works=no
  32838. + ac_outfile=conftest.$ac_objext
  32839. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32840. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
  32841. + # Insert the option either (1) after the last *FLAGS variable, or
  32842. + # (2) before a word containing "conftest.", or (3) at the end.
  32843. + # Note that $ac_compile itself does not contain backslashes and begins
  32844. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  32845. + # The option is referenced via a variable to avoid confusing sed.
  32846. + lt_compile=`echo "$ac_compile" | $SED \
  32847. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  32848. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  32849. + -e 's:$: $lt_compiler_flag:'`
  32850. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  32851. + (eval "$lt_compile" 2>conftest.err)
  32852. + ac_status=$?
  32853. + cat conftest.err >&5
  32854. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32855. + if (exit $ac_status) && test -s "$ac_outfile"; then
  32856. + # The compiler can only warn and ignore the option if not recognized
  32857. + # So say no if there are warnings other than the usual output.
  32858. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  32859. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  32860. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  32861. + lt_cv_prog_compiler_pic_works=yes
  32862. + fi
  32863. + fi
  32864. + $RM conftest*
  32865. +
  32866. +fi
  32867. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  32868. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  32869. +
  32870. +if test yes = "$lt_cv_prog_compiler_pic_works"; then
  32871. + case $lt_prog_compiler_pic in
  32872. + "" | " "*) ;;
  32873. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  32874. + esac
  32875. +else
  32876. + lt_prog_compiler_pic=
  32877. + lt_prog_compiler_can_build_shared=no
  32878. +fi
  32879. +
  32880. +fi
  32881. +
  32882. +
  32883. +
  32884. +
  32885. +
  32886. +
  32887. +
  32888. +
  32889. +
  32890. +
  32891. +
  32892. +#
  32893. +# Check to make sure the static flag actually works.
  32894. +#
  32895. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  32896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  32897. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  32898. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  32899. + $as_echo_n "(cached) " >&6
  32900. +else
  32901. + lt_cv_prog_compiler_static_works=no
  32902. + save_LDFLAGS=$LDFLAGS
  32903. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  32904. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  32905. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  32906. + # The linker can only warn and ignore the option if not recognized
  32907. + # So say no if there are warnings
  32908. + if test -s conftest.err; then
  32909. + # Append any errors to the config.log.
  32910. + cat conftest.err 1>&5
  32911. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  32912. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  32913. + if diff conftest.exp conftest.er2 >/dev/null; then
  32914. + lt_cv_prog_compiler_static_works=yes
  32915. + fi
  32916. + else
  32917. + lt_cv_prog_compiler_static_works=yes
  32918. + fi
  32919. + fi
  32920. + $RM -r conftest*
  32921. + LDFLAGS=$save_LDFLAGS
  32922. +
  32923. +fi
  32924. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  32925. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  32926. +
  32927. +if test yes = "$lt_cv_prog_compiler_static_works"; then
  32928. + :
  32929. +else
  32930. + lt_prog_compiler_static=
  32931. +fi
  32932. +
  32933. +
  32934. +
  32935. +
  32936. +
  32937. +
  32938. +
  32939. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  32940. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  32941. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  32942. + $as_echo_n "(cached) " >&6
  32943. +else
  32944. + lt_cv_prog_compiler_c_o=no
  32945. + $RM -r conftest 2>/dev/null
  32946. + mkdir conftest
  32947. + cd conftest
  32948. + mkdir out
  32949. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32950. +
  32951. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  32952. + # Insert the option either (1) after the last *FLAGS variable, or
  32953. + # (2) before a word containing "conftest.", or (3) at the end.
  32954. + # Note that $ac_compile itself does not contain backslashes and begins
  32955. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  32956. + lt_compile=`echo "$ac_compile" | $SED \
  32957. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  32958. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  32959. + -e 's:$: $lt_compiler_flag:'`
  32960. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  32961. + (eval "$lt_compile" 2>out/conftest.err)
  32962. + ac_status=$?
  32963. + cat out/conftest.err >&5
  32964. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32965. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  32966. + then
  32967. + # The compiler can only warn and ignore the option if not recognized
  32968. + # So say no if there are warnings
  32969. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  32970. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  32971. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  32972. + lt_cv_prog_compiler_c_o=yes
  32973. + fi
  32974. + fi
  32975. + chmod u+w . 2>&5
  32976. + $RM conftest*
  32977. + # SGI C++ compiler will create directory out/ii_files/ for
  32978. + # template instantiation
  32979. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  32980. + $RM out/* && rmdir out
  32981. + cd ..
  32982. + $RM -r conftest
  32983. + $RM conftest*
  32984. +
  32985. +fi
  32986. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  32987. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  32988. +
  32989. +
  32990. +
  32991. +
  32992. +
  32993. +
  32994. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  32995. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  32996. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  32997. + $as_echo_n "(cached) " >&6
  32998. +else
  32999. + lt_cv_prog_compiler_c_o=no
  33000. + $RM -r conftest 2>/dev/null
  33001. + mkdir conftest
  33002. + cd conftest
  33003. + mkdir out
  33004. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  33005. +
  33006. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  33007. + # Insert the option either (1) after the last *FLAGS variable, or
  33008. + # (2) before a word containing "conftest.", or (3) at the end.
  33009. + # Note that $ac_compile itself does not contain backslashes and begins
  33010. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  33011. + lt_compile=`echo "$ac_compile" | $SED \
  33012. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  33013. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  33014. + -e 's:$: $lt_compiler_flag:'`
  33015. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  33016. + (eval "$lt_compile" 2>out/conftest.err)
  33017. + ac_status=$?
  33018. + cat out/conftest.err >&5
  33019. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33020. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  33021. + then
  33022. + # The compiler can only warn and ignore the option if not recognized
  33023. + # So say no if there are warnings
  33024. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  33025. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  33026. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  33027. + lt_cv_prog_compiler_c_o=yes
  33028. + fi
  33029. + fi
  33030. + chmod u+w . 2>&5
  33031. + $RM conftest*
  33032. + # SGI C++ compiler will create directory out/ii_files/ for
  33033. + # template instantiation
  33034. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  33035. + $RM out/* && rmdir out
  33036. + cd ..
  33037. + $RM -r conftest
  33038. + $RM conftest*
  33039. +
  33040. +fi
  33041. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  33042. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  33043. +
  33044. +
  33045. +
  33046. +
  33047. +hard_links=nottested
  33048. +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  33049. + # do not overwrite the value of need_locks provided by the user
  33050. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  33051. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  33052. + hard_links=yes
  33053. + $RM conftest*
  33054. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  33055. + touch conftest.a
  33056. + ln conftest.a conftest.b 2>&5 || hard_links=no
  33057. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  33058. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  33059. +$as_echo "$hard_links" >&6; }
  33060. + if test no = "$hard_links"; then
  33061. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  33062. +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  33063. + need_locks=warn
  33064. + fi
  33065. +else
  33066. + need_locks=no
  33067. +fi
  33068. +
  33069. +
  33070. +
  33071. +
  33072. +
  33073. +
  33074. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  33075. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  33076. +
  33077. + runpath_var=
  33078. + allow_undefined_flag=
  33079. + always_export_symbols=no
  33080. + archive_cmds=
  33081. + archive_expsym_cmds=
  33082. + compiler_needs_object=no
  33083. + enable_shared_with_static_runtimes=no
  33084. + export_dynamic_flag_spec=
  33085. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  33086. + hardcode_automatic=no
  33087. + hardcode_direct=no
  33088. + hardcode_direct_absolute=no
  33089. + hardcode_libdir_flag_spec=
  33090. + hardcode_libdir_separator=
  33091. + hardcode_minus_L=no
  33092. + hardcode_shlibpath_var=unsupported
  33093. + inherit_rpath=no
  33094. + link_all_deplibs=unknown
  33095. + module_cmds=
  33096. + module_expsym_cmds=
  33097. + old_archive_from_new_cmds=
  33098. + old_archive_from_expsyms_cmds=
  33099. + thread_safe_flag_spec=
  33100. + whole_archive_flag_spec=
  33101. + # include_expsyms should be a list of space-separated symbols to be *always*
  33102. + # included in the symbol list
  33103. + include_expsyms=
  33104. + # exclude_expsyms can be an extended regexp of symbols to exclude
  33105. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  33106. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  33107. + # as well as any symbol that contains 'd'.
  33108. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  33109. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  33110. + # platforms (ab)use it in PIC code, but their linkers get confused if
  33111. + # the symbol is explicitly referenced. Since portable code cannot
  33112. + # rely on this symbol name, it's probably fine to never include it in
  33113. + # preloaded symbol tables.
  33114. + # Exclude shared library initialization/finalization symbols.
  33115. + extract_expsyms_cmds=
  33116. +
  33117. + case $host_os in
  33118. + cygwin* | mingw* | pw32* | cegcc*)
  33119. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  33120. + # When not using gcc, we currently assume that we are using
  33121. + # Microsoft Visual C++.
  33122. + if test yes != "$GCC"; then
  33123. + with_gnu_ld=no
  33124. + fi
  33125. + ;;
  33126. + interix*)
  33127. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  33128. + with_gnu_ld=yes
  33129. + ;;
  33130. + openbsd* | bitrig*)
  33131. + with_gnu_ld=no
  33132. + ;;
  33133. + esac
  33134. +
  33135. + ld_shlibs=yes
  33136. +
  33137. + # On some targets, GNU ld is compatible enough with the native linker
  33138. + # that we're better off using the native interface for both.
  33139. + lt_use_gnu_ld_interface=no
  33140. + if test yes = "$with_gnu_ld"; then
  33141. + case $host_os in
  33142. + aix*)
  33143. + # The AIX port of GNU ld has always aspired to compatibility
  33144. + # with the native linker. However, as the warning in the GNU ld
  33145. + # block says, versions before 2.19.5* couldn't really create working
  33146. + # shared libraries, regardless of the interface used.
  33147. + case `$LD -v 2>&1` in
  33148. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  33149. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  33150. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  33151. + *)
  33152. + lt_use_gnu_ld_interface=yes
  33153. + ;;
  33154. + esac
  33155. + ;;
  33156. + *)
  33157. + lt_use_gnu_ld_interface=yes
  33158. + ;;
  33159. + esac
  33160. + fi
  33161. +
  33162. + if test yes = "$lt_use_gnu_ld_interface"; then
  33163. + # If archive_cmds runs LD, not CC, wlarc should be empty
  33164. + wlarc='$wl'
  33165. +
  33166. + # Set some defaults for GNU ld with shared library support. These
  33167. + # are reset later if shared libraries are not supported. Putting them
  33168. + # here allows them to be overridden if necessary.
  33169. + runpath_var=LD_RUN_PATH
  33170. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  33171. + export_dynamic_flag_spec='$wl--export-dynamic'
  33172. + # ancient GNU ld didn't support --whole-archive et. al.
  33173. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  33174. + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  33175. + else
  33176. + whole_archive_flag_spec=
  33177. + fi
  33178. + supports_anon_versioning=no
  33179. + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  33180. + *GNU\ gold*) supports_anon_versioning=yes ;;
  33181. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  33182. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  33183. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  33184. + *\ 2.11.*) ;; # other 2.11 versions
  33185. + *) supports_anon_versioning=yes ;;
  33186. + esac
  33187. +
  33188. + # See if GNU ld supports shared libraries.
  33189. + case $host_os in
  33190. + aix[3-9]*)
  33191. + # On AIX/PPC, the GNU linker is very broken
  33192. + if test ia64 != "$host_cpu"; then
  33193. + ld_shlibs=no
  33194. + cat <<_LT_EOF 1>&2
  33195. +
  33196. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  33197. +*** to be unable to reliably create shared libraries on AIX.
  33198. +*** Therefore, libtool is disabling shared libraries support. If you
  33199. +*** really care for shared libraries, you may want to install binutils
  33200. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  33201. +*** You will then need to restart the configuration process.
  33202. +
  33203. +_LT_EOF
  33204. + fi
  33205. + ;;
  33206. +
  33207. + amigaos*)
  33208. + case $host_cpu in
  33209. + powerpc)
  33210. + # see comment about AmigaOS4 .so support
  33211. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33212. + archive_expsym_cmds=''
  33213. + ;;
  33214. + m68k)
  33215. + archive_cmds='$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)'
  33216. + hardcode_libdir_flag_spec='-L$libdir'
  33217. + hardcode_minus_L=yes
  33218. + ;;
  33219. + esac
  33220. + ;;
  33221. +
  33222. + beos*)
  33223. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33224. + allow_undefined_flag=unsupported
  33225. + # Joseph Beckenbach <[email protected]> says some releases of gcc
  33226. + # support --undefined. This deserves some investigation. FIXME
  33227. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33228. + else
  33229. + ld_shlibs=no
  33230. + fi
  33231. + ;;
  33232. +
  33233. + cygwin* | mingw* | pw32* | cegcc*)
  33234. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  33235. + # as there is no search path for DLLs.
  33236. + hardcode_libdir_flag_spec='-L$libdir'
  33237. + export_dynamic_flag_spec='$wl--export-all-symbols'
  33238. + allow_undefined_flag=unsupported
  33239. + always_export_symbols=no
  33240. + enable_shared_with_static_runtimes=yes
  33241. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  33242. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  33243. +
  33244. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  33245. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  33246. + # If the export-symbols file already is a .def file, use it as
  33247. + # is; otherwise, prepend EXPORTS...
  33248. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  33249. + cp $export_symbols $output_objdir/$soname.def;
  33250. + else
  33251. + echo EXPORTS > $output_objdir/$soname.def;
  33252. + cat $export_symbols >> $output_objdir/$soname.def;
  33253. + fi~
  33254. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  33255. + else
  33256. + ld_shlibs=no
  33257. + fi
  33258. + ;;
  33259. +
  33260. + haiku*)
  33261. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33262. + link_all_deplibs=yes
  33263. + ;;
  33264. +
  33265. + os2*)
  33266. + hardcode_libdir_flag_spec='-L$libdir'
  33267. + hardcode_minus_L=yes
  33268. + allow_undefined_flag=unsupported
  33269. + shrext_cmds=.dll
  33270. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  33271. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  33272. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  33273. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  33274. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  33275. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  33276. + emximp -o $lib $output_objdir/$libname.def'
  33277. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  33278. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  33279. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  33280. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  33281. + prefix_cmds="$SED"~
  33282. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  33283. + prefix_cmds="$prefix_cmds -e 1d";
  33284. + fi~
  33285. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  33286. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  33287. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  33288. + emximp -o $lib $output_objdir/$libname.def'
  33289. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  33290. + enable_shared_with_static_runtimes=yes
  33291. + ;;
  33292. +
  33293. + interix[3-9]*)
  33294. + hardcode_direct=no
  33295. + hardcode_shlibpath_var=no
  33296. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  33297. + export_dynamic_flag_spec='$wl-E'
  33298. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  33299. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  33300. + # default) and relocated if they conflict, which is a slow very memory
  33301. + # consuming and fragmenting process. To avoid this, we pick a random,
  33302. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  33303. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  33304. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  33305. + archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  33306. + ;;
  33307. +
  33308. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  33309. + tmp_diet=no
  33310. + if test linux-dietlibc = "$host_os"; then
  33311. + case $cc_basename in
  33312. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  33313. + esac
  33314. + fi
  33315. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  33316. + && test no = "$tmp_diet"
  33317. + then
  33318. + tmp_addflag=' $pic_flag'
  33319. + tmp_sharedflag='-shared'
  33320. + case $cc_basename,$host_cpu in
  33321. + pgcc*) # Portland Group C compiler
  33322. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  33323. + tmp_addflag=' $pic_flag'
  33324. + ;;
  33325. + pgf77* | pgf90* | pgf95* | pgfortran*)
  33326. + # Portland Group f77 and f90 compilers
  33327. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  33328. + tmp_addflag=' $pic_flag -Mnomain' ;;
  33329. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  33330. + tmp_addflag=' -i_dynamic' ;;
  33331. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  33332. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  33333. + ifc* | ifort*) # Intel Fortran compiler
  33334. + tmp_addflag=' -nofor_main' ;;
  33335. + lf95*) # Lahey Fortran 8.1
  33336. + whole_archive_flag_spec=
  33337. + tmp_sharedflag='--shared' ;;
  33338. + nagfor*) # NAGFOR 5.3
  33339. + tmp_sharedflag='-Wl,-shared' ;;
  33340. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  33341. + tmp_sharedflag='-qmkshrobj'
  33342. + tmp_addflag= ;;
  33343. + nvcc*) # Cuda Compiler Driver 2.2
  33344. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  33345. + compiler_needs_object=yes
  33346. + ;;
  33347. + esac
  33348. + case `$CC -V 2>&1 | sed 5q` in
  33349. + *Sun\ C*) # Sun C 5.9
  33350. + whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  33351. + compiler_needs_object=yes
  33352. + tmp_sharedflag='-G' ;;
  33353. + *Sun\ F*) # Sun Fortran 8.3
  33354. + tmp_sharedflag='-G' ;;
  33355. + esac
  33356. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33357. +
  33358. + if test yes = "$supports_anon_versioning"; then
  33359. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  33360. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33361. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33362. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  33363. + fi
  33364. +
  33365. + case $cc_basename in
  33366. + tcc*)
  33367. + export_dynamic_flag_spec='-rdynamic'
  33368. + ;;
  33369. + xlf* | bgf* | bgxlf* | mpixlf*)
  33370. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  33371. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  33372. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  33373. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  33374. + if test yes = "$supports_anon_versioning"; then
  33375. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  33376. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33377. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33378. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  33379. + fi
  33380. + ;;
  33381. + esac
  33382. + else
  33383. + ld_shlibs=no
  33384. + fi
  33385. + ;;
  33386. +
  33387. + netbsd*)
  33388. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  33389. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  33390. + wlarc=
  33391. + else
  33392. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33393. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33394. + fi
  33395. + ;;
  33396. +
  33397. + solaris*)
  33398. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  33399. + ld_shlibs=no
  33400. + cat <<_LT_EOF 1>&2
  33401. +
  33402. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  33403. +*** create shared libraries on Solaris systems. Therefore, libtool
  33404. +*** is disabling shared libraries support. We urge you to upgrade GNU
  33405. +*** binutils to release 2.9.1 or newer. Another option is to modify
  33406. +*** your PATH or compiler configuration so that the native linker is
  33407. +*** used, and then restart.
  33408. +
  33409. +_LT_EOF
  33410. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33411. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33412. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33413. + else
  33414. + ld_shlibs=no
  33415. + fi
  33416. + ;;
  33417. +
  33418. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  33419. + case `$LD -v 2>&1` in
  33420. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  33421. + ld_shlibs=no
  33422. + cat <<_LT_EOF 1>&2
  33423. +
  33424. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  33425. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  33426. +*** is disabling shared libraries support. We urge you to upgrade GNU
  33427. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  33428. +*** your PATH or compiler configuration so that the native linker is
  33429. +*** used, and then restart.
  33430. +
  33431. +_LT_EOF
  33432. + ;;
  33433. + *)
  33434. + # For security reasons, it is highly recommended that you always
  33435. + # use absolute paths for naming shared libraries, and exclude the
  33436. + # DT_RUNPATH tag from executables and libraries. But doing so
  33437. + # requires that you compile everything twice, which is a pain.
  33438. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33439. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  33440. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33441. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33442. + else
  33443. + ld_shlibs=no
  33444. + fi
  33445. + ;;
  33446. + esac
  33447. + ;;
  33448. +
  33449. + sunos4*)
  33450. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  33451. + wlarc=
  33452. + hardcode_direct=yes
  33453. + hardcode_shlibpath_var=no
  33454. + ;;
  33455. +
  33456. + *)
  33457. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33458. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33459. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  33460. + else
  33461. + ld_shlibs=no
  33462. + fi
  33463. + ;;
  33464. + esac
  33465. +
  33466. + if test no = "$ld_shlibs"; then
  33467. + runpath_var=
  33468. + hardcode_libdir_flag_spec=
  33469. + export_dynamic_flag_spec=
  33470. + whole_archive_flag_spec=
  33471. + fi
  33472. + else
  33473. + # PORTME fill in a description of your system's linker (not GNU ld)
  33474. + case $host_os in
  33475. + aix3*)
  33476. + allow_undefined_flag=unsupported
  33477. + always_export_symbols=yes
  33478. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  33479. + # Note: this linker hardcodes the directories in LIBPATH if there
  33480. + # are no directories specified by -L.
  33481. + hardcode_minus_L=yes
  33482. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  33483. + # Neither direct hardcoding nor static linking is supported with a
  33484. + # broken collect2.
  33485. + hardcode_direct=unsupported
  33486. + fi
  33487. + ;;
  33488. +
  33489. + aix[4-9]*)
  33490. + if test ia64 = "$host_cpu"; then
  33491. + # On IA64, the linker does run time linking by default, so we don't
  33492. + # have to do anything special.
  33493. + aix_use_runtimelinking=no
  33494. + exp_sym_flag='-Bexport'
  33495. + no_entry_flag=
  33496. + else
  33497. + # If we're using GNU nm, then we don't want the "-C" option.
  33498. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  33499. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  33500. + # weak defined symbols like other global defined symbols, whereas
  33501. + # GNU nm marks them as "W".
  33502. + # While the 'weak' keyword is ignored in the Export File, we need
  33503. + # it in the Import File for the 'aix-soname' feature, so we have
  33504. + # to replace the "-B" option with "-P" for AIX nm.
  33505. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  33506. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  33507. + else
  33508. + export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  33509. + fi
  33510. + aix_use_runtimelinking=no
  33511. +
  33512. + # Test if we are trying to use run time linking or normal
  33513. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  33514. + # have runtime linking enabled, and use it for executables.
  33515. + # For shared libraries, we enable/disable runtime linking
  33516. + # depending on the kind of the shared library created -
  33517. + # when "with_aix_soname,aix_use_runtimelinking" is:
  33518. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  33519. + # "aix,yes" lib.so shared, rtl:yes, for executables
  33520. + # lib.a static archive
  33521. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  33522. + # lib.a(lib.so.V) shared, rtl:no, for executables
  33523. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  33524. + # lib.a(lib.so.V) shared, rtl:no
  33525. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  33526. + # lib.a static archive
  33527. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  33528. + for ld_flag in $LDFLAGS; do
  33529. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  33530. + aix_use_runtimelinking=yes
  33531. + break
  33532. + fi
  33533. + done
  33534. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  33535. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  33536. + # so we don't have lib.a shared libs to link our executables.
  33537. + # We have to force runtime linking in this case.
  33538. + aix_use_runtimelinking=yes
  33539. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  33540. + fi
  33541. + ;;
  33542. + esac
  33543. +
  33544. + exp_sym_flag='-bexport'
  33545. + no_entry_flag='-bnoentry'
  33546. + fi
  33547. +
  33548. + # When large executables or shared objects are built, AIX ld can
  33549. + # have problems creating the table of contents. If linking a library
  33550. + # or program results in "error TOC overflow" add -mminimal-toc to
  33551. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  33552. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  33553. +
  33554. + archive_cmds=''
  33555. + hardcode_direct=yes
  33556. + hardcode_direct_absolute=yes
  33557. + hardcode_libdir_separator=':'
  33558. + link_all_deplibs=yes
  33559. + file_list_spec='$wl-f,'
  33560. + case $with_aix_soname,$aix_use_runtimelinking in
  33561. + aix,*) ;; # traditional, no import file
  33562. + svr4,* | *,yes) # use import file
  33563. + # The Import File defines what to hardcode.
  33564. + hardcode_direct=no
  33565. + hardcode_direct_absolute=no
  33566. + ;;
  33567. + esac
  33568. +
  33569. + if test yes = "$GCC"; then
  33570. + case $host_os in aix4.[012]|aix4.[012].*)
  33571. + # We only want to do this on AIX 4.2 and lower, the check
  33572. + # below for broken collect2 doesn't work under 4.3+
  33573. + collect2name=`$CC -print-prog-name=collect2`
  33574. + if test -f "$collect2name" &&
  33575. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  33576. + then
  33577. + # We have reworked collect2
  33578. + :
  33579. + else
  33580. + # We have old collect2
  33581. + hardcode_direct=unsupported
  33582. + # It fails to find uninstalled libraries when the uninstalled
  33583. + # path is not listed in the libpath. Setting hardcode_minus_L
  33584. + # to unsupported forces relinking
  33585. + hardcode_minus_L=yes
  33586. + hardcode_libdir_flag_spec='-L$libdir'
  33587. + hardcode_libdir_separator=
  33588. + fi
  33589. + ;;
  33590. + esac
  33591. + shared_flag='-shared'
  33592. + if test yes = "$aix_use_runtimelinking"; then
  33593. + shared_flag="$shared_flag "'$wl-G'
  33594. + fi
  33595. + # Need to ensure runtime linking is disabled for the traditional
  33596. + # shared library, or the linker may eventually find shared libraries
  33597. + # /with/ Import File - we do not want to mix them.
  33598. + shared_flag_aix='-shared'
  33599. + shared_flag_svr4='-shared $wl-G'
  33600. + else
  33601. + # not using gcc
  33602. + if test ia64 = "$host_cpu"; then
  33603. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  33604. + # chokes on -Wl,-G. The following line is correct:
  33605. + shared_flag='-G'
  33606. + else
  33607. + if test yes = "$aix_use_runtimelinking"; then
  33608. + shared_flag='$wl-G'
  33609. + else
  33610. + shared_flag='$wl-bM:SRE'
  33611. + fi
  33612. + shared_flag_aix='$wl-bM:SRE'
  33613. + shared_flag_svr4='$wl-G'
  33614. + fi
  33615. + fi
  33616. +
  33617. + export_dynamic_flag_spec='$wl-bexpall'
  33618. + # It seems that -bexpall does not export symbols beginning with
  33619. + # underscore (_), so it is better to generate a list of symbols to export.
  33620. + always_export_symbols=yes
  33621. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  33622. + # Warning - without using the other runtime loading flags (-brtl),
  33623. + # -berok will link without error, but may produce a broken library.
  33624. + allow_undefined_flag='-berok'
  33625. + # Determine the default libpath from the value encoded in an
  33626. + # empty executable.
  33627. + if test set = "${lt_cv_aix_libpath+set}"; then
  33628. + aix_libpath=$lt_cv_aix_libpath
  33629. +else
  33630. + if ${lt_cv_aix_libpath_+:} false; then :
  33631. + $as_echo_n "(cached) " >&6
  33632. +else
  33633. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33634. +/* end confdefs.h. */
  33635. +
  33636. +int
  33637. +main ()
  33638. +{
  33639. +
  33640. + ;
  33641. + return 0;
  33642. +}
  33643. +_ACEOF
  33644. +if ac_fn_c_try_link "$LINENO"; then :
  33645. +
  33646. + lt_aix_libpath_sed='
  33647. + /Import File Strings/,/^$/ {
  33648. + /^0/ {
  33649. + s/^0 *\([^ ]*\) *$/\1/
  33650. + p
  33651. + }
  33652. + }'
  33653. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33654. + # Check for a 64-bit object if we didn't find anything.
  33655. + if test -z "$lt_cv_aix_libpath_"; then
  33656. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33657. + fi
  33658. +fi
  33659. +rm -f core conftest.err conftest.$ac_objext \
  33660. + conftest$ac_exeext conftest.$ac_ext
  33661. + if test -z "$lt_cv_aix_libpath_"; then
  33662. + lt_cv_aix_libpath_=/usr/lib:/lib
  33663. + fi
  33664. +
  33665. +fi
  33666. +
  33667. + aix_libpath=$lt_cv_aix_libpath_
  33668. +fi
  33669. +
  33670. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  33671. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  33672. + else
  33673. + if test ia64 = "$host_cpu"; then
  33674. + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  33675. + allow_undefined_flag="-z nodefs"
  33676. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
  33677. + else
  33678. + # Determine the default libpath from the value encoded in an
  33679. + # empty executable.
  33680. + if test set = "${lt_cv_aix_libpath+set}"; then
  33681. + aix_libpath=$lt_cv_aix_libpath
  33682. +else
  33683. + if ${lt_cv_aix_libpath_+:} false; then :
  33684. + $as_echo_n "(cached) " >&6
  33685. +else
  33686. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33687. +/* end confdefs.h. */
  33688. +
  33689. +int
  33690. +main ()
  33691. +{
  33692. +
  33693. + ;
  33694. + return 0;
  33695. +}
  33696. +_ACEOF
  33697. +if ac_fn_c_try_link "$LINENO"; then :
  33698. +
  33699. + lt_aix_libpath_sed='
  33700. + /Import File Strings/,/^$/ {
  33701. + /^0/ {
  33702. + s/^0 *\([^ ]*\) *$/\1/
  33703. + p
  33704. + }
  33705. + }'
  33706. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33707. + # Check for a 64-bit object if we didn't find anything.
  33708. + if test -z "$lt_cv_aix_libpath_"; then
  33709. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33710. + fi
  33711. +fi
  33712. +rm -f core conftest.err conftest.$ac_objext \
  33713. + conftest$ac_exeext conftest.$ac_ext
  33714. + if test -z "$lt_cv_aix_libpath_"; then
  33715. + lt_cv_aix_libpath_=/usr/lib:/lib
  33716. + fi
  33717. +
  33718. +fi
  33719. +
  33720. + aix_libpath=$lt_cv_aix_libpath_
  33721. +fi
  33722. +
  33723. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  33724. + # Warning - without using the other run time loading flags,
  33725. + # -berok will link without error, but may produce a broken library.
  33726. + no_undefined_flag=' $wl-bernotok'
  33727. + allow_undefined_flag=' $wl-berok'
  33728. + if test yes = "$with_gnu_ld"; then
  33729. + # We only use this code for GNU lds that support --whole-archive.
  33730. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  33731. + else
  33732. + # Exported symbols can be pulled into shared objects from archives
  33733. + whole_archive_flag_spec='$convenience'
  33734. + fi
  33735. + archive_cmds_need_lc=yes
  33736. + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  33737. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  33738. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  33739. + if test svr4 != "$with_aix_soname"; then
  33740. + # This is similar to how AIX traditionally builds its shared libraries.
  33741. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  33742. + fi
  33743. + if test aix != "$with_aix_soname"; then
  33744. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  33745. + else
  33746. + # used by -dlpreopen to get the symbols
  33747. + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  33748. + fi
  33749. + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  33750. + fi
  33751. + fi
  33752. + ;;
  33753. +
  33754. + amigaos*)
  33755. + case $host_cpu in
  33756. + powerpc)
  33757. + # see comment about AmigaOS4 .so support
  33758. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  33759. + archive_expsym_cmds=''
  33760. + ;;
  33761. + m68k)
  33762. + archive_cmds='$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)'
  33763. + hardcode_libdir_flag_spec='-L$libdir'
  33764. + hardcode_minus_L=yes
  33765. + ;;
  33766. + esac
  33767. + ;;
  33768. +
  33769. + bsdi[45]*)
  33770. + export_dynamic_flag_spec=-rdynamic
  33771. + ;;
  33772. +
  33773. + cygwin* | mingw* | pw32* | cegcc*)
  33774. + # When not using gcc, we currently assume that we are using
  33775. + # Microsoft Visual C++.
  33776. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  33777. + # no search path for DLLs.
  33778. + case $cc_basename in
  33779. + cl*)
  33780. + # Native MSVC
  33781. + hardcode_libdir_flag_spec=' '
  33782. + allow_undefined_flag=unsupported
  33783. + always_export_symbols=yes
  33784. + file_list_spec='@'
  33785. + # Tell ltmain to make .lib files, not .a files.
  33786. + libext=lib
  33787. + # Tell ltmain to make .dll files, not .so files.
  33788. + shrext_cmds=.dll
  33789. + # FIXME: Setting linknames here is a bad hack.
  33790. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  33791. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  33792. + cp "$export_symbols" "$output_objdir/$soname.def";
  33793. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  33794. + else
  33795. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  33796. + fi~
  33797. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  33798. + linknames='
  33799. + # The linker will not automatically build a static lib if we build a DLL.
  33800. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  33801. + enable_shared_with_static_runtimes=yes
  33802. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  33803. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  33804. + # Don't use ranlib
  33805. + old_postinstall_cmds='chmod 644 $oldlib'
  33806. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  33807. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  33808. + case $lt_outputfile in
  33809. + *.exe|*.EXE) ;;
  33810. + *)
  33811. + lt_outputfile=$lt_outputfile.exe
  33812. + lt_tool_outputfile=$lt_tool_outputfile.exe
  33813. + ;;
  33814. + esac~
  33815. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  33816. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  33817. + $RM "$lt_outputfile.manifest";
  33818. + fi'
  33819. + ;;
  33820. + *)
  33821. + # Assume MSVC wrapper
  33822. + hardcode_libdir_flag_spec=' '
  33823. + allow_undefined_flag=unsupported
  33824. + # Tell ltmain to make .lib files, not .a files.
  33825. + libext=lib
  33826. + # Tell ltmain to make .dll files, not .so files.
  33827. + shrext_cmds=.dll
  33828. + # FIXME: Setting linknames here is a bad hack.
  33829. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  33830. + # The linker will automatically build a .lib file if we build a DLL.
  33831. + old_archive_from_new_cmds='true'
  33832. + # FIXME: Should let the user specify the lib program.
  33833. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  33834. + enable_shared_with_static_runtimes=yes
  33835. + ;;
  33836. + esac
  33837. + ;;
  33838. +
  33839. + darwin* | rhapsody*)
  33840. +
  33841. +
  33842. + archive_cmds_need_lc=no
  33843. + hardcode_direct=no
  33844. + hardcode_automatic=yes
  33845. + hardcode_shlibpath_var=unsupported
  33846. + if test yes = "$lt_cv_ld_force_load"; then
  33847. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  33848. +
  33849. + else
  33850. + whole_archive_flag_spec=''
  33851. + fi
  33852. + link_all_deplibs=yes
  33853. + allow_undefined_flag=$_lt_dar_allow_undefined
  33854. + case $cc_basename in
  33855. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  33856. + *) _lt_dar_can_shared=$GCC ;;
  33857. + esac
  33858. + if test yes = "$_lt_dar_can_shared"; then
  33859. + output_verbose_link_cmd=func_echo_all
  33860. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  33861. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  33862. + archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
  33863. + module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
  33864. +
  33865. + else
  33866. + ld_shlibs=no
  33867. + fi
  33868. +
  33869. + ;;
  33870. +
  33871. + dgux*)
  33872. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33873. + hardcode_libdir_flag_spec='-L$libdir'
  33874. + hardcode_shlibpath_var=no
  33875. + ;;
  33876. +
  33877. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  33878. + # support. Future versions do this automatically, but an explicit c++rt0.o
  33879. + # does not break anything, and helps significantly (at the cost of a little
  33880. + # extra space).
  33881. + freebsd2.2*)
  33882. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  33883. + hardcode_libdir_flag_spec='-R$libdir'
  33884. + hardcode_direct=yes
  33885. + hardcode_shlibpath_var=no
  33886. + ;;
  33887. +
  33888. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  33889. + freebsd2.*)
  33890. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  33891. + hardcode_direct=yes
  33892. + hardcode_minus_L=yes
  33893. + hardcode_shlibpath_var=no
  33894. + ;;
  33895. +
  33896. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  33897. + freebsd* | dragonfly*)
  33898. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  33899. + hardcode_libdir_flag_spec='-R$libdir'
  33900. + hardcode_direct=yes
  33901. + hardcode_shlibpath_var=no
  33902. + ;;
  33903. +
  33904. + hpux9*)
  33905. + if test yes = "$GCC"; then
  33906. + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  33907. + else
  33908. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  33909. + fi
  33910. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  33911. + hardcode_libdir_separator=:
  33912. + hardcode_direct=yes
  33913. +
  33914. + # hardcode_minus_L: Not really in the search PATH,
  33915. + # but as the default location of the library.
  33916. + hardcode_minus_L=yes
  33917. + export_dynamic_flag_spec='$wl-E'
  33918. + ;;
  33919. +
  33920. + hpux10*)
  33921. + if test yes,no = "$GCC,$with_gnu_ld"; then
  33922. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  33923. + else
  33924. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  33925. + fi
  33926. + if test no = "$with_gnu_ld"; then
  33927. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  33928. + hardcode_libdir_separator=:
  33929. + hardcode_direct=yes
  33930. + hardcode_direct_absolute=yes
  33931. + export_dynamic_flag_spec='$wl-E'
  33932. + # hardcode_minus_L: Not really in the search PATH,
  33933. + # but as the default location of the library.
  33934. + hardcode_minus_L=yes
  33935. + fi
  33936. + ;;
  33937. +
  33938. + hpux11*)
  33939. + if test yes,no = "$GCC,$with_gnu_ld"; then
  33940. + case $host_cpu in
  33941. + hppa*64*)
  33942. + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  33943. + ;;
  33944. + ia64*)
  33945. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  33946. + ;;
  33947. + *)
  33948. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  33949. + ;;
  33950. + esac
  33951. + else
  33952. + case $host_cpu in
  33953. + hppa*64*)
  33954. + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  33955. + ;;
  33956. + ia64*)
  33957. + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  33958. + ;;
  33959. + *)
  33960. +
  33961. + # Older versions of the 11.00 compiler do not understand -b yet
  33962. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  33963. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  33964. +$as_echo_n "checking if $CC understands -b... " >&6; }
  33965. +if ${lt_cv_prog_compiler__b+:} false; then :
  33966. + $as_echo_n "(cached) " >&6
  33967. +else
  33968. + lt_cv_prog_compiler__b=no
  33969. + save_LDFLAGS=$LDFLAGS
  33970. + LDFLAGS="$LDFLAGS -b"
  33971. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  33972. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  33973. + # The linker can only warn and ignore the option if not recognized
  33974. + # So say no if there are warnings
  33975. + if test -s conftest.err; then
  33976. + # Append any errors to the config.log.
  33977. + cat conftest.err 1>&5
  33978. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  33979. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  33980. + if diff conftest.exp conftest.er2 >/dev/null; then
  33981. + lt_cv_prog_compiler__b=yes
  33982. + fi
  33983. + else
  33984. + lt_cv_prog_compiler__b=yes
  33985. + fi
  33986. + fi
  33987. + $RM -r conftest*
  33988. + LDFLAGS=$save_LDFLAGS
  33989. +
  33990. +fi
  33991. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  33992. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  33993. +
  33994. +if test yes = "$lt_cv_prog_compiler__b"; then
  33995. + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  33996. +else
  33997. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  33998. +fi
  33999. +
  34000. + ;;
  34001. + esac
  34002. + fi
  34003. + if test no = "$with_gnu_ld"; then
  34004. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  34005. + hardcode_libdir_separator=:
  34006. +
  34007. + case $host_cpu in
  34008. + hppa*64*|ia64*)
  34009. + hardcode_direct=no
  34010. + hardcode_shlibpath_var=no
  34011. + ;;
  34012. + *)
  34013. + hardcode_direct=yes
  34014. + hardcode_direct_absolute=yes
  34015. + export_dynamic_flag_spec='$wl-E'
  34016. +
  34017. + # hardcode_minus_L: Not really in the search PATH,
  34018. + # but as the default location of the library.
  34019. + hardcode_minus_L=yes
  34020. + ;;
  34021. + esac
  34022. + fi
  34023. + ;;
  34024. +
  34025. + irix5* | irix6* | nonstopux*)
  34026. + if test yes = "$GCC"; then
  34027. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  34028. + # Try to use the -exported_symbol ld option, if it does not
  34029. + # work, assume that -exports_file does not work either and
  34030. + # implicitly export all symbols.
  34031. + # This should be the same for all languages, so no per-tag cache variable.
  34032. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  34033. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  34034. +if ${lt_cv_irix_exported_symbol+:} false; then :
  34035. + $as_echo_n "(cached) " >&6
  34036. +else
  34037. + save_LDFLAGS=$LDFLAGS
  34038. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  34039. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34040. +/* end confdefs.h. */
  34041. +int foo (void) { return 0; }
  34042. +_ACEOF
  34043. +if ac_fn_c_try_link "$LINENO"; then :
  34044. + lt_cv_irix_exported_symbol=yes
  34045. +else
  34046. + lt_cv_irix_exported_symbol=no
  34047. +fi
  34048. +rm -f core conftest.err conftest.$ac_objext \
  34049. + conftest$ac_exeext conftest.$ac_ext
  34050. + LDFLAGS=$save_LDFLAGS
  34051. +fi
  34052. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  34053. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  34054. + if test yes = "$lt_cv_irix_exported_symbol"; then
  34055. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
  34056. + fi
  34057. + else
  34058. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  34059. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
  34060. + fi
  34061. + archive_cmds_need_lc='no'
  34062. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34063. + hardcode_libdir_separator=:
  34064. + inherit_rpath=yes
  34065. + link_all_deplibs=yes
  34066. + ;;
  34067. +
  34068. + linux*)
  34069. + case $cc_basename in
  34070. + tcc*)
  34071. + # Fabrice Bellard et al's Tiny C Compiler
  34072. + ld_shlibs=yes
  34073. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34074. + ;;
  34075. + esac
  34076. + ;;
  34077. +
  34078. + netbsd*)
  34079. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  34080. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  34081. + else
  34082. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  34083. + fi
  34084. + hardcode_libdir_flag_spec='-R$libdir'
  34085. + hardcode_direct=yes
  34086. + hardcode_shlibpath_var=no
  34087. + ;;
  34088. +
  34089. + newsos6)
  34090. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34091. + hardcode_direct=yes
  34092. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34093. + hardcode_libdir_separator=:
  34094. + hardcode_shlibpath_var=no
  34095. + ;;
  34096. +
  34097. + *nto* | *qnx*)
  34098. + ;;
  34099. +
  34100. + openbsd* | bitrig*)
  34101. + if test -f /usr/libexec/ld.so; then
  34102. + hardcode_direct=yes
  34103. + hardcode_shlibpath_var=no
  34104. + hardcode_direct_absolute=yes
  34105. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  34106. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34107. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  34108. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  34109. + export_dynamic_flag_spec='$wl-E'
  34110. + else
  34111. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34112. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  34113. + fi
  34114. + else
  34115. + ld_shlibs=no
  34116. + fi
  34117. + ;;
  34118. +
  34119. + os2*)
  34120. + hardcode_libdir_flag_spec='-L$libdir'
  34121. + hardcode_minus_L=yes
  34122. + allow_undefined_flag=unsupported
  34123. + shrext_cmds=.dll
  34124. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  34125. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  34126. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  34127. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  34128. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  34129. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  34130. + emximp -o $lib $output_objdir/$libname.def'
  34131. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  34132. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  34133. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  34134. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  34135. + prefix_cmds="$SED"~
  34136. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  34137. + prefix_cmds="$prefix_cmds -e 1d";
  34138. + fi~
  34139. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  34140. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  34141. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  34142. + emximp -o $lib $output_objdir/$libname.def'
  34143. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  34144. + enable_shared_with_static_runtimes=yes
  34145. + ;;
  34146. +
  34147. + osf3*)
  34148. + if test yes = "$GCC"; then
  34149. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  34150. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  34151. + else
  34152. + allow_undefined_flag=' -expect_unresolved \*'
  34153. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  34154. + fi
  34155. + archive_cmds_need_lc='no'
  34156. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34157. + hardcode_libdir_separator=:
  34158. + ;;
  34159. +
  34160. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  34161. + if test yes = "$GCC"; then
  34162. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  34163. + archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  34164. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  34165. + else
  34166. + allow_undefined_flag=' -expect_unresolved \*'
  34167. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  34168. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  34169. + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
  34170. +
  34171. + # Both c and cxx compiler support -rpath directly
  34172. + hardcode_libdir_flag_spec='-rpath $libdir'
  34173. + fi
  34174. + archive_cmds_need_lc='no'
  34175. + hardcode_libdir_separator=:
  34176. + ;;
  34177. +
  34178. + solaris*)
  34179. + no_undefined_flag=' -z defs'
  34180. + if test yes = "$GCC"; then
  34181. + wlarc='$wl'
  34182. + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  34183. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34184. + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  34185. + else
  34186. + case `$CC -V 2>&1` in
  34187. + *"Compilers 5.0"*)
  34188. + wlarc=''
  34189. + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34190. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34191. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  34192. + ;;
  34193. + *)
  34194. + wlarc='$wl'
  34195. + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  34196. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34197. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  34198. + ;;
  34199. + esac
  34200. + fi
  34201. + hardcode_libdir_flag_spec='-R$libdir'
  34202. + hardcode_shlibpath_var=no
  34203. + case $host_os in
  34204. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  34205. + *)
  34206. + # The compiler driver will combine and reorder linker options,
  34207. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  34208. + # but is careful enough not to reorder.
  34209. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  34210. + if test yes = "$GCC"; then
  34211. + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  34212. + else
  34213. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  34214. + fi
  34215. + ;;
  34216. + esac
  34217. + link_all_deplibs=yes
  34218. + ;;
  34219. +
  34220. + sunos4*)
  34221. + if test sequent = "$host_vendor"; then
  34222. + # Use $CC to link under sequent, because it throws in some extra .o
  34223. + # files that make .init and .fini sections work.
  34224. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  34225. + else
  34226. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  34227. + fi
  34228. + hardcode_libdir_flag_spec='-L$libdir'
  34229. + hardcode_direct=yes
  34230. + hardcode_minus_L=yes
  34231. + hardcode_shlibpath_var=no
  34232. + ;;
  34233. +
  34234. + sysv4)
  34235. + case $host_vendor in
  34236. + sni)
  34237. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34238. + hardcode_direct=yes # is this really true???
  34239. + ;;
  34240. + siemens)
  34241. + ## LD is ld it makes a PLAMLIB
  34242. + ## CC just makes a GrossModule.
  34243. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  34244. + reload_cmds='$CC -r -o $output$reload_objs'
  34245. + hardcode_direct=no
  34246. + ;;
  34247. + motorola)
  34248. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34249. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  34250. + ;;
  34251. + esac
  34252. + runpath_var='LD_RUN_PATH'
  34253. + hardcode_shlibpath_var=no
  34254. + ;;
  34255. +
  34256. + sysv4.3*)
  34257. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34258. + hardcode_shlibpath_var=no
  34259. + export_dynamic_flag_spec='-Bexport'
  34260. + ;;
  34261. +
  34262. + sysv4*MP*)
  34263. + if test -d /usr/nec; then
  34264. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34265. + hardcode_shlibpath_var=no
  34266. + runpath_var=LD_RUN_PATH
  34267. + hardcode_runpath_var=yes
  34268. + ld_shlibs=yes
  34269. + fi
  34270. + ;;
  34271. +
  34272. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  34273. + no_undefined_flag='$wl-z,text'
  34274. + archive_cmds_need_lc=no
  34275. + hardcode_shlibpath_var=no
  34276. + runpath_var='LD_RUN_PATH'
  34277. +
  34278. + if test yes = "$GCC"; then
  34279. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34280. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34281. + else
  34282. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34283. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34284. + fi
  34285. + ;;
  34286. +
  34287. + sysv5* | sco3.2v5* | sco5v6*)
  34288. + # Note: We CANNOT use -z defs as we might desire, because we do not
  34289. + # link with -lc, and that would cause any symbols used from libc to
  34290. + # always be unresolved, which means just about no library would
  34291. + # ever link correctly. If we're not using GNU ld we use -z text
  34292. + # though, which does catch some bad symbols but isn't as heavy-handed
  34293. + # as -z defs.
  34294. + no_undefined_flag='$wl-z,text'
  34295. + allow_undefined_flag='$wl-z,nodefs'
  34296. + archive_cmds_need_lc=no
  34297. + hardcode_shlibpath_var=no
  34298. + hardcode_libdir_flag_spec='$wl-R,$libdir'
  34299. + hardcode_libdir_separator=':'
  34300. + link_all_deplibs=yes
  34301. + export_dynamic_flag_spec='$wl-Bexport'
  34302. + runpath_var='LD_RUN_PATH'
  34303. +
  34304. + if test yes = "$GCC"; then
  34305. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34306. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34307. + else
  34308. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34309. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34310. + fi
  34311. + ;;
  34312. +
  34313. + uts4*)
  34314. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34315. + hardcode_libdir_flag_spec='-L$libdir'
  34316. + hardcode_shlibpath_var=no
  34317. + ;;
  34318. +
  34319. + *)
  34320. + ld_shlibs=no
  34321. + ;;
  34322. + esac
  34323. +
  34324. + if test sni = "$host_vendor"; then
  34325. + case $host in
  34326. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  34327. + export_dynamic_flag_spec='$wl-Blargedynsym'
  34328. + ;;
  34329. + esac
  34330. + fi
  34331. + fi
  34332. +
  34333. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  34334. +$as_echo "$ld_shlibs" >&6; }
  34335. +test no = "$ld_shlibs" && can_build_shared=no
  34336. +
  34337. +with_gnu_ld=$with_gnu_ld
  34338. +
  34339. +
  34340. +
  34341. +
  34342. +
  34343. +
  34344. +
  34345. +
  34346. +
  34347. +
  34348. +
  34349. +
  34350. +
  34351. +
  34352. +
  34353. +#
  34354. +# Do we need to explicitly link libc?
  34355. +#
  34356. +case "x$archive_cmds_need_lc" in
  34357. +x|xyes)
  34358. + # Assume -lc should be added
  34359. + archive_cmds_need_lc=yes
  34360. +
  34361. + if test yes,yes = "$GCC,$enable_shared"; then
  34362. + case $archive_cmds in
  34363. + *'~'*)
  34364. + # FIXME: we may have to deal with multi-command sequences.
  34365. + ;;
  34366. + '$CC '*)
  34367. + # Test whether the compiler implicitly links with -lc since on some
  34368. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  34369. + # to ld, don't add -lc before -lgcc.
  34370. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  34371. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  34372. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  34373. + $as_echo_n "(cached) " >&6
  34374. +else
  34375. + $RM conftest*
  34376. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  34377. +
  34378. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  34379. + (eval $ac_compile) 2>&5
  34380. + ac_status=$?
  34381. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34382. + test $ac_status = 0; } 2>conftest.err; then
  34383. + soname=conftest
  34384. + lib=conftest
  34385. + libobjs=conftest.$ac_objext
  34386. + deplibs=
  34387. + wl=$lt_prog_compiler_wl
  34388. + pic_flag=$lt_prog_compiler_pic
  34389. + compiler_flags=-v
  34390. + linker_flags=-v
  34391. + verstring=
  34392. + output_objdir=.
  34393. + libname=conftest
  34394. + lt_save_allow_undefined_flag=$allow_undefined_flag
  34395. + allow_undefined_flag=
  34396. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  34397. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  34398. + ac_status=$?
  34399. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34400. + test $ac_status = 0; }
  34401. + then
  34402. + lt_cv_archive_cmds_need_lc=no
  34403. + else
  34404. + lt_cv_archive_cmds_need_lc=yes
  34405. + fi
  34406. + allow_undefined_flag=$lt_save_allow_undefined_flag
  34407. + else
  34408. + cat conftest.err 1>&5
  34409. + fi
  34410. + $RM conftest*
  34411. +
  34412. +fi
  34413. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  34414. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  34415. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  34416. + ;;
  34417. + esac
  34418. + fi
  34419. + ;;
  34420. +esac
  34421. +
  34422. +
  34423. +
  34424. +
  34425. +
  34426. +
  34427. +
  34428. +
  34429. +
  34430. +
  34431. +
  34432. +
  34433. +
  34434. +
  34435. +
  34436. +
  34437. +
  34438. +
  34439. +
  34440. +
  34441. +
  34442. +
  34443. +
  34444. +
  34445. +
  34446. +
  34447. +
  34448. +
  34449. +
  34450. +
  34451. +
  34452. +
  34453. +
  34454. +
  34455. +
  34456. +
  34457. +
  34458. +
  34459. +
  34460. +
  34461. +
  34462. +
  34463. +
  34464. +
  34465. +
  34466. +
  34467. +
  34468. +
  34469. +
  34470. +
  34471. +
  34472. +
  34473. +
  34474. +
  34475. +
  34476. +
  34477. +
  34478. +
  34479. +
  34480. +
  34481. +
  34482. +
  34483. +
  34484. +
  34485. +
  34486. +
  34487. +
  34488. +
  34489. +
  34490. +
  34491. +
  34492. +
  34493. +
  34494. +
  34495. +
  34496. +
  34497. +
  34498. +
  34499. +
  34500. +
  34501. +
  34502. +
  34503. +
  34504. +
  34505. +
  34506. +
  34507. +
  34508. +
  34509. +
  34510. +
  34511. +
  34512. +
  34513. +
  34514. +
  34515. +
  34516. +
  34517. +
  34518. +
  34519. +
  34520. +
  34521. +
  34522. +
  34523. +
  34524. +
  34525. +
  34526. +
  34527. +
  34528. +
  34529. +
  34530. +
  34531. +
  34532. +
  34533. +
  34534. +
  34535. +
  34536. +
  34537. +
  34538. +
  34539. +
  34540. +
  34541. +
  34542. +
  34543. +
  34544. +
  34545. +
  34546. +
  34547. +
  34548. +
  34549. +
  34550. +
  34551. +
  34552. +
  34553. +
  34554. +
  34555. +
  34556. +
  34557. +
  34558. +
  34559. +
  34560. +
  34561. +
  34562. +
  34563. +
  34564. +
  34565. +
  34566. +
  34567. +
  34568. +
  34569. +
  34570. +
  34571. +
  34572. +
  34573. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  34574. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  34575. +
  34576. +if test yes = "$GCC"; then
  34577. + case $host_os in
  34578. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  34579. + *) lt_awk_arg='/^libraries:/' ;;
  34580. + esac
  34581. + case $host_os in
  34582. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  34583. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  34584. + esac
  34585. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  34586. + case $lt_search_path_spec in
  34587. + *\;*)
  34588. + # if the path contains ";" then we assume it to be the separator
  34589. + # otherwise default to the standard path separator (i.e. ":") - it is
  34590. + # assumed that no part of a normal pathname contains ";" but that should
  34591. + # okay in the real world where ";" in dirpaths is itself problematic.
  34592. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  34593. + ;;
  34594. + *)
  34595. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  34596. + ;;
  34597. + esac
  34598. + # Ok, now we have the path, separated by spaces, we can step through it
  34599. + # and add multilib dir if necessary...
  34600. + lt_tmp_lt_search_path_spec=
  34601. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  34602. + # ...but if some path component already ends with the multilib dir we assume
  34603. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  34604. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  34605. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  34606. + lt_multi_os_dir=
  34607. + ;;
  34608. + esac
  34609. + for lt_sys_path in $lt_search_path_spec; do
  34610. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  34611. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  34612. + elif test -n "$lt_multi_os_dir"; then
  34613. + test -d "$lt_sys_path" && \
  34614. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  34615. + fi
  34616. + done
  34617. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  34618. +BEGIN {RS = " "; FS = "/|\n";} {
  34619. + lt_foo = "";
  34620. + lt_count = 0;
  34621. + for (lt_i = NF; lt_i > 0; lt_i--) {
  34622. + if ($lt_i != "" && $lt_i != ".") {
  34623. + if ($lt_i == "..") {
  34624. + lt_count++;
  34625. + } else {
  34626. + if (lt_count == 0) {
  34627. + lt_foo = "/" $lt_i lt_foo;
  34628. + } else {
  34629. + lt_count--;
  34630. + }
  34631. + }
  34632. + }
  34633. + }
  34634. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  34635. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  34636. +}'`
  34637. + # AWK program above erroneously prepends '/' to C:/dos/paths
  34638. + # for these hosts.
  34639. + case $host_os in
  34640. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  34641. + $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  34642. + esac
  34643. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  34644. +else
  34645. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  34646. +fi
  34647. +library_names_spec=
  34648. +libname_spec='lib$name'
  34649. +soname_spec=
  34650. +shrext_cmds=.so
  34651. +postinstall_cmds=
  34652. +postuninstall_cmds=
  34653. +finish_cmds=
  34654. +finish_eval=
  34655. +shlibpath_var=
  34656. +shlibpath_overrides_runpath=unknown
  34657. +version_type=none
  34658. +dynamic_linker="$host_os ld.so"
  34659. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  34660. +need_lib_prefix=unknown
  34661. +hardcode_into_libs=no
  34662. +
  34663. +# when you set need_version to no, make sure it does not cause -set_version
  34664. +# flags to be left without arguments
  34665. +need_version=unknown
  34666. +
  34667. +
  34668. +
  34669. +case $host_os in
  34670. +aix3*)
  34671. + version_type=linux # correct to gnu/linux during the next big refactor
  34672. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  34673. + shlibpath_var=LIBPATH
  34674. +
  34675. + # AIX 3 has no versioning support, so we append a major version to the name.
  34676. + soname_spec='$libname$release$shared_ext$major'
  34677. + ;;
  34678. +
  34679. +aix[4-9]*)
  34680. + version_type=linux # correct to gnu/linux during the next big refactor
  34681. + need_lib_prefix=no
  34682. + need_version=no
  34683. + hardcode_into_libs=yes
  34684. + if test ia64 = "$host_cpu"; then
  34685. + # AIX 5 supports IA64
  34686. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  34687. + shlibpath_var=LD_LIBRARY_PATH
  34688. + else
  34689. + # With GCC up to 2.95.x, collect2 would create an import file
  34690. + # for dependence libraries. The import file would start with
  34691. + # the line '#! .'. This would cause the generated library to
  34692. + # depend on '.', always an invalid library. This was fixed in
  34693. + # development snapshots of GCC prior to 3.0.
  34694. + case $host_os in
  34695. + aix4 | aix4.[01] | aix4.[01].*)
  34696. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  34697. + echo ' yes '
  34698. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  34699. + :
  34700. + else
  34701. + can_build_shared=no
  34702. + fi
  34703. + ;;
  34704. + esac
  34705. + # Using Import Files as archive members, it is possible to support
  34706. + # filename-based versioning of shared library archives on AIX. While
  34707. + # this would work for both with and without runtime linking, it will
  34708. + # prevent static linking of such archives. So we do filename-based
  34709. + # shared library versioning with .so extension only, which is used
  34710. + # when both runtime linking and shared linking is enabled.
  34711. + # Unfortunately, runtime linking may impact performance, so we do
  34712. + # not want this to be the default eventually. Also, we use the
  34713. + # versioned .so libs for executables only if there is the -brtl
  34714. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  34715. + # To allow for filename-based versioning support, we need to create
  34716. + # libNAME.so.V as an archive file, containing:
  34717. + # *) an Import File, referring to the versioned filename of the
  34718. + # archive as well as the shared archive member, telling the
  34719. + # bitwidth (32 or 64) of that shared object, and providing the
  34720. + # list of exported symbols of that shared object, eventually
  34721. + # decorated with the 'weak' keyword
  34722. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  34723. + # it being seen by the linker.
  34724. + # At run time we better use the real file rather than another symlink,
  34725. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  34726. +
  34727. + case $with_aix_soname,$aix_use_runtimelinking in
  34728. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  34729. + # soname into executable. Probably we can add versioning support to
  34730. + # collect2, so additional links can be useful in future.
  34731. + aix,yes) # traditional libtool
  34732. + dynamic_linker='AIX unversionable lib.so'
  34733. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  34734. + # instead of lib<name>.a to let people know that these are not
  34735. + # typical AIX shared libraries.
  34736. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34737. + ;;
  34738. + aix,no) # traditional AIX only
  34739. + dynamic_linker='AIX lib.a(lib.so.V)'
  34740. + # We preserve .a as extension for shared libraries through AIX4.2
  34741. + # and later when we are not doing run time linking.
  34742. + library_names_spec='$libname$release.a $libname.a'
  34743. + soname_spec='$libname$release$shared_ext$major'
  34744. + ;;
  34745. + svr4,*) # full svr4 only
  34746. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  34747. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  34748. + # We do not specify a path in Import Files, so LIBPATH fires.
  34749. + shlibpath_overrides_runpath=yes
  34750. + ;;
  34751. + *,yes) # both, prefer svr4
  34752. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  34753. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  34754. + # unpreferred sharedlib libNAME.a needs extra handling
  34755. + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  34756. + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  34757. + # We do not specify a path in Import Files, so LIBPATH fires.
  34758. + shlibpath_overrides_runpath=yes
  34759. + ;;
  34760. + *,no) # both, prefer aix
  34761. + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  34762. + library_names_spec='$libname$release.a $libname.a'
  34763. + soname_spec='$libname$release$shared_ext$major'
  34764. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  34765. + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  34766. + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  34767. + ;;
  34768. + esac
  34769. + shlibpath_var=LIBPATH
  34770. + fi
  34771. + ;;
  34772. +
  34773. +amigaos*)
  34774. + case $host_cpu in
  34775. + powerpc)
  34776. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  34777. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  34778. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34779. + ;;
  34780. + m68k)
  34781. + library_names_spec='$libname.ixlibrary $libname.a'
  34782. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  34783. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  34784. + ;;
  34785. + esac
  34786. + ;;
  34787. +
  34788. +beos*)
  34789. + library_names_spec='$libname$shared_ext'
  34790. + dynamic_linker="$host_os ld.so"
  34791. + shlibpath_var=LIBRARY_PATH
  34792. + ;;
  34793. +
  34794. +bsdi[45]*)
  34795. + version_type=linux # correct to gnu/linux during the next big refactor
  34796. + need_version=no
  34797. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34798. + soname_spec='$libname$release$shared_ext$major'
  34799. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  34800. + shlibpath_var=LD_LIBRARY_PATH
  34801. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  34802. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  34803. + # the default ld.so.conf also contains /usr/contrib/lib and
  34804. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  34805. + # libtool to hard-code these into programs
  34806. + ;;
  34807. +
  34808. +cygwin* | mingw* | pw32* | cegcc*)
  34809. + version_type=windows
  34810. + shrext_cmds=.dll
  34811. + need_version=no
  34812. + need_lib_prefix=no
  34813. +
  34814. + case $GCC,$cc_basename in
  34815. + yes,*)
  34816. + # gcc
  34817. + library_names_spec='$libname.dll.a'
  34818. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  34819. + postinstall_cmds='base_file=`basename \$file`~
  34820. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  34821. + dldir=$destdir/`dirname \$dlpath`~
  34822. + test -d \$dldir || mkdir -p \$dldir~
  34823. + $install_prog $dir/$dlname \$dldir/$dlname~
  34824. + chmod a+x \$dldir/$dlname~
  34825. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  34826. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  34827. + fi'
  34828. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  34829. + dlpath=$dir/\$dldll~
  34830. + $RM \$dlpath'
  34831. + shlibpath_overrides_runpath=yes
  34832. +
  34833. + case $host_os in
  34834. + cygwin*)
  34835. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  34836. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34837. +
  34838. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  34839. + ;;
  34840. + mingw* | cegcc*)
  34841. + # MinGW DLLs use traditional 'lib' prefix
  34842. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34843. + ;;
  34844. + pw32*)
  34845. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  34846. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34847. + ;;
  34848. + esac
  34849. + dynamic_linker='Win32 ld.exe'
  34850. + ;;
  34851. +
  34852. + *,cl*)
  34853. + # Native MSVC
  34854. + libname_spec='$name'
  34855. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  34856. + library_names_spec='$libname.dll.lib'
  34857. +
  34858. + case $build_os in
  34859. + mingw*)
  34860. + sys_lib_search_path_spec=
  34861. + lt_save_ifs=$IFS
  34862. + IFS=';'
  34863. + for lt_path in $LIB
  34864. + do
  34865. + IFS=$lt_save_ifs
  34866. + # Let DOS variable expansion print the short 8.3 style file name.
  34867. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  34868. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  34869. + done
  34870. + IFS=$lt_save_ifs
  34871. + # Convert to MSYS style.
  34872. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  34873. + ;;
  34874. + cygwin*)
  34875. + # Convert to unix form, then to dos form, then back to unix form
  34876. + # but this time dos style (no spaces!) so that the unix form looks
  34877. + # like /cygdrive/c/PROGRA~1:/cygdr...
  34878. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  34879. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  34880. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  34881. + ;;
  34882. + *)
  34883. + sys_lib_search_path_spec=$LIB
  34884. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  34885. + # It is most probably a Windows format PATH.
  34886. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  34887. + else
  34888. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  34889. + fi
  34890. + # FIXME: find the short name or the path components, as spaces are
  34891. + # common. (e.g. "Program Files" -> "PROGRA~1")
  34892. + ;;
  34893. + esac
  34894. +
  34895. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  34896. + postinstall_cmds='base_file=`basename \$file`~
  34897. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  34898. + dldir=$destdir/`dirname \$dlpath`~
  34899. + test -d \$dldir || mkdir -p \$dldir~
  34900. + $install_prog $dir/$dlname \$dldir/$dlname'
  34901. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  34902. + dlpath=$dir/\$dldll~
  34903. + $RM \$dlpath'
  34904. + shlibpath_overrides_runpath=yes
  34905. + dynamic_linker='Win32 link.exe'
  34906. + ;;
  34907. +
  34908. + *)
  34909. + # Assume MSVC wrapper
  34910. + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  34911. + dynamic_linker='Win32 ld.exe'
  34912. + ;;
  34913. + esac
  34914. + # FIXME: first we should search . and the directory the executable is in
  34915. + shlibpath_var=PATH
  34916. + ;;
  34917. +
  34918. +darwin* | rhapsody*)
  34919. + dynamic_linker="$host_os dyld"
  34920. + version_type=darwin
  34921. + need_lib_prefix=no
  34922. + need_version=no
  34923. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  34924. + soname_spec='$libname$release$major$shared_ext'
  34925. + shlibpath_overrides_runpath=yes
  34926. + shlibpath_var=DYLD_LIBRARY_PATH
  34927. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  34928. +
  34929. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  34930. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  34931. + ;;
  34932. +
  34933. +dgux*)
  34934. + version_type=linux # correct to gnu/linux during the next big refactor
  34935. + need_lib_prefix=no
  34936. + need_version=no
  34937. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34938. + soname_spec='$libname$release$shared_ext$major'
  34939. + shlibpath_var=LD_LIBRARY_PATH
  34940. + ;;
  34941. +
  34942. +freebsd* | dragonfly*)
  34943. + # DragonFly does not have aout. When/if they implement a new
  34944. + # versioning mechanism, adjust this.
  34945. + if test -x /usr/bin/objformat; then
  34946. + objformat=`/usr/bin/objformat`
  34947. + else
  34948. + case $host_os in
  34949. + freebsd[23].*) objformat=aout ;;
  34950. + *) objformat=elf ;;
  34951. + esac
  34952. + fi
  34953. + version_type=freebsd-$objformat
  34954. + case $version_type in
  34955. + freebsd-elf*)
  34956. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34957. + soname_spec='$libname$release$shared_ext$major'
  34958. + need_version=no
  34959. + need_lib_prefix=no
  34960. + ;;
  34961. + freebsd-*)
  34962. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  34963. + need_version=yes
  34964. + ;;
  34965. + esac
  34966. + shlibpath_var=LD_LIBRARY_PATH
  34967. + case $host_os in
  34968. + freebsd2.*)
  34969. + shlibpath_overrides_runpath=yes
  34970. + ;;
  34971. + freebsd3.[01]* | freebsdelf3.[01]*)
  34972. + shlibpath_overrides_runpath=yes
  34973. + hardcode_into_libs=yes
  34974. + ;;
  34975. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  34976. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  34977. + shlibpath_overrides_runpath=no
  34978. + hardcode_into_libs=yes
  34979. + ;;
  34980. + *) # from 4.6 on, and DragonFly
  34981. + shlibpath_overrides_runpath=yes
  34982. + hardcode_into_libs=yes
  34983. + ;;
  34984. + esac
  34985. + ;;
  34986. +
  34987. +haiku*)
  34988. + version_type=linux # correct to gnu/linux during the next big refactor
  34989. + need_lib_prefix=no
  34990. + need_version=no
  34991. + dynamic_linker="$host_os runtime_loader"
  34992. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  34993. + soname_spec='$libname$release$shared_ext$major'
  34994. + shlibpath_var=LIBRARY_PATH
  34995. + shlibpath_overrides_runpath=no
  34996. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  34997. + hardcode_into_libs=yes
  34998. + ;;
  34999. +
  35000. +hpux9* | hpux10* | hpux11*)
  35001. + # Give a soname corresponding to the major version so that dld.sl refuses to
  35002. + # link against other versions.
  35003. + version_type=sunos
  35004. + need_lib_prefix=no
  35005. + need_version=no
  35006. + case $host_cpu in
  35007. + ia64*)
  35008. + shrext_cmds='.so'
  35009. + hardcode_into_libs=yes
  35010. + dynamic_linker="$host_os dld.so"
  35011. + shlibpath_var=LD_LIBRARY_PATH
  35012. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  35013. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35014. + soname_spec='$libname$release$shared_ext$major'
  35015. + if test 32 = "$HPUX_IA64_MODE"; then
  35016. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  35017. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  35018. + else
  35019. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  35020. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  35021. + fi
  35022. + ;;
  35023. + hppa*64*)
  35024. + shrext_cmds='.sl'
  35025. + hardcode_into_libs=yes
  35026. + dynamic_linker="$host_os dld.sl"
  35027. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  35028. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  35029. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35030. + soname_spec='$libname$release$shared_ext$major'
  35031. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  35032. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  35033. + ;;
  35034. + *)
  35035. + shrext_cmds='.sl'
  35036. + dynamic_linker="$host_os dld.sl"
  35037. + shlibpath_var=SHLIB_PATH
  35038. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  35039. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35040. + soname_spec='$libname$release$shared_ext$major'
  35041. + ;;
  35042. + esac
  35043. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  35044. + postinstall_cmds='chmod 555 $lib'
  35045. + # or fails outright, so override atomically:
  35046. + install_override_mode=555
  35047. + ;;
  35048. +
  35049. +interix[3-9]*)
  35050. + version_type=linux # correct to gnu/linux during the next big refactor
  35051. + need_lib_prefix=no
  35052. + need_version=no
  35053. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35054. + soname_spec='$libname$release$shared_ext$major'
  35055. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  35056. + shlibpath_var=LD_LIBRARY_PATH
  35057. + shlibpath_overrides_runpath=no
  35058. + hardcode_into_libs=yes
  35059. + ;;
  35060. +
  35061. +irix5* | irix6* | nonstopux*)
  35062. + case $host_os in
  35063. + nonstopux*) version_type=nonstopux ;;
  35064. + *)
  35065. + if test yes = "$lt_cv_prog_gnu_ld"; then
  35066. + version_type=linux # correct to gnu/linux during the next big refactor
  35067. + else
  35068. + version_type=irix
  35069. + fi ;;
  35070. + esac
  35071. + need_lib_prefix=no
  35072. + need_version=no
  35073. + soname_spec='$libname$release$shared_ext$major'
  35074. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  35075. + case $host_os in
  35076. + irix5* | nonstopux*)
  35077. + libsuff= shlibsuff=
  35078. + ;;
  35079. + *)
  35080. + case $LD in # libtool.m4 will add one of these switches to LD
  35081. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  35082. + libsuff= shlibsuff= libmagic=32-bit;;
  35083. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  35084. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  35085. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  35086. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  35087. + *) libsuff= shlibsuff= libmagic=never-match;;
  35088. + esac
  35089. + ;;
  35090. + esac
  35091. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  35092. + shlibpath_overrides_runpath=no
  35093. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  35094. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  35095. + hardcode_into_libs=yes
  35096. + ;;
  35097. +
  35098. +# No shared lib support for Linux oldld, aout, or coff.
  35099. +linux*oldld* | linux*aout* | linux*coff*)
  35100. + dynamic_linker=no
  35101. + ;;
  35102. +
  35103. +linux*android*)
  35104. + version_type=none # Android doesn't support versioned libraries.
  35105. + need_lib_prefix=no
  35106. + need_version=no
  35107. + library_names_spec='$libname$release$shared_ext'
  35108. + soname_spec='$libname$release$shared_ext'
  35109. + finish_cmds=
  35110. + shlibpath_var=LD_LIBRARY_PATH
  35111. + shlibpath_overrides_runpath=yes
  35112. +
  35113. + # This implies no fast_install, which is unacceptable.
  35114. + # Some rework will be needed to allow for fast_install
  35115. + # before this can be enabled.
  35116. + hardcode_into_libs=yes
  35117. +
  35118. + dynamic_linker='Android linker'
  35119. + # Don't embed -rpath directories since the linker doesn't support them.
  35120. + hardcode_libdir_flag_spec='-L$libdir'
  35121. + ;;
  35122. +
  35123. +# This must be glibc/ELF.
  35124. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  35125. + version_type=linux # correct to gnu/linux during the next big refactor
  35126. + need_lib_prefix=no
  35127. + need_version=no
  35128. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35129. + soname_spec='$libname$release$shared_ext$major'
  35130. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  35131. + shlibpath_var=LD_LIBRARY_PATH
  35132. + shlibpath_overrides_runpath=no
  35133. +
  35134. + # Some binutils ld are patched to set DT_RUNPATH
  35135. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  35136. + $as_echo_n "(cached) " >&6
  35137. +else
  35138. + lt_cv_shlibpath_overrides_runpath=no
  35139. + save_LDFLAGS=$LDFLAGS
  35140. + save_libdir=$libdir
  35141. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  35142. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  35143. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35144. +/* end confdefs.h. */
  35145. +
  35146. +int
  35147. +main ()
  35148. +{
  35149. +
  35150. + ;
  35151. + return 0;
  35152. +}
  35153. +_ACEOF
  35154. +if ac_fn_c_try_link "$LINENO"; then :
  35155. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  35156. + lt_cv_shlibpath_overrides_runpath=yes
  35157. +fi
  35158. +fi
  35159. +rm -f core conftest.err conftest.$ac_objext \
  35160. + conftest$ac_exeext conftest.$ac_ext
  35161. + LDFLAGS=$save_LDFLAGS
  35162. + libdir=$save_libdir
  35163. +
  35164. +fi
  35165. +
  35166. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  35167. +
  35168. + # This implies no fast_install, which is unacceptable.
  35169. + # Some rework will be needed to allow for fast_install
  35170. + # before this can be enabled.
  35171. + hardcode_into_libs=yes
  35172. +
  35173. + # Add ABI-specific directories to the system library path.
  35174. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  35175. +
  35176. + # Ideally, we could use ldconfig to report *all* directores which are
  35177. + # searched for libraries, however this is still not possible. Aside from not
  35178. + # being certain /sbin/ldconfig is available, command
  35179. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  35180. + # even though it is searched at run-time. Try to do the best guess by
  35181. + # appending ld.so.conf contents (and includes) to the search path.
  35182. + if test -f /etc/ld.so.conf; then
  35183. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  35184. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  35185. + fi
  35186. +
  35187. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  35188. + # powerpc, because MkLinux only supported shared libraries with the
  35189. + # GNU dynamic linker. Since this was broken with cross compilers,
  35190. + # most powerpc-linux boxes support dynamic linking these days and
  35191. + # people can always --disable-shared, the test was removed, and we
  35192. + # assume the GNU/Linux dynamic linker is in use.
  35193. + dynamic_linker='GNU/Linux ld.so'
  35194. + ;;
  35195. +
  35196. +netbsd*)
  35197. + version_type=sunos
  35198. + need_lib_prefix=no
  35199. + need_version=no
  35200. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  35201. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  35202. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  35203. + dynamic_linker='NetBSD (a.out) ld.so'
  35204. + else
  35205. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35206. + soname_spec='$libname$release$shared_ext$major'
  35207. + dynamic_linker='NetBSD ld.elf_so'
  35208. + fi
  35209. + shlibpath_var=LD_LIBRARY_PATH
  35210. + shlibpath_overrides_runpath=yes
  35211. + hardcode_into_libs=yes
  35212. + ;;
  35213. +
  35214. +newsos6)
  35215. + version_type=linux # correct to gnu/linux during the next big refactor
  35216. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35217. + shlibpath_var=LD_LIBRARY_PATH
  35218. + shlibpath_overrides_runpath=yes
  35219. + ;;
  35220. +
  35221. +*nto* | *qnx*)
  35222. + version_type=qnx
  35223. + need_lib_prefix=no
  35224. + need_version=no
  35225. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35226. + soname_spec='$libname$release$shared_ext$major'
  35227. + shlibpath_var=LD_LIBRARY_PATH
  35228. + shlibpath_overrides_runpath=no
  35229. + hardcode_into_libs=yes
  35230. + dynamic_linker='ldqnx.so'
  35231. + ;;
  35232. +
  35233. +openbsd* | bitrig*)
  35234. + version_type=sunos
  35235. + sys_lib_dlsearch_path_spec=/usr/lib
  35236. + need_lib_prefix=no
  35237. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  35238. + need_version=no
  35239. + else
  35240. + need_version=yes
  35241. + fi
  35242. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  35243. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  35244. + shlibpath_var=LD_LIBRARY_PATH
  35245. + shlibpath_overrides_runpath=yes
  35246. + ;;
  35247. +
  35248. +os2*)
  35249. + libname_spec='$name'
  35250. + version_type=windows
  35251. + shrext_cmds=.dll
  35252. + need_version=no
  35253. + need_lib_prefix=no
  35254. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  35255. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  35256. + v=$($ECHO $release$versuffix | tr -d .-);
  35257. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  35258. + $ECHO $n$v`$shared_ext'
  35259. + library_names_spec='${libname}_dll.$libext'
  35260. + dynamic_linker='OS/2 ld.exe'
  35261. + shlibpath_var=BEGINLIBPATH
  35262. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  35263. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  35264. + postinstall_cmds='base_file=`basename \$file`~
  35265. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  35266. + dldir=$destdir/`dirname \$dlpath`~
  35267. + test -d \$dldir || mkdir -p \$dldir~
  35268. + $install_prog $dir/$dlname \$dldir/$dlname~
  35269. + chmod a+x \$dldir/$dlname~
  35270. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  35271. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  35272. + fi'
  35273. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  35274. + dlpath=$dir/\$dldll~
  35275. + $RM \$dlpath'
  35276. + ;;
  35277. +
  35278. +osf3* | osf4* | osf5*)
  35279. + version_type=osf
  35280. + need_lib_prefix=no
  35281. + need_version=no
  35282. + soname_spec='$libname$release$shared_ext$major'
  35283. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35284. + shlibpath_var=LD_LIBRARY_PATH
  35285. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  35286. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  35287. + ;;
  35288. +
  35289. +rdos*)
  35290. + dynamic_linker=no
  35291. + ;;
  35292. +
  35293. +solaris*)
  35294. + version_type=linux # correct to gnu/linux during the next big refactor
  35295. + need_lib_prefix=no
  35296. + need_version=no
  35297. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35298. + soname_spec='$libname$release$shared_ext$major'
  35299. + shlibpath_var=LD_LIBRARY_PATH
  35300. + shlibpath_overrides_runpath=yes
  35301. + hardcode_into_libs=yes
  35302. + # ldd complains unless libraries are executable
  35303. + postinstall_cmds='chmod +x $lib'
  35304. + ;;
  35305. +
  35306. +sunos4*)
  35307. + version_type=sunos
  35308. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  35309. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  35310. + shlibpath_var=LD_LIBRARY_PATH
  35311. + shlibpath_overrides_runpath=yes
  35312. + if test yes = "$with_gnu_ld"; then
  35313. + need_lib_prefix=no
  35314. + fi
  35315. + need_version=yes
  35316. + ;;
  35317. +
  35318. +sysv4 | sysv4.3*)
  35319. + version_type=linux # correct to gnu/linux during the next big refactor
  35320. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35321. + soname_spec='$libname$release$shared_ext$major'
  35322. + shlibpath_var=LD_LIBRARY_PATH
  35323. + case $host_vendor in
  35324. + sni)
  35325. + shlibpath_overrides_runpath=no
  35326. + need_lib_prefix=no
  35327. + runpath_var=LD_RUN_PATH
  35328. + ;;
  35329. + siemens)
  35330. + need_lib_prefix=no
  35331. + ;;
  35332. + motorola)
  35333. + need_lib_prefix=no
  35334. + need_version=no
  35335. + shlibpath_overrides_runpath=no
  35336. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  35337. + ;;
  35338. + esac
  35339. + ;;
  35340. +
  35341. +sysv4*MP*)
  35342. + if test -d /usr/nec; then
  35343. + version_type=linux # correct to gnu/linux during the next big refactor
  35344. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  35345. + soname_spec='$libname$shared_ext.$major'
  35346. + shlibpath_var=LD_LIBRARY_PATH
  35347. + fi
  35348. + ;;
  35349. +
  35350. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  35351. + version_type=sco
  35352. + need_lib_prefix=no
  35353. + need_version=no
  35354. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  35355. + soname_spec='$libname$release$shared_ext$major'
  35356. + shlibpath_var=LD_LIBRARY_PATH
  35357. + shlibpath_overrides_runpath=yes
  35358. + hardcode_into_libs=yes
  35359. + if test yes = "$with_gnu_ld"; then
  35360. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  35361. + else
  35362. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  35363. + case $host_os in
  35364. + sco3.2v5*)
  35365. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  35366. + ;;
  35367. + esac
  35368. + fi
  35369. + sys_lib_dlsearch_path_spec='/usr/lib'
  35370. + ;;
  35371. +
  35372. +tpf*)
  35373. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  35374. + version_type=linux # correct to gnu/linux during the next big refactor
  35375. + need_lib_prefix=no
  35376. + need_version=no
  35377. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35378. + shlibpath_var=LD_LIBRARY_PATH
  35379. + shlibpath_overrides_runpath=no
  35380. + hardcode_into_libs=yes
  35381. + ;;
  35382. +
  35383. +uts4*)
  35384. + version_type=linux # correct to gnu/linux during the next big refactor
  35385. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  35386. + soname_spec='$libname$release$shared_ext$major'
  35387. + shlibpath_var=LD_LIBRARY_PATH
  35388. + ;;
  35389. +
  35390. +*)
  35391. + dynamic_linker=no
  35392. + ;;
  35393. +esac
  35394. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  35395. +$as_echo "$dynamic_linker" >&6; }
  35396. +test no = "$dynamic_linker" && can_build_shared=no
  35397. +
  35398. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  35399. +if test yes = "$GCC"; then
  35400. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  35401. +fi
  35402. +
  35403. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  35404. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  35405. +fi
  35406. +
  35407. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  35408. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  35409. +fi
  35410. +
  35411. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  35412. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  35413. +
  35414. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  35415. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  35416. +
  35417. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  35418. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  35419. +
  35420. +
  35421. +
  35422. +
  35423. +
  35424. +
  35425. +
  35426. +
  35427. +
  35428. +
  35429. +
  35430. +
  35431. +
  35432. +
  35433. +
  35434. +
  35435. +
  35436. +
  35437. +
  35438. +
  35439. +
  35440. +
  35441. +
  35442. +
  35443. +
  35444. +
  35445. +
  35446. +
  35447. +
  35448. +
  35449. +
  35450. +
  35451. +
  35452. +
  35453. +
  35454. +
  35455. +
  35456. +
  35457. +
  35458. +
  35459. +
  35460. +
  35461. +
  35462. +
  35463. +
  35464. +
  35465. +
  35466. +
  35467. +
  35468. +
  35469. +
  35470. +
  35471. +
  35472. +
  35473. +
  35474. +
  35475. +
  35476. +
  35477. +
  35478. +
  35479. +
  35480. +
  35481. +
  35482. +
  35483. +
  35484. +
  35485. +
  35486. +
  35487. +
  35488. +
  35489. +
  35490. +
  35491. +
  35492. +
  35493. +
  35494. +
  35495. +
  35496. +
  35497. +
  35498. +
  35499. +
  35500. +
  35501. +
  35502. +
  35503. +
  35504. +
  35505. +
  35506. +
  35507. +
  35508. +
  35509. +
  35510. +
  35511. +
  35512. +
  35513. +
  35514. +
  35515. +
  35516. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  35517. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  35518. +hardcode_action=
  35519. +if test -n "$hardcode_libdir_flag_spec" ||
  35520. + test -n "$runpath_var" ||
  35521. + test yes = "$hardcode_automatic"; then
  35522. +
  35523. + # We can hardcode non-existent directories.
  35524. + if test no != "$hardcode_direct" &&
  35525. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  35526. + # have to relink, otherwise we might link with an installed library
  35527. + # when we should be linking with a yet-to-be-installed one
  35528. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  35529. + test no != "$hardcode_minus_L"; then
  35530. + # Linking always hardcodes the temporary library directory.
  35531. + hardcode_action=relink
  35532. + else
  35533. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  35534. + hardcode_action=immediate
  35535. + fi
  35536. +else
  35537. + # We cannot hardcode anything, or else we can only hardcode existing
  35538. + # directories.
  35539. + hardcode_action=unsupported
  35540. +fi
  35541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  35542. +$as_echo "$hardcode_action" >&6; }
  35543. +
  35544. +if test relink = "$hardcode_action" ||
  35545. + test yes = "$inherit_rpath"; then
  35546. + # Fast installation is not supported
  35547. + enable_fast_install=no
  35548. +elif test yes = "$shlibpath_overrides_runpath" ||
  35549. + test no = "$enable_shared"; then
  35550. + # Fast installation is not necessary
  35551. + enable_fast_install=needless
  35552. +fi
  35553. +
  35554. +
  35555. +
  35556. +
  35557. +
  35558. +
  35559. + if test yes != "$enable_dlopen"; then
  35560. + enable_dlopen=unknown
  35561. + enable_dlopen_self=unknown
  35562. + enable_dlopen_self_static=unknown
  35563. +else
  35564. + lt_cv_dlopen=no
  35565. + lt_cv_dlopen_libs=
  35566. +
  35567. + case $host_os in
  35568. + beos*)
  35569. + lt_cv_dlopen=load_add_on
  35570. + lt_cv_dlopen_libs=
  35571. + lt_cv_dlopen_self=yes
  35572. + ;;
  35573. +
  35574. + mingw* | pw32* | cegcc*)
  35575. + lt_cv_dlopen=LoadLibrary
  35576. + lt_cv_dlopen_libs=
  35577. + ;;
  35578. +
  35579. + cygwin*)
  35580. + lt_cv_dlopen=dlopen
  35581. + lt_cv_dlopen_libs=
  35582. + ;;
  35583. +
  35584. + darwin*)
  35585. + # if libdl is installed we need to link against it
  35586. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  35587. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  35588. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  35589. + $as_echo_n "(cached) " >&6
  35590. +else
  35591. + ac_check_lib_save_LIBS=$LIBS
  35592. +LIBS="-ldl $LIBS"
  35593. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35594. +/* end confdefs.h. */
  35595. +
  35596. +/* Override any GCC internal prototype to avoid an error.
  35597. + Use char because int might match the return type of a GCC
  35598. + builtin and then its argument prototype would still apply. */
  35599. +#ifdef __cplusplus
  35600. +extern "C"
  35601. +#endif
  35602. +char dlopen ();
  35603. +int
  35604. +main ()
  35605. +{
  35606. +return dlopen ();
  35607. + ;
  35608. + return 0;
  35609. +}
  35610. +_ACEOF
  35611. +if ac_fn_c_try_link "$LINENO"; then :
  35612. + ac_cv_lib_dl_dlopen=yes
  35613. +else
  35614. + ac_cv_lib_dl_dlopen=no
  35615. +fi
  35616. +rm -f core conftest.err conftest.$ac_objext \
  35617. + conftest$ac_exeext conftest.$ac_ext
  35618. +LIBS=$ac_check_lib_save_LIBS
  35619. +fi
  35620. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  35621. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  35622. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  35623. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  35624. +else
  35625. +
  35626. + lt_cv_dlopen=dyld
  35627. + lt_cv_dlopen_libs=
  35628. + lt_cv_dlopen_self=yes
  35629. +
  35630. +fi
  35631. +
  35632. + ;;
  35633. +
  35634. + tpf*)
  35635. + # Don't try to run any link tests for TPF. We know it's impossible
  35636. + # because TPF is a cross-compiler, and we know how we open DSOs.
  35637. + lt_cv_dlopen=dlopen
  35638. + lt_cv_dlopen_libs=
  35639. + lt_cv_dlopen_self=no
  35640. + ;;
  35641. +
  35642. + *)
  35643. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  35644. +if test "x$ac_cv_func_shl_load" = xyes; then :
  35645. + lt_cv_dlopen=shl_load
  35646. +else
  35647. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  35648. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  35649. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  35650. + $as_echo_n "(cached) " >&6
  35651. +else
  35652. + ac_check_lib_save_LIBS=$LIBS
  35653. +LIBS="-ldld $LIBS"
  35654. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35655. +/* end confdefs.h. */
  35656. +
  35657. +/* Override any GCC internal prototype to avoid an error.
  35658. + Use char because int might match the return type of a GCC
  35659. + builtin and then its argument prototype would still apply. */
  35660. +#ifdef __cplusplus
  35661. +extern "C"
  35662. +#endif
  35663. +char shl_load ();
  35664. +int
  35665. +main ()
  35666. +{
  35667. +return shl_load ();
  35668. + ;
  35669. + return 0;
  35670. +}
  35671. +_ACEOF
  35672. +if ac_fn_c_try_link "$LINENO"; then :
  35673. + ac_cv_lib_dld_shl_load=yes
  35674. +else
  35675. + ac_cv_lib_dld_shl_load=no
  35676. +fi
  35677. +rm -f core conftest.err conftest.$ac_objext \
  35678. + conftest$ac_exeext conftest.$ac_ext
  35679. +LIBS=$ac_check_lib_save_LIBS
  35680. +fi
  35681. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  35682. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  35683. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  35684. + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  35685. +else
  35686. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  35687. +if test "x$ac_cv_func_dlopen" = xyes; then :
  35688. + lt_cv_dlopen=dlopen
  35689. +else
  35690. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  35691. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  35692. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  35693. + $as_echo_n "(cached) " >&6
  35694. +else
  35695. + ac_check_lib_save_LIBS=$LIBS
  35696. +LIBS="-ldl $LIBS"
  35697. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35698. +/* end confdefs.h. */
  35699. +
  35700. +/* Override any GCC internal prototype to avoid an error.
  35701. + Use char because int might match the return type of a GCC
  35702. + builtin and then its argument prototype would still apply. */
  35703. +#ifdef __cplusplus
  35704. +extern "C"
  35705. +#endif
  35706. +char dlopen ();
  35707. +int
  35708. +main ()
  35709. +{
  35710. +return dlopen ();
  35711. + ;
  35712. + return 0;
  35713. +}
  35714. +_ACEOF
  35715. +if ac_fn_c_try_link "$LINENO"; then :
  35716. + ac_cv_lib_dl_dlopen=yes
  35717. +else
  35718. + ac_cv_lib_dl_dlopen=no
  35719. +fi
  35720. +rm -f core conftest.err conftest.$ac_objext \
  35721. + conftest$ac_exeext conftest.$ac_ext
  35722. +LIBS=$ac_check_lib_save_LIBS
  35723. +fi
  35724. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  35725. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  35726. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  35727. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  35728. +else
  35729. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  35730. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  35731. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  35732. + $as_echo_n "(cached) " >&6
  35733. +else
  35734. + ac_check_lib_save_LIBS=$LIBS
  35735. +LIBS="-lsvld $LIBS"
  35736. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35737. +/* end confdefs.h. */
  35738. +
  35739. +/* Override any GCC internal prototype to avoid an error.
  35740. + Use char because int might match the return type of a GCC
  35741. + builtin and then its argument prototype would still apply. */
  35742. +#ifdef __cplusplus
  35743. +extern "C"
  35744. +#endif
  35745. +char dlopen ();
  35746. +int
  35747. +main ()
  35748. +{
  35749. +return dlopen ();
  35750. + ;
  35751. + return 0;
  35752. +}
  35753. +_ACEOF
  35754. +if ac_fn_c_try_link "$LINENO"; then :
  35755. + ac_cv_lib_svld_dlopen=yes
  35756. +else
  35757. + ac_cv_lib_svld_dlopen=no
  35758. +fi
  35759. +rm -f core conftest.err conftest.$ac_objext \
  35760. + conftest$ac_exeext conftest.$ac_ext
  35761. +LIBS=$ac_check_lib_save_LIBS
  35762. +fi
  35763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  35764. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  35765. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  35766. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  35767. +else
  35768. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  35769. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  35770. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  35771. + $as_echo_n "(cached) " >&6
  35772. +else
  35773. + ac_check_lib_save_LIBS=$LIBS
  35774. +LIBS="-ldld $LIBS"
  35775. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35776. +/* end confdefs.h. */
  35777. +
  35778. +/* Override any GCC internal prototype to avoid an error.
  35779. + Use char because int might match the return type of a GCC
  35780. + builtin and then its argument prototype would still apply. */
  35781. +#ifdef __cplusplus
  35782. +extern "C"
  35783. +#endif
  35784. +char dld_link ();
  35785. +int
  35786. +main ()
  35787. +{
  35788. +return dld_link ();
  35789. + ;
  35790. + return 0;
  35791. +}
  35792. +_ACEOF
  35793. +if ac_fn_c_try_link "$LINENO"; then :
  35794. + ac_cv_lib_dld_dld_link=yes
  35795. +else
  35796. + ac_cv_lib_dld_dld_link=no
  35797. +fi
  35798. +rm -f core conftest.err conftest.$ac_objext \
  35799. + conftest$ac_exeext conftest.$ac_ext
  35800. +LIBS=$ac_check_lib_save_LIBS
  35801. +fi
  35802. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  35803. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  35804. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  35805. + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  35806. +fi
  35807. +
  35808. +
  35809. +fi
  35810. +
  35811. +
  35812. +fi
  35813. +
  35814. +
  35815. +fi
  35816. +
  35817. +
  35818. +fi
  35819. +
  35820. +
  35821. +fi
  35822. +
  35823. + ;;
  35824. + esac
  35825. +
  35826. + if test no = "$lt_cv_dlopen"; then
  35827. + enable_dlopen=no
  35828. + else
  35829. + enable_dlopen=yes
  35830. + fi
  35831. +
  35832. + case $lt_cv_dlopen in
  35833. + dlopen)
  35834. + save_CPPFLAGS=$CPPFLAGS
  35835. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  35836. +
  35837. + save_LDFLAGS=$LDFLAGS
  35838. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  35839. +
  35840. + save_LIBS=$LIBS
  35841. + LIBS="$lt_cv_dlopen_libs $LIBS"
  35842. +
  35843. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  35844. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  35845. +if ${lt_cv_dlopen_self+:} false; then :
  35846. + $as_echo_n "(cached) " >&6
  35847. +else
  35848. + if test yes = "$cross_compiling"; then :
  35849. + lt_cv_dlopen_self=cross
  35850. +else
  35851. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  35852. + lt_status=$lt_dlunknown
  35853. + cat > conftest.$ac_ext <<_LT_EOF
  35854. +#line $LINENO "configure"
  35855. +#include "confdefs.h"
  35856. +
  35857. +#if HAVE_DLFCN_H
  35858. +#include <dlfcn.h>
  35859. +#endif
  35860. +
  35861. +#include <stdio.h>
  35862. +
  35863. +#ifdef RTLD_GLOBAL
  35864. +# define LT_DLGLOBAL RTLD_GLOBAL
  35865. +#else
  35866. +# ifdef DL_GLOBAL
  35867. +# define LT_DLGLOBAL DL_GLOBAL
  35868. +# else
  35869. +# define LT_DLGLOBAL 0
  35870. +# endif
  35871. +#endif
  35872. +
  35873. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  35874. + find out it does not work in some platform. */
  35875. +#ifndef LT_DLLAZY_OR_NOW
  35876. +# ifdef RTLD_LAZY
  35877. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  35878. +# else
  35879. +# ifdef DL_LAZY
  35880. +# define LT_DLLAZY_OR_NOW DL_LAZY
  35881. +# else
  35882. +# ifdef RTLD_NOW
  35883. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  35884. +# else
  35885. +# ifdef DL_NOW
  35886. +# define LT_DLLAZY_OR_NOW DL_NOW
  35887. +# else
  35888. +# define LT_DLLAZY_OR_NOW 0
  35889. +# endif
  35890. +# endif
  35891. +# endif
  35892. +# endif
  35893. +#endif
  35894. +
  35895. +/* When -fvisibility=hidden is used, assume the code has been annotated
  35896. + correspondingly for the symbols needed. */
  35897. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  35898. +int fnord () __attribute__((visibility("default")));
  35899. +#endif
  35900. +
  35901. +int fnord () { return 42; }
  35902. +int main ()
  35903. +{
  35904. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  35905. + int status = $lt_dlunknown;
  35906. +
  35907. + if (self)
  35908. + {
  35909. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  35910. + else
  35911. + {
  35912. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  35913. + else puts (dlerror ());
  35914. + }
  35915. + /* dlclose (self); */
  35916. + }
  35917. + else
  35918. + puts (dlerror ());
  35919. +
  35920. + return status;
  35921. +}
  35922. +_LT_EOF
  35923. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  35924. + (eval $ac_link) 2>&5
  35925. + ac_status=$?
  35926. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  35927. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  35928. + (./conftest; exit; ) >&5 2>/dev/null
  35929. + lt_status=$?
  35930. + case x$lt_status in
  35931. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  35932. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  35933. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  35934. + esac
  35935. + else :
  35936. + # compilation failed
  35937. + lt_cv_dlopen_self=no
  35938. + fi
  35939. +fi
  35940. +rm -fr conftest*
  35941. +
  35942. +
  35943. +fi
  35944. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  35945. +$as_echo "$lt_cv_dlopen_self" >&6; }
  35946. +
  35947. + if test yes = "$lt_cv_dlopen_self"; then
  35948. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  35949. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  35950. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  35951. +if ${lt_cv_dlopen_self_static+:} false; then :
  35952. + $as_echo_n "(cached) " >&6
  35953. +else
  35954. + if test yes = "$cross_compiling"; then :
  35955. + lt_cv_dlopen_self_static=cross
  35956. +else
  35957. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  35958. + lt_status=$lt_dlunknown
  35959. + cat > conftest.$ac_ext <<_LT_EOF
  35960. +#line $LINENO "configure"
  35961. +#include "confdefs.h"
  35962. +
  35963. +#if HAVE_DLFCN_H
  35964. +#include <dlfcn.h>
  35965. +#endif
  35966. +
  35967. +#include <stdio.h>
  35968. +
  35969. +#ifdef RTLD_GLOBAL
  35970. +# define LT_DLGLOBAL RTLD_GLOBAL
  35971. +#else
  35972. +# ifdef DL_GLOBAL
  35973. +# define LT_DLGLOBAL DL_GLOBAL
  35974. +# else
  35975. +# define LT_DLGLOBAL 0
  35976. +# endif
  35977. +#endif
  35978. +
  35979. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  35980. + find out it does not work in some platform. */
  35981. +#ifndef LT_DLLAZY_OR_NOW
  35982. +# ifdef RTLD_LAZY
  35983. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  35984. +# else
  35985. +# ifdef DL_LAZY
  35986. +# define LT_DLLAZY_OR_NOW DL_LAZY
  35987. +# else
  35988. +# ifdef RTLD_NOW
  35989. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  35990. +# else
  35991. +# ifdef DL_NOW
  35992. +# define LT_DLLAZY_OR_NOW DL_NOW
  35993. +# else
  35994. +# define LT_DLLAZY_OR_NOW 0
  35995. +# endif
  35996. +# endif
  35997. +# endif
  35998. +# endif
  35999. +#endif
  36000. +
  36001. +/* When -fvisibility=hidden is used, assume the code has been annotated
  36002. + correspondingly for the symbols needed. */
  36003. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  36004. +int fnord () __attribute__((visibility("default")));
  36005. +#endif
  36006. +
  36007. +int fnord () { return 42; }
  36008. +int main ()
  36009. +{
  36010. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  36011. + int status = $lt_dlunknown;
  36012. +
  36013. + if (self)
  36014. + {
  36015. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  36016. + else
  36017. + {
  36018. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  36019. + else puts (dlerror ());
  36020. + }
  36021. + /* dlclose (self); */
  36022. + }
  36023. + else
  36024. + puts (dlerror ());
  36025. +
  36026. + return status;
  36027. +}
  36028. +_LT_EOF
  36029. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  36030. + (eval $ac_link) 2>&5
  36031. + ac_status=$?
  36032. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  36033. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  36034. + (./conftest; exit; ) >&5 2>/dev/null
  36035. + lt_status=$?
  36036. + case x$lt_status in
  36037. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  36038. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  36039. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  36040. + esac
  36041. + else :
  36042. + # compilation failed
  36043. + lt_cv_dlopen_self_static=no
  36044. + fi
  36045. +fi
  36046. +rm -fr conftest*
  36047. +
  36048. +
  36049. +fi
  36050. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  36051. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  36052. + fi
  36053. +
  36054. + CPPFLAGS=$save_CPPFLAGS
  36055. + LDFLAGS=$save_LDFLAGS
  36056. + LIBS=$save_LIBS
  36057. + ;;
  36058. + esac
  36059. +
  36060. + case $lt_cv_dlopen_self in
  36061. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  36062. + *) enable_dlopen_self=unknown ;;
  36063. + esac
  36064. +
  36065. + case $lt_cv_dlopen_self_static in
  36066. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  36067. + *) enable_dlopen_self_static=unknown ;;
  36068. + esac
  36069. +fi
  36070. +
  36071. +
  36072. +
  36073. +
  36074. +
  36075. +
  36076. +
  36077. +
  36078. +
  36079. +
  36080. +
  36081. +
  36082. +
  36083. +
  36084. +
  36085. +
  36086. +
  36087. +striplib=
  36088. +old_striplib=
  36089. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  36090. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  36091. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  36092. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  36093. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  36094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  36095. +$as_echo "yes" >&6; }
  36096. +else
  36097. +# FIXME - insert some real tests, host_os isn't really good enough
  36098. + case $host_os in
  36099. + darwin*)
  36100. + if test -n "$STRIP"; then
  36101. + striplib="$STRIP -x"
  36102. + old_striplib="$STRIP -S"
  36103. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  36104. +$as_echo "yes" >&6; }
  36105. + else
  36106. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36107. +$as_echo "no" >&6; }
  36108. + fi
  36109. + ;;
  36110. + *)
  36111. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36112. +$as_echo "no" >&6; }
  36113. + ;;
  36114. + esac
  36115. +fi
  36116. +
  36117. +
  36118. +
  36119. +
  36120. +
  36121. +
  36122. +
  36123. +
  36124. +
  36125. +
  36126. +
  36127. +
  36128. + # Report what library types will actually be built
  36129. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  36130. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  36131. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  36132. +$as_echo "$can_build_shared" >&6; }
  36133. +
  36134. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  36135. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  36136. + test no = "$can_build_shared" && enable_shared=no
  36137. +
  36138. + # On AIX, shared libraries and static libraries use the same namespace, and
  36139. + # are all built from PIC.
  36140. + case $host_os in
  36141. + aix3*)
  36142. + test yes = "$enable_shared" && enable_static=no
  36143. + if test -n "$RANLIB"; then
  36144. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  36145. + postinstall_cmds='$RANLIB $lib'
  36146. + fi
  36147. + ;;
  36148. +
  36149. + aix[4-9]*)
  36150. + if test ia64 != "$host_cpu"; then
  36151. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  36152. + yes,aix,yes) ;; # shared object as lib.so file only
  36153. + yes,svr4,*) ;; # shared object as lib.so archive member only
  36154. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  36155. + esac
  36156. + fi
  36157. + ;;
  36158. + esac
  36159. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  36160. +$as_echo "$enable_shared" >&6; }
  36161. +
  36162. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  36163. +$as_echo_n "checking whether to build static libraries... " >&6; }
  36164. + # Make sure either enable_shared or enable_static is yes.
  36165. + test yes = "$enable_shared" || enable_static=yes
  36166. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  36167. +$as_echo "$enable_static" >&6; }
  36168. +
  36169. +
  36170. +
  36171. +
  36172. +fi
  36173. +ac_ext=c
  36174. +ac_cpp='$CPP $CPPFLAGS'
  36175. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36176. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36177. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36178. +
  36179. +CC=$lt_save_CC
  36180. +
  36181. +
  36182. +
  36183. +
  36184. +
  36185. +
  36186. +
  36187. +
  36188. +
  36189. +
  36190. +
  36191. +
  36192. +
  36193. +
  36194. +
  36195. + ac_config_commands="$ac_config_commands libtool"
  36196. +
  36197. +
  36198. +
  36199. +
  36200. +# Only expand once:
  36201. +
  36202. +
  36203. +
  36204. +ac_ext=c
  36205. +ac_cpp='$CPP $CPPFLAGS'
  36206. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36207. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36208. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36209. +if test -n "$ac_tool_prefix"; then
  36210. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  36211. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  36212. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36213. +$as_echo_n "checking for $ac_word... " >&6; }
  36214. +if ${ac_cv_prog_CC+:} false; then :
  36215. + $as_echo_n "(cached) " >&6
  36216. +else
  36217. + if test -n "$CC"; then
  36218. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36219. +else
  36220. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36221. +for as_dir in $PATH
  36222. +do
  36223. + IFS=$as_save_IFS
  36224. + test -z "$as_dir" && as_dir=.
  36225. + for ac_exec_ext in '' $ac_executable_extensions; do
  36226. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36227. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  36228. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36229. + break 2
  36230. + fi
  36231. +done
  36232. + done
  36233. +IFS=$as_save_IFS
  36234. +
  36235. +fi
  36236. +fi
  36237. +CC=$ac_cv_prog_CC
  36238. +if test -n "$CC"; then
  36239. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36240. +$as_echo "$CC" >&6; }
  36241. +else
  36242. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36243. +$as_echo "no" >&6; }
  36244. +fi
  36245. +
  36246. +
  36247. +fi
  36248. +if test -z "$ac_cv_prog_CC"; then
  36249. + ac_ct_CC=$CC
  36250. + # Extract the first word of "gcc", so it can be a program name with args.
  36251. +set dummy gcc; ac_word=$2
  36252. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36253. +$as_echo_n "checking for $ac_word... " >&6; }
  36254. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  36255. + $as_echo_n "(cached) " >&6
  36256. +else
  36257. + if test -n "$ac_ct_CC"; then
  36258. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  36259. +else
  36260. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36261. +for as_dir in $PATH
  36262. +do
  36263. + IFS=$as_save_IFS
  36264. + test -z "$as_dir" && as_dir=.
  36265. + for ac_exec_ext in '' $ac_executable_extensions; do
  36266. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36267. + ac_cv_prog_ac_ct_CC="gcc"
  36268. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36269. + break 2
  36270. + fi
  36271. +done
  36272. + done
  36273. +IFS=$as_save_IFS
  36274. +
  36275. +fi
  36276. +fi
  36277. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  36278. +if test -n "$ac_ct_CC"; then
  36279. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  36280. +$as_echo "$ac_ct_CC" >&6; }
  36281. +else
  36282. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36283. +$as_echo "no" >&6; }
  36284. +fi
  36285. +
  36286. + if test "x$ac_ct_CC" = x; then
  36287. + CC=""
  36288. + else
  36289. + case $cross_compiling:$ac_tool_warned in
  36290. +yes:)
  36291. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  36292. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  36293. +ac_tool_warned=yes ;;
  36294. +esac
  36295. + CC=$ac_ct_CC
  36296. + fi
  36297. +else
  36298. + CC="$ac_cv_prog_CC"
  36299. +fi
  36300. +
  36301. +if test -z "$CC"; then
  36302. + if test -n "$ac_tool_prefix"; then
  36303. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  36304. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  36305. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36306. +$as_echo_n "checking for $ac_word... " >&6; }
  36307. +if ${ac_cv_prog_CC+:} false; then :
  36308. + $as_echo_n "(cached) " >&6
  36309. +else
  36310. + if test -n "$CC"; then
  36311. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36312. +else
  36313. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36314. +for as_dir in $PATH
  36315. +do
  36316. + IFS=$as_save_IFS
  36317. + test -z "$as_dir" && as_dir=.
  36318. + for ac_exec_ext in '' $ac_executable_extensions; do
  36319. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36320. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  36321. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36322. + break 2
  36323. + fi
  36324. +done
  36325. + done
  36326. +IFS=$as_save_IFS
  36327. +
  36328. +fi
  36329. +fi
  36330. +CC=$ac_cv_prog_CC
  36331. +if test -n "$CC"; then
  36332. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36333. +$as_echo "$CC" >&6; }
  36334. +else
  36335. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36336. +$as_echo "no" >&6; }
  36337. +fi
  36338. +
  36339. +
  36340. + fi
  36341. +fi
  36342. +if test -z "$CC"; then
  36343. + # Extract the first word of "cc", so it can be a program name with args.
  36344. +set dummy cc; ac_word=$2
  36345. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36346. +$as_echo_n "checking for $ac_word... " >&6; }
  36347. +if ${ac_cv_prog_CC+:} false; then :
  36348. + $as_echo_n "(cached) " >&6
  36349. +else
  36350. + if test -n "$CC"; then
  36351. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36352. +else
  36353. + ac_prog_rejected=no
  36354. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36355. +for as_dir in $PATH
  36356. +do
  36357. + IFS=$as_save_IFS
  36358. + test -z "$as_dir" && as_dir=.
  36359. + for ac_exec_ext in '' $ac_executable_extensions; do
  36360. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36361. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  36362. + ac_prog_rejected=yes
  36363. + continue
  36364. + fi
  36365. + ac_cv_prog_CC="cc"
  36366. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36367. + break 2
  36368. + fi
  36369. +done
  36370. + done
  36371. +IFS=$as_save_IFS
  36372. +
  36373. +if test $ac_prog_rejected = yes; then
  36374. + # We found a bogon in the path, so make sure we never use it.
  36375. + set dummy $ac_cv_prog_CC
  36376. + shift
  36377. + if test $@%:@ != 0; then
  36378. + # We chose a different compiler from the bogus one.
  36379. + # However, it has the same basename, so the bogon will be chosen
  36380. + # first if we set CC to just the basename; use the full file name.
  36381. + shift
  36382. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  36383. + fi
  36384. +fi
  36385. +fi
  36386. +fi
  36387. +CC=$ac_cv_prog_CC
  36388. +if test -n "$CC"; then
  36389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36390. +$as_echo "$CC" >&6; }
  36391. +else
  36392. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36393. +$as_echo "no" >&6; }
  36394. +fi
  36395. +
  36396. +
  36397. +fi
  36398. +if test -z "$CC"; then
  36399. + if test -n "$ac_tool_prefix"; then
  36400. + for ac_prog in cl.exe
  36401. + do
  36402. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  36403. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  36404. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36405. +$as_echo_n "checking for $ac_word... " >&6; }
  36406. +if ${ac_cv_prog_CC+:} false; then :
  36407. + $as_echo_n "(cached) " >&6
  36408. +else
  36409. + if test -n "$CC"; then
  36410. + ac_cv_prog_CC="$CC" # Let the user override the test.
  36411. +else
  36412. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36413. +for as_dir in $PATH
  36414. +do
  36415. + IFS=$as_save_IFS
  36416. + test -z "$as_dir" && as_dir=.
  36417. + for ac_exec_ext in '' $ac_executable_extensions; do
  36418. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36419. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  36420. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36421. + break 2
  36422. + fi
  36423. +done
  36424. + done
  36425. +IFS=$as_save_IFS
  36426. +
  36427. +fi
  36428. +fi
  36429. +CC=$ac_cv_prog_CC
  36430. +if test -n "$CC"; then
  36431. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  36432. +$as_echo "$CC" >&6; }
  36433. +else
  36434. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36435. +$as_echo "no" >&6; }
  36436. +fi
  36437. +
  36438. +
  36439. + test -n "$CC" && break
  36440. + done
  36441. +fi
  36442. +if test -z "$CC"; then
  36443. + ac_ct_CC=$CC
  36444. + for ac_prog in cl.exe
  36445. +do
  36446. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  36447. +set dummy $ac_prog; ac_word=$2
  36448. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  36449. +$as_echo_n "checking for $ac_word... " >&6; }
  36450. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  36451. + $as_echo_n "(cached) " >&6
  36452. +else
  36453. + if test -n "$ac_ct_CC"; then
  36454. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  36455. +else
  36456. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36457. +for as_dir in $PATH
  36458. +do
  36459. + IFS=$as_save_IFS
  36460. + test -z "$as_dir" && as_dir=.
  36461. + for ac_exec_ext in '' $ac_executable_extensions; do
  36462. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  36463. + ac_cv_prog_ac_ct_CC="$ac_prog"
  36464. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  36465. + break 2
  36466. + fi
  36467. +done
  36468. + done
  36469. +IFS=$as_save_IFS
  36470. +
  36471. +fi
  36472. +fi
  36473. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  36474. +if test -n "$ac_ct_CC"; then
  36475. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  36476. +$as_echo "$ac_ct_CC" >&6; }
  36477. +else
  36478. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  36479. +$as_echo "no" >&6; }
  36480. +fi
  36481. +
  36482. +
  36483. + test -n "$ac_ct_CC" && break
  36484. +done
  36485. +
  36486. + if test "x$ac_ct_CC" = x; then
  36487. + CC=""
  36488. + else
  36489. + case $cross_compiling:$ac_tool_warned in
  36490. +yes:)
  36491. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  36492. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  36493. +ac_tool_warned=yes ;;
  36494. +esac
  36495. + CC=$ac_ct_CC
  36496. + fi
  36497. +fi
  36498. +
  36499. +fi
  36500. +
  36501. +
  36502. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  36503. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  36504. +as_fn_error $? "no acceptable C compiler found in \$PATH
  36505. +See \`config.log' for more details" "$LINENO" 5; }
  36506. +
  36507. +# Provide some information about the compiler.
  36508. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  36509. +set X $ac_compile
  36510. +ac_compiler=$2
  36511. +for ac_option in --version -v -V -qversion; do
  36512. + { { ac_try="$ac_compiler $ac_option >&5"
  36513. +case "(($ac_try" in
  36514. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  36515. + *) ac_try_echo=$ac_try;;
  36516. +esac
  36517. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  36518. +$as_echo "$ac_try_echo"; } >&5
  36519. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  36520. + ac_status=$?
  36521. + if test -s conftest.err; then
  36522. + sed '10a\
  36523. +... rest of stderr output deleted ...
  36524. + 10q' conftest.err >conftest.er1
  36525. + cat conftest.er1 >&5
  36526. + fi
  36527. + rm -f conftest.er1 conftest.err
  36528. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  36529. + test $ac_status = 0; }
  36530. +done
  36531. +
  36532. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  36533. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  36534. +if ${ac_cv_c_compiler_gnu+:} false; then :
  36535. + $as_echo_n "(cached) " >&6
  36536. +else
  36537. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36538. +/* end confdefs.h. */
  36539. +
  36540. +int
  36541. +main ()
  36542. +{
  36543. +#ifndef __GNUC__
  36544. + choke me
  36545. +#endif
  36546. +
  36547. + ;
  36548. + return 0;
  36549. +}
  36550. +_ACEOF
  36551. +if ac_fn_c_try_compile "$LINENO"; then :
  36552. + ac_compiler_gnu=yes
  36553. +else
  36554. + ac_compiler_gnu=no
  36555. +fi
  36556. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36557. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  36558. +
  36559. +fi
  36560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  36561. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  36562. +if test $ac_compiler_gnu = yes; then
  36563. + GCC=yes
  36564. +else
  36565. + GCC=
  36566. +fi
  36567. +ac_test_CFLAGS=${CFLAGS+set}
  36568. +ac_save_CFLAGS=$CFLAGS
  36569. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  36570. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  36571. +if ${ac_cv_prog_cc_g+:} false; then :
  36572. + $as_echo_n "(cached) " >&6
  36573. +else
  36574. + ac_save_c_werror_flag=$ac_c_werror_flag
  36575. + ac_c_werror_flag=yes
  36576. + ac_cv_prog_cc_g=no
  36577. + CFLAGS="-g"
  36578. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36579. +/* end confdefs.h. */
  36580. +
  36581. +int
  36582. +main ()
  36583. +{
  36584. +
  36585. + ;
  36586. + return 0;
  36587. +}
  36588. +_ACEOF
  36589. +if ac_fn_c_try_compile "$LINENO"; then :
  36590. + ac_cv_prog_cc_g=yes
  36591. +else
  36592. + CFLAGS=""
  36593. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36594. +/* end confdefs.h. */
  36595. +
  36596. +int
  36597. +main ()
  36598. +{
  36599. +
  36600. + ;
  36601. + return 0;
  36602. +}
  36603. +_ACEOF
  36604. +if ac_fn_c_try_compile "$LINENO"; then :
  36605. +
  36606. +else
  36607. + ac_c_werror_flag=$ac_save_c_werror_flag
  36608. + CFLAGS="-g"
  36609. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36610. +/* end confdefs.h. */
  36611. +
  36612. +int
  36613. +main ()
  36614. +{
  36615. +
  36616. + ;
  36617. + return 0;
  36618. +}
  36619. +_ACEOF
  36620. +if ac_fn_c_try_compile "$LINENO"; then :
  36621. + ac_cv_prog_cc_g=yes
  36622. +fi
  36623. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36624. +fi
  36625. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36626. +fi
  36627. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  36628. + ac_c_werror_flag=$ac_save_c_werror_flag
  36629. +fi
  36630. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  36631. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  36632. +if test "$ac_test_CFLAGS" = set; then
  36633. + CFLAGS=$ac_save_CFLAGS
  36634. +elif test $ac_cv_prog_cc_g = yes; then
  36635. + if test "$GCC" = yes; then
  36636. + CFLAGS="-g -O2"
  36637. + else
  36638. + CFLAGS="-g"
  36639. + fi
  36640. +else
  36641. + if test "$GCC" = yes; then
  36642. + CFLAGS="-O2"
  36643. + else
  36644. + CFLAGS=
  36645. + fi
  36646. +fi
  36647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  36648. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  36649. +if ${ac_cv_prog_cc_c89+:} false; then :
  36650. + $as_echo_n "(cached) " >&6
  36651. +else
  36652. + ac_cv_prog_cc_c89=no
  36653. +ac_save_CC=$CC
  36654. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36655. +/* end confdefs.h. */
  36656. +#include <stdarg.h>
  36657. +#include <stdio.h>
  36658. +struct stat;
  36659. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  36660. +struct buf { int x; };
  36661. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  36662. +static char *e (p, i)
  36663. + char **p;
  36664. + int i;
  36665. +{
  36666. + return p[i];
  36667. +}
  36668. +static char *f (char * (*g) (char **, int), char **p, ...)
  36669. +{
  36670. + char *s;
  36671. + va_list v;
  36672. + va_start (v,p);
  36673. + s = g (p, va_arg (v,int));
  36674. + va_end (v);
  36675. + return s;
  36676. +}
  36677. +
  36678. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  36679. + function prototypes and stuff, but not '\xHH' hex character constants.
  36680. + These don't provoke an error unfortunately, instead are silently treated
  36681. + as 'x'. The following induces an error, until -std is added to get
  36682. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  36683. + array size at least. It's necessary to write '\x00'==0 to get something
  36684. + that's true only with -std. */
  36685. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  36686. +
  36687. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  36688. + inside strings and character constants. */
  36689. +#define FOO(x) 'x'
  36690. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  36691. +
  36692. +int test (int i, double x);
  36693. +struct s1 {int (*f) (int a);};
  36694. +struct s2 {int (*f) (double a);};
  36695. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  36696. +int argc;
  36697. +char **argv;
  36698. +int
  36699. +main ()
  36700. +{
  36701. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  36702. + ;
  36703. + return 0;
  36704. +}
  36705. +_ACEOF
  36706. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  36707. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  36708. +do
  36709. + CC="$ac_save_CC $ac_arg"
  36710. + if ac_fn_c_try_compile "$LINENO"; then :
  36711. + ac_cv_prog_cc_c89=$ac_arg
  36712. +fi
  36713. +rm -f core conftest.err conftest.$ac_objext
  36714. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  36715. +done
  36716. +rm -f conftest.$ac_ext
  36717. +CC=$ac_save_CC
  36718. +
  36719. +fi
  36720. +# AC_CACHE_VAL
  36721. +case "x$ac_cv_prog_cc_c89" in
  36722. + x)
  36723. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  36724. +$as_echo "none needed" >&6; } ;;
  36725. + xno)
  36726. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  36727. +$as_echo "unsupported" >&6; } ;;
  36728. + *)
  36729. + CC="$CC $ac_cv_prog_cc_c89"
  36730. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  36731. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  36732. +esac
  36733. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  36734. +
  36735. +fi
  36736. +
  36737. +ac_ext=c
  36738. +ac_cpp='$CPP $CPPFLAGS'
  36739. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36740. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36741. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36742. +
  36743. +ac_ext=c
  36744. +ac_cpp='$CPP $CPPFLAGS'
  36745. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36746. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36747. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  36749. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  36750. +if ${am_cv_prog_cc_c_o+:} false; then :
  36751. + $as_echo_n "(cached) " >&6
  36752. +else
  36753. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36754. +/* end confdefs.h. */
  36755. +
  36756. +int
  36757. +main ()
  36758. +{
  36759. +
  36760. + ;
  36761. + return 0;
  36762. +}
  36763. +_ACEOF
  36764. + # Make sure it works both with $CC and with simple cc.
  36765. + # Following AC_PROG_CC_C_O, we do the test twice because some
  36766. + # compilers refuse to overwrite an existing .o file with -o,
  36767. + # though they will create one.
  36768. + am_cv_prog_cc_c_o=yes
  36769. + for am_i in 1 2; do
  36770. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  36771. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  36772. + ac_status=$?
  36773. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36774. + (exit $ac_status); } \
  36775. + && test -f conftest2.$ac_objext; then
  36776. + : OK
  36777. + else
  36778. + am_cv_prog_cc_c_o=no
  36779. + break
  36780. + fi
  36781. + done
  36782. + rm -f core conftest*
  36783. + unset am_i
  36784. +fi
  36785. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  36786. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  36787. +if test "$am_cv_prog_cc_c_o" != yes; then
  36788. + # Losing compiler, so override with the script.
  36789. + # FIXME: It is wrong to rewrite CC.
  36790. + # But if we don't then we get into trouble of one sort or another.
  36791. + # A longer-term fix would be to have automake use am__CC in this case,
  36792. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  36793. + CC="$am_aux_dir/compile $CC"
  36794. +fi
  36795. +ac_ext=c
  36796. +ac_cpp='$CPP $CPPFLAGS'
  36797. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36798. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36799. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36800. +
  36801. +
  36802. +depcc="$CC" am_compiler_list=
  36803. +
  36804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  36805. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  36806. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  36807. + $as_echo_n "(cached) " >&6
  36808. +else
  36809. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  36810. + # We make a subdir and do the tests there. Otherwise we can end up
  36811. + # making bogus files that we don't know about and never remove. For
  36812. + # instance it was reported that on HP-UX the gcc test will end up
  36813. + # making a dummy file named 'D' -- because '-MD' means "put the output
  36814. + # in D".
  36815. + rm -rf conftest.dir
  36816. + mkdir conftest.dir
  36817. + # Copy depcomp to subdir because otherwise we won't find it if we're
  36818. + # using a relative directory.
  36819. + cp "$am_depcomp" conftest.dir
  36820. + cd conftest.dir
  36821. + # We will build objects and dependencies in a subdirectory because
  36822. + # it helps to detect inapplicable dependency modes. For instance
  36823. + # both Tru64's cc and ICC support -MD to output dependencies as a
  36824. + # side effect of compilation, but ICC will put the dependencies in
  36825. + # the current directory while Tru64 will put them in the object
  36826. + # directory.
  36827. + mkdir sub
  36828. +
  36829. + am_cv_CC_dependencies_compiler_type=none
  36830. + if test "$am_compiler_list" = ""; then
  36831. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  36832. + fi
  36833. + am__universal=false
  36834. + case " $depcc " in #(
  36835. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  36836. + esac
  36837. +
  36838. + for depmode in $am_compiler_list; do
  36839. + # Setup a source with many dependencies, because some compilers
  36840. + # like to wrap large dependency lists on column 80 (with \), and
  36841. + # we should not choose a depcomp mode which is confused by this.
  36842. + #
  36843. + # We need to recreate these files for each test, as the compiler may
  36844. + # overwrite some of them when testing with obscure command lines.
  36845. + # This happens at least with the AIX C compiler.
  36846. + : > sub/conftest.c
  36847. + for i in 1 2 3 4 5 6; do
  36848. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  36849. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  36850. + # Solaris 10 /bin/sh.
  36851. + echo '/* dummy */' > sub/conftst$i.h
  36852. + done
  36853. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  36854. +
  36855. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  36856. + # mode. It turns out that the SunPro C++ compiler does not properly
  36857. + # handle '-M -o', and we need to detect this. Also, some Intel
  36858. + # versions had trouble with output in subdirs.
  36859. + am__obj=sub/conftest.${OBJEXT-o}
  36860. + am__minus_obj="-o $am__obj"
  36861. + case $depmode in
  36862. + gcc)
  36863. + # This depmode causes a compiler race in universal mode.
  36864. + test "$am__universal" = false || continue
  36865. + ;;
  36866. + nosideeffect)
  36867. + # After this tag, mechanisms are not by side-effect, so they'll
  36868. + # only be used when explicitly requested.
  36869. + if test "x$enable_dependency_tracking" = xyes; then
  36870. + continue
  36871. + else
  36872. + break
  36873. + fi
  36874. + ;;
  36875. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  36876. + # This compiler won't grok '-c -o', but also, the minuso test has
  36877. + # not run yet. These depmodes are late enough in the game, and
  36878. + # so weak that their functioning should not be impacted.
  36879. + am__obj=conftest.${OBJEXT-o}
  36880. + am__minus_obj=
  36881. + ;;
  36882. + none) break ;;
  36883. + esac
  36884. + if depmode=$depmode \
  36885. + source=sub/conftest.c object=$am__obj \
  36886. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  36887. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  36888. + >/dev/null 2>conftest.err &&
  36889. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  36890. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  36891. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  36892. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  36893. + # icc doesn't choke on unknown options, it will just issue warnings
  36894. + # or remarks (even with -Werror). So we grep stderr for any message
  36895. + # that says an option was ignored or not supported.
  36896. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  36897. + # icc: Command line warning: ignoring option '-M'; no argument required
  36898. + # The diagnosis changed in icc 8.0:
  36899. + # icc: Command line remark: option '-MP' not supported
  36900. + if (grep 'ignoring option' conftest.err ||
  36901. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  36902. + am_cv_CC_dependencies_compiler_type=$depmode
  36903. + break
  36904. + fi
  36905. + fi
  36906. + done
  36907. +
  36908. + cd ..
  36909. + rm -rf conftest.dir
  36910. +else
  36911. + am_cv_CC_dependencies_compiler_type=none
  36912. +fi
  36913. +
  36914. +fi
  36915. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  36916. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  36917. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  36918. +
  36919. + if
  36920. + test "x$enable_dependency_tracking" != xno \
  36921. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  36922. + am__fastdepCC_TRUE=
  36923. + am__fastdepCC_FALSE='#'
  36924. +else
  36925. + am__fastdepCC_TRUE='#'
  36926. + am__fastdepCC_FALSE=
  36927. +fi
  36928. +
  36929. +
  36930. +
  36931. +# Compiler Flags
  36932. +
  36933. +#AM_CPPFLAGS='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  36934. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  36935. +
  36936. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  36937. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  36938. +$as_echo_n "checking whether shifting of signed integers works... " >&6; }
  36939. +if ${ac_cv_signed_shift+:} false; then :
  36940. + $as_echo_n "(cached) " >&6
  36941. +else
  36942. + if test "$cross_compiling" = yes; then :
  36943. + ac_cv_signed_shift=yes
  36944. +else
  36945. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36946. +/* end confdefs.h. */
  36947. +main () {
  36948. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  36949. +}
  36950. +_ACEOF
  36951. +if ac_fn_c_try_run "$LINENO"; then :
  36952. + ac_cv_signed_shift=no
  36953. +else
  36954. + ac_cv_signed_shift=yes
  36955. +fi
  36956. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  36957. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  36958. +fi
  36959. +
  36960. +fi
  36961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signed_shift" >&5
  36962. +$as_echo "$ac_cv_signed_shift" >&6; }
  36963. +if test $ac_cv_signed_shift = yes; then
  36964. + $as_echo "@%:@define HAVE_SIGNED_SHIFT 1" >>confdefs.h
  36965. +
  36966. +fi
  36967. +
  36968. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  36969. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  36970. +if ${ac_cv_c_bigendian+:} false; then :
  36971. + $as_echo_n "(cached) " >&6
  36972. +else
  36973. + ac_cv_c_bigendian=unknown
  36974. + # See if we're dealing with a universal compiler.
  36975. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36976. +/* end confdefs.h. */
  36977. +#ifndef __APPLE_CC__
  36978. + not a universal capable compiler
  36979. + #endif
  36980. + typedef int dummy;
  36981. +
  36982. +_ACEOF
  36983. +if ac_fn_c_try_compile "$LINENO"; then :
  36984. +
  36985. + # Check for potential -arch flags. It is not universal unless
  36986. + # there are at least two -arch flags with different values.
  36987. + ac_arch=
  36988. + ac_prev=
  36989. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  36990. + if test -n "$ac_prev"; then
  36991. + case $ac_word in
  36992. + i?86 | x86_64 | ppc | ppc64)
  36993. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  36994. + ac_arch=$ac_word
  36995. + else
  36996. + ac_cv_c_bigendian=universal
  36997. + break
  36998. + fi
  36999. + ;;
  37000. + esac
  37001. + ac_prev=
  37002. + elif test "x$ac_word" = "x-arch"; then
  37003. + ac_prev=arch
  37004. + fi
  37005. + done
  37006. +fi
  37007. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37008. + if test $ac_cv_c_bigendian = unknown; then
  37009. + # See if sys/param.h defines the BYTE_ORDER macro.
  37010. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37011. +/* end confdefs.h. */
  37012. +#include <sys/types.h>
  37013. + #include <sys/param.h>
  37014. +
  37015. +int
  37016. +main ()
  37017. +{
  37018. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  37019. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  37020. + && LITTLE_ENDIAN)
  37021. + bogus endian macros
  37022. + #endif
  37023. +
  37024. + ;
  37025. + return 0;
  37026. +}
  37027. +_ACEOF
  37028. +if ac_fn_c_try_compile "$LINENO"; then :
  37029. + # It does; now see whether it defined to BIG_ENDIAN or not.
  37030. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37031. +/* end confdefs.h. */
  37032. +#include <sys/types.h>
  37033. + #include <sys/param.h>
  37034. +
  37035. +int
  37036. +main ()
  37037. +{
  37038. +#if BYTE_ORDER != BIG_ENDIAN
  37039. + not big endian
  37040. + #endif
  37041. +
  37042. + ;
  37043. + return 0;
  37044. +}
  37045. +_ACEOF
  37046. +if ac_fn_c_try_compile "$LINENO"; then :
  37047. + ac_cv_c_bigendian=yes
  37048. +else
  37049. + ac_cv_c_bigendian=no
  37050. +fi
  37051. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37052. +fi
  37053. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37054. + fi
  37055. + if test $ac_cv_c_bigendian = unknown; then
  37056. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  37057. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37058. +/* end confdefs.h. */
  37059. +#include <limits.h>
  37060. +
  37061. +int
  37062. +main ()
  37063. +{
  37064. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  37065. + bogus endian macros
  37066. + #endif
  37067. +
  37068. + ;
  37069. + return 0;
  37070. +}
  37071. +_ACEOF
  37072. +if ac_fn_c_try_compile "$LINENO"; then :
  37073. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  37074. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37075. +/* end confdefs.h. */
  37076. +#include <limits.h>
  37077. +
  37078. +int
  37079. +main ()
  37080. +{
  37081. +#ifndef _BIG_ENDIAN
  37082. + not big endian
  37083. + #endif
  37084. +
  37085. + ;
  37086. + return 0;
  37087. +}
  37088. +_ACEOF
  37089. +if ac_fn_c_try_compile "$LINENO"; then :
  37090. + ac_cv_c_bigendian=yes
  37091. +else
  37092. + ac_cv_c_bigendian=no
  37093. +fi
  37094. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37095. +fi
  37096. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37097. + fi
  37098. + if test $ac_cv_c_bigendian = unknown; then
  37099. + # Compile a test program.
  37100. + if test "$cross_compiling" = yes; then :
  37101. + # Try to guess by grepping values from an object file.
  37102. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37103. +/* end confdefs.h. */
  37104. +short int ascii_mm[] =
  37105. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  37106. + short int ascii_ii[] =
  37107. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  37108. + int use_ascii (int i) {
  37109. + return ascii_mm[i] + ascii_ii[i];
  37110. + }
  37111. + short int ebcdic_ii[] =
  37112. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  37113. + short int ebcdic_mm[] =
  37114. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  37115. + int use_ebcdic (int i) {
  37116. + return ebcdic_mm[i] + ebcdic_ii[i];
  37117. + }
  37118. + extern int foo;
  37119. +
  37120. +int
  37121. +main ()
  37122. +{
  37123. +return use_ascii (foo) == use_ebcdic (foo);
  37124. + ;
  37125. + return 0;
  37126. +}
  37127. +_ACEOF
  37128. +if ac_fn_c_try_compile "$LINENO"; then :
  37129. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  37130. + ac_cv_c_bigendian=yes
  37131. + fi
  37132. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  37133. + if test "$ac_cv_c_bigendian" = unknown; then
  37134. + ac_cv_c_bigendian=no
  37135. + else
  37136. + # finding both strings is unlikely to happen, but who knows?
  37137. + ac_cv_c_bigendian=unknown
  37138. + fi
  37139. + fi
  37140. +fi
  37141. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37142. +else
  37143. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37144. +/* end confdefs.h. */
  37145. +$ac_includes_default
  37146. +int
  37147. +main ()
  37148. +{
  37149. +
  37150. + /* Are we little or big endian? From Harbison&Steele. */
  37151. + union
  37152. + {
  37153. + long int l;
  37154. + char c[sizeof (long int)];
  37155. + } u;
  37156. + u.l = 1;
  37157. + return u.c[sizeof (long int) - 1] == 1;
  37158. +
  37159. + ;
  37160. + return 0;
  37161. +}
  37162. +_ACEOF
  37163. +if ac_fn_c_try_run "$LINENO"; then :
  37164. + ac_cv_c_bigendian=no
  37165. +else
  37166. + ac_cv_c_bigendian=yes
  37167. +fi
  37168. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  37169. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  37170. +fi
  37171. +
  37172. + fi
  37173. +fi
  37174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  37175. +$as_echo "$ac_cv_c_bigendian" >&6; }
  37176. + case $ac_cv_c_bigendian in #(
  37177. + yes)
  37178. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  37179. +;; #(
  37180. + no)
  37181. + ;; #(
  37182. + universal)
  37183. +
  37184. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  37185. +
  37186. + ;; #(
  37187. + *)
  37188. + as_fn_error $? "unknown endianness
  37189. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  37190. + esac
  37191. +
  37192. +# The cast to long int works around a bug in the HP C Compiler
  37193. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  37194. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  37195. +# This bug is HP SR number 8606223364.
  37196. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  37197. +$as_echo_n "checking size of char... " >&6; }
  37198. +if ${ac_cv_sizeof_char+:} false; then :
  37199. + $as_echo_n "(cached) " >&6
  37200. +else
  37201. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  37202. +
  37203. +else
  37204. + if test "$ac_cv_type_char" = yes; then
  37205. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  37206. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37207. +as_fn_error 77 "cannot compute sizeof (char)
  37208. +See \`config.log' for more details" "$LINENO" 5; }
  37209. + else
  37210. + ac_cv_sizeof_char=0
  37211. + fi
  37212. +fi
  37213. +
  37214. +fi
  37215. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  37216. +$as_echo "$ac_cv_sizeof_char" >&6; }
  37217. +
  37218. +
  37219. +
  37220. +cat >>confdefs.h <<_ACEOF
  37221. +@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
  37222. +_ACEOF
  37223. +
  37224. +
  37225. +# The cast to long int works around a bug in the HP C Compiler
  37226. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  37227. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  37228. +# This bug is HP SR number 8606223364.
  37229. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  37230. +$as_echo_n "checking size of short... " >&6; }
  37231. +if ${ac_cv_sizeof_short+:} false; then :
  37232. + $as_echo_n "(cached) " >&6
  37233. +else
  37234. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  37235. +
  37236. +else
  37237. + if test "$ac_cv_type_short" = yes; then
  37238. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  37239. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37240. +as_fn_error 77 "cannot compute sizeof (short)
  37241. +See \`config.log' for more details" "$LINENO" 5; }
  37242. + else
  37243. + ac_cv_sizeof_short=0
  37244. + fi
  37245. +fi
  37246. +
  37247. +fi
  37248. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  37249. +$as_echo "$ac_cv_sizeof_short" >&6; }
  37250. +
  37251. +
  37252. +
  37253. +cat >>confdefs.h <<_ACEOF
  37254. +@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
  37255. +_ACEOF
  37256. +
  37257. +
  37258. +# The cast to long int works around a bug in the HP C Compiler
  37259. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  37260. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  37261. +# This bug is HP SR number 8606223364.
  37262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  37263. +$as_echo_n "checking size of int... " >&6; }
  37264. +if ${ac_cv_sizeof_int+:} false; then :
  37265. + $as_echo_n "(cached) " >&6
  37266. +else
  37267. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  37268. +
  37269. +else
  37270. + if test "$ac_cv_type_int" = yes; then
  37271. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  37272. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  37273. +as_fn_error 77 "cannot compute sizeof (int)
  37274. +See \`config.log' for more details" "$LINENO" 5; }
  37275. + else
  37276. + ac_cv_sizeof_int=0
  37277. + fi
  37278. +fi
  37279. +
  37280. +fi
  37281. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  37282. +$as_echo "$ac_cv_sizeof_int" >&6; }
  37283. +
  37284. +
  37285. +
  37286. +cat >>confdefs.h <<_ACEOF
  37287. +@%:@define SIZEOF_INT $ac_cv_sizeof_int
  37288. +_ACEOF
  37289. +
  37290. +
  37291. +
  37292. +if test $ac_cv_sizeof_char != 1 -o $ac_cv_sizeof_short != 2 -o $ac_cv_sizeof_int != 4 ; then
  37293. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  37294. + echo "configure failed."
  37295. + exit 1
  37296. +fi
  37297. +
  37298. +# Checks for math library.
  37299. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
  37300. +$as_echo_n "checking for log in -lm... " >&6; }
  37301. +if ${ac_cv_lib_m_log+:} false; then :
  37302. + $as_echo_n "(cached) " >&6
  37303. +else
  37304. + ac_check_lib_save_LIBS=$LIBS
  37305. +LIBS="-lm $LIBS"
  37306. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37307. +/* end confdefs.h. */
  37308. +
  37309. +/* Override any GCC internal prototype to avoid an error.
  37310. + Use char because int might match the return type of a GCC
  37311. + builtin and then its argument prototype would still apply. */
  37312. +#ifdef __cplusplus
  37313. +extern "C"
  37314. +#endif
  37315. +char log ();
  37316. +int
  37317. +main ()
  37318. +{
  37319. +return log ();
  37320. + ;
  37321. + return 0;
  37322. +}
  37323. +_ACEOF
  37324. +if ac_fn_c_try_link "$LINENO"; then :
  37325. + ac_cv_lib_m_log=yes
  37326. +else
  37327. + ac_cv_lib_m_log=no
  37328. +fi
  37329. +rm -f core conftest.err conftest.$ac_objext \
  37330. + conftest$ac_exeext conftest.$ac_ext
  37331. +LIBS=$ac_check_lib_save_LIBS
  37332. +fi
  37333. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
  37334. +$as_echo "$ac_cv_lib_m_log" >&6; }
  37335. +if test "x$ac_cv_lib_m_log" = xyes; then :
  37336. + cat >>confdefs.h <<_ACEOF
  37337. +@%:@define HAVE_LIBM 1
  37338. +_ACEOF
  37339. +
  37340. + LIBS="-lm $LIBS"
  37341. +
  37342. +fi
  37343. +
  37344. +if test "$ac_cv_lib_m_log" = "no"; then
  37345. + echo "FIASCO requires math library!"
  37346. + echo "It was not found on your system."
  37347. + echo "configure failed."
  37348. + exit 1
  37349. +fi
  37350. +
  37351. +# Checks for programs
  37352. +# Extract the first word of "xfig", so it can be a program name with args.
  37353. +set dummy xfig; ac_word=$2
  37354. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37355. +$as_echo_n "checking for $ac_word... " >&6; }
  37356. +if ${ac_cv_path_xfig+:} false; then :
  37357. + $as_echo_n "(cached) " >&6
  37358. +else
  37359. + case $xfig in
  37360. + [\\/]* | ?:[\\/]*)
  37361. + ac_cv_path_xfig="$xfig" # Let the user override the test with a path.
  37362. + ;;
  37363. + *)
  37364. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37365. +for as_dir in $PATH
  37366. +do
  37367. + IFS=$as_save_IFS
  37368. + test -z "$as_dir" && as_dir=.
  37369. + for ac_exec_ext in '' $ac_executable_extensions; do
  37370. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  37371. + ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  37372. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37373. + break 2
  37374. + fi
  37375. +done
  37376. + done
  37377. +IFS=$as_save_IFS
  37378. +
  37379. + ;;
  37380. +esac
  37381. +fi
  37382. +xfig=$ac_cv_path_xfig
  37383. +if test -n "$xfig"; then
  37384. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xfig" >&5
  37385. +$as_echo "$xfig" >&6; }
  37386. +else
  37387. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37388. +$as_echo "no" >&6; }
  37389. +fi
  37390. +
  37391. +
  37392. +if test -n "$xfig"; then
  37393. +
  37394. +cat >>confdefs.h <<_ACEOF
  37395. +@%:@define XFIG "$xfig"
  37396. +_ACEOF
  37397. +
  37398. +fi
  37399. +# Extract the first word of "xmag", so it can be a program name with args.
  37400. +set dummy xmag; ac_word=$2
  37401. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  37402. +$as_echo_n "checking for $ac_word... " >&6; }
  37403. +if ${ac_cv_path_xmag+:} false; then :
  37404. + $as_echo_n "(cached) " >&6
  37405. +else
  37406. + case $xmag in
  37407. + [\\/]* | ?:[\\/]*)
  37408. + ac_cv_path_xmag="$xmag" # Let the user override the test with a path.
  37409. + ;;
  37410. + *)
  37411. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37412. +for as_dir in $PATH
  37413. +do
  37414. + IFS=$as_save_IFS
  37415. + test -z "$as_dir" && as_dir=.
  37416. + for ac_exec_ext in '' $ac_executable_extensions; do
  37417. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  37418. + ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  37419. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  37420. + break 2
  37421. + fi
  37422. +done
  37423. + done
  37424. +IFS=$as_save_IFS
  37425. +
  37426. + ;;
  37427. +esac
  37428. +fi
  37429. +xmag=$ac_cv_path_xmag
  37430. +if test -n "$xmag"; then
  37431. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmag" >&5
  37432. +$as_echo "$xmag" >&6; }
  37433. +else
  37434. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37435. +$as_echo "no" >&6; }
  37436. +fi
  37437. +
  37438. +
  37439. +if test -n "$xmag"; then
  37440. +
  37441. +cat >>confdefs.h <<_ACEOF
  37442. +@%:@define XMAG "$xmag"
  37443. +_ACEOF
  37444. +
  37445. +fi
  37446. +
  37447. +# Checks for header files.
  37448. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  37449. +$as_echo_n "checking for ANSI C header files... " >&6; }
  37450. +if ${ac_cv_header_stdc+:} false; then :
  37451. + $as_echo_n "(cached) " >&6
  37452. +else
  37453. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37454. +/* end confdefs.h. */
  37455. +#include <stdlib.h>
  37456. +#include <stdarg.h>
  37457. +#include <string.h>
  37458. +#include <float.h>
  37459. +
  37460. +int
  37461. +main ()
  37462. +{
  37463. +
  37464. + ;
  37465. + return 0;
  37466. +}
  37467. +_ACEOF
  37468. +if ac_fn_c_try_compile "$LINENO"; then :
  37469. + ac_cv_header_stdc=yes
  37470. +else
  37471. + ac_cv_header_stdc=no
  37472. +fi
  37473. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37474. +
  37475. +if test $ac_cv_header_stdc = yes; then
  37476. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  37477. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37478. +/* end confdefs.h. */
  37479. +#include <string.h>
  37480. +
  37481. +_ACEOF
  37482. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  37483. + $EGREP "memchr" >/dev/null 2>&1; then :
  37484. +
  37485. +else
  37486. + ac_cv_header_stdc=no
  37487. +fi
  37488. +rm -f conftest*
  37489. +
  37490. +fi
  37491. +
  37492. +if test $ac_cv_header_stdc = yes; then
  37493. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  37494. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37495. +/* end confdefs.h. */
  37496. +#include <stdlib.h>
  37497. +
  37498. +_ACEOF
  37499. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  37500. + $EGREP "free" >/dev/null 2>&1; then :
  37501. +
  37502. +else
  37503. + ac_cv_header_stdc=no
  37504. +fi
  37505. +rm -f conftest*
  37506. +
  37507. +fi
  37508. +
  37509. +if test $ac_cv_header_stdc = yes; then
  37510. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  37511. + if test "$cross_compiling" = yes; then :
  37512. + :
  37513. +else
  37514. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37515. +/* end confdefs.h. */
  37516. +#include <ctype.h>
  37517. +#include <stdlib.h>
  37518. +#if ((' ' & 0x0FF) == 0x020)
  37519. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  37520. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  37521. +#else
  37522. +# define ISLOWER(c) \
  37523. + (('a' <= (c) && (c) <= 'i') \
  37524. + || ('j' <= (c) && (c) <= 'r') \
  37525. + || ('s' <= (c) && (c) <= 'z'))
  37526. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  37527. +#endif
  37528. +
  37529. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  37530. +int
  37531. +main ()
  37532. +{
  37533. + int i;
  37534. + for (i = 0; i < 256; i++)
  37535. + if (XOR (islower (i), ISLOWER (i))
  37536. + || toupper (i) != TOUPPER (i))
  37537. + return 2;
  37538. + return 0;
  37539. +}
  37540. +_ACEOF
  37541. +if ac_fn_c_try_run "$LINENO"; then :
  37542. +
  37543. +else
  37544. + ac_cv_header_stdc=no
  37545. +fi
  37546. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  37547. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  37548. +fi
  37549. +
  37550. +fi
  37551. +fi
  37552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  37553. +$as_echo "$ac_cv_header_stdc" >&6; }
  37554. +if test $ac_cv_header_stdc = yes; then
  37555. +
  37556. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  37557. +
  37558. +fi
  37559. +
  37560. +for ac_header in assert.h features.h setjmp.h string.h unistd.h
  37561. +do :
  37562. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  37563. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  37564. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  37565. + cat >>confdefs.h <<_ACEOF
  37566. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  37567. +_ACEOF
  37568. +
  37569. +fi
  37570. +
  37571. +done
  37572. +
  37573. +
  37574. +# Checks for typedefs, structures, and compiler characteristics.
  37575. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  37576. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  37577. +if ${ac_cv_c_const+:} false; then :
  37578. + $as_echo_n "(cached) " >&6
  37579. +else
  37580. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37581. +/* end confdefs.h. */
  37582. +
  37583. +int
  37584. +main ()
  37585. +{
  37586. +
  37587. +#ifndef __cplusplus
  37588. + /* Ultrix mips cc rejects this sort of thing. */
  37589. + typedef int charset[2];
  37590. + const charset cs = { 0, 0 };
  37591. + /* SunOS 4.1.1 cc rejects this. */
  37592. + char const *const *pcpcc;
  37593. + char **ppc;
  37594. + /* NEC SVR4.0.2 mips cc rejects this. */
  37595. + struct point {int x, y;};
  37596. + static struct point const zero = {0,0};
  37597. + /* AIX XL C 1.02.0.0 rejects this.
  37598. + It does not let you subtract one const X* pointer from another in
  37599. + an arm of an if-expression whose if-part is not a constant
  37600. + expression */
  37601. + const char *g = "string";
  37602. + pcpcc = &g + (g ? g-g : 0);
  37603. + /* HPUX 7.0 cc rejects these. */
  37604. + ++pcpcc;
  37605. + ppc = (char**) pcpcc;
  37606. + pcpcc = (char const *const *) ppc;
  37607. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  37608. + char tx;
  37609. + char *t = &tx;
  37610. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  37611. +
  37612. + *t++ = 0;
  37613. + if (s) return 0;
  37614. + }
  37615. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  37616. + int x[] = {25, 17};
  37617. + const int *foo = &x[0];
  37618. + ++foo;
  37619. + }
  37620. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  37621. + typedef const int *iptr;
  37622. + iptr p = 0;
  37623. + ++p;
  37624. + }
  37625. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  37626. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  37627. + struct s { int j; const int *ap[3]; } bx;
  37628. + struct s *b = &bx; b->j = 5;
  37629. + }
  37630. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  37631. + const int foo = 10;
  37632. + if (!foo) return 0;
  37633. + }
  37634. + return !cs[0] && !zero.x;
  37635. +#endif
  37636. +
  37637. + ;
  37638. + return 0;
  37639. +}
  37640. +_ACEOF
  37641. +if ac_fn_c_try_compile "$LINENO"; then :
  37642. + ac_cv_c_const=yes
  37643. +else
  37644. + ac_cv_c_const=no
  37645. +fi
  37646. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37647. +fi
  37648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  37649. +$as_echo "$ac_cv_c_const" >&6; }
  37650. +if test $ac_cv_c_const = no; then
  37651. +
  37652. +$as_echo "@%:@define const /**/" >>confdefs.h
  37653. +
  37654. +fi
  37655. +
  37656. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  37657. +if test "x$ac_cv_type_size_t" = xyes; then :
  37658. +
  37659. +else
  37660. +
  37661. +cat >>confdefs.h <<_ACEOF
  37662. +@%:@define size_t unsigned int
  37663. +_ACEOF
  37664. +
  37665. +fi
  37666. +
  37667. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  37668. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  37669. +if ${ac_cv_header_time+:} false; then :
  37670. + $as_echo_n "(cached) " >&6
  37671. +else
  37672. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37673. +/* end confdefs.h. */
  37674. +#include <sys/types.h>
  37675. +#include <sys/time.h>
  37676. +#include <time.h>
  37677. +
  37678. +int
  37679. +main ()
  37680. +{
  37681. +if ((struct tm *) 0)
  37682. +return 0;
  37683. + ;
  37684. + return 0;
  37685. +}
  37686. +_ACEOF
  37687. +if ac_fn_c_try_compile "$LINENO"; then :
  37688. + ac_cv_header_time=yes
  37689. +else
  37690. + ac_cv_header_time=no
  37691. +fi
  37692. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37693. +fi
  37694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  37695. +$as_echo "$ac_cv_header_time" >&6; }
  37696. +if test $ac_cv_header_time = yes; then
  37697. +
  37698. +$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
  37699. +
  37700. +fi
  37701. +
  37702. +
  37703. +# Checks for library functions.
  37704. +for ac_func in vprintf
  37705. +do :
  37706. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  37707. +if test "x$ac_cv_func_vprintf" = xyes; then :
  37708. + cat >>confdefs.h <<_ACEOF
  37709. +@%:@define HAVE_VPRINTF 1
  37710. +_ACEOF
  37711. +
  37712. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  37713. +if test "x$ac_cv_func__doprnt" = xyes; then :
  37714. +
  37715. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  37716. +
  37717. +fi
  37718. +
  37719. +fi
  37720. +done
  37721. +
  37722. +
  37723. +for ac_func in log2 memmove strdup strcasecmp
  37724. +do :
  37725. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  37726. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  37727. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  37728. + cat >>confdefs.h <<_ACEOF
  37729. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  37730. +_ACEOF
  37731. +
  37732. +fi
  37733. +done
  37734. +
  37735. +
  37736. +ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile"
  37737. +
  37738. +ac_config_commands="$ac_config_commands default"
  37739. +
  37740. +cat >confcache <<\_ACEOF
  37741. +# This file is a shell script that caches the results of configure
  37742. +# tests run on this system so they can be shared between configure
  37743. +# scripts and configure runs, see configure's option --config-cache.
  37744. +# It is not useful on other systems. If it contains results you don't
  37745. +# want to keep, you may remove or edit it.
  37746. +#
  37747. +# config.status only pays attention to the cache file if you give it
  37748. +# the --recheck option to rerun configure.
  37749. +#
  37750. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  37751. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  37752. +# following values.
  37753. +
  37754. +_ACEOF
  37755. +
  37756. +# The following way of writing the cache mishandles newlines in values,
  37757. +# but we know of no workaround that is simple, portable, and efficient.
  37758. +# So, we kill variables containing newlines.
  37759. +# Ultrix sh set writes to stderr and can't be redirected directly,
  37760. +# and sets the high bit in the cache file unless we assign to the vars.
  37761. +(
  37762. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  37763. + eval ac_val=\$$ac_var
  37764. + case $ac_val in #(
  37765. + *${as_nl}*)
  37766. + case $ac_var in #(
  37767. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  37768. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  37769. + esac
  37770. + case $ac_var in #(
  37771. + _ | IFS | as_nl) ;; #(
  37772. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  37773. + *) { eval $ac_var=; unset $ac_var;} ;;
  37774. + esac ;;
  37775. + esac
  37776. + done
  37777. +
  37778. + (set) 2>&1 |
  37779. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  37780. + *${as_nl}ac_space=\ *)
  37781. + # `set' does not quote correctly, so add quotes: double-quote
  37782. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  37783. + sed -n \
  37784. + "s/'/'\\\\''/g;
  37785. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  37786. + ;; #(
  37787. + *)
  37788. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  37789. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  37790. + ;;
  37791. + esac |
  37792. + sort
  37793. +) |
  37794. + sed '
  37795. + /^ac_cv_env_/b end
  37796. + t clear
  37797. + :clear
  37798. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  37799. + t end
  37800. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  37801. + :end' >>confcache
  37802. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  37803. + if test -w "$cache_file"; then
  37804. + if test "x$cache_file" != "x/dev/null"; then
  37805. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  37806. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  37807. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  37808. + cat confcache >"$cache_file"
  37809. + else
  37810. + case $cache_file in #(
  37811. + */* | ?:*)
  37812. + mv -f confcache "$cache_file"$$ &&
  37813. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  37814. + *)
  37815. + mv -f confcache "$cache_file" ;;
  37816. + esac
  37817. + fi
  37818. + fi
  37819. + else
  37820. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  37821. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  37822. + fi
  37823. +fi
  37824. +rm -f confcache
  37825. +
  37826. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  37827. +# Let make expand exec_prefix.
  37828. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  37829. +
  37830. +DEFS=-DHAVE_CONFIG_H
  37831. +
  37832. +ac_libobjs=
  37833. +ac_ltlibobjs=
  37834. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  37835. + # 1. Remove the extension, and $U if already installed.
  37836. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  37837. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  37838. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  37839. + # will be set to the directory where LIBOBJS objects are built.
  37840. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  37841. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  37842. +done
  37843. +LIB@&t@OBJS=$ac_libobjs
  37844. +
  37845. +LTLIBOBJS=$ac_ltlibobjs
  37846. +
  37847. +
  37848. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  37849. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  37850. + if test -n "$am_sleep_pid"; then
  37851. + # Hide warnings about reused PIDs.
  37852. + wait $am_sleep_pid 2>/dev/null
  37853. + fi
  37854. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  37855. +$as_echo "done" >&6; }
  37856. + if test -n "$EXEEXT"; then
  37857. + am__EXEEXT_TRUE=
  37858. + am__EXEEXT_FALSE='#'
  37859. +else
  37860. + am__EXEEXT_TRUE='#'
  37861. + am__EXEEXT_FALSE=
  37862. +fi
  37863. +
  37864. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  37865. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  37866. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  37867. +fi
  37868. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  37869. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  37870. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  37871. +fi
  37872. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  37873. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  37874. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  37875. +fi
  37876. +
  37877. +
  37878. +: "${CONFIG_STATUS=./config.status}"
  37879. +ac_write_fail=0
  37880. +ac_clean_files_save=$ac_clean_files
  37881. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  37882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  37883. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  37884. +as_write_fail=0
  37885. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  37886. +#! $SHELL
  37887. +# Generated by $as_me.
  37888. +# Run this file to recreate the current configuration.
  37889. +# Compiler output produced by configure, useful for debugging
  37890. +# configure, is in config.log if it exists.
  37891. +
  37892. +debug=false
  37893. +ac_cs_recheck=false
  37894. +ac_cs_silent=false
  37895. +
  37896. +SHELL=\${CONFIG_SHELL-$SHELL}
  37897. +export SHELL
  37898. +_ASEOF
  37899. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  37900. +## -------------------- ##
  37901. +## M4sh Initialization. ##
  37902. +## -------------------- ##
  37903. +
  37904. +# Be more Bourne compatible
  37905. +DUALCASE=1; export DUALCASE # for MKS sh
  37906. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  37907. + emulate sh
  37908. + NULLCMD=:
  37909. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  37910. + # is contrary to our usage. Disable this feature.
  37911. + alias -g '${1+"$@"}'='"$@"'
  37912. + setopt NO_GLOB_SUBST
  37913. +else
  37914. + case `(set -o) 2>/dev/null` in @%:@(
  37915. + *posix*) :
  37916. + set -o posix ;; @%:@(
  37917. + *) :
  37918. + ;;
  37919. +esac
  37920. +fi
  37921. +
  37922. +
  37923. +as_nl='
  37924. +'
  37925. +export as_nl
  37926. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  37927. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  37928. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37929. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  37930. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  37931. +# but without wasting forks for bash or zsh.
  37932. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  37933. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  37934. + as_echo='print -r --'
  37935. + as_echo_n='print -rn --'
  37936. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  37937. + as_echo='printf %s\n'
  37938. + as_echo_n='printf %s'
  37939. +else
  37940. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  37941. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  37942. + as_echo_n='/usr/ucb/echo -n'
  37943. + else
  37944. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  37945. + as_echo_n_body='eval
  37946. + arg=$1;
  37947. + case $arg in @%:@(
  37948. + *"$as_nl"*)
  37949. + expr "X$arg" : "X\\(.*\\)$as_nl";
  37950. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  37951. + esac;
  37952. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  37953. + '
  37954. + export as_echo_n_body
  37955. + as_echo_n='sh -c $as_echo_n_body as_echo'
  37956. + fi
  37957. + export as_echo_body
  37958. + as_echo='sh -c $as_echo_body as_echo'
  37959. +fi
  37960. +
  37961. +# The user is always right.
  37962. +if test "${PATH_SEPARATOR+set}" != set; then
  37963. + PATH_SEPARATOR=:
  37964. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  37965. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  37966. + PATH_SEPARATOR=';'
  37967. + }
  37968. +fi
  37969. +
  37970. +
  37971. +# IFS
  37972. +# We need space, tab and new line, in precisely that order. Quoting is
  37973. +# there to prevent editors from complaining about space-tab.
  37974. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  37975. +# splitting by setting IFS to empty value.)
  37976. +IFS=" "" $as_nl"
  37977. +
  37978. +# Find who we are. Look in the path if we contain no directory separator.
  37979. +as_myself=
  37980. +case $0 in @%:@((
  37981. + *[\\/]* ) as_myself=$0 ;;
  37982. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37983. +for as_dir in $PATH
  37984. +do
  37985. + IFS=$as_save_IFS
  37986. + test -z "$as_dir" && as_dir=.
  37987. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  37988. + done
  37989. +IFS=$as_save_IFS
  37990. +
  37991. + ;;
  37992. +esac
  37993. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  37994. +# in which case we are not to be found in the path.
  37995. +if test "x$as_myself" = x; then
  37996. + as_myself=$0
  37997. +fi
  37998. +if test ! -f "$as_myself"; then
  37999. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  38000. + exit 1
  38001. +fi
  38002. +
  38003. +# Unset variables that we do not need and which cause bugs (e.g. in
  38004. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  38005. +# suppresses any "Segmentation fault" message there. '((' could
  38006. +# trigger a bug in pdksh 5.2.14.
  38007. +for as_var in BASH_ENV ENV MAIL MAILPATH
  38008. +do eval test x\${$as_var+set} = xset \
  38009. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  38010. +done
  38011. +PS1='$ '
  38012. +PS2='> '
  38013. +PS4='+ '
  38014. +
  38015. +# NLS nuisances.
  38016. +LC_ALL=C
  38017. +export LC_ALL
  38018. +LANGUAGE=C
  38019. +export LANGUAGE
  38020. +
  38021. +# CDPATH.
  38022. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  38023. +
  38024. +
  38025. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  38026. +@%:@ ----------------------------------------
  38027. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  38028. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  38029. +@%:@ script with STATUS, using 1 if that was 0.
  38030. +as_fn_error ()
  38031. +{
  38032. + as_status=$1; test $as_status -eq 0 && as_status=1
  38033. + if test "$4"; then
  38034. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38035. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  38036. + fi
  38037. + $as_echo "$as_me: error: $2" >&2
  38038. + as_fn_exit $as_status
  38039. +} @%:@ as_fn_error
  38040. +
  38041. +
  38042. +@%:@ as_fn_set_status STATUS
  38043. +@%:@ -----------------------
  38044. +@%:@ Set @S|@? to STATUS, without forking.
  38045. +as_fn_set_status ()
  38046. +{
  38047. + return $1
  38048. +} @%:@ as_fn_set_status
  38049. +
  38050. +@%:@ as_fn_exit STATUS
  38051. +@%:@ -----------------
  38052. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  38053. +as_fn_exit ()
  38054. +{
  38055. + set +e
  38056. + as_fn_set_status $1
  38057. + exit $1
  38058. +} @%:@ as_fn_exit
  38059. +
  38060. +@%:@ as_fn_unset VAR
  38061. +@%:@ ---------------
  38062. +@%:@ Portably unset VAR.
  38063. +as_fn_unset ()
  38064. +{
  38065. + { eval $1=; unset $1;}
  38066. +}
  38067. +as_unset=as_fn_unset
  38068. +@%:@ as_fn_append VAR VALUE
  38069. +@%:@ ----------------------
  38070. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  38071. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  38072. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  38073. +@%:@ implementations.
  38074. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  38075. + eval 'as_fn_append ()
  38076. + {
  38077. + eval $1+=\$2
  38078. + }'
  38079. +else
  38080. + as_fn_append ()
  38081. + {
  38082. + eval $1=\$$1\$2
  38083. + }
  38084. +fi # as_fn_append
  38085. +
  38086. +@%:@ as_fn_arith ARG...
  38087. +@%:@ ------------------
  38088. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  38089. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  38090. +@%:@ must be portable across @S|@(()) and expr.
  38091. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  38092. + eval 'as_fn_arith ()
  38093. + {
  38094. + as_val=$(( $* ))
  38095. + }'
  38096. +else
  38097. + as_fn_arith ()
  38098. + {
  38099. + as_val=`expr "$@" || test $? -eq 1`
  38100. + }
  38101. +fi # as_fn_arith
  38102. +
  38103. +
  38104. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  38105. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  38106. + as_expr=expr
  38107. +else
  38108. + as_expr=false
  38109. +fi
  38110. +
  38111. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  38112. + as_basename=basename
  38113. +else
  38114. + as_basename=false
  38115. +fi
  38116. +
  38117. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  38118. + as_dirname=dirname
  38119. +else
  38120. + as_dirname=false
  38121. +fi
  38122. +
  38123. +as_me=`$as_basename -- "$0" ||
  38124. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  38125. + X"$0" : 'X\(//\)$' \| \
  38126. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  38127. +$as_echo X/"$0" |
  38128. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  38129. + s//\1/
  38130. + q
  38131. + }
  38132. + /^X\/\(\/\/\)$/{
  38133. + s//\1/
  38134. + q
  38135. + }
  38136. + /^X\/\(\/\).*/{
  38137. + s//\1/
  38138. + q
  38139. + }
  38140. + s/.*/./; q'`
  38141. +
  38142. +# Avoid depending upon Character Ranges.
  38143. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  38144. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  38145. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  38146. +as_cr_digits='0123456789'
  38147. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  38148. +
  38149. +ECHO_C= ECHO_N= ECHO_T=
  38150. +case `echo -n x` in @%:@(((((
  38151. +-n*)
  38152. + case `echo 'xy\c'` in
  38153. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  38154. + xy) ECHO_C='\c';;
  38155. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  38156. + ECHO_T=' ';;
  38157. + esac;;
  38158. +*)
  38159. + ECHO_N='-n';;
  38160. +esac
  38161. +
  38162. +rm -f conf$$ conf$$.exe conf$$.file
  38163. +if test -d conf$$.dir; then
  38164. + rm -f conf$$.dir/conf$$.file
  38165. +else
  38166. + rm -f conf$$.dir
  38167. + mkdir conf$$.dir 2>/dev/null
  38168. +fi
  38169. +if (echo >conf$$.file) 2>/dev/null; then
  38170. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  38171. + as_ln_s='ln -s'
  38172. + # ... but there are two gotchas:
  38173. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  38174. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  38175. + # In both cases, we have to default to `cp -pR'.
  38176. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  38177. + as_ln_s='cp -pR'
  38178. + elif ln conf$$.file conf$$ 2>/dev/null; then
  38179. + as_ln_s=ln
  38180. + else
  38181. + as_ln_s='cp -pR'
  38182. + fi
  38183. +else
  38184. + as_ln_s='cp -pR'
  38185. +fi
  38186. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  38187. +rmdir conf$$.dir 2>/dev/null
  38188. +
  38189. +
  38190. +@%:@ as_fn_mkdir_p
  38191. +@%:@ -------------
  38192. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  38193. +as_fn_mkdir_p ()
  38194. +{
  38195. +
  38196. + case $as_dir in #(
  38197. + -*) as_dir=./$as_dir;;
  38198. + esac
  38199. + test -d "$as_dir" || eval $as_mkdir_p || {
  38200. + as_dirs=
  38201. + while :; do
  38202. + case $as_dir in #(
  38203. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  38204. + *) as_qdir=$as_dir;;
  38205. + esac
  38206. + as_dirs="'$as_qdir' $as_dirs"
  38207. + as_dir=`$as_dirname -- "$as_dir" ||
  38208. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  38209. + X"$as_dir" : 'X\(//\)[^/]' \| \
  38210. + X"$as_dir" : 'X\(//\)$' \| \
  38211. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  38212. +$as_echo X"$as_dir" |
  38213. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  38214. + s//\1/
  38215. + q
  38216. + }
  38217. + /^X\(\/\/\)[^/].*/{
  38218. + s//\1/
  38219. + q
  38220. + }
  38221. + /^X\(\/\/\)$/{
  38222. + s//\1/
  38223. + q
  38224. + }
  38225. + /^X\(\/\).*/{
  38226. + s//\1/
  38227. + q
  38228. + }
  38229. + s/.*/./; q'`
  38230. + test -d "$as_dir" && break
  38231. + done
  38232. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  38233. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  38234. +
  38235. +
  38236. +} @%:@ as_fn_mkdir_p
  38237. +if mkdir -p . 2>/dev/null; then
  38238. + as_mkdir_p='mkdir -p "$as_dir"'
  38239. +else
  38240. + test -d ./-p && rmdir ./-p
  38241. + as_mkdir_p=false
  38242. +fi
  38243. +
  38244. +
  38245. +@%:@ as_fn_executable_p FILE
  38246. +@%:@ -----------------------
  38247. +@%:@ Test if FILE is an executable regular file.
  38248. +as_fn_executable_p ()
  38249. +{
  38250. + test -f "$1" && test -x "$1"
  38251. +} @%:@ as_fn_executable_p
  38252. +as_test_x='test -x'
  38253. +as_executable_p=as_fn_executable_p
  38254. +
  38255. +# Sed expression to map a string onto a valid CPP name.
  38256. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  38257. +
  38258. +# Sed expression to map a string onto a valid variable name.
  38259. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  38260. +
  38261. +
  38262. +exec 6>&1
  38263. +## ----------------------------------- ##
  38264. +## Main body of $CONFIG_STATUS script. ##
  38265. +## ----------------------------------- ##
  38266. +_ASEOF
  38267. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  38268. +
  38269. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38270. +# Save the log message, to keep $0 and so on meaningful, and to
  38271. +# report actual input values of CONFIG_FILES etc. instead of their
  38272. +# values after options handling.
  38273. +ac_log="
  38274. +This file was extended by fiasco $as_me 1.3, which was
  38275. +generated by GNU Autoconf 2.69. Invocation command line was
  38276. +
  38277. + CONFIG_FILES = $CONFIG_FILES
  38278. + CONFIG_HEADERS = $CONFIG_HEADERS
  38279. + CONFIG_LINKS = $CONFIG_LINKS
  38280. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  38281. + $ $0 $@
  38282. +
  38283. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  38284. +"
  38285. +
  38286. +_ACEOF
  38287. +
  38288. +case $ac_config_files in *"
  38289. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  38290. +esac
  38291. +
  38292. +case $ac_config_headers in *"
  38293. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  38294. +esac
  38295. +
  38296. +
  38297. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38298. +# Files that config.status was made for.
  38299. +config_files="$ac_config_files"
  38300. +config_headers="$ac_config_headers"
  38301. +config_commands="$ac_config_commands"
  38302. +
  38303. +_ACEOF
  38304. +
  38305. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38306. +ac_cs_usage="\
  38307. +\`$as_me' instantiates files and other configuration actions
  38308. +from templates according to the current configuration. Unless the files
  38309. +and actions are specified as TAGs, all are instantiated by default.
  38310. +
  38311. +Usage: $0 [OPTION]... [TAG]...
  38312. +
  38313. + -h, --help print this help, then exit
  38314. + -V, --version print version number and configuration settings, then exit
  38315. + --config print configuration, then exit
  38316. + -q, --quiet, --silent
  38317. + do not print progress messages
  38318. + -d, --debug don't remove temporary files
  38319. + --recheck update $as_me by reconfiguring in the same conditions
  38320. + --file=FILE[:TEMPLATE]
  38321. + instantiate the configuration file FILE
  38322. + --header=FILE[:TEMPLATE]
  38323. + instantiate the configuration header FILE
  38324. +
  38325. +Configuration files:
  38326. +$config_files
  38327. +
  38328. +Configuration headers:
  38329. +$config_headers
  38330. +
  38331. +Configuration commands:
  38332. +$config_commands
  38333. +
  38334. +Report bugs to the package provider."
  38335. +
  38336. +_ACEOF
  38337. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38338. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  38339. +ac_cs_version="\\
  38340. +fiasco config.status 1.3
  38341. +configured by $0, generated by GNU Autoconf 2.69,
  38342. + with options \\"\$ac_cs_config\\"
  38343. +
  38344. +Copyright (C) 2012 Free Software Foundation, Inc.
  38345. +This config.status script is free software; the Free Software Foundation
  38346. +gives unlimited permission to copy, distribute and modify it."
  38347. +
  38348. +ac_pwd='$ac_pwd'
  38349. +srcdir='$srcdir'
  38350. +INSTALL='$INSTALL'
  38351. +MKDIR_P='$MKDIR_P'
  38352. +AWK='$AWK'
  38353. +test -n "\$AWK" || AWK=awk
  38354. +_ACEOF
  38355. +
  38356. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38357. +# The default lists apply if the user does not specify any file.
  38358. +ac_need_defaults=:
  38359. +while test $# != 0
  38360. +do
  38361. + case $1 in
  38362. + --*=?*)
  38363. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  38364. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  38365. + ac_shift=:
  38366. + ;;
  38367. + --*=)
  38368. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  38369. + ac_optarg=
  38370. + ac_shift=:
  38371. + ;;
  38372. + *)
  38373. + ac_option=$1
  38374. + ac_optarg=$2
  38375. + ac_shift=shift
  38376. + ;;
  38377. + esac
  38378. +
  38379. + case $ac_option in
  38380. + # Handling of the options.
  38381. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  38382. + ac_cs_recheck=: ;;
  38383. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  38384. + $as_echo "$ac_cs_version"; exit ;;
  38385. + --config | --confi | --conf | --con | --co | --c )
  38386. + $as_echo "$ac_cs_config"; exit ;;
  38387. + --debug | --debu | --deb | --de | --d | -d )
  38388. + debug=: ;;
  38389. + --file | --fil | --fi | --f )
  38390. + $ac_shift
  38391. + case $ac_optarg in
  38392. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  38393. + '') as_fn_error $? "missing file argument" ;;
  38394. + esac
  38395. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  38396. + ac_need_defaults=false;;
  38397. + --header | --heade | --head | --hea )
  38398. + $ac_shift
  38399. + case $ac_optarg in
  38400. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  38401. + esac
  38402. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  38403. + ac_need_defaults=false;;
  38404. + --he | --h)
  38405. + # Conflict between --help and --header
  38406. + as_fn_error $? "ambiguous option: \`$1'
  38407. +Try \`$0 --help' for more information.";;
  38408. + --help | --hel | -h )
  38409. + $as_echo "$ac_cs_usage"; exit ;;
  38410. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  38411. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  38412. + ac_cs_silent=: ;;
  38413. +
  38414. + # This is an error.
  38415. + -*) as_fn_error $? "unrecognized option: \`$1'
  38416. +Try \`$0 --help' for more information." ;;
  38417. +
  38418. + *) as_fn_append ac_config_targets " $1"
  38419. + ac_need_defaults=false ;;
  38420. +
  38421. + esac
  38422. + shift
  38423. +done
  38424. +
  38425. +ac_configure_extra_args=
  38426. +
  38427. +if $ac_cs_silent; then
  38428. + exec 6>/dev/null
  38429. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  38430. +fi
  38431. +
  38432. +_ACEOF
  38433. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38434. +if \$ac_cs_recheck; then
  38435. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  38436. + shift
  38437. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  38438. + CONFIG_SHELL='$SHELL'
  38439. + export CONFIG_SHELL
  38440. + exec "\$@"
  38441. +fi
  38442. +
  38443. +_ACEOF
  38444. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38445. +exec 5>>config.log
  38446. +{
  38447. + echo
  38448. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  38449. +@%:@@%:@ Running $as_me. @%:@@%:@
  38450. +_ASBOX
  38451. + $as_echo "$ac_log"
  38452. +} >&5
  38453. +
  38454. +_ACEOF
  38455. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38456. +#
  38457. +# INIT-COMMANDS
  38458. +#
  38459. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  38460. +
  38461. +
  38462. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  38463. +# if CDPATH is set.
  38464. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  38465. +
  38466. +sed_quote_subst='$sed_quote_subst'
  38467. +double_quote_subst='$double_quote_subst'
  38468. +delay_variable_subst='$delay_variable_subst'
  38469. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  38470. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  38471. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  38472. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  38473. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  38474. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  38475. +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  38476. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  38477. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  38478. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  38479. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  38480. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  38481. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  38482. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  38483. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  38484. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  38485. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  38486. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  38487. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  38488. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  38489. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  38490. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  38491. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  38492. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  38493. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  38494. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  38495. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  38496. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  38497. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  38498. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  38499. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  38500. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  38501. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  38502. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  38503. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  38504. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  38505. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  38506. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  38507. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  38508. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  38509. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  38510. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  38511. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  38512. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  38513. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  38514. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  38515. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  38516. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  38517. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  38518. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  38519. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  38520. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  38521. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  38522. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  38523. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  38524. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  38525. +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  38526. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  38527. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  38528. +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  38529. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  38530. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  38531. +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  38532. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  38533. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  38534. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  38535. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  38536. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  38537. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  38538. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  38539. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  38540. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  38541. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  38542. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  38543. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  38544. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  38545. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  38546. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  38547. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  38548. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  38549. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  38550. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  38551. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  38552. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  38553. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  38554. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  38555. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  38556. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  38557. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  38558. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  38559. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  38560. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  38561. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  38562. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  38563. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  38564. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  38565. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  38566. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  38567. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  38568. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  38569. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  38570. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  38571. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  38572. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  38573. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  38574. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  38575. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  38576. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  38577. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  38578. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  38579. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  38580. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  38581. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  38582. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  38583. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  38584. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  38585. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  38586. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  38587. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  38588. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  38589. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  38590. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  38591. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  38592. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  38593. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  38594. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  38595. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  38596. +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  38597. +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  38598. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  38599. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  38600. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  38601. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  38602. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  38603. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  38604. +
  38605. +LTCC='$LTCC'
  38606. +LTCFLAGS='$LTCFLAGS'
  38607. +compiler='$compiler_DEFAULT'
  38608. +
  38609. +# A function that is used when there is no print builtin or printf.
  38610. +func_fallback_echo ()
  38611. +{
  38612. + eval 'cat <<_LTECHO_EOF
  38613. +\$1
  38614. +_LTECHO_EOF'
  38615. +}
  38616. +
  38617. +# Quote evaled strings.
  38618. +for var in SHELL \
  38619. +ECHO \
  38620. +PATH_SEPARATOR \
  38621. +SED \
  38622. +GREP \
  38623. +EGREP \
  38624. +FGREP \
  38625. +LD \
  38626. +NM \
  38627. +LN_S \
  38628. +lt_SP2NL \
  38629. +lt_NL2SP \
  38630. +reload_flag \
  38631. +OBJDUMP \
  38632. +deplibs_check_method \
  38633. +file_magic_cmd \
  38634. +file_magic_glob \
  38635. +want_nocaseglob \
  38636. +DLLTOOL \
  38637. +sharedlib_from_linklib_cmd \
  38638. +AR \
  38639. +AR_FLAGS \
  38640. +archiver_list_spec \
  38641. +STRIP \
  38642. +RANLIB \
  38643. +CC \
  38644. +CFLAGS \
  38645. +compiler \
  38646. +lt_cv_sys_global_symbol_pipe \
  38647. +lt_cv_sys_global_symbol_to_cdecl \
  38648. +lt_cv_sys_global_symbol_to_import \
  38649. +lt_cv_sys_global_symbol_to_c_name_address \
  38650. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  38651. +lt_cv_nm_interface \
  38652. +nm_file_list_spec \
  38653. +lt_cv_truncate_bin \
  38654. +lt_prog_compiler_no_builtin_flag \
  38655. +lt_prog_compiler_pic \
  38656. +lt_prog_compiler_wl \
  38657. +lt_prog_compiler_static \
  38658. +lt_cv_prog_compiler_c_o \
  38659. +need_locks \
  38660. +MANIFEST_TOOL \
  38661. +DSYMUTIL \
  38662. +NMEDIT \
  38663. +LIPO \
  38664. +OTOOL \
  38665. +OTOOL64 \
  38666. +shrext_cmds \
  38667. +export_dynamic_flag_spec \
  38668. +whole_archive_flag_spec \
  38669. +compiler_needs_object \
  38670. +with_gnu_ld \
  38671. +allow_undefined_flag \
  38672. +no_undefined_flag \
  38673. +hardcode_libdir_flag_spec \
  38674. +hardcode_libdir_separator \
  38675. +exclude_expsyms \
  38676. +include_expsyms \
  38677. +file_list_spec \
  38678. +variables_saved_for_relink \
  38679. +libname_spec \
  38680. +library_names_spec \
  38681. +soname_spec \
  38682. +install_override_mode \
  38683. +finish_eval \
  38684. +old_striplib \
  38685. +striplib; do
  38686. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  38687. + *[\\\\\\\`\\"\\\$]*)
  38688. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  38689. + ;;
  38690. + *)
  38691. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  38692. + ;;
  38693. + esac
  38694. +done
  38695. +
  38696. +# Double-quote double-evaled strings.
  38697. +for var in reload_cmds \
  38698. +old_postinstall_cmds \
  38699. +old_postuninstall_cmds \
  38700. +old_archive_cmds \
  38701. +extract_expsyms_cmds \
  38702. +old_archive_from_new_cmds \
  38703. +old_archive_from_expsyms_cmds \
  38704. +archive_cmds \
  38705. +archive_expsym_cmds \
  38706. +module_cmds \
  38707. +module_expsym_cmds \
  38708. +export_symbols_cmds \
  38709. +prelink_cmds \
  38710. +postlink_cmds \
  38711. +postinstall_cmds \
  38712. +postuninstall_cmds \
  38713. +finish_cmds \
  38714. +sys_lib_search_path_spec \
  38715. +configure_time_dlsearch_path \
  38716. +configure_time_lt_sys_library_path; do
  38717. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  38718. + *[\\\\\\\`\\"\\\$]*)
  38719. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  38720. + ;;
  38721. + *)
  38722. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  38723. + ;;
  38724. + esac
  38725. +done
  38726. +
  38727. +ac_aux_dir='$ac_aux_dir'
  38728. +
  38729. +# See if we are running on zsh, and set the options that allow our
  38730. +# commands through without removal of \ escapes INIT.
  38731. +if test -n "\${ZSH_VERSION+set}"; then
  38732. + setopt NO_GLOB_SUBST
  38733. +fi
  38734. +
  38735. +
  38736. + PACKAGE='$PACKAGE'
  38737. + VERSION='$VERSION'
  38738. + RM='$RM'
  38739. + ofile='$ofile'
  38740. +
  38741. +
  38742. +
  38743. +
  38744. +_ACEOF
  38745. +
  38746. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38747. +
  38748. +# Handling of arguments.
  38749. +for ac_config_target in $ac_config_targets
  38750. +do
  38751. + case $ac_config_target in
  38752. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  38753. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  38754. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  38755. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  38756. + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  38757. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  38758. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  38759. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  38760. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  38761. + "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  38762. + "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
  38763. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  38764. +
  38765. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  38766. + esac
  38767. +done
  38768. +
  38769. +
  38770. +# If the user did not use the arguments to specify the items to instantiate,
  38771. +# then the envvar interface is used. Set only those that are not.
  38772. +# We use the long form for the default assignment because of an extremely
  38773. +# bizarre bug on SunOS 4.1.3.
  38774. +if $ac_need_defaults; then
  38775. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  38776. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  38777. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  38778. +fi
  38779. +
  38780. +# Have a temporary directory for convenience. Make it in the build tree
  38781. +# simply because there is no reason against having it here, and in addition,
  38782. +# creating and moving files from /tmp can sometimes cause problems.
  38783. +# Hook for its removal unless debugging.
  38784. +# Note that there is a small window in which the directory will not be cleaned:
  38785. +# after its creation but before its name has been assigned to `$tmp'.
  38786. +$debug ||
  38787. +{
  38788. + tmp= ac_tmp=
  38789. + trap 'exit_status=$?
  38790. + : "${ac_tmp:=$tmp}"
  38791. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  38792. +' 0
  38793. + trap 'as_fn_exit 1' 1 2 13 15
  38794. +}
  38795. +# Create a (secure) tmp directory for tmp files.
  38796. +
  38797. +{
  38798. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  38799. + test -d "$tmp"
  38800. +} ||
  38801. +{
  38802. + tmp=./conf$$-$RANDOM
  38803. + (umask 077 && mkdir "$tmp")
  38804. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  38805. +ac_tmp=$tmp
  38806. +
  38807. +# Set up the scripts for CONFIG_FILES section.
  38808. +# No need to generate them if there are no CONFIG_FILES.
  38809. +# This happens for instance with `./config.status config.h'.
  38810. +if test -n "$CONFIG_FILES"; then
  38811. +
  38812. +
  38813. +ac_cr=`echo X | tr X '\015'`
  38814. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  38815. +# But we know of no other shell where ac_cr would be empty at this
  38816. +# point, so we can use a bashism as a fallback.
  38817. +if test "x$ac_cr" = x; then
  38818. + eval ac_cr=\$\'\\r\'
  38819. +fi
  38820. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  38821. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  38822. + ac_cs_awk_cr='\\r'
  38823. +else
  38824. + ac_cs_awk_cr=$ac_cr
  38825. +fi
  38826. +
  38827. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  38828. +_ACEOF
  38829. +
  38830. +
  38831. +{
  38832. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  38833. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  38834. + echo "_ACEOF"
  38835. +} >conf$$subs.sh ||
  38836. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  38837. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  38838. +ac_delim='%!_!# '
  38839. +for ac_last_try in false false false false false :; do
  38840. + . ./conf$$subs.sh ||
  38841. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  38842. +
  38843. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  38844. + if test $ac_delim_n = $ac_delim_num; then
  38845. + break
  38846. + elif $ac_last_try; then
  38847. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  38848. + else
  38849. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  38850. + fi
  38851. +done
  38852. +rm -f conf$$subs.sh
  38853. +
  38854. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38855. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  38856. +_ACEOF
  38857. +sed -n '
  38858. +h
  38859. +s/^/S["/; s/!.*/"]=/
  38860. +p
  38861. +g
  38862. +s/^[^!]*!//
  38863. +:repl
  38864. +t repl
  38865. +s/'"$ac_delim"'$//
  38866. +t delim
  38867. +:nl
  38868. +h
  38869. +s/\(.\{148\}\)..*/\1/
  38870. +t more1
  38871. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  38872. +p
  38873. +n
  38874. +b repl
  38875. +:more1
  38876. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  38877. +p
  38878. +g
  38879. +s/.\{148\}//
  38880. +t nl
  38881. +:delim
  38882. +h
  38883. +s/\(.\{148\}\)..*/\1/
  38884. +t more2
  38885. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  38886. +p
  38887. +b
  38888. +:more2
  38889. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  38890. +p
  38891. +g
  38892. +s/.\{148\}//
  38893. +t delim
  38894. +' <conf$$subs.awk | sed '
  38895. +/^[^""]/{
  38896. + N
  38897. + s/\n//
  38898. +}
  38899. +' >>$CONFIG_STATUS || ac_write_fail=1
  38900. +rm -f conf$$subs.awk
  38901. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  38902. +_ACAWK
  38903. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  38904. + for (key in S) S_is_set[key] = 1
  38905. + FS = ""
  38906. +
  38907. +}
  38908. +{
  38909. + line = $ 0
  38910. + nfields = split(line, field, "@")
  38911. + substed = 0
  38912. + len = length(field[1])
  38913. + for (i = 2; i < nfields; i++) {
  38914. + key = field[i]
  38915. + keylen = length(key)
  38916. + if (S_is_set[key]) {
  38917. + value = S[key]
  38918. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  38919. + len += length(value) + length(field[++i])
  38920. + substed = 1
  38921. + } else
  38922. + len += 1 + keylen
  38923. + }
  38924. +
  38925. + print line
  38926. +}
  38927. +
  38928. +_ACAWK
  38929. +_ACEOF
  38930. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38931. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  38932. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  38933. +else
  38934. + cat
  38935. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  38936. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  38937. +_ACEOF
  38938. +
  38939. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  38940. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  38941. +# trailing colons and then remove the whole line if VPATH becomes empty
  38942. +# (actually we leave an empty line to preserve line numbers).
  38943. +if test "x$srcdir" = x.; then
  38944. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  38945. +h
  38946. +s///
  38947. +s/^/:/
  38948. +s/[ ]*$/:/
  38949. +s/:\$(srcdir):/:/g
  38950. +s/:\${srcdir}:/:/g
  38951. +s/:@srcdir@:/:/g
  38952. +s/^:*//
  38953. +s/:*$//
  38954. +x
  38955. +s/\(=[ ]*\).*/\1/
  38956. +G
  38957. +s/\n//
  38958. +s/^[^=]*=[ ]*$//
  38959. +}'
  38960. +fi
  38961. +
  38962. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  38963. +fi # test -n "$CONFIG_FILES"
  38964. +
  38965. +# Set up the scripts for CONFIG_HEADERS section.
  38966. +# No need to generate them if there are no CONFIG_HEADERS.
  38967. +# This happens for instance with `./config.status Makefile'.
  38968. +if test -n "$CONFIG_HEADERS"; then
  38969. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  38970. +BEGIN {
  38971. +_ACEOF
  38972. +
  38973. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  38974. +# here-document in config.status, that substitutes the proper values into
  38975. +# config.h.in to produce config.h.
  38976. +
  38977. +# Create a delimiter string that does not exist in confdefs.h, to ease
  38978. +# handling of long lines.
  38979. +ac_delim='%!_!# '
  38980. +for ac_last_try in false false :; do
  38981. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  38982. + if test -z "$ac_tt"; then
  38983. + break
  38984. + elif $ac_last_try; then
  38985. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  38986. + else
  38987. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  38988. + fi
  38989. +done
  38990. +
  38991. +# For the awk script, D is an array of macro values keyed by name,
  38992. +# likewise P contains macro parameters if any. Preserve backslash
  38993. +# newline sequences.
  38994. +
  38995. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  38996. +sed -n '
  38997. +s/.\{148\}/&'"$ac_delim"'/g
  38998. +t rset
  38999. +:rset
  39000. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  39001. +t def
  39002. +d
  39003. +:def
  39004. +s/\\$//
  39005. +t bsnl
  39006. +s/["\\]/\\&/g
  39007. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  39008. +D["\1"]=" \3"/p
  39009. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  39010. +d
  39011. +:bsnl
  39012. +s/["\\]/\\&/g
  39013. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  39014. +D["\1"]=" \3\\\\\\n"\\/p
  39015. +t cont
  39016. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  39017. +t cont
  39018. +d
  39019. +:cont
  39020. +n
  39021. +s/.\{148\}/&'"$ac_delim"'/g
  39022. +t clear
  39023. +:clear
  39024. +s/\\$//
  39025. +t bsnlc
  39026. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  39027. +d
  39028. +:bsnlc
  39029. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  39030. +b cont
  39031. +' <confdefs.h | sed '
  39032. +s/'"$ac_delim"'/"\\\
  39033. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  39034. +
  39035. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  39036. + for (key in D) D_is_set[key] = 1
  39037. + FS = ""
  39038. +}
  39039. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  39040. + line = \$ 0
  39041. + split(line, arg, " ")
  39042. + if (arg[1] == "#") {
  39043. + defundef = arg[2]
  39044. + mac1 = arg[3]
  39045. + } else {
  39046. + defundef = substr(arg[1], 2)
  39047. + mac1 = arg[2]
  39048. + }
  39049. + split(mac1, mac2, "(") #)
  39050. + macro = mac2[1]
  39051. + prefix = substr(line, 1, index(line, defundef) - 1)
  39052. + if (D_is_set[macro]) {
  39053. + # Preserve the white space surrounding the "#".
  39054. + print prefix "define", macro P[macro] D[macro]
  39055. + next
  39056. + } else {
  39057. + # Replace #undef with comments. This is necessary, for example,
  39058. + # in the case of _POSIX_SOURCE, which is predefined and required
  39059. + # on some systems where configure will not decide to define it.
  39060. + if (defundef == "undef") {
  39061. + print "/*", prefix defundef, macro, "*/"
  39062. + next
  39063. + }
  39064. + }
  39065. +}
  39066. +{ print }
  39067. +_ACAWK
  39068. +_ACEOF
  39069. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  39070. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  39071. +fi # test -n "$CONFIG_HEADERS"
  39072. +
  39073. +
  39074. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  39075. +shift
  39076. +for ac_tag
  39077. +do
  39078. + case $ac_tag in
  39079. + :[FHLC]) ac_mode=$ac_tag; continue;;
  39080. + esac
  39081. + case $ac_mode$ac_tag in
  39082. + :[FHL]*:*);;
  39083. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  39084. + :[FH]-) ac_tag=-:-;;
  39085. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  39086. + esac
  39087. + ac_save_IFS=$IFS
  39088. + IFS=:
  39089. + set x $ac_tag
  39090. + IFS=$ac_save_IFS
  39091. + shift
  39092. + ac_file=$1
  39093. + shift
  39094. +
  39095. + case $ac_mode in
  39096. + :L) ac_source=$1;;
  39097. + :[FH])
  39098. + ac_file_inputs=
  39099. + for ac_f
  39100. + do
  39101. + case $ac_f in
  39102. + -) ac_f="$ac_tmp/stdin";;
  39103. + *) # Look for the file first in the build tree, then in the source tree
  39104. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  39105. + # because $ac_f cannot contain `:'.
  39106. + test -f "$ac_f" ||
  39107. + case $ac_f in
  39108. + [\\/$]*) false;;
  39109. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  39110. + esac ||
  39111. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  39112. + esac
  39113. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  39114. + as_fn_append ac_file_inputs " '$ac_f'"
  39115. + done
  39116. +
  39117. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  39118. + # use $as_me), people would be surprised to read:
  39119. + # /* config.h. Generated by config.status. */
  39120. + configure_input='Generated from '`
  39121. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  39122. + `' by configure.'
  39123. + if test x"$ac_file" != x-; then
  39124. + configure_input="$ac_file. $configure_input"
  39125. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  39126. +$as_echo "$as_me: creating $ac_file" >&6;}
  39127. + fi
  39128. + # Neutralize special characters interpreted by sed in replacement strings.
  39129. + case $configure_input in #(
  39130. + *\&* | *\|* | *\\* )
  39131. + ac_sed_conf_input=`$as_echo "$configure_input" |
  39132. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  39133. + *) ac_sed_conf_input=$configure_input;;
  39134. + esac
  39135. +
  39136. + case $ac_tag in
  39137. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  39138. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  39139. + esac
  39140. + ;;
  39141. + esac
  39142. +
  39143. + ac_dir=`$as_dirname -- "$ac_file" ||
  39144. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39145. + X"$ac_file" : 'X\(//\)[^/]' \| \
  39146. + X"$ac_file" : 'X\(//\)$' \| \
  39147. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  39148. +$as_echo X"$ac_file" |
  39149. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39150. + s//\1/
  39151. + q
  39152. + }
  39153. + /^X\(\/\/\)[^/].*/{
  39154. + s//\1/
  39155. + q
  39156. + }
  39157. + /^X\(\/\/\)$/{
  39158. + s//\1/
  39159. + q
  39160. + }
  39161. + /^X\(\/\).*/{
  39162. + s//\1/
  39163. + q
  39164. + }
  39165. + s/.*/./; q'`
  39166. + as_dir="$ac_dir"; as_fn_mkdir_p
  39167. + ac_builddir=.
  39168. +
  39169. +case "$ac_dir" in
  39170. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39171. +*)
  39172. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  39173. + # A ".." for each directory in $ac_dir_suffix.
  39174. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  39175. + case $ac_top_builddir_sub in
  39176. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39177. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  39178. + esac ;;
  39179. +esac
  39180. +ac_abs_top_builddir=$ac_pwd
  39181. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  39182. +# for backward compatibility:
  39183. +ac_top_builddir=$ac_top_build_prefix
  39184. +
  39185. +case $srcdir in
  39186. + .) # We are building in place.
  39187. + ac_srcdir=.
  39188. + ac_top_srcdir=$ac_top_builddir_sub
  39189. + ac_abs_top_srcdir=$ac_pwd ;;
  39190. + [\\/]* | ?:[\\/]* ) # Absolute name.
  39191. + ac_srcdir=$srcdir$ac_dir_suffix;
  39192. + ac_top_srcdir=$srcdir
  39193. + ac_abs_top_srcdir=$srcdir ;;
  39194. + *) # Relative name.
  39195. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  39196. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  39197. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  39198. +esac
  39199. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  39200. +
  39201. +
  39202. + case $ac_mode in
  39203. + :F)
  39204. + #
  39205. + # CONFIG_FILE
  39206. + #
  39207. +
  39208. + case $INSTALL in
  39209. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  39210. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  39211. + esac
  39212. + ac_MKDIR_P=$MKDIR_P
  39213. + case $MKDIR_P in
  39214. + [\\/$]* | ?:[\\/]* ) ;;
  39215. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  39216. + esac
  39217. +_ACEOF
  39218. +
  39219. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  39220. +# If the template does not know about datarootdir, expand it.
  39221. +# FIXME: This hack should be removed a few years after 2.60.
  39222. +ac_datarootdir_hack=; ac_datarootdir_seen=
  39223. +ac_sed_dataroot='
  39224. +/datarootdir/ {
  39225. + p
  39226. + q
  39227. +}
  39228. +/@datadir@/p
  39229. +/@docdir@/p
  39230. +/@infodir@/p
  39231. +/@localedir@/p
  39232. +/@mandir@/p'
  39233. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  39234. +*datarootdir*) ac_datarootdir_seen=yes;;
  39235. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  39236. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  39237. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  39238. +_ACEOF
  39239. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  39240. + ac_datarootdir_hack='
  39241. + s&@datadir@&$datadir&g
  39242. + s&@docdir@&$docdir&g
  39243. + s&@infodir@&$infodir&g
  39244. + s&@localedir@&$localedir&g
  39245. + s&@mandir@&$mandir&g
  39246. + s&\\\${datarootdir}&$datarootdir&g' ;;
  39247. +esac
  39248. +_ACEOF
  39249. +
  39250. +# Neutralize VPATH when `$srcdir' = `.'.
  39251. +# Shell code in configure.ac might set extrasub.
  39252. +# FIXME: do we really want to maintain this feature?
  39253. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  39254. +ac_sed_extra="$ac_vpsub
  39255. +$extrasub
  39256. +_ACEOF
  39257. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  39258. +:t
  39259. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  39260. +s|@configure_input@|$ac_sed_conf_input|;t t
  39261. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  39262. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  39263. +s&@srcdir@&$ac_srcdir&;t t
  39264. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  39265. +s&@top_srcdir@&$ac_top_srcdir&;t t
  39266. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  39267. +s&@builddir@&$ac_builddir&;t t
  39268. +s&@abs_builddir@&$ac_abs_builddir&;t t
  39269. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  39270. +s&@INSTALL@&$ac_INSTALL&;t t
  39271. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  39272. +$ac_datarootdir_hack
  39273. +"
  39274. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  39275. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39276. +
  39277. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  39278. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  39279. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  39280. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  39281. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  39282. +which seems to be undefined. Please make sure it is defined" >&5
  39283. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  39284. +which seems to be undefined. Please make sure it is defined" >&2;}
  39285. +
  39286. + rm -f "$ac_tmp/stdin"
  39287. + case $ac_file in
  39288. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  39289. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  39290. + esac \
  39291. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39292. + ;;
  39293. + :H)
  39294. + #
  39295. + # CONFIG_HEADER
  39296. + #
  39297. + if test x"$ac_file" != x-; then
  39298. + {
  39299. + $as_echo "/* $configure_input */" \
  39300. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  39301. + } >"$ac_tmp/config.h" \
  39302. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39303. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  39304. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  39305. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  39306. + else
  39307. + rm -f "$ac_file"
  39308. + mv "$ac_tmp/config.h" "$ac_file" \
  39309. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  39310. + fi
  39311. + else
  39312. + $as_echo "/* $configure_input */" \
  39313. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  39314. + || as_fn_error $? "could not create -" "$LINENO" 5
  39315. + fi
  39316. +# Compute "$ac_file"'s index in $config_headers.
  39317. +_am_arg="$ac_file"
  39318. +_am_stamp_count=1
  39319. +for _am_header in $config_headers :; do
  39320. + case $_am_header in
  39321. + $_am_arg | $_am_arg:* )
  39322. + break ;;
  39323. + * )
  39324. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  39325. + esac
  39326. +done
  39327. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  39328. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39329. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  39330. + X"$_am_arg" : 'X\(//\)$' \| \
  39331. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  39332. +$as_echo X"$_am_arg" |
  39333. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39334. + s//\1/
  39335. + q
  39336. + }
  39337. + /^X\(\/\/\)[^/].*/{
  39338. + s//\1/
  39339. + q
  39340. + }
  39341. + /^X\(\/\/\)$/{
  39342. + s//\1/
  39343. + q
  39344. + }
  39345. + /^X\(\/\).*/{
  39346. + s//\1/
  39347. + q
  39348. + }
  39349. + s/.*/./; q'`/stamp-h$_am_stamp_count
  39350. + ;;
  39351. +
  39352. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  39353. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  39354. + ;;
  39355. + esac
  39356. +
  39357. +
  39358. + case $ac_file$ac_mode in
  39359. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  39360. + # Older Autoconf quotes --file arguments for eval, but not when files
  39361. + # are listed without --file. Let's play safe and only enable the eval
  39362. + # if we detect the quoting.
  39363. + # TODO: see whether this extra hack can be removed once we start
  39364. + # requiring Autoconf 2.70 or later.
  39365. + case $CONFIG_FILES in @%:@(
  39366. + *\'*) :
  39367. + eval set x "$CONFIG_FILES" ;; @%:@(
  39368. + *) :
  39369. + set x $CONFIG_FILES ;; @%:@(
  39370. + *) :
  39371. + ;;
  39372. +esac
  39373. + shift
  39374. + # Used to flag and report bootstrapping failures.
  39375. + am_rc=0
  39376. + for am_mf
  39377. + do
  39378. + # Strip MF so we end up with the name of the file.
  39379. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  39380. + # Check whether this is an Automake generated Makefile which includes
  39381. + # dependency-tracking related rules and includes.
  39382. + # Grep'ing the whole file directly is not great: AIX grep has a line
  39383. + # limit of 2048, but all sed's we know have understand at least 4000.
  39384. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  39385. + || continue
  39386. + am_dirpart=`$as_dirname -- "$am_mf" ||
  39387. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39388. + X"$am_mf" : 'X\(//\)[^/]' \| \
  39389. + X"$am_mf" : 'X\(//\)$' \| \
  39390. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  39391. +$as_echo X"$am_mf" |
  39392. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39393. + s//\1/
  39394. + q
  39395. + }
  39396. + /^X\(\/\/\)[^/].*/{
  39397. + s//\1/
  39398. + q
  39399. + }
  39400. + /^X\(\/\/\)$/{
  39401. + s//\1/
  39402. + q
  39403. + }
  39404. + /^X\(\/\).*/{
  39405. + s//\1/
  39406. + q
  39407. + }
  39408. + s/.*/./; q'`
  39409. + am_filepart=`$as_basename -- "$am_mf" ||
  39410. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  39411. + X"$am_mf" : 'X\(//\)$' \| \
  39412. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  39413. +$as_echo X/"$am_mf" |
  39414. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  39415. + s//\1/
  39416. + q
  39417. + }
  39418. + /^X\/\(\/\/\)$/{
  39419. + s//\1/
  39420. + q
  39421. + }
  39422. + /^X\/\(\/\).*/{
  39423. + s//\1/
  39424. + q
  39425. + }
  39426. + s/.*/./; q'`
  39427. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  39428. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  39429. + | $MAKE -f - am--depfiles" >&5
  39430. + (cd "$am_dirpart" \
  39431. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  39432. + | $MAKE -f - am--depfiles) >&5 2>&5
  39433. + ac_status=$?
  39434. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39435. + (exit $ac_status); } || am_rc=$?
  39436. + done
  39437. + if test $am_rc -ne 0; then
  39438. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39439. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39440. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  39441. + for automatic dependency tracking. Try re-running configure with the
  39442. + '--disable-dependency-tracking' option to at least be able to build
  39443. + the package (albeit without support for automatic dependency tracking).
  39444. +See \`config.log' for more details" "$LINENO" 5; }
  39445. + fi
  39446. + { am_dirpart=; unset am_dirpart;}
  39447. + { am_filepart=; unset am_filepart;}
  39448. + { am_mf=; unset am_mf;}
  39449. + { am_rc=; unset am_rc;}
  39450. + rm -f conftest-deps.mk
  39451. +}
  39452. + ;;
  39453. + "libtool":C)
  39454. +
  39455. + # See if we are running on zsh, and set the options that allow our
  39456. + # commands through without removal of \ escapes.
  39457. + if test -n "${ZSH_VERSION+set}"; then
  39458. + setopt NO_GLOB_SUBST
  39459. + fi
  39460. +
  39461. + cfgfile=${ofile}T
  39462. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  39463. + $RM "$cfgfile"
  39464. +
  39465. + cat <<_LT_EOF >> "$cfgfile"
  39466. +#! $SHELL
  39467. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  39468. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  39469. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  39470. +
  39471. +# Provide generalized library-building support services.
  39472. +# Written by Gordon Matzigkeit, 1996
  39473. +
  39474. +# Copyright (C) 2014 Free Software Foundation, Inc.
  39475. +# This is free software; see the source for copying conditions. There is NO
  39476. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  39477. +
  39478. +# GNU Libtool is free software; you can redistribute it and/or modify
  39479. +# it under the terms of the GNU General Public License as published by
  39480. +# the Free Software Foundation; either version 2 of of the License, or
  39481. +# (at your option) any later version.
  39482. +#
  39483. +# As a special exception to the GNU General Public License, if you
  39484. +# distribute this file as part of a program or library that is built
  39485. +# using GNU Libtool, you may include this file under the same
  39486. +# distribution terms that you use for the rest of that program.
  39487. +#
  39488. +# GNU Libtool is distributed in the hope that it will be useful, but
  39489. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  39490. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  39491. +# GNU General Public License for more details.
  39492. +#
  39493. +# You should have received a copy of the GNU General Public License
  39494. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  39495. +
  39496. +
  39497. +# The names of the tagged configurations supported by this script.
  39498. +available_tags=''
  39499. +
  39500. +# Configured defaults for sys_lib_dlsearch_path munging.
  39501. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  39502. +
  39503. +# ### BEGIN LIBTOOL CONFIG
  39504. +
  39505. +# Which release of libtool.m4 was used?
  39506. +macro_version=$macro_version
  39507. +macro_revision=$macro_revision
  39508. +
  39509. +# Whether or not to build shared libraries.
  39510. +build_libtool_libs=$enable_shared
  39511. +
  39512. +# Whether or not to build static libraries.
  39513. +build_old_libs=$enable_static
  39514. +
  39515. +# What type of objects to build.
  39516. +pic_mode=$pic_mode
  39517. +
  39518. +# Whether or not to optimize for fast installation.
  39519. +fast_install=$enable_fast_install
  39520. +
  39521. +# Shared archive member basename,for filename based shared library versioning on AIX.
  39522. +shared_archive_member_spec=$shared_archive_member_spec
  39523. +
  39524. +# Shell to use when invoking shell scripts.
  39525. +SHELL=$lt_SHELL
  39526. +
  39527. +# An echo program that protects backslashes.
  39528. +ECHO=$lt_ECHO
  39529. +
  39530. +# The PATH separator for the build system.
  39531. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  39532. +
  39533. +# The host system.
  39534. +host_alias=$host_alias
  39535. +host=$host
  39536. +host_os=$host_os
  39537. +
  39538. +# The build system.
  39539. +build_alias=$build_alias
  39540. +build=$build
  39541. +build_os=$build_os
  39542. +
  39543. +# A sed program that does not truncate output.
  39544. +SED=$lt_SED
  39545. +
  39546. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  39547. +Xsed="\$SED -e 1s/^X//"
  39548. +
  39549. +# A grep program that handles long lines.
  39550. +GREP=$lt_GREP
  39551. +
  39552. +# An ERE matcher.
  39553. +EGREP=$lt_EGREP
  39554. +
  39555. +# A literal string matcher.
  39556. +FGREP=$lt_FGREP
  39557. +
  39558. +# A BSD- or MS-compatible name lister.
  39559. +NM=$lt_NM
  39560. +
  39561. +# Whether we need soft or hard links.
  39562. +LN_S=$lt_LN_S
  39563. +
  39564. +# What is the maximum length of a command?
  39565. +max_cmd_len=$max_cmd_len
  39566. +
  39567. +# Object file suffix (normally "o").
  39568. +objext=$ac_objext
  39569. +
  39570. +# Executable file suffix (normally "").
  39571. +exeext=$exeext
  39572. +
  39573. +# whether the shell understands "unset".
  39574. +lt_unset=$lt_unset
  39575. +
  39576. +# turn spaces into newlines.
  39577. +SP2NL=$lt_lt_SP2NL
  39578. +
  39579. +# turn newlines into spaces.
  39580. +NL2SP=$lt_lt_NL2SP
  39581. +
  39582. +# convert \$build file names to \$host format.
  39583. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  39584. +
  39585. +# convert \$build files to toolchain format.
  39586. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  39587. +
  39588. +# An object symbol dumper.
  39589. +OBJDUMP=$lt_OBJDUMP
  39590. +
  39591. +# Method to check whether dependent libraries are shared objects.
  39592. +deplibs_check_method=$lt_deplibs_check_method
  39593. +
  39594. +# Command to use when deplibs_check_method = "file_magic".
  39595. +file_magic_cmd=$lt_file_magic_cmd
  39596. +
  39597. +# How to find potential files when deplibs_check_method = "file_magic".
  39598. +file_magic_glob=$lt_file_magic_glob
  39599. +
  39600. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  39601. +want_nocaseglob=$lt_want_nocaseglob
  39602. +
  39603. +# DLL creation program.
  39604. +DLLTOOL=$lt_DLLTOOL
  39605. +
  39606. +# Command to associate shared and link libraries.
  39607. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  39608. +
  39609. +# The archiver.
  39610. +AR=$lt_AR
  39611. +
  39612. +# Flags to create an archive.
  39613. +AR_FLAGS=$lt_AR_FLAGS
  39614. +
  39615. +# How to feed a file listing to the archiver.
  39616. +archiver_list_spec=$lt_archiver_list_spec
  39617. +
  39618. +# A symbol stripping program.
  39619. +STRIP=$lt_STRIP
  39620. +
  39621. +# Commands used to install an old-style archive.
  39622. +RANLIB=$lt_RANLIB
  39623. +old_postinstall_cmds=$lt_old_postinstall_cmds
  39624. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  39625. +
  39626. +# Whether to use a lock for old archive extraction.
  39627. +lock_old_archive_extraction=$lock_old_archive_extraction
  39628. +
  39629. +# A C compiler.
  39630. +LTCC=$lt_CC
  39631. +
  39632. +# LTCC compiler flags.
  39633. +LTCFLAGS=$lt_CFLAGS
  39634. +
  39635. +# Take the output of nm and produce a listing of raw symbols and C names.
  39636. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  39637. +
  39638. +# Transform the output of nm in a proper C declaration.
  39639. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  39640. +
  39641. +# Transform the output of nm into a list of symbols to manually relocate.
  39642. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  39643. +
  39644. +# Transform the output of nm in a C name address pair.
  39645. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  39646. +
  39647. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  39648. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  39649. +
  39650. +# The name lister interface.
  39651. +nm_interface=$lt_lt_cv_nm_interface
  39652. +
  39653. +# Specify filename containing input files for \$NM.
  39654. +nm_file_list_spec=$lt_nm_file_list_spec
  39655. +
  39656. +# The root where to search for dependent libraries,and where our libraries should be installed.
  39657. +lt_sysroot=$lt_sysroot
  39658. +
  39659. +# Command to truncate a binary pipe.
  39660. +lt_truncate_bin=$lt_lt_cv_truncate_bin
  39661. +
  39662. +# The name of the directory that contains temporary libtool files.
  39663. +objdir=$objdir
  39664. +
  39665. +# Used to examine libraries when file_magic_cmd begins with "file".
  39666. +MAGIC_CMD=$MAGIC_CMD
  39667. +
  39668. +# Must we lock files when doing compilation?
  39669. +need_locks=$lt_need_locks
  39670. +
  39671. +# Manifest tool.
  39672. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  39673. +
  39674. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  39675. +DSYMUTIL=$lt_DSYMUTIL
  39676. +
  39677. +# Tool to change global to local symbols on Mac OS X.
  39678. +NMEDIT=$lt_NMEDIT
  39679. +
  39680. +# Tool to manipulate fat objects and archives on Mac OS X.
  39681. +LIPO=$lt_LIPO
  39682. +
  39683. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  39684. +OTOOL=$lt_OTOOL
  39685. +
  39686. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  39687. +OTOOL64=$lt_OTOOL64
  39688. +
  39689. +# Old archive suffix (normally "a").
  39690. +libext=$libext
  39691. +
  39692. +# Shared library suffix (normally ".so").
  39693. +shrext_cmds=$lt_shrext_cmds
  39694. +
  39695. +# The commands to extract the exported symbol list from a shared archive.
  39696. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  39697. +
  39698. +# Variables whose values should be saved in libtool wrapper scripts and
  39699. +# restored at link time.
  39700. +variables_saved_for_relink=$lt_variables_saved_for_relink
  39701. +
  39702. +# Do we need the "lib" prefix for modules?
  39703. +need_lib_prefix=$need_lib_prefix
  39704. +
  39705. +# Do we need a version for libraries?
  39706. +need_version=$need_version
  39707. +
  39708. +# Library versioning type.
  39709. +version_type=$version_type
  39710. +
  39711. +# Shared library runtime path variable.
  39712. +runpath_var=$runpath_var
  39713. +
  39714. +# Shared library path variable.
  39715. +shlibpath_var=$shlibpath_var
  39716. +
  39717. +# Is shlibpath searched before the hard-coded library search path?
  39718. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  39719. +
  39720. +# Format of library name prefix.
  39721. +libname_spec=$lt_libname_spec
  39722. +
  39723. +# List of archive names. First name is the real one, the rest are links.
  39724. +# The last name is the one that the linker finds with -lNAME
  39725. +library_names_spec=$lt_library_names_spec
  39726. +
  39727. +# The coded name of the library, if different from the real name.
  39728. +soname_spec=$lt_soname_spec
  39729. +
  39730. +# Permission mode override for installation of shared libraries.
  39731. +install_override_mode=$lt_install_override_mode
  39732. +
  39733. +# Command to use after installation of a shared archive.
  39734. +postinstall_cmds=$lt_postinstall_cmds
  39735. +
  39736. +# Command to use after uninstallation of a shared archive.
  39737. +postuninstall_cmds=$lt_postuninstall_cmds
  39738. +
  39739. +# Commands used to finish a libtool library installation in a directory.
  39740. +finish_cmds=$lt_finish_cmds
  39741. +
  39742. +# As "finish_cmds", except a single script fragment to be evaled but
  39743. +# not shown.
  39744. +finish_eval=$lt_finish_eval
  39745. +
  39746. +# Whether we should hardcode library paths into libraries.
  39747. +hardcode_into_libs=$hardcode_into_libs
  39748. +
  39749. +# Compile-time system search path for libraries.
  39750. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  39751. +
  39752. +# Detected run-time system search path for libraries.
  39753. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  39754. +
  39755. +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  39756. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  39757. +
  39758. +# Whether dlopen is supported.
  39759. +dlopen_support=$enable_dlopen
  39760. +
  39761. +# Whether dlopen of programs is supported.
  39762. +dlopen_self=$enable_dlopen_self
  39763. +
  39764. +# Whether dlopen of statically linked programs is supported.
  39765. +dlopen_self_static=$enable_dlopen_self_static
  39766. +
  39767. +# Commands to strip libraries.
  39768. +old_striplib=$lt_old_striplib
  39769. +striplib=$lt_striplib
  39770. +
  39771. +
  39772. +# The linker used to build libraries.
  39773. +LD=$lt_LD
  39774. +
  39775. +# How to create reloadable object files.
  39776. +reload_flag=$lt_reload_flag
  39777. +reload_cmds=$lt_reload_cmds
  39778. +
  39779. +# Commands used to build an old-style archive.
  39780. +old_archive_cmds=$lt_old_archive_cmds
  39781. +
  39782. +# A language specific compiler.
  39783. +CC=$lt_compiler
  39784. +
  39785. +# Is the compiler the GNU compiler?
  39786. +with_gcc=$GCC
  39787. +
  39788. +# Compiler flag to turn off builtin functions.
  39789. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  39790. +
  39791. +# Additional compiler flags for building library objects.
  39792. +pic_flag=$lt_lt_prog_compiler_pic
  39793. +
  39794. +# How to pass a linker flag through the compiler.
  39795. +wl=$lt_lt_prog_compiler_wl
  39796. +
  39797. +# Compiler flag to prevent dynamic linking.
  39798. +link_static_flag=$lt_lt_prog_compiler_static
  39799. +
  39800. +# Does compiler simultaneously support -c and -o options?
  39801. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  39802. +
  39803. +# Whether or not to add -lc for building shared libraries.
  39804. +build_libtool_need_lc=$archive_cmds_need_lc
  39805. +
  39806. +# Whether or not to disallow shared libs when runtime libs are static.
  39807. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  39808. +
  39809. +# Compiler flag to allow reflexive dlopens.
  39810. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  39811. +
  39812. +# Compiler flag to generate shared objects directly from archives.
  39813. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  39814. +
  39815. +# Whether the compiler copes with passing no objects directly.
  39816. +compiler_needs_object=$lt_compiler_needs_object
  39817. +
  39818. +# Create an old-style archive from a shared archive.
  39819. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  39820. +
  39821. +# Create a temporary old-style archive to link instead of a shared archive.
  39822. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  39823. +
  39824. +# Commands used to build a shared archive.
  39825. +archive_cmds=$lt_archive_cmds
  39826. +archive_expsym_cmds=$lt_archive_expsym_cmds
  39827. +
  39828. +# Commands used to build a loadable module if different from building
  39829. +# a shared archive.
  39830. +module_cmds=$lt_module_cmds
  39831. +module_expsym_cmds=$lt_module_expsym_cmds
  39832. +
  39833. +# Whether we are building with GNU ld or not.
  39834. +with_gnu_ld=$lt_with_gnu_ld
  39835. +
  39836. +# Flag that allows shared libraries with undefined symbols to be built.
  39837. +allow_undefined_flag=$lt_allow_undefined_flag
  39838. +
  39839. +# Flag that enforces no undefined symbols.
  39840. +no_undefined_flag=$lt_no_undefined_flag
  39841. +
  39842. +# Flag to hardcode \$libdir into a binary during linking.
  39843. +# This must work even if \$libdir does not exist
  39844. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  39845. +
  39846. +# Whether we need a single "-rpath" flag with a separated argument.
  39847. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  39848. +
  39849. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  39850. +# DIR into the resulting binary.
  39851. +hardcode_direct=$hardcode_direct
  39852. +
  39853. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  39854. +# DIR into the resulting binary and the resulting library dependency is
  39855. +# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  39856. +# library is relocated.
  39857. +hardcode_direct_absolute=$hardcode_direct_absolute
  39858. +
  39859. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  39860. +# into the resulting binary.
  39861. +hardcode_minus_L=$hardcode_minus_L
  39862. +
  39863. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  39864. +# into the resulting binary.
  39865. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  39866. +
  39867. +# Set to "yes" if building a shared library automatically hardcodes DIR
  39868. +# into the library and all subsequent libraries and executables linked
  39869. +# against it.
  39870. +hardcode_automatic=$hardcode_automatic
  39871. +
  39872. +# Set to yes if linker adds runtime paths of dependent libraries
  39873. +# to runtime path list.
  39874. +inherit_rpath=$inherit_rpath
  39875. +
  39876. +# Whether libtool must link a program against all its dependency libraries.
  39877. +link_all_deplibs=$link_all_deplibs
  39878. +
  39879. +# Set to "yes" if exported symbols are required.
  39880. +always_export_symbols=$always_export_symbols
  39881. +
  39882. +# The commands to list exported symbols.
  39883. +export_symbols_cmds=$lt_export_symbols_cmds
  39884. +
  39885. +# Symbols that should not be listed in the preloaded symbols.
  39886. +exclude_expsyms=$lt_exclude_expsyms
  39887. +
  39888. +# Symbols that must always be exported.
  39889. +include_expsyms=$lt_include_expsyms
  39890. +
  39891. +# Commands necessary for linking programs (against libraries) with templates.
  39892. +prelink_cmds=$lt_prelink_cmds
  39893. +
  39894. +# Commands necessary for finishing linking programs.
  39895. +postlink_cmds=$lt_postlink_cmds
  39896. +
  39897. +# Specify filename containing input files.
  39898. +file_list_spec=$lt_file_list_spec
  39899. +
  39900. +# How to hardcode a shared library path into an executable.
  39901. +hardcode_action=$hardcode_action
  39902. +
  39903. +# ### END LIBTOOL CONFIG
  39904. +
  39905. +_LT_EOF
  39906. +
  39907. + cat <<'_LT_EOF' >> "$cfgfile"
  39908. +
  39909. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  39910. +
  39911. +# func_munge_path_list VARIABLE PATH
  39912. +# -----------------------------------
  39913. +# VARIABLE is name of variable containing _space_ separated list of
  39914. +# directories to be munged by the contents of PATH, which is string
  39915. +# having a format:
  39916. +# "DIR[:DIR]:"
  39917. +# string "DIR[ DIR]" will be prepended to VARIABLE
  39918. +# ":DIR[:DIR]"
  39919. +# string "DIR[ DIR]" will be appended to VARIABLE
  39920. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  39921. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  39922. +# "DIRA[ DIRA]" will be appended to VARIABLE
  39923. +# "DIR[:DIR]"
  39924. +# VARIABLE will be replaced by "DIR[ DIR]"
  39925. +func_munge_path_list ()
  39926. +{
  39927. + case x@S|@2 in
  39928. + x)
  39929. + ;;
  39930. + *:)
  39931. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  39932. + ;;
  39933. + x:*)
  39934. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  39935. + ;;
  39936. + *::*)
  39937. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  39938. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  39939. + ;;
  39940. + *)
  39941. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  39942. + ;;
  39943. + esac
  39944. +}
  39945. +
  39946. +
  39947. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  39948. +func_cc_basename ()
  39949. +{
  39950. + for cc_temp in @S|@*""; do
  39951. + case $cc_temp in
  39952. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  39953. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  39954. + \-*) ;;
  39955. + *) break;;
  39956. + esac
  39957. + done
  39958. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  39959. +}
  39960. +
  39961. +
  39962. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  39963. +
  39964. +_LT_EOF
  39965. +
  39966. + case $host_os in
  39967. + aix3*)
  39968. + cat <<\_LT_EOF >> "$cfgfile"
  39969. +# AIX sometimes has problems with the GCC collect2 program. For some
  39970. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  39971. +# vanish in a puff of smoke.
  39972. +if test set != "${COLLECT_NAMES+set}"; then
  39973. + COLLECT_NAMES=
  39974. + export COLLECT_NAMES
  39975. +fi
  39976. +_LT_EOF
  39977. + ;;
  39978. + esac
  39979. +
  39980. +
  39981. +ltmain=$ac_aux_dir/ltmain.sh
  39982. +
  39983. +
  39984. + # We use sed instead of cat because bash on DJGPP gets confused if
  39985. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  39986. + # text mode, it properly converts lines to CR/LF. This bash problem
  39987. + # is reportedly fixed, but why not run on old versions too?
  39988. + sed '$q' "$ltmain" >> "$cfgfile" \
  39989. + || (rm -f "$cfgfile"; exit 1)
  39990. +
  39991. + mv -f "$cfgfile" "$ofile" ||
  39992. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  39993. + chmod +x "$ofile"
  39994. +
  39995. + ;;
  39996. + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  39997. +
  39998. + esac
  39999. +done # for ac_tag
  40000. +
  40001. +
  40002. +as_fn_exit 0
  40003. +_ACEOF
  40004. +ac_clean_files=$ac_clean_files_save
  40005. +
  40006. +test $ac_write_fail = 0 ||
  40007. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  40008. +
  40009. +
  40010. +# configure is writing to config.log, and then calls config.status.
  40011. +# config.status does its own redirection, appending to config.log.
  40012. +# Unfortunately, on DOS this fails, as config.log is still kept open
  40013. +# by configure, so config.status won't be able to write to it; its
  40014. +# output is simply discarded. So we exec the FD to /dev/null,
  40015. +# effectively closing config.log, so it can be properly (re)opened and
  40016. +# appended to by config.status. When coming back to configure, we
  40017. +# need to make the FD available again.
  40018. +if test "$no_create" != yes; then
  40019. + ac_cs_success=:
  40020. + ac_config_status_args=
  40021. + test "$silent" = yes &&
  40022. + ac_config_status_args="$ac_config_status_args --quiet"
  40023. + exec 5>/dev/null
  40024. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  40025. + exec 5>>config.log
  40026. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  40027. + # would make configure fail if this is the last instruction.
  40028. + $ac_cs_success || as_fn_exit 1
  40029. +fi
  40030. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  40031. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  40032. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  40033. +fi
  40034. +
  40035. +
  40036. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  40037. + echo
  40038. + echo "WARNING:"
  40039. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  40040. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  40041. + echo "Please send me a mail ([email protected]) with the output of"
  40042. + echo "the configure script."
  40043. + echo
  40044. +fi
  40045. +
  40046. diff -Nru Fiasco-master/autom4te.cache/output.2 Fiasco-master-pfiasco/autom4te.cache/output.2
  40047. --- Fiasco-master/autom4te.cache/output.2 1969-12-31 19:00:00.000000000 -0500
  40048. +++ Fiasco-master-pfiasco/autom4te.cache/output.2 2019-06-17 21:04:56.801785239 -0400
  40049. @@ -0,0 +1,16012 @@
  40050. +@%:@! /bin/sh
  40051. +@%:@ Guess values for system-dependent variables and create Makefiles.
  40052. +@%:@ Generated by GNU Autoconf 2.69 for fiasco 1.3.
  40053. +@%:@
  40054. +@%:@
  40055. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  40056. +@%:@
  40057. +@%:@
  40058. +@%:@ This configure script is free software; the Free Software Foundation
  40059. +@%:@ gives unlimited permission to copy, distribute and modify it.
  40060. +## -------------------- ##
  40061. +## M4sh Initialization. ##
  40062. +## -------------------- ##
  40063. +
  40064. +# Be more Bourne compatible
  40065. +DUALCASE=1; export DUALCASE # for MKS sh
  40066. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  40067. + emulate sh
  40068. + NULLCMD=:
  40069. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  40070. + # is contrary to our usage. Disable this feature.
  40071. + alias -g '${1+"$@"}'='"$@"'
  40072. + setopt NO_GLOB_SUBST
  40073. +else
  40074. + case `(set -o) 2>/dev/null` in @%:@(
  40075. + *posix*) :
  40076. + set -o posix ;; @%:@(
  40077. + *) :
  40078. + ;;
  40079. +esac
  40080. +fi
  40081. +
  40082. +
  40083. +as_nl='
  40084. +'
  40085. +export as_nl
  40086. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  40087. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40088. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  40089. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40090. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  40091. +# but without wasting forks for bash or zsh.
  40092. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  40093. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  40094. + as_echo='print -r --'
  40095. + as_echo_n='print -rn --'
  40096. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  40097. + as_echo='printf %s\n'
  40098. + as_echo_n='printf %s'
  40099. +else
  40100. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  40101. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  40102. + as_echo_n='/usr/ucb/echo -n'
  40103. + else
  40104. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  40105. + as_echo_n_body='eval
  40106. + arg=$1;
  40107. + case $arg in @%:@(
  40108. + *"$as_nl"*)
  40109. + expr "X$arg" : "X\\(.*\\)$as_nl";
  40110. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  40111. + esac;
  40112. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  40113. + '
  40114. + export as_echo_n_body
  40115. + as_echo_n='sh -c $as_echo_n_body as_echo'
  40116. + fi
  40117. + export as_echo_body
  40118. + as_echo='sh -c $as_echo_body as_echo'
  40119. +fi
  40120. +
  40121. +# The user is always right.
  40122. +if test "${PATH_SEPARATOR+set}" != set; then
  40123. + PATH_SEPARATOR=:
  40124. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  40125. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  40126. + PATH_SEPARATOR=';'
  40127. + }
  40128. +fi
  40129. +
  40130. +
  40131. +# IFS
  40132. +# We need space, tab and new line, in precisely that order. Quoting is
  40133. +# there to prevent editors from complaining about space-tab.
  40134. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  40135. +# splitting by setting IFS to empty value.)
  40136. +IFS=" "" $as_nl"
  40137. +
  40138. +# Find who we are. Look in the path if we contain no directory separator.
  40139. +as_myself=
  40140. +case $0 in @%:@((
  40141. + *[\\/]* ) as_myself=$0 ;;
  40142. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40143. +for as_dir in $PATH
  40144. +do
  40145. + IFS=$as_save_IFS
  40146. + test -z "$as_dir" && as_dir=.
  40147. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  40148. + done
  40149. +IFS=$as_save_IFS
  40150. +
  40151. + ;;
  40152. +esac
  40153. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  40154. +# in which case we are not to be found in the path.
  40155. +if test "x$as_myself" = x; then
  40156. + as_myself=$0
  40157. +fi
  40158. +if test ! -f "$as_myself"; then
  40159. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  40160. + exit 1
  40161. +fi
  40162. +
  40163. +# Unset variables that we do not need and which cause bugs (e.g. in
  40164. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  40165. +# suppresses any "Segmentation fault" message there. '((' could
  40166. +# trigger a bug in pdksh 5.2.14.
  40167. +for as_var in BASH_ENV ENV MAIL MAILPATH
  40168. +do eval test x\${$as_var+set} = xset \
  40169. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  40170. +done
  40171. +PS1='$ '
  40172. +PS2='> '
  40173. +PS4='+ '
  40174. +
  40175. +# NLS nuisances.
  40176. +LC_ALL=C
  40177. +export LC_ALL
  40178. +LANGUAGE=C
  40179. +export LANGUAGE
  40180. +
  40181. +# CDPATH.
  40182. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  40183. +
  40184. +# Use a proper internal environment variable to ensure we don't fall
  40185. + # into an infinite loop, continuously re-executing ourselves.
  40186. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  40187. + _as_can_reexec=no; export _as_can_reexec;
  40188. + # We cannot yet assume a decent shell, so we have to provide a
  40189. +# neutralization value for shells without unset; and this also
  40190. +# works around shells that cannot unset nonexistent variables.
  40191. +# Preserve -v and -x to the replacement shell.
  40192. +BASH_ENV=/dev/null
  40193. +ENV=/dev/null
  40194. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  40195. +case $- in @%:@ ((((
  40196. + *v*x* | *x*v* ) as_opts=-vx ;;
  40197. + *v* ) as_opts=-v ;;
  40198. + *x* ) as_opts=-x ;;
  40199. + * ) as_opts= ;;
  40200. +esac
  40201. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  40202. +# Admittedly, this is quite paranoid, since all the known shells bail
  40203. +# out after a failed `exec'.
  40204. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  40205. +as_fn_exit 255
  40206. + fi
  40207. + # We don't want this to propagate to other subprocesses.
  40208. + { _as_can_reexec=; unset _as_can_reexec;}
  40209. +if test "x$CONFIG_SHELL" = x; then
  40210. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  40211. + emulate sh
  40212. + NULLCMD=:
  40213. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  40214. + # is contrary to our usage. Disable this feature.
  40215. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  40216. + setopt NO_GLOB_SUBST
  40217. +else
  40218. + case \`(set -o) 2>/dev/null\` in @%:@(
  40219. + *posix*) :
  40220. + set -o posix ;; @%:@(
  40221. + *) :
  40222. + ;;
  40223. +esac
  40224. +fi
  40225. +"
  40226. + as_required="as_fn_return () { (exit \$1); }
  40227. +as_fn_success () { as_fn_return 0; }
  40228. +as_fn_failure () { as_fn_return 1; }
  40229. +as_fn_ret_success () { return 0; }
  40230. +as_fn_ret_failure () { return 1; }
  40231. +
  40232. +exitcode=0
  40233. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  40234. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  40235. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  40236. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  40237. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  40238. +
  40239. +else
  40240. + exitcode=1; echo positional parameters were not saved.
  40241. +fi
  40242. +test x\$exitcode = x0 || exit 1
  40243. +test -x / || exit 1"
  40244. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  40245. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  40246. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  40247. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  40248. +
  40249. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  40250. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40251. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  40252. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  40253. + PATH=/empty FPATH=/empty; export PATH FPATH
  40254. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  40255. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  40256. +test \$(( 1 + 1 )) = 2 || exit 1"
  40257. + if (eval "$as_required") 2>/dev/null; then :
  40258. + as_have_required=yes
  40259. +else
  40260. + as_have_required=no
  40261. +fi
  40262. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  40263. +
  40264. +else
  40265. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40266. +as_found=false
  40267. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  40268. +do
  40269. + IFS=$as_save_IFS
  40270. + test -z "$as_dir" && as_dir=.
  40271. + as_found=:
  40272. + case $as_dir in @%:@(
  40273. + /*)
  40274. + for as_base in sh bash ksh sh5; do
  40275. + # Try only shells that exist, to save several forks.
  40276. + as_shell=$as_dir/$as_base
  40277. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  40278. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  40279. + CONFIG_SHELL=$as_shell as_have_required=yes
  40280. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  40281. + break 2
  40282. +fi
  40283. +fi
  40284. + done;;
  40285. + esac
  40286. + as_found=false
  40287. +done
  40288. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  40289. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  40290. + CONFIG_SHELL=$SHELL as_have_required=yes
  40291. +fi; }
  40292. +IFS=$as_save_IFS
  40293. +
  40294. +
  40295. + if test "x$CONFIG_SHELL" != x; then :
  40296. + export CONFIG_SHELL
  40297. + # We cannot yet assume a decent shell, so we have to provide a
  40298. +# neutralization value for shells without unset; and this also
  40299. +# works around shells that cannot unset nonexistent variables.
  40300. +# Preserve -v and -x to the replacement shell.
  40301. +BASH_ENV=/dev/null
  40302. +ENV=/dev/null
  40303. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  40304. +case $- in @%:@ ((((
  40305. + *v*x* | *x*v* ) as_opts=-vx ;;
  40306. + *v* ) as_opts=-v ;;
  40307. + *x* ) as_opts=-x ;;
  40308. + * ) as_opts= ;;
  40309. +esac
  40310. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  40311. +# Admittedly, this is quite paranoid, since all the known shells bail
  40312. +# out after a failed `exec'.
  40313. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  40314. +exit 255
  40315. +fi
  40316. +
  40317. + if test x$as_have_required = xno; then :
  40318. + $as_echo "$0: This script requires a shell more modern than all"
  40319. + $as_echo "$0: the shells that I found on your system."
  40320. + if test x${ZSH_VERSION+set} = xset ; then
  40321. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  40322. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  40323. + else
  40324. + $as_echo "$0: Please tell [email protected] about your system,
  40325. +$0: including any error possibly output before this
  40326. +$0: message. Then install a modern shell, or manually run
  40327. +$0: the script under such a shell if you do have one."
  40328. + fi
  40329. + exit 1
  40330. +fi
  40331. +fi
  40332. +fi
  40333. +SHELL=${CONFIG_SHELL-/bin/sh}
  40334. +export SHELL
  40335. +# Unset more variables known to interfere with behavior of common tools.
  40336. +CLICOLOR_FORCE= GREP_OPTIONS=
  40337. +unset CLICOLOR_FORCE GREP_OPTIONS
  40338. +
  40339. +## --------------------- ##
  40340. +## M4sh Shell Functions. ##
  40341. +## --------------------- ##
  40342. +@%:@ as_fn_unset VAR
  40343. +@%:@ ---------------
  40344. +@%:@ Portably unset VAR.
  40345. +as_fn_unset ()
  40346. +{
  40347. + { eval $1=; unset $1;}
  40348. +}
  40349. +as_unset=as_fn_unset
  40350. +
  40351. +@%:@ as_fn_set_status STATUS
  40352. +@%:@ -----------------------
  40353. +@%:@ Set @S|@? to STATUS, without forking.
  40354. +as_fn_set_status ()
  40355. +{
  40356. + return $1
  40357. +} @%:@ as_fn_set_status
  40358. +
  40359. +@%:@ as_fn_exit STATUS
  40360. +@%:@ -----------------
  40361. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  40362. +as_fn_exit ()
  40363. +{
  40364. + set +e
  40365. + as_fn_set_status $1
  40366. + exit $1
  40367. +} @%:@ as_fn_exit
  40368. +
  40369. +@%:@ as_fn_mkdir_p
  40370. +@%:@ -------------
  40371. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  40372. +as_fn_mkdir_p ()
  40373. +{
  40374. +
  40375. + case $as_dir in #(
  40376. + -*) as_dir=./$as_dir;;
  40377. + esac
  40378. + test -d "$as_dir" || eval $as_mkdir_p || {
  40379. + as_dirs=
  40380. + while :; do
  40381. + case $as_dir in #(
  40382. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  40383. + *) as_qdir=$as_dir;;
  40384. + esac
  40385. + as_dirs="'$as_qdir' $as_dirs"
  40386. + as_dir=`$as_dirname -- "$as_dir" ||
  40387. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  40388. + X"$as_dir" : 'X\(//\)[^/]' \| \
  40389. + X"$as_dir" : 'X\(//\)$' \| \
  40390. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  40391. +$as_echo X"$as_dir" |
  40392. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  40393. + s//\1/
  40394. + q
  40395. + }
  40396. + /^X\(\/\/\)[^/].*/{
  40397. + s//\1/
  40398. + q
  40399. + }
  40400. + /^X\(\/\/\)$/{
  40401. + s//\1/
  40402. + q
  40403. + }
  40404. + /^X\(\/\).*/{
  40405. + s//\1/
  40406. + q
  40407. + }
  40408. + s/.*/./; q'`
  40409. + test -d "$as_dir" && break
  40410. + done
  40411. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  40412. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  40413. +
  40414. +
  40415. +} @%:@ as_fn_mkdir_p
  40416. +
  40417. +@%:@ as_fn_executable_p FILE
  40418. +@%:@ -----------------------
  40419. +@%:@ Test if FILE is an executable regular file.
  40420. +as_fn_executable_p ()
  40421. +{
  40422. + test -f "$1" && test -x "$1"
  40423. +} @%:@ as_fn_executable_p
  40424. +@%:@ as_fn_append VAR VALUE
  40425. +@%:@ ----------------------
  40426. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  40427. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  40428. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  40429. +@%:@ implementations.
  40430. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  40431. + eval 'as_fn_append ()
  40432. + {
  40433. + eval $1+=\$2
  40434. + }'
  40435. +else
  40436. + as_fn_append ()
  40437. + {
  40438. + eval $1=\$$1\$2
  40439. + }
  40440. +fi # as_fn_append
  40441. +
  40442. +@%:@ as_fn_arith ARG...
  40443. +@%:@ ------------------
  40444. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  40445. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  40446. +@%:@ must be portable across @S|@(()) and expr.
  40447. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  40448. + eval 'as_fn_arith ()
  40449. + {
  40450. + as_val=$(( $* ))
  40451. + }'
  40452. +else
  40453. + as_fn_arith ()
  40454. + {
  40455. + as_val=`expr "$@" || test $? -eq 1`
  40456. + }
  40457. +fi # as_fn_arith
  40458. +
  40459. +
  40460. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  40461. +@%:@ ----------------------------------------
  40462. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  40463. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  40464. +@%:@ script with STATUS, using 1 if that was 0.
  40465. +as_fn_error ()
  40466. +{
  40467. + as_status=$1; test $as_status -eq 0 && as_status=1
  40468. + if test "$4"; then
  40469. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  40470. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  40471. + fi
  40472. + $as_echo "$as_me: error: $2" >&2
  40473. + as_fn_exit $as_status
  40474. +} @%:@ as_fn_error
  40475. +
  40476. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  40477. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  40478. + as_expr=expr
  40479. +else
  40480. + as_expr=false
  40481. +fi
  40482. +
  40483. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  40484. + as_basename=basename
  40485. +else
  40486. + as_basename=false
  40487. +fi
  40488. +
  40489. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  40490. + as_dirname=dirname
  40491. +else
  40492. + as_dirname=false
  40493. +fi
  40494. +
  40495. +as_me=`$as_basename -- "$0" ||
  40496. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  40497. + X"$0" : 'X\(//\)$' \| \
  40498. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  40499. +$as_echo X/"$0" |
  40500. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  40501. + s//\1/
  40502. + q
  40503. + }
  40504. + /^X\/\(\/\/\)$/{
  40505. + s//\1/
  40506. + q
  40507. + }
  40508. + /^X\/\(\/\).*/{
  40509. + s//\1/
  40510. + q
  40511. + }
  40512. + s/.*/./; q'`
  40513. +
  40514. +# Avoid depending upon Character Ranges.
  40515. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  40516. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  40517. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  40518. +as_cr_digits='0123456789'
  40519. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  40520. +
  40521. +
  40522. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  40523. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  40524. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  40525. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  40526. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  40527. + sed -n '
  40528. + p
  40529. + /[$]LINENO/=
  40530. + ' <$as_myself |
  40531. + sed '
  40532. + s/[$]LINENO.*/&-/
  40533. + t lineno
  40534. + b
  40535. + :lineno
  40536. + N
  40537. + :loop
  40538. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  40539. + t loop
  40540. + s/-\n.*//
  40541. + ' >$as_me.lineno &&
  40542. + chmod +x "$as_me.lineno" ||
  40543. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  40544. +
  40545. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  40546. + # already done that, so ensure we don't try to do so again and fall
  40547. + # in an infinite loop. This has already happened in practice.
  40548. + _as_can_reexec=no; export _as_can_reexec
  40549. + # Don't try to exec as it changes $[0], causing all sort of problems
  40550. + # (the dirname of $[0] is not the place where we might find the
  40551. + # original and so on. Autoconf is especially sensitive to this).
  40552. + . "./$as_me.lineno"
  40553. + # Exit status is that of the last command.
  40554. + exit
  40555. +}
  40556. +
  40557. +ECHO_C= ECHO_N= ECHO_T=
  40558. +case `echo -n x` in @%:@(((((
  40559. +-n*)
  40560. + case `echo 'xy\c'` in
  40561. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  40562. + xy) ECHO_C='\c';;
  40563. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  40564. + ECHO_T=' ';;
  40565. + esac;;
  40566. +*)
  40567. + ECHO_N='-n';;
  40568. +esac
  40569. +
  40570. +rm -f conf$$ conf$$.exe conf$$.file
  40571. +if test -d conf$$.dir; then
  40572. + rm -f conf$$.dir/conf$$.file
  40573. +else
  40574. + rm -f conf$$.dir
  40575. + mkdir conf$$.dir 2>/dev/null
  40576. +fi
  40577. +if (echo >conf$$.file) 2>/dev/null; then
  40578. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  40579. + as_ln_s='ln -s'
  40580. + # ... but there are two gotchas:
  40581. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  40582. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  40583. + # In both cases, we have to default to `cp -pR'.
  40584. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  40585. + as_ln_s='cp -pR'
  40586. + elif ln conf$$.file conf$$ 2>/dev/null; then
  40587. + as_ln_s=ln
  40588. + else
  40589. + as_ln_s='cp -pR'
  40590. + fi
  40591. +else
  40592. + as_ln_s='cp -pR'
  40593. +fi
  40594. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  40595. +rmdir conf$$.dir 2>/dev/null
  40596. +
  40597. +if mkdir -p . 2>/dev/null; then
  40598. + as_mkdir_p='mkdir -p "$as_dir"'
  40599. +else
  40600. + test -d ./-p && rmdir ./-p
  40601. + as_mkdir_p=false
  40602. +fi
  40603. +
  40604. +as_test_x='test -x'
  40605. +as_executable_p=as_fn_executable_p
  40606. +
  40607. +# Sed expression to map a string onto a valid CPP name.
  40608. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  40609. +
  40610. +# Sed expression to map a string onto a valid variable name.
  40611. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  40612. +
  40613. +SHELL=${CONFIG_SHELL-/bin/sh}
  40614. +
  40615. +
  40616. +test -n "$DJDIR" || exec 7<&0 </dev/null
  40617. +exec 6>&1
  40618. +
  40619. +# Name of the host.
  40620. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  40621. +# so uname gets run too.
  40622. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  40623. +
  40624. +#
  40625. +# Initializations.
  40626. +#
  40627. +ac_default_prefix=/usr/local
  40628. +ac_clean_files=
  40629. +ac_config_libobj_dir=.
  40630. +LIB@&t@OBJS=
  40631. +cross_compiling=no
  40632. +subdirs=
  40633. +MFLAGS=
  40634. +MAKEFLAGS=
  40635. +
  40636. +# Identity of this package.
  40637. +PACKAGE_NAME='fiasco'
  40638. +PACKAGE_TARNAME='fiasco'
  40639. +PACKAGE_VERSION='1.3'
  40640. +PACKAGE_STRING='fiasco 1.3'
  40641. +PACKAGE_BUGREPORT=''
  40642. +PACKAGE_URL=''
  40643. +
  40644. +# Factoring default headers for most tests.
  40645. +ac_includes_default="\
  40646. +#include <stdio.h>
  40647. +#ifdef HAVE_SYS_TYPES_H
  40648. +# include <sys/types.h>
  40649. +#endif
  40650. +#ifdef HAVE_SYS_STAT_H
  40651. +# include <sys/stat.h>
  40652. +#endif
  40653. +#ifdef STDC_HEADERS
  40654. +# include <stdlib.h>
  40655. +# include <stddef.h>
  40656. +#else
  40657. +# ifdef HAVE_STDLIB_H
  40658. +# include <stdlib.h>
  40659. +# endif
  40660. +#endif
  40661. +#ifdef HAVE_STRING_H
  40662. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  40663. +# include <memory.h>
  40664. +# endif
  40665. +# include <string.h>
  40666. +#endif
  40667. +#ifdef HAVE_STRINGS_H
  40668. +# include <strings.h>
  40669. +#endif
  40670. +#ifdef HAVE_INTTYPES_H
  40671. +# include <inttypes.h>
  40672. +#endif
  40673. +#ifdef HAVE_STDINT_H
  40674. +# include <stdint.h>
  40675. +#endif
  40676. +#ifdef HAVE_UNISTD_H
  40677. +# include <unistd.h>
  40678. +#endif"
  40679. +
  40680. +ac_subst_vars='am__EXEEXT_FALSE
  40681. +am__EXEEXT_TRUE
  40682. +LTLIBOBJS
  40683. +LIB@&t@OBJS
  40684. +xmag
  40685. +xfig
  40686. +AM_CPPFLAGS
  40687. +LIBTOOL_DEPS
  40688. +CPP
  40689. +LT_SYS_LIBRARY_PATH
  40690. +OTOOL64
  40691. +OTOOL
  40692. +LIPO
  40693. +NMEDIT
  40694. +DSYMUTIL
  40695. +MANIFEST_TOOL
  40696. +RANLIB
  40697. +ac_ct_AR
  40698. +AR
  40699. +DLLTOOL
  40700. +OBJDUMP
  40701. +LN_S
  40702. +NM
  40703. +ac_ct_DUMPBIN
  40704. +DUMPBIN
  40705. +LD
  40706. +FGREP
  40707. +EGREP
  40708. +GREP
  40709. +SED
  40710. +am__fastdepCC_FALSE
  40711. +am__fastdepCC_TRUE
  40712. +CCDEPMODE
  40713. +am__nodep
  40714. +AMDEPBACKSLASH
  40715. +AMDEP_FALSE
  40716. +AMDEP_TRUE
  40717. +am__include
  40718. +DEPDIR
  40719. +OBJEXT
  40720. +EXEEXT
  40721. +ac_ct_CC
  40722. +CPPFLAGS
  40723. +LDFLAGS
  40724. +CFLAGS
  40725. +CC
  40726. +host_os
  40727. +host_vendor
  40728. +host_cpu
  40729. +host
  40730. +build_os
  40731. +build_vendor
  40732. +build_cpu
  40733. +build
  40734. +LIBTOOL
  40735. +AM_BACKSLASH
  40736. +AM_DEFAULT_VERBOSITY
  40737. +AM_DEFAULT_V
  40738. +AM_V
  40739. +am__untar
  40740. +am__tar
  40741. +AMTAR
  40742. +am__leading_dot
  40743. +SET_MAKE
  40744. +AWK
  40745. +mkdir_p
  40746. +MKDIR_P
  40747. +INSTALL_STRIP_PROGRAM
  40748. +STRIP
  40749. +install_sh
  40750. +MAKEINFO
  40751. +AUTOHEADER
  40752. +AUTOMAKE
  40753. +AUTOCONF
  40754. +ACLOCAL
  40755. +VERSION
  40756. +PACKAGE
  40757. +CYGPATH_W
  40758. +am__isrc
  40759. +INSTALL_DATA
  40760. +INSTALL_SCRIPT
  40761. +INSTALL_PROGRAM
  40762. +target_alias
  40763. +host_alias
  40764. +build_alias
  40765. +LIBS
  40766. +ECHO_T
  40767. +ECHO_N
  40768. +ECHO_C
  40769. +DEFS
  40770. +mandir
  40771. +localedir
  40772. +libdir
  40773. +psdir
  40774. +pdfdir
  40775. +dvidir
  40776. +htmldir
  40777. +infodir
  40778. +docdir
  40779. +oldincludedir
  40780. +includedir
  40781. +localstatedir
  40782. +sharedstatedir
  40783. +sysconfdir
  40784. +datadir
  40785. +datarootdir
  40786. +libexecdir
  40787. +sbindir
  40788. +bindir
  40789. +program_transform_name
  40790. +prefix
  40791. +exec_prefix
  40792. +PACKAGE_URL
  40793. +PACKAGE_BUGREPORT
  40794. +PACKAGE_STRING
  40795. +PACKAGE_VERSION
  40796. +PACKAGE_TARNAME
  40797. +PACKAGE_NAME
  40798. +PATH_SEPARATOR
  40799. +SHELL
  40800. +am__quote'
  40801. +ac_subst_files=''
  40802. +ac_user_opts='
  40803. +enable_option_checking
  40804. +enable_silent_rules
  40805. +enable_shared
  40806. +enable_static
  40807. +with_pic
  40808. +enable_fast_install
  40809. +with_aix_soname
  40810. +enable_dependency_tracking
  40811. +with_gnu_ld
  40812. +with_sysroot
  40813. +enable_libtool_lock
  40814. +'
  40815. + ac_precious_vars='build_alias
  40816. +host_alias
  40817. +target_alias
  40818. +CC
  40819. +CFLAGS
  40820. +LDFLAGS
  40821. +LIBS
  40822. +CPPFLAGS
  40823. +LT_SYS_LIBRARY_PATH
  40824. +CPP'
  40825. +
  40826. +
  40827. +# Initialize some variables set by options.
  40828. +ac_init_help=
  40829. +ac_init_version=false
  40830. +ac_unrecognized_opts=
  40831. +ac_unrecognized_sep=
  40832. +# The variables have the same names as the options, with
  40833. +# dashes changed to underlines.
  40834. +cache_file=/dev/null
  40835. +exec_prefix=NONE
  40836. +no_create=
  40837. +no_recursion=
  40838. +prefix=NONE
  40839. +program_prefix=NONE
  40840. +program_suffix=NONE
  40841. +program_transform_name=s,x,x,
  40842. +silent=
  40843. +site=
  40844. +srcdir=
  40845. +verbose=
  40846. +x_includes=NONE
  40847. +x_libraries=NONE
  40848. +
  40849. +# Installation directory options.
  40850. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  40851. +# and all the variables that are supposed to be based on exec_prefix
  40852. +# by default will actually change.
  40853. +# Use braces instead of parens because sh, perl, etc. also accept them.
  40854. +# (The list follows the same order as the GNU Coding Standards.)
  40855. +bindir='${exec_prefix}/bin'
  40856. +sbindir='${exec_prefix}/sbin'
  40857. +libexecdir='${exec_prefix}/libexec'
  40858. +datarootdir='${prefix}/share'
  40859. +datadir='${datarootdir}'
  40860. +sysconfdir='${prefix}/etc'
  40861. +sharedstatedir='${prefix}/com'
  40862. +localstatedir='${prefix}/var'
  40863. +includedir='${prefix}/include'
  40864. +oldincludedir='/usr/include'
  40865. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  40866. +infodir='${datarootdir}/info'
  40867. +htmldir='${docdir}'
  40868. +dvidir='${docdir}'
  40869. +pdfdir='${docdir}'
  40870. +psdir='${docdir}'
  40871. +libdir='${exec_prefix}/lib'
  40872. +localedir='${datarootdir}/locale'
  40873. +mandir='${datarootdir}/man'
  40874. +
  40875. +ac_prev=
  40876. +ac_dashdash=
  40877. +for ac_option
  40878. +do
  40879. + # If the previous option needs an argument, assign it.
  40880. + if test -n "$ac_prev"; then
  40881. + eval $ac_prev=\$ac_option
  40882. + ac_prev=
  40883. + continue
  40884. + fi
  40885. +
  40886. + case $ac_option in
  40887. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  40888. + *=) ac_optarg= ;;
  40889. + *) ac_optarg=yes ;;
  40890. + esac
  40891. +
  40892. + # Accept the important Cygnus configure options, so we can diagnose typos.
  40893. +
  40894. + case $ac_dashdash$ac_option in
  40895. + --)
  40896. + ac_dashdash=yes ;;
  40897. +
  40898. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  40899. + ac_prev=bindir ;;
  40900. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  40901. + bindir=$ac_optarg ;;
  40902. +
  40903. + -build | --build | --buil | --bui | --bu)
  40904. + ac_prev=build_alias ;;
  40905. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  40906. + build_alias=$ac_optarg ;;
  40907. +
  40908. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  40909. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  40910. + ac_prev=cache_file ;;
  40911. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  40912. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  40913. + cache_file=$ac_optarg ;;
  40914. +
  40915. + --config-cache | -C)
  40916. + cache_file=config.cache ;;
  40917. +
  40918. + -datadir | --datadir | --datadi | --datad)
  40919. + ac_prev=datadir ;;
  40920. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  40921. + datadir=$ac_optarg ;;
  40922. +
  40923. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  40924. + | --dataroo | --dataro | --datar)
  40925. + ac_prev=datarootdir ;;
  40926. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  40927. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  40928. + datarootdir=$ac_optarg ;;
  40929. +
  40930. + -disable-* | --disable-*)
  40931. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  40932. + # Reject names that are not valid shell variable names.
  40933. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  40934. + as_fn_error $? "invalid feature name: $ac_useropt"
  40935. + ac_useropt_orig=$ac_useropt
  40936. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  40937. + case $ac_user_opts in
  40938. + *"
  40939. +"enable_$ac_useropt"
  40940. +"*) ;;
  40941. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  40942. + ac_unrecognized_sep=', ';;
  40943. + esac
  40944. + eval enable_$ac_useropt=no ;;
  40945. +
  40946. + -docdir | --docdir | --docdi | --doc | --do)
  40947. + ac_prev=docdir ;;
  40948. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  40949. + docdir=$ac_optarg ;;
  40950. +
  40951. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  40952. + ac_prev=dvidir ;;
  40953. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  40954. + dvidir=$ac_optarg ;;
  40955. +
  40956. + -enable-* | --enable-*)
  40957. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  40958. + # Reject names that are not valid shell variable names.
  40959. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  40960. + as_fn_error $? "invalid feature name: $ac_useropt"
  40961. + ac_useropt_orig=$ac_useropt
  40962. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  40963. + case $ac_user_opts in
  40964. + *"
  40965. +"enable_$ac_useropt"
  40966. +"*) ;;
  40967. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  40968. + ac_unrecognized_sep=', ';;
  40969. + esac
  40970. + eval enable_$ac_useropt=\$ac_optarg ;;
  40971. +
  40972. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  40973. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  40974. + | --exec | --exe | --ex)
  40975. + ac_prev=exec_prefix ;;
  40976. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  40977. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  40978. + | --exec=* | --exe=* | --ex=*)
  40979. + exec_prefix=$ac_optarg ;;
  40980. +
  40981. + -gas | --gas | --ga | --g)
  40982. + # Obsolete; use --with-gas.
  40983. + with_gas=yes ;;
  40984. +
  40985. + -help | --help | --hel | --he | -h)
  40986. + ac_init_help=long ;;
  40987. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  40988. + ac_init_help=recursive ;;
  40989. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  40990. + ac_init_help=short ;;
  40991. +
  40992. + -host | --host | --hos | --ho)
  40993. + ac_prev=host_alias ;;
  40994. + -host=* | --host=* | --hos=* | --ho=*)
  40995. + host_alias=$ac_optarg ;;
  40996. +
  40997. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  40998. + ac_prev=htmldir ;;
  40999. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  41000. + | --ht=*)
  41001. + htmldir=$ac_optarg ;;
  41002. +
  41003. + -includedir | --includedir | --includedi | --included | --include \
  41004. + | --includ | --inclu | --incl | --inc)
  41005. + ac_prev=includedir ;;
  41006. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  41007. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  41008. + includedir=$ac_optarg ;;
  41009. +
  41010. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  41011. + ac_prev=infodir ;;
  41012. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  41013. + infodir=$ac_optarg ;;
  41014. +
  41015. + -libdir | --libdir | --libdi | --libd)
  41016. + ac_prev=libdir ;;
  41017. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  41018. + libdir=$ac_optarg ;;
  41019. +
  41020. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  41021. + | --libexe | --libex | --libe)
  41022. + ac_prev=libexecdir ;;
  41023. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  41024. + | --libexe=* | --libex=* | --libe=*)
  41025. + libexecdir=$ac_optarg ;;
  41026. +
  41027. + -localedir | --localedir | --localedi | --localed | --locale)
  41028. + ac_prev=localedir ;;
  41029. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  41030. + localedir=$ac_optarg ;;
  41031. +
  41032. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  41033. + | --localstate | --localstat | --localsta | --localst | --locals)
  41034. + ac_prev=localstatedir ;;
  41035. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  41036. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  41037. + localstatedir=$ac_optarg ;;
  41038. +
  41039. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  41040. + ac_prev=mandir ;;
  41041. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  41042. + mandir=$ac_optarg ;;
  41043. +
  41044. + -nfp | --nfp | --nf)
  41045. + # Obsolete; use --without-fp.
  41046. + with_fp=no ;;
  41047. +
  41048. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  41049. + | --no-cr | --no-c | -n)
  41050. + no_create=yes ;;
  41051. +
  41052. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  41053. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  41054. + no_recursion=yes ;;
  41055. +
  41056. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  41057. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  41058. + | --oldin | --oldi | --old | --ol | --o)
  41059. + ac_prev=oldincludedir ;;
  41060. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  41061. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  41062. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  41063. + oldincludedir=$ac_optarg ;;
  41064. +
  41065. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  41066. + ac_prev=prefix ;;
  41067. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  41068. + prefix=$ac_optarg ;;
  41069. +
  41070. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  41071. + | --program-pre | --program-pr | --program-p)
  41072. + ac_prev=program_prefix ;;
  41073. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  41074. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  41075. + program_prefix=$ac_optarg ;;
  41076. +
  41077. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  41078. + | --program-suf | --program-su | --program-s)
  41079. + ac_prev=program_suffix ;;
  41080. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  41081. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  41082. + program_suffix=$ac_optarg ;;
  41083. +
  41084. + -program-transform-name | --program-transform-name \
  41085. + | --program-transform-nam | --program-transform-na \
  41086. + | --program-transform-n | --program-transform- \
  41087. + | --program-transform | --program-transfor \
  41088. + | --program-transfo | --program-transf \
  41089. + | --program-trans | --program-tran \
  41090. + | --progr-tra | --program-tr | --program-t)
  41091. + ac_prev=program_transform_name ;;
  41092. + -program-transform-name=* | --program-transform-name=* \
  41093. + | --program-transform-nam=* | --program-transform-na=* \
  41094. + | --program-transform-n=* | --program-transform-=* \
  41095. + | --program-transform=* | --program-transfor=* \
  41096. + | --program-transfo=* | --program-transf=* \
  41097. + | --program-trans=* | --program-tran=* \
  41098. + | --progr-tra=* | --program-tr=* | --program-t=*)
  41099. + program_transform_name=$ac_optarg ;;
  41100. +
  41101. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  41102. + ac_prev=pdfdir ;;
  41103. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  41104. + pdfdir=$ac_optarg ;;
  41105. +
  41106. + -psdir | --psdir | --psdi | --psd | --ps)
  41107. + ac_prev=psdir ;;
  41108. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  41109. + psdir=$ac_optarg ;;
  41110. +
  41111. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  41112. + | -silent | --silent | --silen | --sile | --sil)
  41113. + silent=yes ;;
  41114. +
  41115. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  41116. + ac_prev=sbindir ;;
  41117. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  41118. + | --sbi=* | --sb=*)
  41119. + sbindir=$ac_optarg ;;
  41120. +
  41121. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  41122. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  41123. + | --sharedst | --shareds | --shared | --share | --shar \
  41124. + | --sha | --sh)
  41125. + ac_prev=sharedstatedir ;;
  41126. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  41127. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  41128. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  41129. + | --sha=* | --sh=*)
  41130. + sharedstatedir=$ac_optarg ;;
  41131. +
  41132. + -site | --site | --sit)
  41133. + ac_prev=site ;;
  41134. + -site=* | --site=* | --sit=*)
  41135. + site=$ac_optarg ;;
  41136. +
  41137. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  41138. + ac_prev=srcdir ;;
  41139. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  41140. + srcdir=$ac_optarg ;;
  41141. +
  41142. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  41143. + | --syscon | --sysco | --sysc | --sys | --sy)
  41144. + ac_prev=sysconfdir ;;
  41145. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  41146. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  41147. + sysconfdir=$ac_optarg ;;
  41148. +
  41149. + -target | --target | --targe | --targ | --tar | --ta | --t)
  41150. + ac_prev=target_alias ;;
  41151. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  41152. + target_alias=$ac_optarg ;;
  41153. +
  41154. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  41155. + verbose=yes ;;
  41156. +
  41157. + -version | --version | --versio | --versi | --vers | -V)
  41158. + ac_init_version=: ;;
  41159. +
  41160. + -with-* | --with-*)
  41161. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  41162. + # Reject names that are not valid shell variable names.
  41163. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  41164. + as_fn_error $? "invalid package name: $ac_useropt"
  41165. + ac_useropt_orig=$ac_useropt
  41166. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  41167. + case $ac_user_opts in
  41168. + *"
  41169. +"with_$ac_useropt"
  41170. +"*) ;;
  41171. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  41172. + ac_unrecognized_sep=', ';;
  41173. + esac
  41174. + eval with_$ac_useropt=\$ac_optarg ;;
  41175. +
  41176. + -without-* | --without-*)
  41177. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  41178. + # Reject names that are not valid shell variable names.
  41179. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  41180. + as_fn_error $? "invalid package name: $ac_useropt"
  41181. + ac_useropt_orig=$ac_useropt
  41182. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  41183. + case $ac_user_opts in
  41184. + *"
  41185. +"with_$ac_useropt"
  41186. +"*) ;;
  41187. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  41188. + ac_unrecognized_sep=', ';;
  41189. + esac
  41190. + eval with_$ac_useropt=no ;;
  41191. +
  41192. + --x)
  41193. + # Obsolete; use --with-x.
  41194. + with_x=yes ;;
  41195. +
  41196. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  41197. + | --x-incl | --x-inc | --x-in | --x-i)
  41198. + ac_prev=x_includes ;;
  41199. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  41200. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  41201. + x_includes=$ac_optarg ;;
  41202. +
  41203. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  41204. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  41205. + ac_prev=x_libraries ;;
  41206. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  41207. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  41208. + x_libraries=$ac_optarg ;;
  41209. +
  41210. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  41211. +Try \`$0 --help' for more information"
  41212. + ;;
  41213. +
  41214. + *=*)
  41215. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  41216. + # Reject names that are not valid shell variable names.
  41217. + case $ac_envvar in #(
  41218. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  41219. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  41220. + esac
  41221. + eval $ac_envvar=\$ac_optarg
  41222. + export $ac_envvar ;;
  41223. +
  41224. + *)
  41225. + # FIXME: should be removed in autoconf 3.0.
  41226. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  41227. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  41228. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  41229. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  41230. + ;;
  41231. +
  41232. + esac
  41233. +done
  41234. +
  41235. +if test -n "$ac_prev"; then
  41236. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  41237. + as_fn_error $? "missing argument to $ac_option"
  41238. +fi
  41239. +
  41240. +if test -n "$ac_unrecognized_opts"; then
  41241. + case $enable_option_checking in
  41242. + no) ;;
  41243. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  41244. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  41245. + esac
  41246. +fi
  41247. +
  41248. +# Check all directory arguments for consistency.
  41249. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  41250. + datadir sysconfdir sharedstatedir localstatedir includedir \
  41251. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  41252. + libdir localedir mandir
  41253. +do
  41254. + eval ac_val=\$$ac_var
  41255. + # Remove trailing slashes.
  41256. + case $ac_val in
  41257. + */ )
  41258. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  41259. + eval $ac_var=\$ac_val;;
  41260. + esac
  41261. + # Be sure to have absolute directory names.
  41262. + case $ac_val in
  41263. + [\\/$]* | ?:[\\/]* ) continue;;
  41264. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  41265. + esac
  41266. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  41267. +done
  41268. +
  41269. +# There might be people who depend on the old broken behavior: `$host'
  41270. +# used to hold the argument of --host etc.
  41271. +# FIXME: To remove some day.
  41272. +build=$build_alias
  41273. +host=$host_alias
  41274. +target=$target_alias
  41275. +
  41276. +# FIXME: To remove some day.
  41277. +if test "x$host_alias" != x; then
  41278. + if test "x$build_alias" = x; then
  41279. + cross_compiling=maybe
  41280. + elif test "x$build_alias" != "x$host_alias"; then
  41281. + cross_compiling=yes
  41282. + fi
  41283. +fi
  41284. +
  41285. +ac_tool_prefix=
  41286. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  41287. +
  41288. +test "$silent" = yes && exec 6>/dev/null
  41289. +
  41290. +
  41291. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  41292. +ac_ls_di=`ls -di .` &&
  41293. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  41294. + as_fn_error $? "working directory cannot be determined"
  41295. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  41296. + as_fn_error $? "pwd does not report name of working directory"
  41297. +
  41298. +
  41299. +# Find the source files, if location was not specified.
  41300. +if test -z "$srcdir"; then
  41301. + ac_srcdir_defaulted=yes
  41302. + # Try the directory containing this script, then the parent directory.
  41303. + ac_confdir=`$as_dirname -- "$as_myself" ||
  41304. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  41305. + X"$as_myself" : 'X\(//\)[^/]' \| \
  41306. + X"$as_myself" : 'X\(//\)$' \| \
  41307. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  41308. +$as_echo X"$as_myself" |
  41309. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  41310. + s//\1/
  41311. + q
  41312. + }
  41313. + /^X\(\/\/\)[^/].*/{
  41314. + s//\1/
  41315. + q
  41316. + }
  41317. + /^X\(\/\/\)$/{
  41318. + s//\1/
  41319. + q
  41320. + }
  41321. + /^X\(\/\).*/{
  41322. + s//\1/
  41323. + q
  41324. + }
  41325. + s/.*/./; q'`
  41326. + srcdir=$ac_confdir
  41327. + if test ! -r "$srcdir/$ac_unique_file"; then
  41328. + srcdir=..
  41329. + fi
  41330. +else
  41331. + ac_srcdir_defaulted=no
  41332. +fi
  41333. +if test ! -r "$srcdir/$ac_unique_file"; then
  41334. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  41335. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  41336. +fi
  41337. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  41338. +ac_abs_confdir=`(
  41339. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  41340. + pwd)`
  41341. +# When building in place, set srcdir=.
  41342. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  41343. + srcdir=.
  41344. +fi
  41345. +# Remove unnecessary trailing slashes from srcdir.
  41346. +# Double slashes in file names in object file debugging info
  41347. +# mess up M-x gdb in Emacs.
  41348. +case $srcdir in
  41349. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  41350. +esac
  41351. +for ac_var in $ac_precious_vars; do
  41352. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  41353. + eval ac_env_${ac_var}_value=\$${ac_var}
  41354. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  41355. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  41356. +done
  41357. +
  41358. +#
  41359. +# Report the --help message.
  41360. +#
  41361. +if test "$ac_init_help" = "long"; then
  41362. + # Omit some internal or obsolete options to make the list less imposing.
  41363. + # This message is too long to be a string in the A/UX 3.1 sh.
  41364. + cat <<_ACEOF
  41365. +\`configure' configures fiasco 1.3 to adapt to many kinds of systems.
  41366. +
  41367. +Usage: $0 [OPTION]... [VAR=VALUE]...
  41368. +
  41369. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  41370. +VAR=VALUE. See below for descriptions of some of the useful variables.
  41371. +
  41372. +Defaults for the options are specified in brackets.
  41373. +
  41374. +Configuration:
  41375. + -h, --help display this help and exit
  41376. + --help=short display options specific to this package
  41377. + --help=recursive display the short help of all the included packages
  41378. + -V, --version display version information and exit
  41379. + -q, --quiet, --silent do not print \`checking ...' messages
  41380. + --cache-file=FILE cache test results in FILE [disabled]
  41381. + -C, --config-cache alias for \`--cache-file=config.cache'
  41382. + -n, --no-create do not create output files
  41383. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  41384. +
  41385. +Installation directories:
  41386. + --prefix=PREFIX install architecture-independent files in PREFIX
  41387. + @<:@@S|@ac_default_prefix@:>@
  41388. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  41389. + @<:@PREFIX@:>@
  41390. +
  41391. +By default, \`make install' will install all the files in
  41392. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  41393. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  41394. +for instance \`--prefix=\$HOME'.
  41395. +
  41396. +For better control, use the options below.
  41397. +
  41398. +Fine tuning of the installation directories:
  41399. + --bindir=DIR user executables [EPREFIX/bin]
  41400. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  41401. + --libexecdir=DIR program executables [EPREFIX/libexec]
  41402. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  41403. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  41404. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  41405. + --libdir=DIR object code libraries [EPREFIX/lib]
  41406. + --includedir=DIR C header files [PREFIX/include]
  41407. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  41408. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  41409. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  41410. + --infodir=DIR info documentation [DATAROOTDIR/info]
  41411. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  41412. + --mandir=DIR man documentation [DATAROOTDIR/man]
  41413. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/fiasco@:>@
  41414. + --htmldir=DIR html documentation [DOCDIR]
  41415. + --dvidir=DIR dvi documentation [DOCDIR]
  41416. + --pdfdir=DIR pdf documentation [DOCDIR]
  41417. + --psdir=DIR ps documentation [DOCDIR]
  41418. +_ACEOF
  41419. +
  41420. + cat <<\_ACEOF
  41421. +
  41422. +Program names:
  41423. + --program-prefix=PREFIX prepend PREFIX to installed program names
  41424. + --program-suffix=SUFFIX append SUFFIX to installed program names
  41425. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  41426. +
  41427. +System types:
  41428. + --build=BUILD configure for building on BUILD [guessed]
  41429. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  41430. +_ACEOF
  41431. +fi
  41432. +
  41433. +if test -n "$ac_init_help"; then
  41434. + case $ac_init_help in
  41435. + short | recursive ) echo "Configuration of fiasco 1.3:";;
  41436. + esac
  41437. + cat <<\_ACEOF
  41438. +
  41439. +Optional Features:
  41440. + --disable-option-checking ignore unrecognized --enable/--with options
  41441. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  41442. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  41443. + --enable-silent-rules less verbose build output (undo: "make V=1")
  41444. + --disable-silent-rules verbose build output (undo: "make V=0")
  41445. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  41446. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  41447. + --enable-fast-install@<:@=PKGS@:>@
  41448. + optimize for fast installation @<:@default=yes@:>@
  41449. + --enable-dependency-tracking
  41450. + do not reject slow dependency extractors
  41451. + --disable-dependency-tracking
  41452. + speeds up one-time build
  41453. + --disable-libtool-lock avoid locking (might break parallel builds)
  41454. +
  41455. +Optional Packages:
  41456. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  41457. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  41458. + --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  41459. + both@:>@
  41460. + --with-aix-soname=aix|svr4|both
  41461. + shared library versioning (aka "SONAME") variant to
  41462. + provide on AIX, @<:@default=aix@:>@.
  41463. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  41464. + --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
  41465. + compiler's sysroot if not specified).
  41466. +
  41467. +Some influential environment variables:
  41468. + CC C compiler command
  41469. + CFLAGS C compiler flags
  41470. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  41471. + nonstandard directory <lib dir>
  41472. + LIBS libraries to pass to the linker, e.g. -l<library>
  41473. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  41474. + you have headers in a nonstandard directory <include dir>
  41475. + LT_SYS_LIBRARY_PATH
  41476. + User-defined run-time library search path.
  41477. + CPP C preprocessor
  41478. +
  41479. +Use these variables to override the choices made by `configure' or to help
  41480. +it to find libraries and programs with nonstandard names/locations.
  41481. +
  41482. +Report bugs to the package provider.
  41483. +_ACEOF
  41484. +ac_status=$?
  41485. +fi
  41486. +
  41487. +if test "$ac_init_help" = "recursive"; then
  41488. + # If there are subdirs, report their specific --help.
  41489. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  41490. + test -d "$ac_dir" ||
  41491. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  41492. + continue
  41493. + ac_builddir=.
  41494. +
  41495. +case "$ac_dir" in
  41496. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  41497. +*)
  41498. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  41499. + # A ".." for each directory in $ac_dir_suffix.
  41500. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  41501. + case $ac_top_builddir_sub in
  41502. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  41503. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  41504. + esac ;;
  41505. +esac
  41506. +ac_abs_top_builddir=$ac_pwd
  41507. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  41508. +# for backward compatibility:
  41509. +ac_top_builddir=$ac_top_build_prefix
  41510. +
  41511. +case $srcdir in
  41512. + .) # We are building in place.
  41513. + ac_srcdir=.
  41514. + ac_top_srcdir=$ac_top_builddir_sub
  41515. + ac_abs_top_srcdir=$ac_pwd ;;
  41516. + [\\/]* | ?:[\\/]* ) # Absolute name.
  41517. + ac_srcdir=$srcdir$ac_dir_suffix;
  41518. + ac_top_srcdir=$srcdir
  41519. + ac_abs_top_srcdir=$srcdir ;;
  41520. + *) # Relative name.
  41521. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  41522. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  41523. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  41524. +esac
  41525. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  41526. +
  41527. + cd "$ac_dir" || { ac_status=$?; continue; }
  41528. + # Check for guested configure.
  41529. + if test -f "$ac_srcdir/configure.gnu"; then
  41530. + echo &&
  41531. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  41532. + elif test -f "$ac_srcdir/configure"; then
  41533. + echo &&
  41534. + $SHELL "$ac_srcdir/configure" --help=recursive
  41535. + else
  41536. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  41537. + fi || ac_status=$?
  41538. + cd "$ac_pwd" || { ac_status=$?; break; }
  41539. + done
  41540. +fi
  41541. +
  41542. +test -n "$ac_init_help" && exit $ac_status
  41543. +if $ac_init_version; then
  41544. + cat <<\_ACEOF
  41545. +fiasco configure 1.3
  41546. +generated by GNU Autoconf 2.69
  41547. +
  41548. +Copyright (C) 2012 Free Software Foundation, Inc.
  41549. +This configure script is free software; the Free Software Foundation
  41550. +gives unlimited permission to copy, distribute and modify it.
  41551. +_ACEOF
  41552. + exit
  41553. +fi
  41554. +
  41555. +## ------------------------ ##
  41556. +## Autoconf initialization. ##
  41557. +## ------------------------ ##
  41558. +
  41559. +@%:@ ac_fn_c_try_compile LINENO
  41560. +@%:@ --------------------------
  41561. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  41562. +ac_fn_c_try_compile ()
  41563. +{
  41564. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41565. + rm -f conftest.$ac_objext
  41566. + if { { ac_try="$ac_compile"
  41567. +case "(($ac_try" in
  41568. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41569. + *) ac_try_echo=$ac_try;;
  41570. +esac
  41571. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41572. +$as_echo "$ac_try_echo"; } >&5
  41573. + (eval "$ac_compile") 2>conftest.err
  41574. + ac_status=$?
  41575. + if test -s conftest.err; then
  41576. + grep -v '^ *+' conftest.err >conftest.er1
  41577. + cat conftest.er1 >&5
  41578. + mv -f conftest.er1 conftest.err
  41579. + fi
  41580. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41581. + test $ac_status = 0; } && {
  41582. + test -z "$ac_c_werror_flag" ||
  41583. + test ! -s conftest.err
  41584. + } && test -s conftest.$ac_objext; then :
  41585. + ac_retval=0
  41586. +else
  41587. + $as_echo "$as_me: failed program was:" >&5
  41588. +sed 's/^/| /' conftest.$ac_ext >&5
  41589. +
  41590. + ac_retval=1
  41591. +fi
  41592. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41593. + as_fn_set_status $ac_retval
  41594. +
  41595. +} @%:@ ac_fn_c_try_compile
  41596. +
  41597. +@%:@ ac_fn_c_try_link LINENO
  41598. +@%:@ -----------------------
  41599. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  41600. +ac_fn_c_try_link ()
  41601. +{
  41602. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41603. + rm -f conftest.$ac_objext conftest$ac_exeext
  41604. + if { { ac_try="$ac_link"
  41605. +case "(($ac_try" in
  41606. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41607. + *) ac_try_echo=$ac_try;;
  41608. +esac
  41609. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41610. +$as_echo "$ac_try_echo"; } >&5
  41611. + (eval "$ac_link") 2>conftest.err
  41612. + ac_status=$?
  41613. + if test -s conftest.err; then
  41614. + grep -v '^ *+' conftest.err >conftest.er1
  41615. + cat conftest.er1 >&5
  41616. + mv -f conftest.er1 conftest.err
  41617. + fi
  41618. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41619. + test $ac_status = 0; } && {
  41620. + test -z "$ac_c_werror_flag" ||
  41621. + test ! -s conftest.err
  41622. + } && test -s conftest$ac_exeext && {
  41623. + test "$cross_compiling" = yes ||
  41624. + test -x conftest$ac_exeext
  41625. + }; then :
  41626. + ac_retval=0
  41627. +else
  41628. + $as_echo "$as_me: failed program was:" >&5
  41629. +sed 's/^/| /' conftest.$ac_ext >&5
  41630. +
  41631. + ac_retval=1
  41632. +fi
  41633. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  41634. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  41635. + # interfere with the next link command; also delete a directory that is
  41636. + # left behind by Apple's compiler. We do this before executing the actions.
  41637. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  41638. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41639. + as_fn_set_status $ac_retval
  41640. +
  41641. +} @%:@ ac_fn_c_try_link
  41642. +
  41643. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  41644. +@%:@ -------------------------------------------------------
  41645. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  41646. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  41647. +ac_fn_c_check_header_compile ()
  41648. +{
  41649. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41650. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  41651. +$as_echo_n "checking for $2... " >&6; }
  41652. +if eval \${$3+:} false; then :
  41653. + $as_echo_n "(cached) " >&6
  41654. +else
  41655. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41656. +/* end confdefs.h. */
  41657. +$4
  41658. +@%:@include <$2>
  41659. +_ACEOF
  41660. +if ac_fn_c_try_compile "$LINENO"; then :
  41661. + eval "$3=yes"
  41662. +else
  41663. + eval "$3=no"
  41664. +fi
  41665. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41666. +fi
  41667. +eval ac_res=\$$3
  41668. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  41669. +$as_echo "$ac_res" >&6; }
  41670. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41671. +
  41672. +} @%:@ ac_fn_c_check_header_compile
  41673. +
  41674. +@%:@ ac_fn_c_try_cpp LINENO
  41675. +@%:@ ----------------------
  41676. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  41677. +ac_fn_c_try_cpp ()
  41678. +{
  41679. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41680. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  41681. +case "(($ac_try" in
  41682. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41683. + *) ac_try_echo=$ac_try;;
  41684. +esac
  41685. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41686. +$as_echo "$ac_try_echo"; } >&5
  41687. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  41688. + ac_status=$?
  41689. + if test -s conftest.err; then
  41690. + grep -v '^ *+' conftest.err >conftest.er1
  41691. + cat conftest.er1 >&5
  41692. + mv -f conftest.er1 conftest.err
  41693. + fi
  41694. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41695. + test $ac_status = 0; } > conftest.i && {
  41696. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  41697. + test ! -s conftest.err
  41698. + }; then :
  41699. + ac_retval=0
  41700. +else
  41701. + $as_echo "$as_me: failed program was:" >&5
  41702. +sed 's/^/| /' conftest.$ac_ext >&5
  41703. +
  41704. + ac_retval=1
  41705. +fi
  41706. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41707. + as_fn_set_status $ac_retval
  41708. +
  41709. +} @%:@ ac_fn_c_try_cpp
  41710. +
  41711. +@%:@ ac_fn_c_try_run LINENO
  41712. +@%:@ ----------------------
  41713. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  41714. +@%:@ that executables *can* be run.
  41715. +ac_fn_c_try_run ()
  41716. +{
  41717. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41718. + if { { ac_try="$ac_link"
  41719. +case "(($ac_try" in
  41720. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41721. + *) ac_try_echo=$ac_try;;
  41722. +esac
  41723. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41724. +$as_echo "$ac_try_echo"; } >&5
  41725. + (eval "$ac_link") 2>&5
  41726. + ac_status=$?
  41727. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41728. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  41729. + { { case "(($ac_try" in
  41730. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41731. + *) ac_try_echo=$ac_try;;
  41732. +esac
  41733. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41734. +$as_echo "$ac_try_echo"; } >&5
  41735. + (eval "$ac_try") 2>&5
  41736. + ac_status=$?
  41737. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41738. + test $ac_status = 0; }; }; then :
  41739. + ac_retval=0
  41740. +else
  41741. + $as_echo "$as_me: program exited with status $ac_status" >&5
  41742. + $as_echo "$as_me: failed program was:" >&5
  41743. +sed 's/^/| /' conftest.$ac_ext >&5
  41744. +
  41745. + ac_retval=$ac_status
  41746. +fi
  41747. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  41748. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41749. + as_fn_set_status $ac_retval
  41750. +
  41751. +} @%:@ ac_fn_c_try_run
  41752. +
  41753. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  41754. +@%:@ ----------------------------------
  41755. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  41756. +ac_fn_c_check_func ()
  41757. +{
  41758. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41759. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  41760. +$as_echo_n "checking for $2... " >&6; }
  41761. +if eval \${$3+:} false; then :
  41762. + $as_echo_n "(cached) " >&6
  41763. +else
  41764. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41765. +/* end confdefs.h. */
  41766. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  41767. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  41768. +#define $2 innocuous_$2
  41769. +
  41770. +/* System header to define __stub macros and hopefully few prototypes,
  41771. + which can conflict with char $2 (); below.
  41772. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  41773. + <limits.h> exists even on freestanding compilers. */
  41774. +
  41775. +#ifdef __STDC__
  41776. +# include <limits.h>
  41777. +#else
  41778. +# include <assert.h>
  41779. +#endif
  41780. +
  41781. +#undef $2
  41782. +
  41783. +/* Override any GCC internal prototype to avoid an error.
  41784. + Use char because int might match the return type of a GCC
  41785. + builtin and then its argument prototype would still apply. */
  41786. +#ifdef __cplusplus
  41787. +extern "C"
  41788. +#endif
  41789. +char $2 ();
  41790. +/* The GNU C library defines this for functions which it implements
  41791. + to always fail with ENOSYS. Some functions are actually named
  41792. + something starting with __ and the normal name is an alias. */
  41793. +#if defined __stub_$2 || defined __stub___$2
  41794. +choke me
  41795. +#endif
  41796. +
  41797. +int
  41798. +main ()
  41799. +{
  41800. +return $2 ();
  41801. + ;
  41802. + return 0;
  41803. +}
  41804. +_ACEOF
  41805. +if ac_fn_c_try_link "$LINENO"; then :
  41806. + eval "$3=yes"
  41807. +else
  41808. + eval "$3=no"
  41809. +fi
  41810. +rm -f core conftest.err conftest.$ac_objext \
  41811. + conftest$ac_exeext conftest.$ac_ext
  41812. +fi
  41813. +eval ac_res=\$$3
  41814. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  41815. +$as_echo "$ac_res" >&6; }
  41816. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41817. +
  41818. +} @%:@ ac_fn_c_check_func
  41819. +
  41820. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  41821. +@%:@ --------------------------------------------
  41822. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  41823. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  41824. +@%:@ computed
  41825. +ac_fn_c_compute_int ()
  41826. +{
  41827. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  41828. + if test "$cross_compiling" = yes; then
  41829. + # Depending upon the size, compute the lo and hi bounds.
  41830. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41831. +/* end confdefs.h. */
  41832. +$4
  41833. +int
  41834. +main ()
  41835. +{
  41836. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  41837. +test_array @<:@0@:>@ = 0;
  41838. +return test_array @<:@0@:>@;
  41839. +
  41840. + ;
  41841. + return 0;
  41842. +}
  41843. +_ACEOF
  41844. +if ac_fn_c_try_compile "$LINENO"; then :
  41845. + ac_lo=0 ac_mid=0
  41846. + while :; do
  41847. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41848. +/* end confdefs.h. */
  41849. +$4
  41850. +int
  41851. +main ()
  41852. +{
  41853. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  41854. +test_array @<:@0@:>@ = 0;
  41855. +return test_array @<:@0@:>@;
  41856. +
  41857. + ;
  41858. + return 0;
  41859. +}
  41860. +_ACEOF
  41861. +if ac_fn_c_try_compile "$LINENO"; then :
  41862. + ac_hi=$ac_mid; break
  41863. +else
  41864. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  41865. + if test $ac_lo -le $ac_mid; then
  41866. + ac_lo= ac_hi=
  41867. + break
  41868. + fi
  41869. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  41870. +fi
  41871. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41872. + done
  41873. +else
  41874. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41875. +/* end confdefs.h. */
  41876. +$4
  41877. +int
  41878. +main ()
  41879. +{
  41880. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  41881. +test_array @<:@0@:>@ = 0;
  41882. +return test_array @<:@0@:>@;
  41883. +
  41884. + ;
  41885. + return 0;
  41886. +}
  41887. +_ACEOF
  41888. +if ac_fn_c_try_compile "$LINENO"; then :
  41889. + ac_hi=-1 ac_mid=-1
  41890. + while :; do
  41891. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41892. +/* end confdefs.h. */
  41893. +$4
  41894. +int
  41895. +main ()
  41896. +{
  41897. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  41898. +test_array @<:@0@:>@ = 0;
  41899. +return test_array @<:@0@:>@;
  41900. +
  41901. + ;
  41902. + return 0;
  41903. +}
  41904. +_ACEOF
  41905. +if ac_fn_c_try_compile "$LINENO"; then :
  41906. + ac_lo=$ac_mid; break
  41907. +else
  41908. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  41909. + if test $ac_mid -le $ac_hi; then
  41910. + ac_lo= ac_hi=
  41911. + break
  41912. + fi
  41913. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  41914. +fi
  41915. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41916. + done
  41917. +else
  41918. + ac_lo= ac_hi=
  41919. +fi
  41920. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41921. +fi
  41922. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41923. +# Binary search between lo and hi bounds.
  41924. +while test "x$ac_lo" != "x$ac_hi"; do
  41925. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  41926. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41927. +/* end confdefs.h. */
  41928. +$4
  41929. +int
  41930. +main ()
  41931. +{
  41932. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  41933. +test_array @<:@0@:>@ = 0;
  41934. +return test_array @<:@0@:>@;
  41935. +
  41936. + ;
  41937. + return 0;
  41938. +}
  41939. +_ACEOF
  41940. +if ac_fn_c_try_compile "$LINENO"; then :
  41941. + ac_hi=$ac_mid
  41942. +else
  41943. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  41944. +fi
  41945. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41946. +done
  41947. +case $ac_lo in @%:@((
  41948. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  41949. +'') ac_retval=1 ;;
  41950. +esac
  41951. + else
  41952. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41953. +/* end confdefs.h. */
  41954. +$4
  41955. +static long int longval () { return $2; }
  41956. +static unsigned long int ulongval () { return $2; }
  41957. +@%:@include <stdio.h>
  41958. +@%:@include <stdlib.h>
  41959. +int
  41960. +main ()
  41961. +{
  41962. +
  41963. + FILE *f = fopen ("conftest.val", "w");
  41964. + if (! f)
  41965. + return 1;
  41966. + if (($2) < 0)
  41967. + {
  41968. + long int i = longval ();
  41969. + if (i != ($2))
  41970. + return 1;
  41971. + fprintf (f, "%ld", i);
  41972. + }
  41973. + else
  41974. + {
  41975. + unsigned long int i = ulongval ();
  41976. + if (i != ($2))
  41977. + return 1;
  41978. + fprintf (f, "%lu", i);
  41979. + }
  41980. + /* Do not output a trailing newline, as this causes \r\n confusion
  41981. + on some platforms. */
  41982. + return ferror (f) || fclose (f) != 0;
  41983. +
  41984. + ;
  41985. + return 0;
  41986. +}
  41987. +_ACEOF
  41988. +if ac_fn_c_try_run "$LINENO"; then :
  41989. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  41990. +else
  41991. + ac_retval=1
  41992. +fi
  41993. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  41994. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  41995. +rm -f conftest.val
  41996. +
  41997. + fi
  41998. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  41999. + as_fn_set_status $ac_retval
  42000. +
  42001. +} @%:@ ac_fn_c_compute_int
  42002. +
  42003. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  42004. +@%:@ -------------------------------------------------------
  42005. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  42006. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  42007. +@%:@ accordingly.
  42008. +ac_fn_c_check_header_mongrel ()
  42009. +{
  42010. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  42011. + if eval \${$3+:} false; then :
  42012. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  42013. +$as_echo_n "checking for $2... " >&6; }
  42014. +if eval \${$3+:} false; then :
  42015. + $as_echo_n "(cached) " >&6
  42016. +fi
  42017. +eval ac_res=\$$3
  42018. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  42019. +$as_echo "$ac_res" >&6; }
  42020. +else
  42021. + # Is the header compilable?
  42022. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  42023. +$as_echo_n "checking $2 usability... " >&6; }
  42024. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42025. +/* end confdefs.h. */
  42026. +$4
  42027. +@%:@include <$2>
  42028. +_ACEOF
  42029. +if ac_fn_c_try_compile "$LINENO"; then :
  42030. + ac_header_compiler=yes
  42031. +else
  42032. + ac_header_compiler=no
  42033. +fi
  42034. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42035. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  42036. +$as_echo "$ac_header_compiler" >&6; }
  42037. +
  42038. +# Is the header present?
  42039. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  42040. +$as_echo_n "checking $2 presence... " >&6; }
  42041. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42042. +/* end confdefs.h. */
  42043. +@%:@include <$2>
  42044. +_ACEOF
  42045. +if ac_fn_c_try_cpp "$LINENO"; then :
  42046. + ac_header_preproc=yes
  42047. +else
  42048. + ac_header_preproc=no
  42049. +fi
  42050. +rm -f conftest.err conftest.i conftest.$ac_ext
  42051. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  42052. +$as_echo "$ac_header_preproc" >&6; }
  42053. +
  42054. +# So? What about this header?
  42055. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  42056. + yes:no: )
  42057. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  42058. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  42059. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  42060. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  42061. + ;;
  42062. + no:yes:* )
  42063. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  42064. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  42065. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  42066. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  42067. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  42068. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  42069. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  42070. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  42071. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  42072. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  42073. + ;;
  42074. +esac
  42075. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  42076. +$as_echo_n "checking for $2... " >&6; }
  42077. +if eval \${$3+:} false; then :
  42078. + $as_echo_n "(cached) " >&6
  42079. +else
  42080. + eval "$3=\$ac_header_compiler"
  42081. +fi
  42082. +eval ac_res=\$$3
  42083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  42084. +$as_echo "$ac_res" >&6; }
  42085. +fi
  42086. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  42087. +
  42088. +} @%:@ ac_fn_c_check_header_mongrel
  42089. +
  42090. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  42091. +@%:@ -------------------------------------------
  42092. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  42093. +@%:@ variable VAR accordingly.
  42094. +ac_fn_c_check_type ()
  42095. +{
  42096. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  42097. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  42098. +$as_echo_n "checking for $2... " >&6; }
  42099. +if eval \${$3+:} false; then :
  42100. + $as_echo_n "(cached) " >&6
  42101. +else
  42102. + eval "$3=no"
  42103. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42104. +/* end confdefs.h. */
  42105. +$4
  42106. +int
  42107. +main ()
  42108. +{
  42109. +if (sizeof ($2))
  42110. + return 0;
  42111. + ;
  42112. + return 0;
  42113. +}
  42114. +_ACEOF
  42115. +if ac_fn_c_try_compile "$LINENO"; then :
  42116. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42117. +/* end confdefs.h. */
  42118. +$4
  42119. +int
  42120. +main ()
  42121. +{
  42122. +if (sizeof (($2)))
  42123. + return 0;
  42124. + ;
  42125. + return 0;
  42126. +}
  42127. +_ACEOF
  42128. +if ac_fn_c_try_compile "$LINENO"; then :
  42129. +
  42130. +else
  42131. + eval "$3=yes"
  42132. +fi
  42133. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42134. +fi
  42135. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42136. +fi
  42137. +eval ac_res=\$$3
  42138. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  42139. +$as_echo "$ac_res" >&6; }
  42140. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  42141. +
  42142. +} @%:@ ac_fn_c_check_type
  42143. +cat >config.log <<_ACEOF
  42144. +This file contains any messages produced by compilers while
  42145. +running configure, to aid debugging if configure makes a mistake.
  42146. +
  42147. +It was created by fiasco $as_me 1.3, which was
  42148. +generated by GNU Autoconf 2.69. Invocation command line was
  42149. +
  42150. + $ $0 $@
  42151. +
  42152. +_ACEOF
  42153. +exec 5>>config.log
  42154. +{
  42155. +cat <<_ASUNAME
  42156. +## --------- ##
  42157. +## Platform. ##
  42158. +## --------- ##
  42159. +
  42160. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  42161. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  42162. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  42163. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  42164. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  42165. +
  42166. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  42167. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  42168. +
  42169. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  42170. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  42171. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  42172. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  42173. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  42174. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  42175. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  42176. +
  42177. +_ASUNAME
  42178. +
  42179. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42180. +for as_dir in $PATH
  42181. +do
  42182. + IFS=$as_save_IFS
  42183. + test -z "$as_dir" && as_dir=.
  42184. + $as_echo "PATH: $as_dir"
  42185. + done
  42186. +IFS=$as_save_IFS
  42187. +
  42188. +} >&5
  42189. +
  42190. +cat >&5 <<_ACEOF
  42191. +
  42192. +
  42193. +## ----------- ##
  42194. +## Core tests. ##
  42195. +## ----------- ##
  42196. +
  42197. +_ACEOF
  42198. +
  42199. +
  42200. +# Keep a trace of the command line.
  42201. +# Strip out --no-create and --no-recursion so they do not pile up.
  42202. +# Strip out --silent because we don't want to record it for future runs.
  42203. +# Also quote any args containing shell meta-characters.
  42204. +# Make two passes to allow for proper duplicate-argument suppression.
  42205. +ac_configure_args=
  42206. +ac_configure_args0=
  42207. +ac_configure_args1=
  42208. +ac_must_keep_next=false
  42209. +for ac_pass in 1 2
  42210. +do
  42211. + for ac_arg
  42212. + do
  42213. + case $ac_arg in
  42214. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  42215. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  42216. + | -silent | --silent | --silen | --sile | --sil)
  42217. + continue ;;
  42218. + *\'*)
  42219. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  42220. + esac
  42221. + case $ac_pass in
  42222. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  42223. + 2)
  42224. + as_fn_append ac_configure_args1 " '$ac_arg'"
  42225. + if test $ac_must_keep_next = true; then
  42226. + ac_must_keep_next=false # Got value, back to normal.
  42227. + else
  42228. + case $ac_arg in
  42229. + *=* | --config-cache | -C | -disable-* | --disable-* \
  42230. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  42231. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  42232. + | -with-* | --with-* | -without-* | --without-* | --x)
  42233. + case "$ac_configure_args0 " in
  42234. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  42235. + esac
  42236. + ;;
  42237. + -* ) ac_must_keep_next=true ;;
  42238. + esac
  42239. + fi
  42240. + as_fn_append ac_configure_args " '$ac_arg'"
  42241. + ;;
  42242. + esac
  42243. + done
  42244. +done
  42245. +{ ac_configure_args0=; unset ac_configure_args0;}
  42246. +{ ac_configure_args1=; unset ac_configure_args1;}
  42247. +
  42248. +# When interrupted or exit'd, cleanup temporary files, and complete
  42249. +# config.log. We remove comments because anyway the quotes in there
  42250. +# would cause problems or look ugly.
  42251. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  42252. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  42253. +trap 'exit_status=$?
  42254. + # Save into config.log some information that might help in debugging.
  42255. + {
  42256. + echo
  42257. +
  42258. + $as_echo "## ---------------- ##
  42259. +## Cache variables. ##
  42260. +## ---------------- ##"
  42261. + echo
  42262. + # The following way of writing the cache mishandles newlines in values,
  42263. +(
  42264. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  42265. + eval ac_val=\$$ac_var
  42266. + case $ac_val in #(
  42267. + *${as_nl}*)
  42268. + case $ac_var in #(
  42269. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  42270. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  42271. + esac
  42272. + case $ac_var in #(
  42273. + _ | IFS | as_nl) ;; #(
  42274. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  42275. + *) { eval $ac_var=; unset $ac_var;} ;;
  42276. + esac ;;
  42277. + esac
  42278. + done
  42279. + (set) 2>&1 |
  42280. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  42281. + *${as_nl}ac_space=\ *)
  42282. + sed -n \
  42283. + "s/'\''/'\''\\\\'\'''\''/g;
  42284. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  42285. + ;; #(
  42286. + *)
  42287. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  42288. + ;;
  42289. + esac |
  42290. + sort
  42291. +)
  42292. + echo
  42293. +
  42294. + $as_echo "## ----------------- ##
  42295. +## Output variables. ##
  42296. +## ----------------- ##"
  42297. + echo
  42298. + for ac_var in $ac_subst_vars
  42299. + do
  42300. + eval ac_val=\$$ac_var
  42301. + case $ac_val in
  42302. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  42303. + esac
  42304. + $as_echo "$ac_var='\''$ac_val'\''"
  42305. + done | sort
  42306. + echo
  42307. +
  42308. + if test -n "$ac_subst_files"; then
  42309. + $as_echo "## ------------------- ##
  42310. +## File substitutions. ##
  42311. +## ------------------- ##"
  42312. + echo
  42313. + for ac_var in $ac_subst_files
  42314. + do
  42315. + eval ac_val=\$$ac_var
  42316. + case $ac_val in
  42317. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  42318. + esac
  42319. + $as_echo "$ac_var='\''$ac_val'\''"
  42320. + done | sort
  42321. + echo
  42322. + fi
  42323. +
  42324. + if test -s confdefs.h; then
  42325. + $as_echo "## ----------- ##
  42326. +## confdefs.h. ##
  42327. +## ----------- ##"
  42328. + echo
  42329. + cat confdefs.h
  42330. + echo
  42331. + fi
  42332. + test "$ac_signal" != 0 &&
  42333. + $as_echo "$as_me: caught signal $ac_signal"
  42334. + $as_echo "$as_me: exit $exit_status"
  42335. + } >&5
  42336. + rm -f core *.core core.conftest.* &&
  42337. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  42338. + exit $exit_status
  42339. +' 0
  42340. +for ac_signal in 1 2 13 15; do
  42341. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  42342. +done
  42343. +ac_signal=0
  42344. +
  42345. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  42346. +rm -f -r conftest* confdefs.h
  42347. +
  42348. +$as_echo "/* confdefs.h */" > confdefs.h
  42349. +
  42350. +# Predefined preprocessor variables.
  42351. +
  42352. +cat >>confdefs.h <<_ACEOF
  42353. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  42354. +_ACEOF
  42355. +
  42356. +cat >>confdefs.h <<_ACEOF
  42357. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  42358. +_ACEOF
  42359. +
  42360. +cat >>confdefs.h <<_ACEOF
  42361. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  42362. +_ACEOF
  42363. +
  42364. +cat >>confdefs.h <<_ACEOF
  42365. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  42366. +_ACEOF
  42367. +
  42368. +cat >>confdefs.h <<_ACEOF
  42369. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  42370. +_ACEOF
  42371. +
  42372. +cat >>confdefs.h <<_ACEOF
  42373. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  42374. +_ACEOF
  42375. +
  42376. +
  42377. +# Let the site file select an alternate cache file if it wants to.
  42378. +# Prefer an explicitly selected file to automatically selected ones.
  42379. +ac_site_file1=NONE
  42380. +ac_site_file2=NONE
  42381. +if test -n "$CONFIG_SITE"; then
  42382. + # We do not want a PATH search for config.site.
  42383. + case $CONFIG_SITE in @%:@((
  42384. + -*) ac_site_file1=./$CONFIG_SITE;;
  42385. + */*) ac_site_file1=$CONFIG_SITE;;
  42386. + *) ac_site_file1=./$CONFIG_SITE;;
  42387. + esac
  42388. +elif test "x$prefix" != xNONE; then
  42389. + ac_site_file1=$prefix/share/config.site
  42390. + ac_site_file2=$prefix/etc/config.site
  42391. +else
  42392. + ac_site_file1=$ac_default_prefix/share/config.site
  42393. + ac_site_file2=$ac_default_prefix/etc/config.site
  42394. +fi
  42395. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  42396. +do
  42397. + test "x$ac_site_file" = xNONE && continue
  42398. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  42399. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  42400. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  42401. + sed 's/^/| /' "$ac_site_file" >&5
  42402. + . "$ac_site_file" \
  42403. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  42404. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  42405. +as_fn_error $? "failed to load site script $ac_site_file
  42406. +See \`config.log' for more details" "$LINENO" 5; }
  42407. + fi
  42408. +done
  42409. +
  42410. +if test -r "$cache_file"; then
  42411. + # Some versions of bash will fail to source /dev/null (special files
  42412. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  42413. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  42414. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  42415. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  42416. + case $cache_file in
  42417. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  42418. + *) . "./$cache_file";;
  42419. + esac
  42420. + fi
  42421. +else
  42422. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  42423. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  42424. + >$cache_file
  42425. +fi
  42426. +
  42427. +# Check that the precious variables saved in the cache have kept the same
  42428. +# value.
  42429. +ac_cache_corrupted=false
  42430. +for ac_var in $ac_precious_vars; do
  42431. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  42432. + eval ac_new_set=\$ac_env_${ac_var}_set
  42433. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  42434. + eval ac_new_val=\$ac_env_${ac_var}_value
  42435. + case $ac_old_set,$ac_new_set in
  42436. + set,)
  42437. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  42438. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  42439. + ac_cache_corrupted=: ;;
  42440. + ,set)
  42441. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  42442. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  42443. + ac_cache_corrupted=: ;;
  42444. + ,);;
  42445. + *)
  42446. + if test "x$ac_old_val" != "x$ac_new_val"; then
  42447. + # differences in whitespace do not lead to failure.
  42448. + ac_old_val_w=`echo x $ac_old_val`
  42449. + ac_new_val_w=`echo x $ac_new_val`
  42450. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  42451. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  42452. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  42453. + ac_cache_corrupted=:
  42454. + else
  42455. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  42456. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  42457. + eval $ac_var=\$ac_old_val
  42458. + fi
  42459. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  42460. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  42461. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  42462. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  42463. + fi;;
  42464. + esac
  42465. + # Pass precious variables to config.status.
  42466. + if test "$ac_new_set" = set; then
  42467. + case $ac_new_val in
  42468. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  42469. + *) ac_arg=$ac_var=$ac_new_val ;;
  42470. + esac
  42471. + case " $ac_configure_args " in
  42472. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  42473. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  42474. + esac
  42475. + fi
  42476. +done
  42477. +if $ac_cache_corrupted; then
  42478. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  42479. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  42480. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  42481. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  42482. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  42483. +fi
  42484. +## -------------------- ##
  42485. +## Main body of script. ##
  42486. +## -------------------- ##
  42487. +
  42488. +ac_ext=c
  42489. +ac_cpp='$CPP $CPPFLAGS'
  42490. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  42491. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  42492. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  42493. +
  42494. +
  42495. +
  42496. +am__api_version='1.16'
  42497. +
  42498. +ac_aux_dir=
  42499. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  42500. + if test -f "$ac_dir/install-sh"; then
  42501. + ac_aux_dir=$ac_dir
  42502. + ac_install_sh="$ac_aux_dir/install-sh -c"
  42503. + break
  42504. + elif test -f "$ac_dir/install.sh"; then
  42505. + ac_aux_dir=$ac_dir
  42506. + ac_install_sh="$ac_aux_dir/install.sh -c"
  42507. + break
  42508. + elif test -f "$ac_dir/shtool"; then
  42509. + ac_aux_dir=$ac_dir
  42510. + ac_install_sh="$ac_aux_dir/shtool install -c"
  42511. + break
  42512. + fi
  42513. +done
  42514. +if test -z "$ac_aux_dir"; then
  42515. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  42516. +fi
  42517. +
  42518. +# These three variables are undocumented and unsupported,
  42519. +# and are intended to be withdrawn in a future Autoconf release.
  42520. +# They can cause serious problems if a builder's source tree is in a directory
  42521. +# whose full name contains unusual characters.
  42522. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  42523. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  42524. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  42525. +
  42526. +
  42527. +# Find a good install program. We prefer a C program (faster),
  42528. +# so one script is as good as another. But avoid the broken or
  42529. +# incompatible versions:
  42530. +# SysV /etc/install, /usr/sbin/install
  42531. +# SunOS /usr/etc/install
  42532. +# IRIX /sbin/install
  42533. +# AIX /bin/install
  42534. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  42535. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  42536. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  42537. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  42538. +# OS/2's system install, which has a completely different semantic
  42539. +# ./install, which can be erroneously created by make from ./install.sh.
  42540. +# Reject install programs that cannot install multiple files.
  42541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  42542. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  42543. +if test -z "$INSTALL"; then
  42544. +if ${ac_cv_path_install+:} false; then :
  42545. + $as_echo_n "(cached) " >&6
  42546. +else
  42547. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42548. +for as_dir in $PATH
  42549. +do
  42550. + IFS=$as_save_IFS
  42551. + test -z "$as_dir" && as_dir=.
  42552. + # Account for people who put trailing slashes in PATH elements.
  42553. +case $as_dir/ in @%:@((
  42554. + ./ | .// | /[cC]/* | \
  42555. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  42556. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  42557. + /usr/ucb/* ) ;;
  42558. + *)
  42559. + # OSF1 and SCO ODT 3.0 have their own names for install.
  42560. + # Don't use installbsd from OSF since it installs stuff as root
  42561. + # by default.
  42562. + for ac_prog in ginstall scoinst install; do
  42563. + for ac_exec_ext in '' $ac_executable_extensions; do
  42564. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  42565. + if test $ac_prog = install &&
  42566. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  42567. + # AIX install. It has an incompatible calling convention.
  42568. + :
  42569. + elif test $ac_prog = install &&
  42570. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  42571. + # program-specific install script used by HP pwplus--don't use.
  42572. + :
  42573. + else
  42574. + rm -rf conftest.one conftest.two conftest.dir
  42575. + echo one > conftest.one
  42576. + echo two > conftest.two
  42577. + mkdir conftest.dir
  42578. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  42579. + test -s conftest.one && test -s conftest.two &&
  42580. + test -s conftest.dir/conftest.one &&
  42581. + test -s conftest.dir/conftest.two
  42582. + then
  42583. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  42584. + break 3
  42585. + fi
  42586. + fi
  42587. + fi
  42588. + done
  42589. + done
  42590. + ;;
  42591. +esac
  42592. +
  42593. + done
  42594. +IFS=$as_save_IFS
  42595. +
  42596. +rm -rf conftest.one conftest.two conftest.dir
  42597. +
  42598. +fi
  42599. + if test "${ac_cv_path_install+set}" = set; then
  42600. + INSTALL=$ac_cv_path_install
  42601. + else
  42602. + # As a last resort, use the slow shell script. Don't cache a
  42603. + # value for INSTALL within a source directory, because that will
  42604. + # break other packages using the cache if that directory is
  42605. + # removed, or if the value is a relative name.
  42606. + INSTALL=$ac_install_sh
  42607. + fi
  42608. +fi
  42609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  42610. +$as_echo "$INSTALL" >&6; }
  42611. +
  42612. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  42613. +# It thinks the first close brace ends the variable substitution.
  42614. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  42615. +
  42616. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  42617. +
  42618. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  42619. +
  42620. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  42621. +$as_echo_n "checking whether build environment is sane... " >&6; }
  42622. +# Reject unsafe characters in $srcdir or the absolute working directory
  42623. +# name. Accept space and tab only in the latter.
  42624. +am_lf='
  42625. +'
  42626. +case `pwd` in
  42627. + *[\\\"\#\$\&\'\`$am_lf]*)
  42628. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  42629. +esac
  42630. +case $srcdir in
  42631. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  42632. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  42633. +esac
  42634. +
  42635. +# Do 'set' in a subshell so we don't clobber the current shell's
  42636. +# arguments. Must try -L first in case configure is actually a
  42637. +# symlink; some systems play weird games with the mod time of symlinks
  42638. +# (eg FreeBSD returns the mod time of the symlink's containing
  42639. +# directory).
  42640. +if (
  42641. + am_has_slept=no
  42642. + for am_try in 1 2; do
  42643. + echo "timestamp, slept: $am_has_slept" > conftest.file
  42644. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  42645. + if test "$*" = "X"; then
  42646. + # -L didn't work.
  42647. + set X `ls -t "$srcdir/configure" conftest.file`
  42648. + fi
  42649. + if test "$*" != "X $srcdir/configure conftest.file" \
  42650. + && test "$*" != "X conftest.file $srcdir/configure"; then
  42651. +
  42652. + # If neither matched, then we have a broken ls. This can happen
  42653. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  42654. + # broken ls alias from the environment. This has actually
  42655. + # happened. Such a system could not be considered "sane".
  42656. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  42657. + alias in your environment" "$LINENO" 5
  42658. + fi
  42659. + if test "$2" = conftest.file || test $am_try -eq 2; then
  42660. + break
  42661. + fi
  42662. + # Just in case.
  42663. + sleep 1
  42664. + am_has_slept=yes
  42665. + done
  42666. + test "$2" = conftest.file
  42667. + )
  42668. +then
  42669. + # Ok.
  42670. + :
  42671. +else
  42672. + as_fn_error $? "newly created file is older than distributed files!
  42673. +Check your system clock" "$LINENO" 5
  42674. +fi
  42675. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  42676. +$as_echo "yes" >&6; }
  42677. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  42678. +# generated files are strictly newer.
  42679. +am_sleep_pid=
  42680. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  42681. + ( sleep 1 ) &
  42682. + am_sleep_pid=$!
  42683. +fi
  42684. +
  42685. +rm -f conftest.file
  42686. +
  42687. +test "$program_prefix" != NONE &&
  42688. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  42689. +# Use a double $ so make ignores it.
  42690. +test "$program_suffix" != NONE &&
  42691. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  42692. +# Double any \ or $.
  42693. +# By default was `s,x,x', remove it if useless.
  42694. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  42695. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  42696. +
  42697. +# Expand $ac_aux_dir to an absolute path.
  42698. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  42699. +
  42700. +if test x"${MISSING+set}" != xset; then
  42701. + case $am_aux_dir in
  42702. + *\ * | *\ *)
  42703. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  42704. + *)
  42705. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  42706. + esac
  42707. +fi
  42708. +# Use eval to expand $SHELL
  42709. +if eval "$MISSING --is-lightweight"; then
  42710. + am_missing_run="$MISSING "
  42711. +else
  42712. + am_missing_run=
  42713. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  42714. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  42715. +fi
  42716. +
  42717. +if test x"${install_sh+set}" != xset; then
  42718. + case $am_aux_dir in
  42719. + *\ * | *\ *)
  42720. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  42721. + *)
  42722. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  42723. + esac
  42724. +fi
  42725. +
  42726. +# Installed binaries are usually stripped using 'strip' when the user
  42727. +# run "make install-strip". However 'strip' might not be the right
  42728. +# tool to use in cross-compilation environments, therefore Automake
  42729. +# will honor the 'STRIP' environment variable to overrule this program.
  42730. +if test "$cross_compiling" != no; then
  42731. + if test -n "$ac_tool_prefix"; then
  42732. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  42733. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  42734. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42735. +$as_echo_n "checking for $ac_word... " >&6; }
  42736. +if ${ac_cv_prog_STRIP+:} false; then :
  42737. + $as_echo_n "(cached) " >&6
  42738. +else
  42739. + if test -n "$STRIP"; then
  42740. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  42741. +else
  42742. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42743. +for as_dir in $PATH
  42744. +do
  42745. + IFS=$as_save_IFS
  42746. + test -z "$as_dir" && as_dir=.
  42747. + for ac_exec_ext in '' $ac_executable_extensions; do
  42748. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42749. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  42750. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42751. + break 2
  42752. + fi
  42753. +done
  42754. + done
  42755. +IFS=$as_save_IFS
  42756. +
  42757. +fi
  42758. +fi
  42759. +STRIP=$ac_cv_prog_STRIP
  42760. +if test -n "$STRIP"; then
  42761. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  42762. +$as_echo "$STRIP" >&6; }
  42763. +else
  42764. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42765. +$as_echo "no" >&6; }
  42766. +fi
  42767. +
  42768. +
  42769. +fi
  42770. +if test -z "$ac_cv_prog_STRIP"; then
  42771. + ac_ct_STRIP=$STRIP
  42772. + # Extract the first word of "strip", so it can be a program name with args.
  42773. +set dummy strip; ac_word=$2
  42774. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42775. +$as_echo_n "checking for $ac_word... " >&6; }
  42776. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  42777. + $as_echo_n "(cached) " >&6
  42778. +else
  42779. + if test -n "$ac_ct_STRIP"; then
  42780. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  42781. +else
  42782. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42783. +for as_dir in $PATH
  42784. +do
  42785. + IFS=$as_save_IFS
  42786. + test -z "$as_dir" && as_dir=.
  42787. + for ac_exec_ext in '' $ac_executable_extensions; do
  42788. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42789. + ac_cv_prog_ac_ct_STRIP="strip"
  42790. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42791. + break 2
  42792. + fi
  42793. +done
  42794. + done
  42795. +IFS=$as_save_IFS
  42796. +
  42797. +fi
  42798. +fi
  42799. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  42800. +if test -n "$ac_ct_STRIP"; then
  42801. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  42802. +$as_echo "$ac_ct_STRIP" >&6; }
  42803. +else
  42804. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42805. +$as_echo "no" >&6; }
  42806. +fi
  42807. +
  42808. + if test "x$ac_ct_STRIP" = x; then
  42809. + STRIP=":"
  42810. + else
  42811. + case $cross_compiling:$ac_tool_warned in
  42812. +yes:)
  42813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  42814. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  42815. +ac_tool_warned=yes ;;
  42816. +esac
  42817. + STRIP=$ac_ct_STRIP
  42818. + fi
  42819. +else
  42820. + STRIP="$ac_cv_prog_STRIP"
  42821. +fi
  42822. +
  42823. +fi
  42824. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  42825. +
  42826. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  42827. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  42828. +if test -z "$MKDIR_P"; then
  42829. + if ${ac_cv_path_mkdir+:} false; then :
  42830. + $as_echo_n "(cached) " >&6
  42831. +else
  42832. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42833. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  42834. +do
  42835. + IFS=$as_save_IFS
  42836. + test -z "$as_dir" && as_dir=.
  42837. + for ac_prog in mkdir gmkdir; do
  42838. + for ac_exec_ext in '' $ac_executable_extensions; do
  42839. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  42840. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  42841. + 'mkdir (GNU coreutils) '* | \
  42842. + 'mkdir (coreutils) '* | \
  42843. + 'mkdir (fileutils) '4.1*)
  42844. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  42845. + break 3;;
  42846. + esac
  42847. + done
  42848. + done
  42849. + done
  42850. +IFS=$as_save_IFS
  42851. +
  42852. +fi
  42853. +
  42854. + test -d ./--version && rmdir ./--version
  42855. + if test "${ac_cv_path_mkdir+set}" = set; then
  42856. + MKDIR_P="$ac_cv_path_mkdir -p"
  42857. + else
  42858. + # As a last resort, use the slow shell script. Don't cache a
  42859. + # value for MKDIR_P within a source directory, because that will
  42860. + # break other packages using the cache if that directory is
  42861. + # removed, or if the value is a relative name.
  42862. + MKDIR_P="$ac_install_sh -d"
  42863. + fi
  42864. +fi
  42865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  42866. +$as_echo "$MKDIR_P" >&6; }
  42867. +
  42868. +for ac_prog in gawk mawk nawk awk
  42869. +do
  42870. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  42871. +set dummy $ac_prog; ac_word=$2
  42872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42873. +$as_echo_n "checking for $ac_word... " >&6; }
  42874. +if ${ac_cv_prog_AWK+:} false; then :
  42875. + $as_echo_n "(cached) " >&6
  42876. +else
  42877. + if test -n "$AWK"; then
  42878. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  42879. +else
  42880. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42881. +for as_dir in $PATH
  42882. +do
  42883. + IFS=$as_save_IFS
  42884. + test -z "$as_dir" && as_dir=.
  42885. + for ac_exec_ext in '' $ac_executable_extensions; do
  42886. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42887. + ac_cv_prog_AWK="$ac_prog"
  42888. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42889. + break 2
  42890. + fi
  42891. +done
  42892. + done
  42893. +IFS=$as_save_IFS
  42894. +
  42895. +fi
  42896. +fi
  42897. +AWK=$ac_cv_prog_AWK
  42898. +if test -n "$AWK"; then
  42899. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  42900. +$as_echo "$AWK" >&6; }
  42901. +else
  42902. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42903. +$as_echo "no" >&6; }
  42904. +fi
  42905. +
  42906. +
  42907. + test -n "$AWK" && break
  42908. +done
  42909. +
  42910. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  42911. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  42912. +set x ${MAKE-make}
  42913. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  42914. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  42915. + $as_echo_n "(cached) " >&6
  42916. +else
  42917. + cat >conftest.make <<\_ACEOF
  42918. +SHELL = /bin/sh
  42919. +all:
  42920. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  42921. +_ACEOF
  42922. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  42923. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  42924. + *@@@%%%=?*=@@@%%%*)
  42925. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  42926. + *)
  42927. + eval ac_cv_prog_make_${ac_make}_set=no;;
  42928. +esac
  42929. +rm -f conftest.make
  42930. +fi
  42931. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  42932. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  42933. +$as_echo "yes" >&6; }
  42934. + SET_MAKE=
  42935. +else
  42936. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42937. +$as_echo "no" >&6; }
  42938. + SET_MAKE="MAKE=${MAKE-make}"
  42939. +fi
  42940. +
  42941. +rm -rf .tst 2>/dev/null
  42942. +mkdir .tst 2>/dev/null
  42943. +if test -d .tst; then
  42944. + am__leading_dot=.
  42945. +else
  42946. + am__leading_dot=_
  42947. +fi
  42948. +rmdir .tst 2>/dev/null
  42949. +
  42950. +@%:@ Check whether --enable-silent-rules was given.
  42951. +if test "${enable_silent_rules+set}" = set; then :
  42952. + enableval=$enable_silent_rules;
  42953. +fi
  42954. +
  42955. +case $enable_silent_rules in @%:@ (((
  42956. + yes) AM_DEFAULT_VERBOSITY=0;;
  42957. + no) AM_DEFAULT_VERBOSITY=1;;
  42958. + *) AM_DEFAULT_VERBOSITY=1;;
  42959. +esac
  42960. +am_make=${MAKE-make}
  42961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  42962. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  42963. +if ${am_cv_make_support_nested_variables+:} false; then :
  42964. + $as_echo_n "(cached) " >&6
  42965. +else
  42966. + if $as_echo 'TRUE=$(BAR$(V))
  42967. +BAR0=false
  42968. +BAR1=true
  42969. +V=1
  42970. +am__doit:
  42971. + @$(TRUE)
  42972. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  42973. + am_cv_make_support_nested_variables=yes
  42974. +else
  42975. + am_cv_make_support_nested_variables=no
  42976. +fi
  42977. +fi
  42978. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  42979. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  42980. +if test $am_cv_make_support_nested_variables = yes; then
  42981. + AM_V='$(V)'
  42982. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  42983. +else
  42984. + AM_V=$AM_DEFAULT_VERBOSITY
  42985. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  42986. +fi
  42987. +AM_BACKSLASH='\'
  42988. +
  42989. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  42990. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  42991. + # is not polluted with repeated "-I."
  42992. + am__isrc=' -I$(srcdir)'
  42993. + # test to see if srcdir already configured
  42994. + if test -f $srcdir/config.status; then
  42995. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  42996. + fi
  42997. +fi
  42998. +
  42999. +# test whether we have cygpath
  43000. +if test -z "$CYGPATH_W"; then
  43001. + if (cygpath --version) >/dev/null 2>/dev/null; then
  43002. + CYGPATH_W='cygpath -w'
  43003. + else
  43004. + CYGPATH_W=echo
  43005. + fi
  43006. +fi
  43007. +
  43008. +
  43009. +# Define the identity of the package.
  43010. + PACKAGE='fiasco'
  43011. + VERSION='1.3'
  43012. +
  43013. +
  43014. +cat >>confdefs.h <<_ACEOF
  43015. +@%:@define PACKAGE "$PACKAGE"
  43016. +_ACEOF
  43017. +
  43018. +
  43019. +cat >>confdefs.h <<_ACEOF
  43020. +@%:@define VERSION "$VERSION"
  43021. +_ACEOF
  43022. +
  43023. +# Some tools Automake needs.
  43024. +
  43025. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  43026. +
  43027. +
  43028. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  43029. +
  43030. +
  43031. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  43032. +
  43033. +
  43034. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  43035. +
  43036. +
  43037. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  43038. +
  43039. +# For better backward compatibility. To be removed once Automake 1.9.x
  43040. +# dies out for good. For more background, see:
  43041. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  43042. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  43043. +mkdir_p='$(MKDIR_P)'
  43044. +
  43045. +# We need awk for the "check" target (and possibly the TAP driver). The
  43046. +# system "awk" is bad on some platforms.
  43047. +# Always define AMTAR for backward compatibility. Yes, it's still used
  43048. +# in the wild :-( We should find a proper way to deprecate it ...
  43049. +AMTAR='$${TAR-tar}'
  43050. +
  43051. +
  43052. +# We'll loop over all known methods to create a tar archive until one works.
  43053. +_am_tools='gnutar pax cpio none'
  43054. +
  43055. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  43056. +
  43057. +
  43058. +
  43059. +
  43060. +
  43061. +
  43062. +# POSIX will say in a future version that running "rm -f" with no argument
  43063. +# is OK; and we want to be able to make that assumption in our Makefile
  43064. +# recipes. So use an aggressive probe to check that the usage we want is
  43065. +# actually supported "in the wild" to an acceptable degree.
  43066. +# See automake bug#10828.
  43067. +# To make any issue more visible, cause the running configure to be aborted
  43068. +# by default if the 'rm' program in use doesn't match our expectations; the
  43069. +# user can still override this though.
  43070. +if rm -f && rm -fr && rm -rf; then : OK; else
  43071. + cat >&2 <<'END'
  43072. +Oops!
  43073. +
  43074. +Your 'rm' program seems unable to run without file operands specified
  43075. +on the command line, even when the '-f' option is present. This is contrary
  43076. +to the behaviour of most rm programs out there, and not conforming with
  43077. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  43078. +
  43079. +Please tell [email protected] about your system, including the value
  43080. +of your $PATH and any error possibly output before this message. This
  43081. +can help us improve future automake versions.
  43082. +
  43083. +END
  43084. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  43085. + echo 'Configuration will proceed anyway, since you have set the' >&2
  43086. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  43087. + echo >&2
  43088. + else
  43089. + cat >&2 <<'END'
  43090. +Aborting the configuration process, to ensure you take notice of the issue.
  43091. +
  43092. +You can download and install GNU coreutils to get an 'rm' implementation
  43093. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  43094. +
  43095. +If you want to complete the configuration process using your problematic
  43096. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  43097. +to "yes", and re-run configure.
  43098. +
  43099. +END
  43100. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  43101. + fi
  43102. +fi
  43103. +
  43104. +ac_config_headers="$ac_config_headers config.h"
  43105. +
  43106. +
  43107. +# Important programs:
  43108. +case `pwd` in
  43109. + *\ * | *\ *)
  43110. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  43111. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  43112. +esac
  43113. +
  43114. +
  43115. +
  43116. +macro_version='2.4.6'
  43117. +macro_revision='2.4.6'
  43118. +
  43119. +
  43120. +
  43121. +
  43122. +
  43123. +
  43124. +
  43125. +
  43126. +
  43127. +
  43128. +
  43129. +
  43130. +
  43131. +ltmain=$ac_aux_dir/ltmain.sh
  43132. +
  43133. +# Make sure we can run config.sub.
  43134. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  43135. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  43136. +
  43137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  43138. +$as_echo_n "checking build system type... " >&6; }
  43139. +if ${ac_cv_build+:} false; then :
  43140. + $as_echo_n "(cached) " >&6
  43141. +else
  43142. + ac_build_alias=$build_alias
  43143. +test "x$ac_build_alias" = x &&
  43144. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  43145. +test "x$ac_build_alias" = x &&
  43146. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  43147. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  43148. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  43149. +
  43150. +fi
  43151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  43152. +$as_echo "$ac_cv_build" >&6; }
  43153. +case $ac_cv_build in
  43154. +*-*-*) ;;
  43155. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  43156. +esac
  43157. +build=$ac_cv_build
  43158. +ac_save_IFS=$IFS; IFS='-'
  43159. +set x $ac_cv_build
  43160. +shift
  43161. +build_cpu=$1
  43162. +build_vendor=$2
  43163. +shift; shift
  43164. +# Remember, the first character of IFS is used to create $*,
  43165. +# except with old shells:
  43166. +build_os=$*
  43167. +IFS=$ac_save_IFS
  43168. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  43169. +
  43170. +
  43171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  43172. +$as_echo_n "checking host system type... " >&6; }
  43173. +if ${ac_cv_host+:} false; then :
  43174. + $as_echo_n "(cached) " >&6
  43175. +else
  43176. + if test "x$host_alias" = x; then
  43177. + ac_cv_host=$ac_cv_build
  43178. +else
  43179. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  43180. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  43181. +fi
  43182. +
  43183. +fi
  43184. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  43185. +$as_echo "$ac_cv_host" >&6; }
  43186. +case $ac_cv_host in
  43187. +*-*-*) ;;
  43188. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  43189. +esac
  43190. +host=$ac_cv_host
  43191. +ac_save_IFS=$IFS; IFS='-'
  43192. +set x $ac_cv_host
  43193. +shift
  43194. +host_cpu=$1
  43195. +host_vendor=$2
  43196. +shift; shift
  43197. +# Remember, the first character of IFS is used to create $*,
  43198. +# except with old shells:
  43199. +host_os=$*
  43200. +IFS=$ac_save_IFS
  43201. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  43202. +
  43203. +
  43204. +# Backslashify metacharacters that are still active within
  43205. +# double-quoted strings.
  43206. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  43207. +
  43208. +# Same as above, but do not quote variable references.
  43209. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  43210. +
  43211. +# Sed substitution to delay expansion of an escaped shell variable in a
  43212. +# double_quote_subst'ed string.
  43213. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  43214. +
  43215. +# Sed substitution to delay expansion of an escaped single quote.
  43216. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  43217. +
  43218. +# Sed substitution to avoid accidental globbing in evaled expressions
  43219. +no_glob_subst='s/\*/\\\*/g'
  43220. +
  43221. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  43222. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  43223. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  43224. +
  43225. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  43226. +$as_echo_n "checking how to print strings... " >&6; }
  43227. +# Test print first, because it will be a builtin if present.
  43228. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  43229. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  43230. + ECHO='print -r --'
  43231. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  43232. + ECHO='printf %s\n'
  43233. +else
  43234. + # Use this function as a fallback that always works.
  43235. + func_fallback_echo ()
  43236. + {
  43237. + eval 'cat <<_LTECHO_EOF
  43238. +$1
  43239. +_LTECHO_EOF'
  43240. + }
  43241. + ECHO='func_fallback_echo'
  43242. +fi
  43243. +
  43244. +# func_echo_all arg...
  43245. +# Invoke $ECHO with all args, space-separated.
  43246. +func_echo_all ()
  43247. +{
  43248. + $ECHO ""
  43249. +}
  43250. +
  43251. +case $ECHO in
  43252. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  43253. +$as_echo "printf" >&6; } ;;
  43254. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  43255. +$as_echo "print -r" >&6; } ;;
  43256. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  43257. +$as_echo "cat" >&6; } ;;
  43258. +esac
  43259. +
  43260. +
  43261. +
  43262. +
  43263. +
  43264. +
  43265. +
  43266. +
  43267. +
  43268. +
  43269. +
  43270. +
  43271. +
  43272. +
  43273. +DEPDIR="${am__leading_dot}deps"
  43274. +
  43275. +ac_config_commands="$ac_config_commands depfiles"
  43276. +
  43277. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  43278. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  43279. +cat > confinc.mk << 'END'
  43280. +am__doit:
  43281. + @echo this is the am__doit target >confinc.out
  43282. +.PHONY: am__doit
  43283. +END
  43284. +am__include="#"
  43285. +am__quote=
  43286. +# BSD make does it like this.
  43287. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  43288. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  43289. +echo 'include confinc.mk # ignored' > confmf.GNU
  43290. +_am_result=no
  43291. +for s in GNU BSD; do
  43292. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  43293. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  43294. + ac_status=$?
  43295. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  43296. + (exit $ac_status); }
  43297. + case $?:`cat confinc.out 2>/dev/null` in @%:@(
  43298. + '0:this is the am__doit target') :
  43299. + case $s in @%:@(
  43300. + BSD) :
  43301. + am__include='.include' am__quote='"' ;; @%:@(
  43302. + *) :
  43303. + am__include='include' am__quote='' ;;
  43304. +esac ;; @%:@(
  43305. + *) :
  43306. + ;;
  43307. +esac
  43308. + if test "$am__include" != "#"; then
  43309. + _am_result="yes ($s style)"
  43310. + break
  43311. + fi
  43312. +done
  43313. +rm -f confinc.* confmf.*
  43314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  43315. +$as_echo "${_am_result}" >&6; }
  43316. +
  43317. +@%:@ Check whether --enable-dependency-tracking was given.
  43318. +if test "${enable_dependency_tracking+set}" = set; then :
  43319. + enableval=$enable_dependency_tracking;
  43320. +fi
  43321. +
  43322. +if test "x$enable_dependency_tracking" != xno; then
  43323. + am_depcomp="$ac_aux_dir/depcomp"
  43324. + AMDEPBACKSLASH='\'
  43325. + am__nodep='_no'
  43326. +fi
  43327. + if test "x$enable_dependency_tracking" != xno; then
  43328. + AMDEP_TRUE=
  43329. + AMDEP_FALSE='#'
  43330. +else
  43331. + AMDEP_TRUE='#'
  43332. + AMDEP_FALSE=
  43333. +fi
  43334. +
  43335. +
  43336. +ac_ext=c
  43337. +ac_cpp='$CPP $CPPFLAGS'
  43338. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  43339. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  43340. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  43341. +if test -n "$ac_tool_prefix"; then
  43342. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  43343. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  43344. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43345. +$as_echo_n "checking for $ac_word... " >&6; }
  43346. +if ${ac_cv_prog_CC+:} false; then :
  43347. + $as_echo_n "(cached) " >&6
  43348. +else
  43349. + if test -n "$CC"; then
  43350. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43351. +else
  43352. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43353. +for as_dir in $PATH
  43354. +do
  43355. + IFS=$as_save_IFS
  43356. + test -z "$as_dir" && as_dir=.
  43357. + for ac_exec_ext in '' $ac_executable_extensions; do
  43358. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43359. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  43360. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43361. + break 2
  43362. + fi
  43363. +done
  43364. + done
  43365. +IFS=$as_save_IFS
  43366. +
  43367. +fi
  43368. +fi
  43369. +CC=$ac_cv_prog_CC
  43370. +if test -n "$CC"; then
  43371. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43372. +$as_echo "$CC" >&6; }
  43373. +else
  43374. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43375. +$as_echo "no" >&6; }
  43376. +fi
  43377. +
  43378. +
  43379. +fi
  43380. +if test -z "$ac_cv_prog_CC"; then
  43381. + ac_ct_CC=$CC
  43382. + # Extract the first word of "gcc", so it can be a program name with args.
  43383. +set dummy gcc; ac_word=$2
  43384. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43385. +$as_echo_n "checking for $ac_word... " >&6; }
  43386. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  43387. + $as_echo_n "(cached) " >&6
  43388. +else
  43389. + if test -n "$ac_ct_CC"; then
  43390. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  43391. +else
  43392. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43393. +for as_dir in $PATH
  43394. +do
  43395. + IFS=$as_save_IFS
  43396. + test -z "$as_dir" && as_dir=.
  43397. + for ac_exec_ext in '' $ac_executable_extensions; do
  43398. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43399. + ac_cv_prog_ac_ct_CC="gcc"
  43400. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43401. + break 2
  43402. + fi
  43403. +done
  43404. + done
  43405. +IFS=$as_save_IFS
  43406. +
  43407. +fi
  43408. +fi
  43409. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  43410. +if test -n "$ac_ct_CC"; then
  43411. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  43412. +$as_echo "$ac_ct_CC" >&6; }
  43413. +else
  43414. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43415. +$as_echo "no" >&6; }
  43416. +fi
  43417. +
  43418. + if test "x$ac_ct_CC" = x; then
  43419. + CC=""
  43420. + else
  43421. + case $cross_compiling:$ac_tool_warned in
  43422. +yes:)
  43423. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43424. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43425. +ac_tool_warned=yes ;;
  43426. +esac
  43427. + CC=$ac_ct_CC
  43428. + fi
  43429. +else
  43430. + CC="$ac_cv_prog_CC"
  43431. +fi
  43432. +
  43433. +if test -z "$CC"; then
  43434. + if test -n "$ac_tool_prefix"; then
  43435. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  43436. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  43437. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43438. +$as_echo_n "checking for $ac_word... " >&6; }
  43439. +if ${ac_cv_prog_CC+:} false; then :
  43440. + $as_echo_n "(cached) " >&6
  43441. +else
  43442. + if test -n "$CC"; then
  43443. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43444. +else
  43445. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43446. +for as_dir in $PATH
  43447. +do
  43448. + IFS=$as_save_IFS
  43449. + test -z "$as_dir" && as_dir=.
  43450. + for ac_exec_ext in '' $ac_executable_extensions; do
  43451. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43452. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  43453. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43454. + break 2
  43455. + fi
  43456. +done
  43457. + done
  43458. +IFS=$as_save_IFS
  43459. +
  43460. +fi
  43461. +fi
  43462. +CC=$ac_cv_prog_CC
  43463. +if test -n "$CC"; then
  43464. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43465. +$as_echo "$CC" >&6; }
  43466. +else
  43467. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43468. +$as_echo "no" >&6; }
  43469. +fi
  43470. +
  43471. +
  43472. + fi
  43473. +fi
  43474. +if test -z "$CC"; then
  43475. + # Extract the first word of "cc", so it can be a program name with args.
  43476. +set dummy cc; ac_word=$2
  43477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43478. +$as_echo_n "checking for $ac_word... " >&6; }
  43479. +if ${ac_cv_prog_CC+:} false; then :
  43480. + $as_echo_n "(cached) " >&6
  43481. +else
  43482. + if test -n "$CC"; then
  43483. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43484. +else
  43485. + ac_prog_rejected=no
  43486. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43487. +for as_dir in $PATH
  43488. +do
  43489. + IFS=$as_save_IFS
  43490. + test -z "$as_dir" && as_dir=.
  43491. + for ac_exec_ext in '' $ac_executable_extensions; do
  43492. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43493. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  43494. + ac_prog_rejected=yes
  43495. + continue
  43496. + fi
  43497. + ac_cv_prog_CC="cc"
  43498. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43499. + break 2
  43500. + fi
  43501. +done
  43502. + done
  43503. +IFS=$as_save_IFS
  43504. +
  43505. +if test $ac_prog_rejected = yes; then
  43506. + # We found a bogon in the path, so make sure we never use it.
  43507. + set dummy $ac_cv_prog_CC
  43508. + shift
  43509. + if test $@%:@ != 0; then
  43510. + # We chose a different compiler from the bogus one.
  43511. + # However, it has the same basename, so the bogon will be chosen
  43512. + # first if we set CC to just the basename; use the full file name.
  43513. + shift
  43514. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  43515. + fi
  43516. +fi
  43517. +fi
  43518. +fi
  43519. +CC=$ac_cv_prog_CC
  43520. +if test -n "$CC"; then
  43521. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43522. +$as_echo "$CC" >&6; }
  43523. +else
  43524. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43525. +$as_echo "no" >&6; }
  43526. +fi
  43527. +
  43528. +
  43529. +fi
  43530. +if test -z "$CC"; then
  43531. + if test -n "$ac_tool_prefix"; then
  43532. + for ac_prog in cl.exe
  43533. + do
  43534. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  43535. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  43536. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43537. +$as_echo_n "checking for $ac_word... " >&6; }
  43538. +if ${ac_cv_prog_CC+:} false; then :
  43539. + $as_echo_n "(cached) " >&6
  43540. +else
  43541. + if test -n "$CC"; then
  43542. + ac_cv_prog_CC="$CC" # Let the user override the test.
  43543. +else
  43544. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43545. +for as_dir in $PATH
  43546. +do
  43547. + IFS=$as_save_IFS
  43548. + test -z "$as_dir" && as_dir=.
  43549. + for ac_exec_ext in '' $ac_executable_extensions; do
  43550. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43551. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  43552. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43553. + break 2
  43554. + fi
  43555. +done
  43556. + done
  43557. +IFS=$as_save_IFS
  43558. +
  43559. +fi
  43560. +fi
  43561. +CC=$ac_cv_prog_CC
  43562. +if test -n "$CC"; then
  43563. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  43564. +$as_echo "$CC" >&6; }
  43565. +else
  43566. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43567. +$as_echo "no" >&6; }
  43568. +fi
  43569. +
  43570. +
  43571. + test -n "$CC" && break
  43572. + done
  43573. +fi
  43574. +if test -z "$CC"; then
  43575. + ac_ct_CC=$CC
  43576. + for ac_prog in cl.exe
  43577. +do
  43578. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  43579. +set dummy $ac_prog; ac_word=$2
  43580. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43581. +$as_echo_n "checking for $ac_word... " >&6; }
  43582. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  43583. + $as_echo_n "(cached) " >&6
  43584. +else
  43585. + if test -n "$ac_ct_CC"; then
  43586. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  43587. +else
  43588. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43589. +for as_dir in $PATH
  43590. +do
  43591. + IFS=$as_save_IFS
  43592. + test -z "$as_dir" && as_dir=.
  43593. + for ac_exec_ext in '' $ac_executable_extensions; do
  43594. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  43595. + ac_cv_prog_ac_ct_CC="$ac_prog"
  43596. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43597. + break 2
  43598. + fi
  43599. +done
  43600. + done
  43601. +IFS=$as_save_IFS
  43602. +
  43603. +fi
  43604. +fi
  43605. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  43606. +if test -n "$ac_ct_CC"; then
  43607. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  43608. +$as_echo "$ac_ct_CC" >&6; }
  43609. +else
  43610. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43611. +$as_echo "no" >&6; }
  43612. +fi
  43613. +
  43614. +
  43615. + test -n "$ac_ct_CC" && break
  43616. +done
  43617. +
  43618. + if test "x$ac_ct_CC" = x; then
  43619. + CC=""
  43620. + else
  43621. + case $cross_compiling:$ac_tool_warned in
  43622. +yes:)
  43623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43624. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43625. +ac_tool_warned=yes ;;
  43626. +esac
  43627. + CC=$ac_ct_CC
  43628. + fi
  43629. +fi
  43630. +
  43631. +fi
  43632. +
  43633. +
  43634. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43635. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43636. +as_fn_error $? "no acceptable C compiler found in \$PATH
  43637. +See \`config.log' for more details" "$LINENO" 5; }
  43638. +
  43639. +# Provide some information about the compiler.
  43640. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  43641. +set X $ac_compile
  43642. +ac_compiler=$2
  43643. +for ac_option in --version -v -V -qversion; do
  43644. + { { ac_try="$ac_compiler $ac_option >&5"
  43645. +case "(($ac_try" in
  43646. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43647. + *) ac_try_echo=$ac_try;;
  43648. +esac
  43649. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43650. +$as_echo "$ac_try_echo"; } >&5
  43651. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  43652. + ac_status=$?
  43653. + if test -s conftest.err; then
  43654. + sed '10a\
  43655. +... rest of stderr output deleted ...
  43656. + 10q' conftest.err >conftest.er1
  43657. + cat conftest.er1 >&5
  43658. + fi
  43659. + rm -f conftest.er1 conftest.err
  43660. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43661. + test $ac_status = 0; }
  43662. +done
  43663. +
  43664. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43665. +/* end confdefs.h. */
  43666. +
  43667. +int
  43668. +main ()
  43669. +{
  43670. +
  43671. + ;
  43672. + return 0;
  43673. +}
  43674. +_ACEOF
  43675. +ac_clean_files_save=$ac_clean_files
  43676. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  43677. +# Try to create an executable without -o first, disregard a.out.
  43678. +# It will help us diagnose broken compilers, and finding out an intuition
  43679. +# of exeext.
  43680. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  43681. +$as_echo_n "checking whether the C compiler works... " >&6; }
  43682. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  43683. +
  43684. +# The possible output files:
  43685. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  43686. +
  43687. +ac_rmfiles=
  43688. +for ac_file in $ac_files
  43689. +do
  43690. + case $ac_file in
  43691. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  43692. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  43693. + esac
  43694. +done
  43695. +rm -f $ac_rmfiles
  43696. +
  43697. +if { { ac_try="$ac_link_default"
  43698. +case "(($ac_try" in
  43699. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43700. + *) ac_try_echo=$ac_try;;
  43701. +esac
  43702. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43703. +$as_echo "$ac_try_echo"; } >&5
  43704. + (eval "$ac_link_default") 2>&5
  43705. + ac_status=$?
  43706. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43707. + test $ac_status = 0; }; then :
  43708. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  43709. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  43710. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  43711. +# so that the user can short-circuit this test for compilers unknown to
  43712. +# Autoconf.
  43713. +for ac_file in $ac_files ''
  43714. +do
  43715. + test -f "$ac_file" || continue
  43716. + case $ac_file in
  43717. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  43718. + ;;
  43719. + [ab].out )
  43720. + # We found the default executable, but exeext='' is most
  43721. + # certainly right.
  43722. + break;;
  43723. + *.* )
  43724. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  43725. + then :; else
  43726. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  43727. + fi
  43728. + # We set ac_cv_exeext here because the later test for it is not
  43729. + # safe: cross compilers may not add the suffix if given an `-o'
  43730. + # argument, so we may need to know it at that point already.
  43731. + # Even if this section looks crufty: it has the advantage of
  43732. + # actually working.
  43733. + break;;
  43734. + * )
  43735. + break;;
  43736. + esac
  43737. +done
  43738. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  43739. +
  43740. +else
  43741. + ac_file=''
  43742. +fi
  43743. +if test -z "$ac_file"; then :
  43744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43745. +$as_echo "no" >&6; }
  43746. +$as_echo "$as_me: failed program was:" >&5
  43747. +sed 's/^/| /' conftest.$ac_ext >&5
  43748. +
  43749. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43750. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43751. +as_fn_error 77 "C compiler cannot create executables
  43752. +See \`config.log' for more details" "$LINENO" 5; }
  43753. +else
  43754. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  43755. +$as_echo "yes" >&6; }
  43756. +fi
  43757. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  43758. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  43759. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  43760. +$as_echo "$ac_file" >&6; }
  43761. +ac_exeext=$ac_cv_exeext
  43762. +
  43763. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  43764. +ac_clean_files=$ac_clean_files_save
  43765. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  43766. +$as_echo_n "checking for suffix of executables... " >&6; }
  43767. +if { { ac_try="$ac_link"
  43768. +case "(($ac_try" in
  43769. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43770. + *) ac_try_echo=$ac_try;;
  43771. +esac
  43772. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43773. +$as_echo "$ac_try_echo"; } >&5
  43774. + (eval "$ac_link") 2>&5
  43775. + ac_status=$?
  43776. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43777. + test $ac_status = 0; }; then :
  43778. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  43779. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  43780. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  43781. +# `rm'.
  43782. +for ac_file in conftest.exe conftest conftest.*; do
  43783. + test -f "$ac_file" || continue
  43784. + case $ac_file in
  43785. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  43786. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  43787. + break;;
  43788. + * ) break;;
  43789. + esac
  43790. +done
  43791. +else
  43792. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43793. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43794. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  43795. +See \`config.log' for more details" "$LINENO" 5; }
  43796. +fi
  43797. +rm -f conftest conftest$ac_cv_exeext
  43798. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  43799. +$as_echo "$ac_cv_exeext" >&6; }
  43800. +
  43801. +rm -f conftest.$ac_ext
  43802. +EXEEXT=$ac_cv_exeext
  43803. +ac_exeext=$EXEEXT
  43804. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43805. +/* end confdefs.h. */
  43806. +@%:@include <stdio.h>
  43807. +int
  43808. +main ()
  43809. +{
  43810. +FILE *f = fopen ("conftest.out", "w");
  43811. + return ferror (f) || fclose (f) != 0;
  43812. +
  43813. + ;
  43814. + return 0;
  43815. +}
  43816. +_ACEOF
  43817. +ac_clean_files="$ac_clean_files conftest.out"
  43818. +# Check that the compiler produces executables we can run. If not, either
  43819. +# the compiler is broken, or we cross compile.
  43820. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  43821. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  43822. +if test "$cross_compiling" != yes; then
  43823. + { { ac_try="$ac_link"
  43824. +case "(($ac_try" in
  43825. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43826. + *) ac_try_echo=$ac_try;;
  43827. +esac
  43828. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43829. +$as_echo "$ac_try_echo"; } >&5
  43830. + (eval "$ac_link") 2>&5
  43831. + ac_status=$?
  43832. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43833. + test $ac_status = 0; }
  43834. + if { ac_try='./conftest$ac_cv_exeext'
  43835. + { { case "(($ac_try" in
  43836. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43837. + *) ac_try_echo=$ac_try;;
  43838. +esac
  43839. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43840. +$as_echo "$ac_try_echo"; } >&5
  43841. + (eval "$ac_try") 2>&5
  43842. + ac_status=$?
  43843. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43844. + test $ac_status = 0; }; }; then
  43845. + cross_compiling=no
  43846. + else
  43847. + if test "$cross_compiling" = maybe; then
  43848. + cross_compiling=yes
  43849. + else
  43850. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43851. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43852. +as_fn_error $? "cannot run C compiled programs.
  43853. +If you meant to cross compile, use \`--host'.
  43854. +See \`config.log' for more details" "$LINENO" 5; }
  43855. + fi
  43856. + fi
  43857. +fi
  43858. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  43859. +$as_echo "$cross_compiling" >&6; }
  43860. +
  43861. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  43862. +ac_clean_files=$ac_clean_files_save
  43863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  43864. +$as_echo_n "checking for suffix of object files... " >&6; }
  43865. +if ${ac_cv_objext+:} false; then :
  43866. + $as_echo_n "(cached) " >&6
  43867. +else
  43868. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43869. +/* end confdefs.h. */
  43870. +
  43871. +int
  43872. +main ()
  43873. +{
  43874. +
  43875. + ;
  43876. + return 0;
  43877. +}
  43878. +_ACEOF
  43879. +rm -f conftest.o conftest.obj
  43880. +if { { ac_try="$ac_compile"
  43881. +case "(($ac_try" in
  43882. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  43883. + *) ac_try_echo=$ac_try;;
  43884. +esac
  43885. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  43886. +$as_echo "$ac_try_echo"; } >&5
  43887. + (eval "$ac_compile") 2>&5
  43888. + ac_status=$?
  43889. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43890. + test $ac_status = 0; }; then :
  43891. + for ac_file in conftest.o conftest.obj conftest.*; do
  43892. + test -f "$ac_file" || continue;
  43893. + case $ac_file in
  43894. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  43895. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  43896. + break;;
  43897. + esac
  43898. +done
  43899. +else
  43900. + $as_echo "$as_me: failed program was:" >&5
  43901. +sed 's/^/| /' conftest.$ac_ext >&5
  43902. +
  43903. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  43904. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  43905. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  43906. +See \`config.log' for more details" "$LINENO" 5; }
  43907. +fi
  43908. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  43909. +fi
  43910. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  43911. +$as_echo "$ac_cv_objext" >&6; }
  43912. +OBJEXT=$ac_cv_objext
  43913. +ac_objext=$OBJEXT
  43914. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  43915. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  43916. +if ${ac_cv_c_compiler_gnu+:} false; then :
  43917. + $as_echo_n "(cached) " >&6
  43918. +else
  43919. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43920. +/* end confdefs.h. */
  43921. +
  43922. +int
  43923. +main ()
  43924. +{
  43925. +#ifndef __GNUC__
  43926. + choke me
  43927. +#endif
  43928. +
  43929. + ;
  43930. + return 0;
  43931. +}
  43932. +_ACEOF
  43933. +if ac_fn_c_try_compile "$LINENO"; then :
  43934. + ac_compiler_gnu=yes
  43935. +else
  43936. + ac_compiler_gnu=no
  43937. +fi
  43938. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  43939. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  43940. +
  43941. +fi
  43942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  43943. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  43944. +if test $ac_compiler_gnu = yes; then
  43945. + GCC=yes
  43946. +else
  43947. + GCC=
  43948. +fi
  43949. +ac_test_CFLAGS=${CFLAGS+set}
  43950. +ac_save_CFLAGS=$CFLAGS
  43951. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  43952. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  43953. +if ${ac_cv_prog_cc_g+:} false; then :
  43954. + $as_echo_n "(cached) " >&6
  43955. +else
  43956. + ac_save_c_werror_flag=$ac_c_werror_flag
  43957. + ac_c_werror_flag=yes
  43958. + ac_cv_prog_cc_g=no
  43959. + CFLAGS="-g"
  43960. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43961. +/* end confdefs.h. */
  43962. +
  43963. +int
  43964. +main ()
  43965. +{
  43966. +
  43967. + ;
  43968. + return 0;
  43969. +}
  43970. +_ACEOF
  43971. +if ac_fn_c_try_compile "$LINENO"; then :
  43972. + ac_cv_prog_cc_g=yes
  43973. +else
  43974. + CFLAGS=""
  43975. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43976. +/* end confdefs.h. */
  43977. +
  43978. +int
  43979. +main ()
  43980. +{
  43981. +
  43982. + ;
  43983. + return 0;
  43984. +}
  43985. +_ACEOF
  43986. +if ac_fn_c_try_compile "$LINENO"; then :
  43987. +
  43988. +else
  43989. + ac_c_werror_flag=$ac_save_c_werror_flag
  43990. + CFLAGS="-g"
  43991. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43992. +/* end confdefs.h. */
  43993. +
  43994. +int
  43995. +main ()
  43996. +{
  43997. +
  43998. + ;
  43999. + return 0;
  44000. +}
  44001. +_ACEOF
  44002. +if ac_fn_c_try_compile "$LINENO"; then :
  44003. + ac_cv_prog_cc_g=yes
  44004. +fi
  44005. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  44006. +fi
  44007. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  44008. +fi
  44009. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  44010. + ac_c_werror_flag=$ac_save_c_werror_flag
  44011. +fi
  44012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  44013. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  44014. +if test "$ac_test_CFLAGS" = set; then
  44015. + CFLAGS=$ac_save_CFLAGS
  44016. +elif test $ac_cv_prog_cc_g = yes; then
  44017. + if test "$GCC" = yes; then
  44018. + CFLAGS="-g -O2"
  44019. + else
  44020. + CFLAGS="-g"
  44021. + fi
  44022. +else
  44023. + if test "$GCC" = yes; then
  44024. + CFLAGS="-O2"
  44025. + else
  44026. + CFLAGS=
  44027. + fi
  44028. +fi
  44029. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  44030. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  44031. +if ${ac_cv_prog_cc_c89+:} false; then :
  44032. + $as_echo_n "(cached) " >&6
  44033. +else
  44034. + ac_cv_prog_cc_c89=no
  44035. +ac_save_CC=$CC
  44036. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44037. +/* end confdefs.h. */
  44038. +#include <stdarg.h>
  44039. +#include <stdio.h>
  44040. +struct stat;
  44041. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  44042. +struct buf { int x; };
  44043. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  44044. +static char *e (p, i)
  44045. + char **p;
  44046. + int i;
  44047. +{
  44048. + return p[i];
  44049. +}
  44050. +static char *f (char * (*g) (char **, int), char **p, ...)
  44051. +{
  44052. + char *s;
  44053. + va_list v;
  44054. + va_start (v,p);
  44055. + s = g (p, va_arg (v,int));
  44056. + va_end (v);
  44057. + return s;
  44058. +}
  44059. +
  44060. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  44061. + function prototypes and stuff, but not '\xHH' hex character constants.
  44062. + These don't provoke an error unfortunately, instead are silently treated
  44063. + as 'x'. The following induces an error, until -std is added to get
  44064. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  44065. + array size at least. It's necessary to write '\x00'==0 to get something
  44066. + that's true only with -std. */
  44067. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  44068. +
  44069. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  44070. + inside strings and character constants. */
  44071. +#define FOO(x) 'x'
  44072. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  44073. +
  44074. +int test (int i, double x);
  44075. +struct s1 {int (*f) (int a);};
  44076. +struct s2 {int (*f) (double a);};
  44077. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  44078. +int argc;
  44079. +char **argv;
  44080. +int
  44081. +main ()
  44082. +{
  44083. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  44084. + ;
  44085. + return 0;
  44086. +}
  44087. +_ACEOF
  44088. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  44089. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  44090. +do
  44091. + CC="$ac_save_CC $ac_arg"
  44092. + if ac_fn_c_try_compile "$LINENO"; then :
  44093. + ac_cv_prog_cc_c89=$ac_arg
  44094. +fi
  44095. +rm -f core conftest.err conftest.$ac_objext
  44096. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  44097. +done
  44098. +rm -f conftest.$ac_ext
  44099. +CC=$ac_save_CC
  44100. +
  44101. +fi
  44102. +# AC_CACHE_VAL
  44103. +case "x$ac_cv_prog_cc_c89" in
  44104. + x)
  44105. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  44106. +$as_echo "none needed" >&6; } ;;
  44107. + xno)
  44108. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  44109. +$as_echo "unsupported" >&6; } ;;
  44110. + *)
  44111. + CC="$CC $ac_cv_prog_cc_c89"
  44112. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  44113. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  44114. +esac
  44115. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  44116. +
  44117. +fi
  44118. +
  44119. +ac_ext=c
  44120. +ac_cpp='$CPP $CPPFLAGS'
  44121. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44122. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44123. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44124. +
  44125. +ac_ext=c
  44126. +ac_cpp='$CPP $CPPFLAGS'
  44127. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44128. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44129. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44130. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  44131. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  44132. +if ${am_cv_prog_cc_c_o+:} false; then :
  44133. + $as_echo_n "(cached) " >&6
  44134. +else
  44135. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44136. +/* end confdefs.h. */
  44137. +
  44138. +int
  44139. +main ()
  44140. +{
  44141. +
  44142. + ;
  44143. + return 0;
  44144. +}
  44145. +_ACEOF
  44146. + # Make sure it works both with $CC and with simple cc.
  44147. + # Following AC_PROG_CC_C_O, we do the test twice because some
  44148. + # compilers refuse to overwrite an existing .o file with -o,
  44149. + # though they will create one.
  44150. + am_cv_prog_cc_c_o=yes
  44151. + for am_i in 1 2; do
  44152. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  44153. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  44154. + ac_status=$?
  44155. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  44156. + (exit $ac_status); } \
  44157. + && test -f conftest2.$ac_objext; then
  44158. + : OK
  44159. + else
  44160. + am_cv_prog_cc_c_o=no
  44161. + break
  44162. + fi
  44163. + done
  44164. + rm -f core conftest*
  44165. + unset am_i
  44166. +fi
  44167. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  44168. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  44169. +if test "$am_cv_prog_cc_c_o" != yes; then
  44170. + # Losing compiler, so override with the script.
  44171. + # FIXME: It is wrong to rewrite CC.
  44172. + # But if we don't then we get into trouble of one sort or another.
  44173. + # A longer-term fix would be to have automake use am__CC in this case,
  44174. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  44175. + CC="$am_aux_dir/compile $CC"
  44176. +fi
  44177. +ac_ext=c
  44178. +ac_cpp='$CPP $CPPFLAGS'
  44179. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44180. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44181. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44182. +
  44183. +
  44184. +depcc="$CC" am_compiler_list=
  44185. +
  44186. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  44187. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  44188. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  44189. + $as_echo_n "(cached) " >&6
  44190. +else
  44191. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  44192. + # We make a subdir and do the tests there. Otherwise we can end up
  44193. + # making bogus files that we don't know about and never remove. For
  44194. + # instance it was reported that on HP-UX the gcc test will end up
  44195. + # making a dummy file named 'D' -- because '-MD' means "put the output
  44196. + # in D".
  44197. + rm -rf conftest.dir
  44198. + mkdir conftest.dir
  44199. + # Copy depcomp to subdir because otherwise we won't find it if we're
  44200. + # using a relative directory.
  44201. + cp "$am_depcomp" conftest.dir
  44202. + cd conftest.dir
  44203. + # We will build objects and dependencies in a subdirectory because
  44204. + # it helps to detect inapplicable dependency modes. For instance
  44205. + # both Tru64's cc and ICC support -MD to output dependencies as a
  44206. + # side effect of compilation, but ICC will put the dependencies in
  44207. + # the current directory while Tru64 will put them in the object
  44208. + # directory.
  44209. + mkdir sub
  44210. +
  44211. + am_cv_CC_dependencies_compiler_type=none
  44212. + if test "$am_compiler_list" = ""; then
  44213. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  44214. + fi
  44215. + am__universal=false
  44216. + case " $depcc " in #(
  44217. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  44218. + esac
  44219. +
  44220. + for depmode in $am_compiler_list; do
  44221. + # Setup a source with many dependencies, because some compilers
  44222. + # like to wrap large dependency lists on column 80 (with \), and
  44223. + # we should not choose a depcomp mode which is confused by this.
  44224. + #
  44225. + # We need to recreate these files for each test, as the compiler may
  44226. + # overwrite some of them when testing with obscure command lines.
  44227. + # This happens at least with the AIX C compiler.
  44228. + : > sub/conftest.c
  44229. + for i in 1 2 3 4 5 6; do
  44230. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  44231. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  44232. + # Solaris 10 /bin/sh.
  44233. + echo '/* dummy */' > sub/conftst$i.h
  44234. + done
  44235. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  44236. +
  44237. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  44238. + # mode. It turns out that the SunPro C++ compiler does not properly
  44239. + # handle '-M -o', and we need to detect this. Also, some Intel
  44240. + # versions had trouble with output in subdirs.
  44241. + am__obj=sub/conftest.${OBJEXT-o}
  44242. + am__minus_obj="-o $am__obj"
  44243. + case $depmode in
  44244. + gcc)
  44245. + # This depmode causes a compiler race in universal mode.
  44246. + test "$am__universal" = false || continue
  44247. + ;;
  44248. + nosideeffect)
  44249. + # After this tag, mechanisms are not by side-effect, so they'll
  44250. + # only be used when explicitly requested.
  44251. + if test "x$enable_dependency_tracking" = xyes; then
  44252. + continue
  44253. + else
  44254. + break
  44255. + fi
  44256. + ;;
  44257. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  44258. + # This compiler won't grok '-c -o', but also, the minuso test has
  44259. + # not run yet. These depmodes are late enough in the game, and
  44260. + # so weak that their functioning should not be impacted.
  44261. + am__obj=conftest.${OBJEXT-o}
  44262. + am__minus_obj=
  44263. + ;;
  44264. + none) break ;;
  44265. + esac
  44266. + if depmode=$depmode \
  44267. + source=sub/conftest.c object=$am__obj \
  44268. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  44269. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  44270. + >/dev/null 2>conftest.err &&
  44271. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  44272. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  44273. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  44274. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  44275. + # icc doesn't choke on unknown options, it will just issue warnings
  44276. + # or remarks (even with -Werror). So we grep stderr for any message
  44277. + # that says an option was ignored or not supported.
  44278. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  44279. + # icc: Command line warning: ignoring option '-M'; no argument required
  44280. + # The diagnosis changed in icc 8.0:
  44281. + # icc: Command line remark: option '-MP' not supported
  44282. + if (grep 'ignoring option' conftest.err ||
  44283. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  44284. + am_cv_CC_dependencies_compiler_type=$depmode
  44285. + break
  44286. + fi
  44287. + fi
  44288. + done
  44289. +
  44290. + cd ..
  44291. + rm -rf conftest.dir
  44292. +else
  44293. + am_cv_CC_dependencies_compiler_type=none
  44294. +fi
  44295. +
  44296. +fi
  44297. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  44298. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  44299. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  44300. +
  44301. + if
  44302. + test "x$enable_dependency_tracking" != xno \
  44303. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  44304. + am__fastdepCC_TRUE=
  44305. + am__fastdepCC_FALSE='#'
  44306. +else
  44307. + am__fastdepCC_TRUE='#'
  44308. + am__fastdepCC_FALSE=
  44309. +fi
  44310. +
  44311. +
  44312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  44313. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  44314. +if ${ac_cv_path_SED+:} false; then :
  44315. + $as_echo_n "(cached) " >&6
  44316. +else
  44317. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  44318. + for ac_i in 1 2 3 4 5 6 7; do
  44319. + ac_script="$ac_script$as_nl$ac_script"
  44320. + done
  44321. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  44322. + { ac_script=; unset ac_script;}
  44323. + if test -z "$SED"; then
  44324. + ac_path_SED_found=false
  44325. + # Loop through the user's path and test for each of PROGNAME-LIST
  44326. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44327. +for as_dir in $PATH
  44328. +do
  44329. + IFS=$as_save_IFS
  44330. + test -z "$as_dir" && as_dir=.
  44331. + for ac_prog in sed gsed; do
  44332. + for ac_exec_ext in '' $ac_executable_extensions; do
  44333. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  44334. + as_fn_executable_p "$ac_path_SED" || continue
  44335. +# Check for GNU ac_path_SED and select it if it is found.
  44336. + # Check for GNU $ac_path_SED
  44337. +case `"$ac_path_SED" --version 2>&1` in
  44338. +*GNU*)
  44339. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  44340. +*)
  44341. + ac_count=0
  44342. + $as_echo_n 0123456789 >"conftest.in"
  44343. + while :
  44344. + do
  44345. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44346. + mv "conftest.tmp" "conftest.in"
  44347. + cp "conftest.in" "conftest.nl"
  44348. + $as_echo '' >> "conftest.nl"
  44349. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44350. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44351. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44352. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  44353. + # Best one so far, save it but keep looking for a better one
  44354. + ac_cv_path_SED="$ac_path_SED"
  44355. + ac_path_SED_max=$ac_count
  44356. + fi
  44357. + # 10*(2^10) chars as input seems more than enough
  44358. + test $ac_count -gt 10 && break
  44359. + done
  44360. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44361. +esac
  44362. +
  44363. + $ac_path_SED_found && break 3
  44364. + done
  44365. + done
  44366. + done
  44367. +IFS=$as_save_IFS
  44368. + if test -z "$ac_cv_path_SED"; then
  44369. + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  44370. + fi
  44371. +else
  44372. + ac_cv_path_SED=$SED
  44373. +fi
  44374. +
  44375. +fi
  44376. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  44377. +$as_echo "$ac_cv_path_SED" >&6; }
  44378. + SED="$ac_cv_path_SED"
  44379. + rm -f conftest.sed
  44380. +
  44381. +test -z "$SED" && SED=sed
  44382. +Xsed="$SED -e 1s/^X//"
  44383. +
  44384. +
  44385. +
  44386. +
  44387. +
  44388. +
  44389. +
  44390. +
  44391. +
  44392. +
  44393. +
  44394. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  44395. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  44396. +if ${ac_cv_path_GREP+:} false; then :
  44397. + $as_echo_n "(cached) " >&6
  44398. +else
  44399. + if test -z "$GREP"; then
  44400. + ac_path_GREP_found=false
  44401. + # Loop through the user's path and test for each of PROGNAME-LIST
  44402. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44403. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  44404. +do
  44405. + IFS=$as_save_IFS
  44406. + test -z "$as_dir" && as_dir=.
  44407. + for ac_prog in grep ggrep; do
  44408. + for ac_exec_ext in '' $ac_executable_extensions; do
  44409. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  44410. + as_fn_executable_p "$ac_path_GREP" || continue
  44411. +# Check for GNU ac_path_GREP and select it if it is found.
  44412. + # Check for GNU $ac_path_GREP
  44413. +case `"$ac_path_GREP" --version 2>&1` in
  44414. +*GNU*)
  44415. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  44416. +*)
  44417. + ac_count=0
  44418. + $as_echo_n 0123456789 >"conftest.in"
  44419. + while :
  44420. + do
  44421. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44422. + mv "conftest.tmp" "conftest.in"
  44423. + cp "conftest.in" "conftest.nl"
  44424. + $as_echo 'GREP' >> "conftest.nl"
  44425. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44426. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44427. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44428. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  44429. + # Best one so far, save it but keep looking for a better one
  44430. + ac_cv_path_GREP="$ac_path_GREP"
  44431. + ac_path_GREP_max=$ac_count
  44432. + fi
  44433. + # 10*(2^10) chars as input seems more than enough
  44434. + test $ac_count -gt 10 && break
  44435. + done
  44436. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44437. +esac
  44438. +
  44439. + $ac_path_GREP_found && break 3
  44440. + done
  44441. + done
  44442. + done
  44443. +IFS=$as_save_IFS
  44444. + if test -z "$ac_cv_path_GREP"; then
  44445. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  44446. + fi
  44447. +else
  44448. + ac_cv_path_GREP=$GREP
  44449. +fi
  44450. +
  44451. +fi
  44452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  44453. +$as_echo "$ac_cv_path_GREP" >&6; }
  44454. + GREP="$ac_cv_path_GREP"
  44455. +
  44456. +
  44457. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  44458. +$as_echo_n "checking for egrep... " >&6; }
  44459. +if ${ac_cv_path_EGREP+:} false; then :
  44460. + $as_echo_n "(cached) " >&6
  44461. +else
  44462. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  44463. + then ac_cv_path_EGREP="$GREP -E"
  44464. + else
  44465. + if test -z "$EGREP"; then
  44466. + ac_path_EGREP_found=false
  44467. + # Loop through the user's path and test for each of PROGNAME-LIST
  44468. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44469. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  44470. +do
  44471. + IFS=$as_save_IFS
  44472. + test -z "$as_dir" && as_dir=.
  44473. + for ac_prog in egrep; do
  44474. + for ac_exec_ext in '' $ac_executable_extensions; do
  44475. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  44476. + as_fn_executable_p "$ac_path_EGREP" || continue
  44477. +# Check for GNU ac_path_EGREP and select it if it is found.
  44478. + # Check for GNU $ac_path_EGREP
  44479. +case `"$ac_path_EGREP" --version 2>&1` in
  44480. +*GNU*)
  44481. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  44482. +*)
  44483. + ac_count=0
  44484. + $as_echo_n 0123456789 >"conftest.in"
  44485. + while :
  44486. + do
  44487. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44488. + mv "conftest.tmp" "conftest.in"
  44489. + cp "conftest.in" "conftest.nl"
  44490. + $as_echo 'EGREP' >> "conftest.nl"
  44491. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44492. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44493. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44494. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  44495. + # Best one so far, save it but keep looking for a better one
  44496. + ac_cv_path_EGREP="$ac_path_EGREP"
  44497. + ac_path_EGREP_max=$ac_count
  44498. + fi
  44499. + # 10*(2^10) chars as input seems more than enough
  44500. + test $ac_count -gt 10 && break
  44501. + done
  44502. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44503. +esac
  44504. +
  44505. + $ac_path_EGREP_found && break 3
  44506. + done
  44507. + done
  44508. + done
  44509. +IFS=$as_save_IFS
  44510. + if test -z "$ac_cv_path_EGREP"; then
  44511. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  44512. + fi
  44513. +else
  44514. + ac_cv_path_EGREP=$EGREP
  44515. +fi
  44516. +
  44517. + fi
  44518. +fi
  44519. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  44520. +$as_echo "$ac_cv_path_EGREP" >&6; }
  44521. + EGREP="$ac_cv_path_EGREP"
  44522. +
  44523. +
  44524. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  44525. +$as_echo_n "checking for fgrep... " >&6; }
  44526. +if ${ac_cv_path_FGREP+:} false; then :
  44527. + $as_echo_n "(cached) " >&6
  44528. +else
  44529. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  44530. + then ac_cv_path_FGREP="$GREP -F"
  44531. + else
  44532. + if test -z "$FGREP"; then
  44533. + ac_path_FGREP_found=false
  44534. + # Loop through the user's path and test for each of PROGNAME-LIST
  44535. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44536. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  44537. +do
  44538. + IFS=$as_save_IFS
  44539. + test -z "$as_dir" && as_dir=.
  44540. + for ac_prog in fgrep; do
  44541. + for ac_exec_ext in '' $ac_executable_extensions; do
  44542. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  44543. + as_fn_executable_p "$ac_path_FGREP" || continue
  44544. +# Check for GNU ac_path_FGREP and select it if it is found.
  44545. + # Check for GNU $ac_path_FGREP
  44546. +case `"$ac_path_FGREP" --version 2>&1` in
  44547. +*GNU*)
  44548. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  44549. +*)
  44550. + ac_count=0
  44551. + $as_echo_n 0123456789 >"conftest.in"
  44552. + while :
  44553. + do
  44554. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  44555. + mv "conftest.tmp" "conftest.in"
  44556. + cp "conftest.in" "conftest.nl"
  44557. + $as_echo 'FGREP' >> "conftest.nl"
  44558. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  44559. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  44560. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  44561. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  44562. + # Best one so far, save it but keep looking for a better one
  44563. + ac_cv_path_FGREP="$ac_path_FGREP"
  44564. + ac_path_FGREP_max=$ac_count
  44565. + fi
  44566. + # 10*(2^10) chars as input seems more than enough
  44567. + test $ac_count -gt 10 && break
  44568. + done
  44569. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  44570. +esac
  44571. +
  44572. + $ac_path_FGREP_found && break 3
  44573. + done
  44574. + done
  44575. + done
  44576. +IFS=$as_save_IFS
  44577. + if test -z "$ac_cv_path_FGREP"; then
  44578. + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  44579. + fi
  44580. +else
  44581. + ac_cv_path_FGREP=$FGREP
  44582. +fi
  44583. +
  44584. + fi
  44585. +fi
  44586. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  44587. +$as_echo "$ac_cv_path_FGREP" >&6; }
  44588. + FGREP="$ac_cv_path_FGREP"
  44589. +
  44590. +
  44591. +test -z "$GREP" && GREP=grep
  44592. +
  44593. +
  44594. +
  44595. +
  44596. +
  44597. +
  44598. +
  44599. +
  44600. +
  44601. +
  44602. +
  44603. +
  44604. +
  44605. +
  44606. +
  44607. +
  44608. +
  44609. +
  44610. +
  44611. +@%:@ Check whether --with-gnu-ld was given.
  44612. +if test "${with_gnu_ld+set}" = set; then :
  44613. + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  44614. +else
  44615. + with_gnu_ld=no
  44616. +fi
  44617. +
  44618. +ac_prog=ld
  44619. +if test yes = "$GCC"; then
  44620. + # Check if gcc -print-prog-name=ld gives a path.
  44621. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  44622. +$as_echo_n "checking for ld used by $CC... " >&6; }
  44623. + case $host in
  44624. + *-*-mingw*)
  44625. + # gcc leaves a trailing carriage return, which upsets mingw
  44626. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  44627. + *)
  44628. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  44629. + esac
  44630. + case $ac_prog in
  44631. + # Accept absolute paths.
  44632. + [\\/]* | ?:[\\/]*)
  44633. + re_direlt='/[^/][^/]*/\.\./'
  44634. + # Canonicalize the pathname of ld
  44635. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  44636. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  44637. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  44638. + done
  44639. + test -z "$LD" && LD=$ac_prog
  44640. + ;;
  44641. + "")
  44642. + # If it fails, then pretend we aren't using GCC.
  44643. + ac_prog=ld
  44644. + ;;
  44645. + *)
  44646. + # If it is relative, then search for the first ld in PATH.
  44647. + with_gnu_ld=unknown
  44648. + ;;
  44649. + esac
  44650. +elif test yes = "$with_gnu_ld"; then
  44651. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  44652. +$as_echo_n "checking for GNU ld... " >&6; }
  44653. +else
  44654. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  44655. +$as_echo_n "checking for non-GNU ld... " >&6; }
  44656. +fi
  44657. +if ${lt_cv_path_LD+:} false; then :
  44658. + $as_echo_n "(cached) " >&6
  44659. +else
  44660. + if test -z "$LD"; then
  44661. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  44662. + for ac_dir in $PATH; do
  44663. + IFS=$lt_save_ifs
  44664. + test -z "$ac_dir" && ac_dir=.
  44665. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  44666. + lt_cv_path_LD=$ac_dir/$ac_prog
  44667. + # Check to see if the program is GNU ld. I'd rather use --version,
  44668. + # but apparently some variants of GNU ld only accept -v.
  44669. + # Break only if it was the GNU/non-GNU ld that we prefer.
  44670. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  44671. + *GNU* | *'with BFD'*)
  44672. + test no != "$with_gnu_ld" && break
  44673. + ;;
  44674. + *)
  44675. + test yes != "$with_gnu_ld" && break
  44676. + ;;
  44677. + esac
  44678. + fi
  44679. + done
  44680. + IFS=$lt_save_ifs
  44681. +else
  44682. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  44683. +fi
  44684. +fi
  44685. +
  44686. +LD=$lt_cv_path_LD
  44687. +if test -n "$LD"; then
  44688. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  44689. +$as_echo "$LD" >&6; }
  44690. +else
  44691. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44692. +$as_echo "no" >&6; }
  44693. +fi
  44694. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  44695. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  44696. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  44697. +if ${lt_cv_prog_gnu_ld+:} false; then :
  44698. + $as_echo_n "(cached) " >&6
  44699. +else
  44700. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  44701. +case `$LD -v 2>&1 </dev/null` in
  44702. +*GNU* | *'with BFD'*)
  44703. + lt_cv_prog_gnu_ld=yes
  44704. + ;;
  44705. +*)
  44706. + lt_cv_prog_gnu_ld=no
  44707. + ;;
  44708. +esac
  44709. +fi
  44710. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  44711. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  44712. +with_gnu_ld=$lt_cv_prog_gnu_ld
  44713. +
  44714. +
  44715. +
  44716. +
  44717. +
  44718. +
  44719. +
  44720. +
  44721. +
  44722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  44723. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  44724. +if ${lt_cv_path_NM+:} false; then :
  44725. + $as_echo_n "(cached) " >&6
  44726. +else
  44727. + if test -n "$NM"; then
  44728. + # Let the user override the test.
  44729. + lt_cv_path_NM=$NM
  44730. +else
  44731. + lt_nm_to_check=${ac_tool_prefix}nm
  44732. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  44733. + lt_nm_to_check="$lt_nm_to_check nm"
  44734. + fi
  44735. + for lt_tmp_nm in $lt_nm_to_check; do
  44736. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  44737. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  44738. + IFS=$lt_save_ifs
  44739. + test -z "$ac_dir" && ac_dir=.
  44740. + tmp_nm=$ac_dir/$lt_tmp_nm
  44741. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  44742. + # Check to see if the nm accepts a BSD-compat flag.
  44743. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  44744. + # nm: unknown option "B" ignored
  44745. + # Tru64's nm complains that /dev/null is an invalid object file
  44746. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  44747. + case $build_os in
  44748. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  44749. + *) lt_bad_file=/dev/null ;;
  44750. + esac
  44751. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  44752. + *$lt_bad_file* | *'Invalid file or object type'*)
  44753. + lt_cv_path_NM="$tmp_nm -B"
  44754. + break 2
  44755. + ;;
  44756. + *)
  44757. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  44758. + */dev/null*)
  44759. + lt_cv_path_NM="$tmp_nm -p"
  44760. + break 2
  44761. + ;;
  44762. + *)
  44763. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  44764. + continue # so that we can try to find one that supports BSD flags
  44765. + ;;
  44766. + esac
  44767. + ;;
  44768. + esac
  44769. + fi
  44770. + done
  44771. + IFS=$lt_save_ifs
  44772. + done
  44773. + : ${lt_cv_path_NM=no}
  44774. +fi
  44775. +fi
  44776. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  44777. +$as_echo "$lt_cv_path_NM" >&6; }
  44778. +if test no != "$lt_cv_path_NM"; then
  44779. + NM=$lt_cv_path_NM
  44780. +else
  44781. + # Didn't find any BSD compatible name lister, look for dumpbin.
  44782. + if test -n "$DUMPBIN"; then :
  44783. + # Let the user override the test.
  44784. + else
  44785. + if test -n "$ac_tool_prefix"; then
  44786. + for ac_prog in dumpbin "link -dump"
  44787. + do
  44788. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  44789. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  44790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44791. +$as_echo_n "checking for $ac_word... " >&6; }
  44792. +if ${ac_cv_prog_DUMPBIN+:} false; then :
  44793. + $as_echo_n "(cached) " >&6
  44794. +else
  44795. + if test -n "$DUMPBIN"; then
  44796. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  44797. +else
  44798. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44799. +for as_dir in $PATH
  44800. +do
  44801. + IFS=$as_save_IFS
  44802. + test -z "$as_dir" && as_dir=.
  44803. + for ac_exec_ext in '' $ac_executable_extensions; do
  44804. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  44805. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  44806. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44807. + break 2
  44808. + fi
  44809. +done
  44810. + done
  44811. +IFS=$as_save_IFS
  44812. +
  44813. +fi
  44814. +fi
  44815. +DUMPBIN=$ac_cv_prog_DUMPBIN
  44816. +if test -n "$DUMPBIN"; then
  44817. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  44818. +$as_echo "$DUMPBIN" >&6; }
  44819. +else
  44820. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44821. +$as_echo "no" >&6; }
  44822. +fi
  44823. +
  44824. +
  44825. + test -n "$DUMPBIN" && break
  44826. + done
  44827. +fi
  44828. +if test -z "$DUMPBIN"; then
  44829. + ac_ct_DUMPBIN=$DUMPBIN
  44830. + for ac_prog in dumpbin "link -dump"
  44831. +do
  44832. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  44833. +set dummy $ac_prog; ac_word=$2
  44834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44835. +$as_echo_n "checking for $ac_word... " >&6; }
  44836. +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  44837. + $as_echo_n "(cached) " >&6
  44838. +else
  44839. + if test -n "$ac_ct_DUMPBIN"; then
  44840. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  44841. +else
  44842. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44843. +for as_dir in $PATH
  44844. +do
  44845. + IFS=$as_save_IFS
  44846. + test -z "$as_dir" && as_dir=.
  44847. + for ac_exec_ext in '' $ac_executable_extensions; do
  44848. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  44849. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  44850. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44851. + break 2
  44852. + fi
  44853. +done
  44854. + done
  44855. +IFS=$as_save_IFS
  44856. +
  44857. +fi
  44858. +fi
  44859. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  44860. +if test -n "$ac_ct_DUMPBIN"; then
  44861. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  44862. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  44863. +else
  44864. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44865. +$as_echo "no" >&6; }
  44866. +fi
  44867. +
  44868. +
  44869. + test -n "$ac_ct_DUMPBIN" && break
  44870. +done
  44871. +
  44872. + if test "x$ac_ct_DUMPBIN" = x; then
  44873. + DUMPBIN=":"
  44874. + else
  44875. + case $cross_compiling:$ac_tool_warned in
  44876. +yes:)
  44877. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  44878. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  44879. +ac_tool_warned=yes ;;
  44880. +esac
  44881. + DUMPBIN=$ac_ct_DUMPBIN
  44882. + fi
  44883. +fi
  44884. +
  44885. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  44886. + *COFF*)
  44887. + DUMPBIN="$DUMPBIN -symbols -headers"
  44888. + ;;
  44889. + *)
  44890. + DUMPBIN=:
  44891. + ;;
  44892. + esac
  44893. + fi
  44894. +
  44895. + if test : != "$DUMPBIN"; then
  44896. + NM=$DUMPBIN
  44897. + fi
  44898. +fi
  44899. +test -z "$NM" && NM=nm
  44900. +
  44901. +
  44902. +
  44903. +
  44904. +
  44905. +
  44906. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  44907. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  44908. +if ${lt_cv_nm_interface+:} false; then :
  44909. + $as_echo_n "(cached) " >&6
  44910. +else
  44911. + lt_cv_nm_interface="BSD nm"
  44912. + echo "int some_variable = 0;" > conftest.$ac_ext
  44913. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  44914. + (eval "$ac_compile" 2>conftest.err)
  44915. + cat conftest.err >&5
  44916. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  44917. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  44918. + cat conftest.err >&5
  44919. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  44920. + cat conftest.out >&5
  44921. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  44922. + lt_cv_nm_interface="MS dumpbin"
  44923. + fi
  44924. + rm -f conftest*
  44925. +fi
  44926. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  44927. +$as_echo "$lt_cv_nm_interface" >&6; }
  44928. +
  44929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  44930. +$as_echo_n "checking whether ln -s works... " >&6; }
  44931. +LN_S=$as_ln_s
  44932. +if test "$LN_S" = "ln -s"; then
  44933. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  44934. +$as_echo "yes" >&6; }
  44935. +else
  44936. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  44937. +$as_echo "no, using $LN_S" >&6; }
  44938. +fi
  44939. +
  44940. +# find the maximum length of command line arguments
  44941. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  44942. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  44943. +if ${lt_cv_sys_max_cmd_len+:} false; then :
  44944. + $as_echo_n "(cached) " >&6
  44945. +else
  44946. + i=0
  44947. + teststring=ABCD
  44948. +
  44949. + case $build_os in
  44950. + msdosdjgpp*)
  44951. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  44952. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  44953. + # during glob expansion). Even if it were fixed, the result of this
  44954. + # check would be larger than it should be.
  44955. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  44956. + ;;
  44957. +
  44958. + gnu*)
  44959. + # Under GNU Hurd, this test is not required because there is
  44960. + # no limit to the length of command line arguments.
  44961. + # Libtool will interpret -1 as no limit whatsoever
  44962. + lt_cv_sys_max_cmd_len=-1;
  44963. + ;;
  44964. +
  44965. + cygwin* | mingw* | cegcc*)
  44966. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  44967. + # about 5 minutes as the teststring grows exponentially.
  44968. + # Worse, since 9x/ME are not pre-emptively multitasking,
  44969. + # you end up with a "frozen" computer, even though with patience
  44970. + # the test eventually succeeds (with a max line length of 256k).
  44971. + # Instead, let's just punt: use the minimum linelength reported by
  44972. + # all of the supported platforms: 8192 (on NT/2K/XP).
  44973. + lt_cv_sys_max_cmd_len=8192;
  44974. + ;;
  44975. +
  44976. + mint*)
  44977. + # On MiNT this can take a long time and run out of memory.
  44978. + lt_cv_sys_max_cmd_len=8192;
  44979. + ;;
  44980. +
  44981. + amigaos*)
  44982. + # On AmigaOS with pdksh, this test takes hours, literally.
  44983. + # So we just punt and use a minimum line length of 8192.
  44984. + lt_cv_sys_max_cmd_len=8192;
  44985. + ;;
  44986. +
  44987. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  44988. + # This has been around since 386BSD, at least. Likely further.
  44989. + if test -x /sbin/sysctl; then
  44990. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  44991. + elif test -x /usr/sbin/sysctl; then
  44992. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  44993. + else
  44994. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  44995. + fi
  44996. + # And add a safety zone
  44997. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  44998. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  44999. + ;;
  45000. +
  45001. + interix*)
  45002. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  45003. + lt_cv_sys_max_cmd_len=196608
  45004. + ;;
  45005. +
  45006. + os2*)
  45007. + # The test takes a long time on OS/2.
  45008. + lt_cv_sys_max_cmd_len=8192
  45009. + ;;
  45010. +
  45011. + osf*)
  45012. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  45013. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  45014. + # nice to cause kernel panics so lets avoid the loop below.
  45015. + # First set a reasonable default.
  45016. + lt_cv_sys_max_cmd_len=16384
  45017. + #
  45018. + if test -x /sbin/sysconfig; then
  45019. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  45020. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  45021. + esac
  45022. + fi
  45023. + ;;
  45024. + sco3.2v5*)
  45025. + lt_cv_sys_max_cmd_len=102400
  45026. + ;;
  45027. + sysv5* | sco5v6* | sysv4.2uw2*)
  45028. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  45029. + if test -n "$kargmax"; then
  45030. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  45031. + else
  45032. + lt_cv_sys_max_cmd_len=32768
  45033. + fi
  45034. + ;;
  45035. + *)
  45036. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  45037. + if test -n "$lt_cv_sys_max_cmd_len" && \
  45038. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  45039. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  45040. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  45041. + else
  45042. + # Make teststring a little bigger before we do anything with it.
  45043. + # a 1K string should be a reasonable start.
  45044. + for i in 1 2 3 4 5 6 7 8; do
  45045. + teststring=$teststring$teststring
  45046. + done
  45047. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  45048. + # If test is not a shell built-in, we'll probably end up computing a
  45049. + # maximum length that is only half of the actual maximum length, but
  45050. + # we can't tell.
  45051. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  45052. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  45053. + test 17 != "$i" # 1/2 MB should be enough
  45054. + do
  45055. + i=`expr $i + 1`
  45056. + teststring=$teststring$teststring
  45057. + done
  45058. + # Only check the string length outside the loop.
  45059. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  45060. + teststring=
  45061. + # Add a significant safety factor because C++ compilers can tack on
  45062. + # massive amounts of additional arguments before passing them to the
  45063. + # linker. It appears as though 1/2 is a usable value.
  45064. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  45065. + fi
  45066. + ;;
  45067. + esac
  45068. +
  45069. +fi
  45070. +
  45071. +if test -n "$lt_cv_sys_max_cmd_len"; then
  45072. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  45073. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  45074. +else
  45075. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  45076. +$as_echo "none" >&6; }
  45077. +fi
  45078. +max_cmd_len=$lt_cv_sys_max_cmd_len
  45079. +
  45080. +
  45081. +
  45082. +
  45083. +
  45084. +
  45085. +: ${CP="cp -f"}
  45086. +: ${MV="mv -f"}
  45087. +: ${RM="rm -f"}
  45088. +
  45089. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  45090. + lt_unset=unset
  45091. +else
  45092. + lt_unset=false
  45093. +fi
  45094. +
  45095. +
  45096. +
  45097. +
  45098. +
  45099. +# test EBCDIC or ASCII
  45100. +case `echo X|tr X '\101'` in
  45101. + A) # ASCII based system
  45102. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  45103. + lt_SP2NL='tr \040 \012'
  45104. + lt_NL2SP='tr \015\012 \040\040'
  45105. + ;;
  45106. + *) # EBCDIC based system
  45107. + lt_SP2NL='tr \100 \n'
  45108. + lt_NL2SP='tr \r\n \100\100'
  45109. + ;;
  45110. +esac
  45111. +
  45112. +
  45113. +
  45114. +
  45115. +
  45116. +
  45117. +
  45118. +
  45119. +
  45120. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  45121. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  45122. +if ${lt_cv_to_host_file_cmd+:} false; then :
  45123. + $as_echo_n "(cached) " >&6
  45124. +else
  45125. + case $host in
  45126. + *-*-mingw* )
  45127. + case $build in
  45128. + *-*-mingw* ) # actually msys
  45129. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  45130. + ;;
  45131. + *-*-cygwin* )
  45132. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  45133. + ;;
  45134. + * ) # otherwise, assume *nix
  45135. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  45136. + ;;
  45137. + esac
  45138. + ;;
  45139. + *-*-cygwin* )
  45140. + case $build in
  45141. + *-*-mingw* ) # actually msys
  45142. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  45143. + ;;
  45144. + *-*-cygwin* )
  45145. + lt_cv_to_host_file_cmd=func_convert_file_noop
  45146. + ;;
  45147. + * ) # otherwise, assume *nix
  45148. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  45149. + ;;
  45150. + esac
  45151. + ;;
  45152. + * ) # unhandled hosts (and "normal" native builds)
  45153. + lt_cv_to_host_file_cmd=func_convert_file_noop
  45154. + ;;
  45155. +esac
  45156. +
  45157. +fi
  45158. +
  45159. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  45160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  45161. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  45162. +
  45163. +
  45164. +
  45165. +
  45166. +
  45167. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  45168. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  45169. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  45170. + $as_echo_n "(cached) " >&6
  45171. +else
  45172. + #assume ordinary cross tools, or native build.
  45173. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  45174. +case $host in
  45175. + *-*-mingw* )
  45176. + case $build in
  45177. + *-*-mingw* ) # actually msys
  45178. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  45179. + ;;
  45180. + esac
  45181. + ;;
  45182. +esac
  45183. +
  45184. +fi
  45185. +
  45186. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  45187. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  45188. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  45189. +
  45190. +
  45191. +
  45192. +
  45193. +
  45194. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  45195. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  45196. +if ${lt_cv_ld_reload_flag+:} false; then :
  45197. + $as_echo_n "(cached) " >&6
  45198. +else
  45199. + lt_cv_ld_reload_flag='-r'
  45200. +fi
  45201. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  45202. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  45203. +reload_flag=$lt_cv_ld_reload_flag
  45204. +case $reload_flag in
  45205. +"" | " "*) ;;
  45206. +*) reload_flag=" $reload_flag" ;;
  45207. +esac
  45208. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  45209. +case $host_os in
  45210. + cygwin* | mingw* | pw32* | cegcc*)
  45211. + if test yes != "$GCC"; then
  45212. + reload_cmds=false
  45213. + fi
  45214. + ;;
  45215. + darwin*)
  45216. + if test yes = "$GCC"; then
  45217. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  45218. + else
  45219. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  45220. + fi
  45221. + ;;
  45222. +esac
  45223. +
  45224. +
  45225. +
  45226. +
  45227. +
  45228. +
  45229. +
  45230. +
  45231. +
  45232. +if test -n "$ac_tool_prefix"; then
  45233. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  45234. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  45235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45236. +$as_echo_n "checking for $ac_word... " >&6; }
  45237. +if ${ac_cv_prog_OBJDUMP+:} false; then :
  45238. + $as_echo_n "(cached) " >&6
  45239. +else
  45240. + if test -n "$OBJDUMP"; then
  45241. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  45242. +else
  45243. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45244. +for as_dir in $PATH
  45245. +do
  45246. + IFS=$as_save_IFS
  45247. + test -z "$as_dir" && as_dir=.
  45248. + for ac_exec_ext in '' $ac_executable_extensions; do
  45249. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45250. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  45251. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45252. + break 2
  45253. + fi
  45254. +done
  45255. + done
  45256. +IFS=$as_save_IFS
  45257. +
  45258. +fi
  45259. +fi
  45260. +OBJDUMP=$ac_cv_prog_OBJDUMP
  45261. +if test -n "$OBJDUMP"; then
  45262. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  45263. +$as_echo "$OBJDUMP" >&6; }
  45264. +else
  45265. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45266. +$as_echo "no" >&6; }
  45267. +fi
  45268. +
  45269. +
  45270. +fi
  45271. +if test -z "$ac_cv_prog_OBJDUMP"; then
  45272. + ac_ct_OBJDUMP=$OBJDUMP
  45273. + # Extract the first word of "objdump", so it can be a program name with args.
  45274. +set dummy objdump; ac_word=$2
  45275. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45276. +$as_echo_n "checking for $ac_word... " >&6; }
  45277. +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  45278. + $as_echo_n "(cached) " >&6
  45279. +else
  45280. + if test -n "$ac_ct_OBJDUMP"; then
  45281. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  45282. +else
  45283. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45284. +for as_dir in $PATH
  45285. +do
  45286. + IFS=$as_save_IFS
  45287. + test -z "$as_dir" && as_dir=.
  45288. + for ac_exec_ext in '' $ac_executable_extensions; do
  45289. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45290. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  45291. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45292. + break 2
  45293. + fi
  45294. +done
  45295. + done
  45296. +IFS=$as_save_IFS
  45297. +
  45298. +fi
  45299. +fi
  45300. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  45301. +if test -n "$ac_ct_OBJDUMP"; then
  45302. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  45303. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  45304. +else
  45305. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45306. +$as_echo "no" >&6; }
  45307. +fi
  45308. +
  45309. + if test "x$ac_ct_OBJDUMP" = x; then
  45310. + OBJDUMP="false"
  45311. + else
  45312. + case $cross_compiling:$ac_tool_warned in
  45313. +yes:)
  45314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45315. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45316. +ac_tool_warned=yes ;;
  45317. +esac
  45318. + OBJDUMP=$ac_ct_OBJDUMP
  45319. + fi
  45320. +else
  45321. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  45322. +fi
  45323. +
  45324. +test -z "$OBJDUMP" && OBJDUMP=objdump
  45325. +
  45326. +
  45327. +
  45328. +
  45329. +
  45330. +
  45331. +
  45332. +
  45333. +
  45334. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  45335. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  45336. +if ${lt_cv_deplibs_check_method+:} false; then :
  45337. + $as_echo_n "(cached) " >&6
  45338. +else
  45339. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  45340. +lt_cv_file_magic_test_file=
  45341. +lt_cv_deplibs_check_method='unknown'
  45342. +# Need to set the preceding variable on all platforms that support
  45343. +# interlibrary dependencies.
  45344. +# 'none' -- dependencies not supported.
  45345. +# 'unknown' -- same as none, but documents that we really don't know.
  45346. +# 'pass_all' -- all dependencies passed with no checks.
  45347. +# 'test_compile' -- check by making test program.
  45348. +# 'file_magic [[regex]]' -- check by looking for files in library path
  45349. +# that responds to the $file_magic_cmd with a given extended regex.
  45350. +# If you have 'file' or equivalent on your system and you're not sure
  45351. +# whether 'pass_all' will *always* work, you probably want this one.
  45352. +
  45353. +case $host_os in
  45354. +aix[4-9]*)
  45355. + lt_cv_deplibs_check_method=pass_all
  45356. + ;;
  45357. +
  45358. +beos*)
  45359. + lt_cv_deplibs_check_method=pass_all
  45360. + ;;
  45361. +
  45362. +bsdi[45]*)
  45363. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  45364. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  45365. + lt_cv_file_magic_test_file=/shlib/libc.so
  45366. + ;;
  45367. +
  45368. +cygwin*)
  45369. + # func_win32_libid is a shell function defined in ltmain.sh
  45370. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  45371. + lt_cv_file_magic_cmd='func_win32_libid'
  45372. + ;;
  45373. +
  45374. +mingw* | pw32*)
  45375. + # Base MSYS/MinGW do not provide the 'file' command needed by
  45376. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  45377. + # unless we find 'file', for example because we are cross-compiling.
  45378. + if ( file / ) >/dev/null 2>&1; then
  45379. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  45380. + lt_cv_file_magic_cmd='func_win32_libid'
  45381. + else
  45382. + # Keep this pattern in sync with the one in func_win32_libid.
  45383. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  45384. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  45385. + fi
  45386. + ;;
  45387. +
  45388. +cegcc*)
  45389. + # use the weaker test based on 'objdump'. See mingw*.
  45390. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  45391. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  45392. + ;;
  45393. +
  45394. +darwin* | rhapsody*)
  45395. + lt_cv_deplibs_check_method=pass_all
  45396. + ;;
  45397. +
  45398. +freebsd* | dragonfly*)
  45399. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  45400. + case $host_cpu in
  45401. + i*86 )
  45402. + # Not sure whether the presence of OpenBSD here was a mistake.
  45403. + # Let's accept both of them until this is cleared up.
  45404. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  45405. + lt_cv_file_magic_cmd=/usr/bin/file
  45406. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  45407. + ;;
  45408. + esac
  45409. + else
  45410. + lt_cv_deplibs_check_method=pass_all
  45411. + fi
  45412. + ;;
  45413. +
  45414. +haiku*)
  45415. + lt_cv_deplibs_check_method=pass_all
  45416. + ;;
  45417. +
  45418. +hpux10.20* | hpux11*)
  45419. + lt_cv_file_magic_cmd=/usr/bin/file
  45420. + case $host_cpu in
  45421. + ia64*)
  45422. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  45423. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  45424. + ;;
  45425. + hppa*64*)
  45426. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  45427. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  45428. + ;;
  45429. + *)
  45430. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  45431. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  45432. + ;;
  45433. + esac
  45434. + ;;
  45435. +
  45436. +interix[3-9]*)
  45437. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  45438. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  45439. + ;;
  45440. +
  45441. +irix5* | irix6* | nonstopux*)
  45442. + case $LD in
  45443. + *-32|*"-32 ") libmagic=32-bit;;
  45444. + *-n32|*"-n32 ") libmagic=N32;;
  45445. + *-64|*"-64 ") libmagic=64-bit;;
  45446. + *) libmagic=never-match;;
  45447. + esac
  45448. + lt_cv_deplibs_check_method=pass_all
  45449. + ;;
  45450. +
  45451. +# This must be glibc/ELF.
  45452. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  45453. + lt_cv_deplibs_check_method=pass_all
  45454. + ;;
  45455. +
  45456. +netbsd*)
  45457. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  45458. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  45459. + else
  45460. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  45461. + fi
  45462. + ;;
  45463. +
  45464. +newos6*)
  45465. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  45466. + lt_cv_file_magic_cmd=/usr/bin/file
  45467. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  45468. + ;;
  45469. +
  45470. +*nto* | *qnx*)
  45471. + lt_cv_deplibs_check_method=pass_all
  45472. + ;;
  45473. +
  45474. +openbsd* | bitrig*)
  45475. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  45476. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  45477. + else
  45478. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  45479. + fi
  45480. + ;;
  45481. +
  45482. +osf3* | osf4* | osf5*)
  45483. + lt_cv_deplibs_check_method=pass_all
  45484. + ;;
  45485. +
  45486. +rdos*)
  45487. + lt_cv_deplibs_check_method=pass_all
  45488. + ;;
  45489. +
  45490. +solaris*)
  45491. + lt_cv_deplibs_check_method=pass_all
  45492. + ;;
  45493. +
  45494. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  45495. + lt_cv_deplibs_check_method=pass_all
  45496. + ;;
  45497. +
  45498. +sysv4 | sysv4.3*)
  45499. + case $host_vendor in
  45500. + motorola)
  45501. + 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]'
  45502. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  45503. + ;;
  45504. + ncr)
  45505. + lt_cv_deplibs_check_method=pass_all
  45506. + ;;
  45507. + sequent)
  45508. + lt_cv_file_magic_cmd='/bin/file'
  45509. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  45510. + ;;
  45511. + sni)
  45512. + lt_cv_file_magic_cmd='/bin/file'
  45513. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  45514. + lt_cv_file_magic_test_file=/lib/libc.so
  45515. + ;;
  45516. + siemens)
  45517. + lt_cv_deplibs_check_method=pass_all
  45518. + ;;
  45519. + pc)
  45520. + lt_cv_deplibs_check_method=pass_all
  45521. + ;;
  45522. + esac
  45523. + ;;
  45524. +
  45525. +tpf*)
  45526. + lt_cv_deplibs_check_method=pass_all
  45527. + ;;
  45528. +os2*)
  45529. + lt_cv_deplibs_check_method=pass_all
  45530. + ;;
  45531. +esac
  45532. +
  45533. +fi
  45534. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  45535. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  45536. +
  45537. +file_magic_glob=
  45538. +want_nocaseglob=no
  45539. +if test "$build" = "$host"; then
  45540. + case $host_os in
  45541. + mingw* | pw32*)
  45542. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  45543. + want_nocaseglob=yes
  45544. + else
  45545. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  45546. + fi
  45547. + ;;
  45548. + esac
  45549. +fi
  45550. +
  45551. +file_magic_cmd=$lt_cv_file_magic_cmd
  45552. +deplibs_check_method=$lt_cv_deplibs_check_method
  45553. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  45554. +
  45555. +
  45556. +
  45557. +
  45558. +
  45559. +
  45560. +
  45561. +
  45562. +
  45563. +
  45564. +
  45565. +
  45566. +
  45567. +
  45568. +
  45569. +
  45570. +
  45571. +
  45572. +
  45573. +
  45574. +
  45575. +
  45576. +if test -n "$ac_tool_prefix"; then
  45577. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  45578. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  45579. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45580. +$as_echo_n "checking for $ac_word... " >&6; }
  45581. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  45582. + $as_echo_n "(cached) " >&6
  45583. +else
  45584. + if test -n "$DLLTOOL"; then
  45585. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  45586. +else
  45587. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45588. +for as_dir in $PATH
  45589. +do
  45590. + IFS=$as_save_IFS
  45591. + test -z "$as_dir" && as_dir=.
  45592. + for ac_exec_ext in '' $ac_executable_extensions; do
  45593. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45594. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  45595. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45596. + break 2
  45597. + fi
  45598. +done
  45599. + done
  45600. +IFS=$as_save_IFS
  45601. +
  45602. +fi
  45603. +fi
  45604. +DLLTOOL=$ac_cv_prog_DLLTOOL
  45605. +if test -n "$DLLTOOL"; then
  45606. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  45607. +$as_echo "$DLLTOOL" >&6; }
  45608. +else
  45609. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45610. +$as_echo "no" >&6; }
  45611. +fi
  45612. +
  45613. +
  45614. +fi
  45615. +if test -z "$ac_cv_prog_DLLTOOL"; then
  45616. + ac_ct_DLLTOOL=$DLLTOOL
  45617. + # Extract the first word of "dlltool", so it can be a program name with args.
  45618. +set dummy dlltool; ac_word=$2
  45619. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45620. +$as_echo_n "checking for $ac_word... " >&6; }
  45621. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  45622. + $as_echo_n "(cached) " >&6
  45623. +else
  45624. + if test -n "$ac_ct_DLLTOOL"; then
  45625. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  45626. +else
  45627. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45628. +for as_dir in $PATH
  45629. +do
  45630. + IFS=$as_save_IFS
  45631. + test -z "$as_dir" && as_dir=.
  45632. + for ac_exec_ext in '' $ac_executable_extensions; do
  45633. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45634. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  45635. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45636. + break 2
  45637. + fi
  45638. +done
  45639. + done
  45640. +IFS=$as_save_IFS
  45641. +
  45642. +fi
  45643. +fi
  45644. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  45645. +if test -n "$ac_ct_DLLTOOL"; then
  45646. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  45647. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  45648. +else
  45649. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45650. +$as_echo "no" >&6; }
  45651. +fi
  45652. +
  45653. + if test "x$ac_ct_DLLTOOL" = x; then
  45654. + DLLTOOL="false"
  45655. + else
  45656. + case $cross_compiling:$ac_tool_warned in
  45657. +yes:)
  45658. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45659. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45660. +ac_tool_warned=yes ;;
  45661. +esac
  45662. + DLLTOOL=$ac_ct_DLLTOOL
  45663. + fi
  45664. +else
  45665. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  45666. +fi
  45667. +
  45668. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  45669. +
  45670. +
  45671. +
  45672. +
  45673. +
  45674. +
  45675. +
  45676. +
  45677. +
  45678. +
  45679. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  45680. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  45681. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  45682. + $as_echo_n "(cached) " >&6
  45683. +else
  45684. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  45685. +
  45686. +case $host_os in
  45687. +cygwin* | mingw* | pw32* | cegcc*)
  45688. + # two different shell functions defined in ltmain.sh;
  45689. + # decide which one to use based on capabilities of $DLLTOOL
  45690. + case `$DLLTOOL --help 2>&1` in
  45691. + *--identify-strict*)
  45692. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  45693. + ;;
  45694. + *)
  45695. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  45696. + ;;
  45697. + esac
  45698. + ;;
  45699. +*)
  45700. + # fallback: assume linklib IS sharedlib
  45701. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  45702. + ;;
  45703. +esac
  45704. +
  45705. +fi
  45706. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  45707. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  45708. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  45709. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  45710. +
  45711. +
  45712. +
  45713. +
  45714. +
  45715. +
  45716. +
  45717. +
  45718. +if test -n "$ac_tool_prefix"; then
  45719. + for ac_prog in ar
  45720. + do
  45721. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  45722. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  45723. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45724. +$as_echo_n "checking for $ac_word... " >&6; }
  45725. +if ${ac_cv_prog_AR+:} false; then :
  45726. + $as_echo_n "(cached) " >&6
  45727. +else
  45728. + if test -n "$AR"; then
  45729. + ac_cv_prog_AR="$AR" # Let the user override the test.
  45730. +else
  45731. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45732. +for as_dir in $PATH
  45733. +do
  45734. + IFS=$as_save_IFS
  45735. + test -z "$as_dir" && as_dir=.
  45736. + for ac_exec_ext in '' $ac_executable_extensions; do
  45737. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45738. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  45739. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45740. + break 2
  45741. + fi
  45742. +done
  45743. + done
  45744. +IFS=$as_save_IFS
  45745. +
  45746. +fi
  45747. +fi
  45748. +AR=$ac_cv_prog_AR
  45749. +if test -n "$AR"; then
  45750. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  45751. +$as_echo "$AR" >&6; }
  45752. +else
  45753. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45754. +$as_echo "no" >&6; }
  45755. +fi
  45756. +
  45757. +
  45758. + test -n "$AR" && break
  45759. + done
  45760. +fi
  45761. +if test -z "$AR"; then
  45762. + ac_ct_AR=$AR
  45763. + for ac_prog in ar
  45764. +do
  45765. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  45766. +set dummy $ac_prog; ac_word=$2
  45767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45768. +$as_echo_n "checking for $ac_word... " >&6; }
  45769. +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  45770. + $as_echo_n "(cached) " >&6
  45771. +else
  45772. + if test -n "$ac_ct_AR"; then
  45773. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  45774. +else
  45775. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45776. +for as_dir in $PATH
  45777. +do
  45778. + IFS=$as_save_IFS
  45779. + test -z "$as_dir" && as_dir=.
  45780. + for ac_exec_ext in '' $ac_executable_extensions; do
  45781. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45782. + ac_cv_prog_ac_ct_AR="$ac_prog"
  45783. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45784. + break 2
  45785. + fi
  45786. +done
  45787. + done
  45788. +IFS=$as_save_IFS
  45789. +
  45790. +fi
  45791. +fi
  45792. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  45793. +if test -n "$ac_ct_AR"; then
  45794. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  45795. +$as_echo "$ac_ct_AR" >&6; }
  45796. +else
  45797. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45798. +$as_echo "no" >&6; }
  45799. +fi
  45800. +
  45801. +
  45802. + test -n "$ac_ct_AR" && break
  45803. +done
  45804. +
  45805. + if test "x$ac_ct_AR" = x; then
  45806. + AR="false"
  45807. + else
  45808. + case $cross_compiling:$ac_tool_warned in
  45809. +yes:)
  45810. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45811. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45812. +ac_tool_warned=yes ;;
  45813. +esac
  45814. + AR=$ac_ct_AR
  45815. + fi
  45816. +fi
  45817. +
  45818. +: ${AR=ar}
  45819. +: ${AR_FLAGS=cru}
  45820. +
  45821. +
  45822. +
  45823. +
  45824. +
  45825. +
  45826. +
  45827. +
  45828. +
  45829. +
  45830. +
  45831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  45832. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  45833. +if ${lt_cv_ar_at_file+:} false; then :
  45834. + $as_echo_n "(cached) " >&6
  45835. +else
  45836. + lt_cv_ar_at_file=no
  45837. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  45838. +/* end confdefs.h. */
  45839. +
  45840. +int
  45841. +main ()
  45842. +{
  45843. +
  45844. + ;
  45845. + return 0;
  45846. +}
  45847. +_ACEOF
  45848. +if ac_fn_c_try_compile "$LINENO"; then :
  45849. + echo conftest.$ac_objext > conftest.lst
  45850. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  45851. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  45852. + (eval $lt_ar_try) 2>&5
  45853. + ac_status=$?
  45854. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  45855. + test $ac_status = 0; }
  45856. + if test 0 -eq "$ac_status"; then
  45857. + # Ensure the archiver fails upon bogus file names.
  45858. + rm -f conftest.$ac_objext libconftest.a
  45859. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  45860. + (eval $lt_ar_try) 2>&5
  45861. + ac_status=$?
  45862. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  45863. + test $ac_status = 0; }
  45864. + if test 0 -ne "$ac_status"; then
  45865. + lt_cv_ar_at_file=@
  45866. + fi
  45867. + fi
  45868. + rm -f conftest.* libconftest.a
  45869. +
  45870. +fi
  45871. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  45872. +
  45873. +fi
  45874. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  45875. +$as_echo "$lt_cv_ar_at_file" >&6; }
  45876. +
  45877. +if test no = "$lt_cv_ar_at_file"; then
  45878. + archiver_list_spec=
  45879. +else
  45880. + archiver_list_spec=$lt_cv_ar_at_file
  45881. +fi
  45882. +
  45883. +
  45884. +
  45885. +
  45886. +
  45887. +
  45888. +
  45889. +if test -n "$ac_tool_prefix"; then
  45890. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  45891. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  45892. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45893. +$as_echo_n "checking for $ac_word... " >&6; }
  45894. +if ${ac_cv_prog_STRIP+:} false; then :
  45895. + $as_echo_n "(cached) " >&6
  45896. +else
  45897. + if test -n "$STRIP"; then
  45898. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  45899. +else
  45900. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45901. +for as_dir in $PATH
  45902. +do
  45903. + IFS=$as_save_IFS
  45904. + test -z "$as_dir" && as_dir=.
  45905. + for ac_exec_ext in '' $ac_executable_extensions; do
  45906. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45907. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  45908. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45909. + break 2
  45910. + fi
  45911. +done
  45912. + done
  45913. +IFS=$as_save_IFS
  45914. +
  45915. +fi
  45916. +fi
  45917. +STRIP=$ac_cv_prog_STRIP
  45918. +if test -n "$STRIP"; then
  45919. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  45920. +$as_echo "$STRIP" >&6; }
  45921. +else
  45922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45923. +$as_echo "no" >&6; }
  45924. +fi
  45925. +
  45926. +
  45927. +fi
  45928. +if test -z "$ac_cv_prog_STRIP"; then
  45929. + ac_ct_STRIP=$STRIP
  45930. + # Extract the first word of "strip", so it can be a program name with args.
  45931. +set dummy strip; ac_word=$2
  45932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45933. +$as_echo_n "checking for $ac_word... " >&6; }
  45934. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  45935. + $as_echo_n "(cached) " >&6
  45936. +else
  45937. + if test -n "$ac_ct_STRIP"; then
  45938. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  45939. +else
  45940. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  45941. +for as_dir in $PATH
  45942. +do
  45943. + IFS=$as_save_IFS
  45944. + test -z "$as_dir" && as_dir=.
  45945. + for ac_exec_ext in '' $ac_executable_extensions; do
  45946. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  45947. + ac_cv_prog_ac_ct_STRIP="strip"
  45948. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  45949. + break 2
  45950. + fi
  45951. +done
  45952. + done
  45953. +IFS=$as_save_IFS
  45954. +
  45955. +fi
  45956. +fi
  45957. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  45958. +if test -n "$ac_ct_STRIP"; then
  45959. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  45960. +$as_echo "$ac_ct_STRIP" >&6; }
  45961. +else
  45962. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45963. +$as_echo "no" >&6; }
  45964. +fi
  45965. +
  45966. + if test "x$ac_ct_STRIP" = x; then
  45967. + STRIP=":"
  45968. + else
  45969. + case $cross_compiling:$ac_tool_warned in
  45970. +yes:)
  45971. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  45972. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  45973. +ac_tool_warned=yes ;;
  45974. +esac
  45975. + STRIP=$ac_ct_STRIP
  45976. + fi
  45977. +else
  45978. + STRIP="$ac_cv_prog_STRIP"
  45979. +fi
  45980. +
  45981. +test -z "$STRIP" && STRIP=:
  45982. +
  45983. +
  45984. +
  45985. +
  45986. +
  45987. +
  45988. +if test -n "$ac_tool_prefix"; then
  45989. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  45990. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  45991. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  45992. +$as_echo_n "checking for $ac_word... " >&6; }
  45993. +if ${ac_cv_prog_RANLIB+:} false; then :
  45994. + $as_echo_n "(cached) " >&6
  45995. +else
  45996. + if test -n "$RANLIB"; then
  45997. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  45998. +else
  45999. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46000. +for as_dir in $PATH
  46001. +do
  46002. + IFS=$as_save_IFS
  46003. + test -z "$as_dir" && as_dir=.
  46004. + for ac_exec_ext in '' $ac_executable_extensions; do
  46005. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46006. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  46007. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46008. + break 2
  46009. + fi
  46010. +done
  46011. + done
  46012. +IFS=$as_save_IFS
  46013. +
  46014. +fi
  46015. +fi
  46016. +RANLIB=$ac_cv_prog_RANLIB
  46017. +if test -n "$RANLIB"; then
  46018. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  46019. +$as_echo "$RANLIB" >&6; }
  46020. +else
  46021. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46022. +$as_echo "no" >&6; }
  46023. +fi
  46024. +
  46025. +
  46026. +fi
  46027. +if test -z "$ac_cv_prog_RANLIB"; then
  46028. + ac_ct_RANLIB=$RANLIB
  46029. + # Extract the first word of "ranlib", so it can be a program name with args.
  46030. +set dummy ranlib; ac_word=$2
  46031. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46032. +$as_echo_n "checking for $ac_word... " >&6; }
  46033. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  46034. + $as_echo_n "(cached) " >&6
  46035. +else
  46036. + if test -n "$ac_ct_RANLIB"; then
  46037. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  46038. +else
  46039. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46040. +for as_dir in $PATH
  46041. +do
  46042. + IFS=$as_save_IFS
  46043. + test -z "$as_dir" && as_dir=.
  46044. + for ac_exec_ext in '' $ac_executable_extensions; do
  46045. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46046. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  46047. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46048. + break 2
  46049. + fi
  46050. +done
  46051. + done
  46052. +IFS=$as_save_IFS
  46053. +
  46054. +fi
  46055. +fi
  46056. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  46057. +if test -n "$ac_ct_RANLIB"; then
  46058. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  46059. +$as_echo "$ac_ct_RANLIB" >&6; }
  46060. +else
  46061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46062. +$as_echo "no" >&6; }
  46063. +fi
  46064. +
  46065. + if test "x$ac_ct_RANLIB" = x; then
  46066. + RANLIB=":"
  46067. + else
  46068. + case $cross_compiling:$ac_tool_warned in
  46069. +yes:)
  46070. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  46071. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  46072. +ac_tool_warned=yes ;;
  46073. +esac
  46074. + RANLIB=$ac_ct_RANLIB
  46075. + fi
  46076. +else
  46077. + RANLIB="$ac_cv_prog_RANLIB"
  46078. +fi
  46079. +
  46080. +test -z "$RANLIB" && RANLIB=:
  46081. +
  46082. +
  46083. +
  46084. +
  46085. +
  46086. +
  46087. +# Determine commands to create old-style static archives.
  46088. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  46089. +old_postinstall_cmds='chmod 644 $oldlib'
  46090. +old_postuninstall_cmds=
  46091. +
  46092. +if test -n "$RANLIB"; then
  46093. + case $host_os in
  46094. + bitrig* | openbsd*)
  46095. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  46096. + ;;
  46097. + *)
  46098. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  46099. + ;;
  46100. + esac
  46101. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  46102. +fi
  46103. +
  46104. +case $host_os in
  46105. + darwin*)
  46106. + lock_old_archive_extraction=yes ;;
  46107. + *)
  46108. + lock_old_archive_extraction=no ;;
  46109. +esac
  46110. +
  46111. +
  46112. +
  46113. +
  46114. +
  46115. +
  46116. +
  46117. +
  46118. +
  46119. +
  46120. +
  46121. +
  46122. +
  46123. +
  46124. +
  46125. +
  46126. +
  46127. +
  46128. +
  46129. +
  46130. +
  46131. +
  46132. +
  46133. +
  46134. +
  46135. +
  46136. +
  46137. +
  46138. +
  46139. +
  46140. +
  46141. +
  46142. +
  46143. +
  46144. +
  46145. +
  46146. +
  46147. +
  46148. +
  46149. +# If no C compiler was specified, use CC.
  46150. +LTCC=${LTCC-"$CC"}
  46151. +
  46152. +# If no C compiler flags were specified, use CFLAGS.
  46153. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  46154. +
  46155. +# Allow CC to be a program name with arguments.
  46156. +compiler=$CC
  46157. +
  46158. +
  46159. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  46160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  46161. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  46162. +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  46163. + $as_echo_n "(cached) " >&6
  46164. +else
  46165. +
  46166. +# These are sane defaults that work on at least a few old systems.
  46167. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  46168. +
  46169. +# Character class describing NM global symbol codes.
  46170. +symcode='[BCDEGRST]'
  46171. +
  46172. +# Regexp to match symbols that can be accessed directly from C.
  46173. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  46174. +
  46175. +# Define system-specific variables.
  46176. +case $host_os in
  46177. +aix*)
  46178. + symcode='[BCDT]'
  46179. + ;;
  46180. +cygwin* | mingw* | pw32* | cegcc*)
  46181. + symcode='[ABCDGISTW]'
  46182. + ;;
  46183. +hpux*)
  46184. + if test ia64 = "$host_cpu"; then
  46185. + symcode='[ABCDEGRST]'
  46186. + fi
  46187. + ;;
  46188. +irix* | nonstopux*)
  46189. + symcode='[BCDEGRST]'
  46190. + ;;
  46191. +osf*)
  46192. + symcode='[BCDEGQRST]'
  46193. + ;;
  46194. +solaris*)
  46195. + symcode='[BDRT]'
  46196. + ;;
  46197. +sco3.2v5*)
  46198. + symcode='[DT]'
  46199. + ;;
  46200. +sysv4.2uw2*)
  46201. + symcode='[DT]'
  46202. + ;;
  46203. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  46204. + symcode='[ABDT]'
  46205. + ;;
  46206. +sysv4)
  46207. + symcode='[DFNSTU]'
  46208. + ;;
  46209. +esac
  46210. +
  46211. +# If we're using GNU nm, then use its standard symbol codes.
  46212. +case `$NM -V 2>&1` in
  46213. +*GNU* | *'with BFD'*)
  46214. + symcode='[ABCDGIRSTW]' ;;
  46215. +esac
  46216. +
  46217. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  46218. + # Gets list of data symbols to import.
  46219. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  46220. + # Adjust the below global symbol transforms to fixup imported variables.
  46221. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  46222. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  46223. + lt_c_name_lib_hook="\
  46224. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  46225. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  46226. +else
  46227. + # Disable hooks by default.
  46228. + lt_cv_sys_global_symbol_to_import=
  46229. + lt_cdecl_hook=
  46230. + lt_c_name_hook=
  46231. + lt_c_name_lib_hook=
  46232. +fi
  46233. +
  46234. +# Transform an extracted symbol line into a proper C declaration.
  46235. +# Some systems (esp. on ia64) link data and code symbols differently,
  46236. +# so use this general approach.
  46237. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  46238. +$lt_cdecl_hook\
  46239. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  46240. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  46241. +
  46242. +# Transform an extracted symbol line into symbol name and symbol address
  46243. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  46244. +$lt_c_name_hook\
  46245. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  46246. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  46247. +
  46248. +# Transform an extracted symbol line into symbol name with lib prefix and
  46249. +# symbol address.
  46250. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  46251. +$lt_c_name_lib_hook\
  46252. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  46253. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  46254. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  46255. +
  46256. +# Handle CRLF in mingw tool chain
  46257. +opt_cr=
  46258. +case $build_os in
  46259. +mingw*)
  46260. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  46261. + ;;
  46262. +esac
  46263. +
  46264. +# Try without a prefix underscore, then with it.
  46265. +for ac_symprfx in "" "_"; do
  46266. +
  46267. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  46268. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  46269. +
  46270. + # Write the raw and C identifiers.
  46271. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  46272. + # Fake it for dumpbin and say T for any non-static function,
  46273. + # D for any global variable and I for any imported variable.
  46274. + # Also find C++ and __fastcall symbols from MSVC++,
  46275. + # which start with @ or ?.
  46276. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  46277. +" {last_section=section; section=\$ 3};"\
  46278. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  46279. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  46280. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  46281. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  46282. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  46283. +" \$ 0!~/External *\|/{next};"\
  46284. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  46285. +" {if(hide[section]) next};"\
  46286. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  46287. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  46288. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  46289. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  46290. +" ' prfx=^$ac_symprfx"
  46291. + else
  46292. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  46293. + fi
  46294. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  46295. +
  46296. + # Check to see that the pipe works correctly.
  46297. + pipe_works=no
  46298. +
  46299. + rm -f conftest*
  46300. + cat > conftest.$ac_ext <<_LT_EOF
  46301. +#ifdef __cplusplus
  46302. +extern "C" {
  46303. +#endif
  46304. +char nm_test_var;
  46305. +void nm_test_func(void);
  46306. +void nm_test_func(void){}
  46307. +#ifdef __cplusplus
  46308. +}
  46309. +#endif
  46310. +int main(){nm_test_var='a';nm_test_func();return(0);}
  46311. +_LT_EOF
  46312. +
  46313. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46314. + (eval $ac_compile) 2>&5
  46315. + ac_status=$?
  46316. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46317. + test $ac_status = 0; }; then
  46318. + # Now try to grab the symbols.
  46319. + nlist=conftest.nm
  46320. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  46321. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  46322. + ac_status=$?
  46323. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46324. + test $ac_status = 0; } && test -s "$nlist"; then
  46325. + # Try sorting and uniquifying the output.
  46326. + if sort "$nlist" | uniq > "$nlist"T; then
  46327. + mv -f "$nlist"T "$nlist"
  46328. + else
  46329. + rm -f "$nlist"T
  46330. + fi
  46331. +
  46332. + # Make sure that we snagged all the symbols we need.
  46333. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  46334. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  46335. + cat <<_LT_EOF > conftest.$ac_ext
  46336. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  46337. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  46338. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  46339. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  46340. +# define LT@&t@_DLSYM_CONST
  46341. +#elif defined __osf__
  46342. +/* This system does not cope well with relocations in const data. */
  46343. +# define LT@&t@_DLSYM_CONST
  46344. +#else
  46345. +# define LT@&t@_DLSYM_CONST const
  46346. +#endif
  46347. +
  46348. +#ifdef __cplusplus
  46349. +extern "C" {
  46350. +#endif
  46351. +
  46352. +_LT_EOF
  46353. + # Now generate the symbol file.
  46354. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  46355. +
  46356. + cat <<_LT_EOF >> conftest.$ac_ext
  46357. +
  46358. +/* The mapping between symbol names and symbols. */
  46359. +LT@&t@_DLSYM_CONST struct {
  46360. + const char *name;
  46361. + void *address;
  46362. +}
  46363. +lt__PROGRAM__LTX_preloaded_symbols[] =
  46364. +{
  46365. + { "@PROGRAM@", (void *) 0 },
  46366. +_LT_EOF
  46367. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  46368. + cat <<\_LT_EOF >> conftest.$ac_ext
  46369. + {0, (void *) 0}
  46370. +};
  46371. +
  46372. +/* This works around a problem in FreeBSD linker */
  46373. +#ifdef FREEBSD_WORKAROUND
  46374. +static const void *lt_preloaded_setup() {
  46375. + return lt__PROGRAM__LTX_preloaded_symbols;
  46376. +}
  46377. +#endif
  46378. +
  46379. +#ifdef __cplusplus
  46380. +}
  46381. +#endif
  46382. +_LT_EOF
  46383. + # Now try linking the two files.
  46384. + mv conftest.$ac_objext conftstm.$ac_objext
  46385. + lt_globsym_save_LIBS=$LIBS
  46386. + lt_globsym_save_CFLAGS=$CFLAGS
  46387. + LIBS=conftstm.$ac_objext
  46388. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  46389. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  46390. + (eval $ac_link) 2>&5
  46391. + ac_status=$?
  46392. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46393. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  46394. + pipe_works=yes
  46395. + fi
  46396. + LIBS=$lt_globsym_save_LIBS
  46397. + CFLAGS=$lt_globsym_save_CFLAGS
  46398. + else
  46399. + echo "cannot find nm_test_func in $nlist" >&5
  46400. + fi
  46401. + else
  46402. + echo "cannot find nm_test_var in $nlist" >&5
  46403. + fi
  46404. + else
  46405. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  46406. + fi
  46407. + else
  46408. + echo "$progname: failed program was:" >&5
  46409. + cat conftest.$ac_ext >&5
  46410. + fi
  46411. + rm -rf conftest* conftst*
  46412. +
  46413. + # Do not use the global_symbol_pipe unless it works.
  46414. + if test yes = "$pipe_works"; then
  46415. + break
  46416. + else
  46417. + lt_cv_sys_global_symbol_pipe=
  46418. + fi
  46419. +done
  46420. +
  46421. +fi
  46422. +
  46423. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  46424. + lt_cv_sys_global_symbol_to_cdecl=
  46425. +fi
  46426. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  46427. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  46428. +$as_echo "failed" >&6; }
  46429. +else
  46430. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  46431. +$as_echo "ok" >&6; }
  46432. +fi
  46433. +
  46434. +# Response file support.
  46435. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  46436. + nm_file_list_spec='@'
  46437. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  46438. + nm_file_list_spec='@'
  46439. +fi
  46440. +
  46441. +
  46442. +
  46443. +
  46444. +
  46445. +
  46446. +
  46447. +
  46448. +
  46449. +
  46450. +
  46451. +
  46452. +
  46453. +
  46454. +
  46455. +
  46456. +
  46457. +
  46458. +
  46459. +
  46460. +
  46461. +
  46462. +
  46463. +
  46464. +
  46465. +
  46466. +
  46467. +
  46468. +
  46469. +
  46470. +
  46471. +
  46472. +
  46473. +
  46474. +
  46475. +
  46476. +
  46477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  46478. +$as_echo_n "checking for sysroot... " >&6; }
  46479. +
  46480. +@%:@ Check whether --with-sysroot was given.
  46481. +if test "${with_sysroot+set}" = set; then :
  46482. + withval=$with_sysroot;
  46483. +else
  46484. + with_sysroot=no
  46485. +fi
  46486. +
  46487. +
  46488. +lt_sysroot=
  46489. +case $with_sysroot in #(
  46490. + yes)
  46491. + if test yes = "$GCC"; then
  46492. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  46493. + fi
  46494. + ;; #(
  46495. + /*)
  46496. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  46497. + ;; #(
  46498. + no|'')
  46499. + ;; #(
  46500. + *)
  46501. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  46502. +$as_echo "$with_sysroot" >&6; }
  46503. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  46504. + ;;
  46505. +esac
  46506. +
  46507. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  46508. +$as_echo "${lt_sysroot:-no}" >&6; }
  46509. +
  46510. +
  46511. +
  46512. +
  46513. +
  46514. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  46515. +$as_echo_n "checking for a working dd... " >&6; }
  46516. +if ${ac_cv_path_lt_DD+:} false; then :
  46517. + $as_echo_n "(cached) " >&6
  46518. +else
  46519. + printf 0123456789abcdef0123456789abcdef >conftest.i
  46520. +cat conftest.i conftest.i >conftest2.i
  46521. +: ${lt_DD:=$DD}
  46522. +if test -z "$lt_DD"; then
  46523. + ac_path_lt_DD_found=false
  46524. + # Loop through the user's path and test for each of PROGNAME-LIST
  46525. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46526. +for as_dir in $PATH
  46527. +do
  46528. + IFS=$as_save_IFS
  46529. + test -z "$as_dir" && as_dir=.
  46530. + for ac_prog in dd; do
  46531. + for ac_exec_ext in '' $ac_executable_extensions; do
  46532. + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  46533. + as_fn_executable_p "$ac_path_lt_DD" || continue
  46534. +if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  46535. + cmp -s conftest.i conftest.out \
  46536. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  46537. +fi
  46538. + $ac_path_lt_DD_found && break 3
  46539. + done
  46540. + done
  46541. + done
  46542. +IFS=$as_save_IFS
  46543. + if test -z "$ac_cv_path_lt_DD"; then
  46544. + :
  46545. + fi
  46546. +else
  46547. + ac_cv_path_lt_DD=$lt_DD
  46548. +fi
  46549. +
  46550. +rm -f conftest.i conftest2.i conftest.out
  46551. +fi
  46552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  46553. +$as_echo "$ac_cv_path_lt_DD" >&6; }
  46554. +
  46555. +
  46556. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  46557. +$as_echo_n "checking how to truncate binary pipes... " >&6; }
  46558. +if ${lt_cv_truncate_bin+:} false; then :
  46559. + $as_echo_n "(cached) " >&6
  46560. +else
  46561. + printf 0123456789abcdef0123456789abcdef >conftest.i
  46562. +cat conftest.i conftest.i >conftest2.i
  46563. +lt_cv_truncate_bin=
  46564. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  46565. + cmp -s conftest.i conftest.out \
  46566. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  46567. +fi
  46568. +rm -f conftest.i conftest2.i conftest.out
  46569. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  46570. +fi
  46571. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  46572. +$as_echo "$lt_cv_truncate_bin" >&6; }
  46573. +
  46574. +
  46575. +
  46576. +
  46577. +
  46578. +
  46579. +
  46580. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  46581. +func_cc_basename ()
  46582. +{
  46583. + for cc_temp in @S|@*""; do
  46584. + case $cc_temp in
  46585. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  46586. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  46587. + \-*) ;;
  46588. + *) break;;
  46589. + esac
  46590. + done
  46591. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  46592. +}
  46593. +
  46594. +@%:@ Check whether --enable-libtool-lock was given.
  46595. +if test "${enable_libtool_lock+set}" = set; then :
  46596. + enableval=$enable_libtool_lock;
  46597. +fi
  46598. +
  46599. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  46600. +
  46601. +# Some flags need to be propagated to the compiler or linker for good
  46602. +# libtool support.
  46603. +case $host in
  46604. +ia64-*-hpux*)
  46605. + # Find out what ABI is being produced by ac_compile, and set mode
  46606. + # options accordingly.
  46607. + echo 'int i;' > conftest.$ac_ext
  46608. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46609. + (eval $ac_compile) 2>&5
  46610. + ac_status=$?
  46611. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46612. + test $ac_status = 0; }; then
  46613. + case `/usr/bin/file conftest.$ac_objext` in
  46614. + *ELF-32*)
  46615. + HPUX_IA64_MODE=32
  46616. + ;;
  46617. + *ELF-64*)
  46618. + HPUX_IA64_MODE=64
  46619. + ;;
  46620. + esac
  46621. + fi
  46622. + rm -rf conftest*
  46623. + ;;
  46624. +*-*-irix6*)
  46625. + # Find out what ABI is being produced by ac_compile, and set linker
  46626. + # options accordingly.
  46627. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  46628. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46629. + (eval $ac_compile) 2>&5
  46630. + ac_status=$?
  46631. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46632. + test $ac_status = 0; }; then
  46633. + if test yes = "$lt_cv_prog_gnu_ld"; then
  46634. + case `/usr/bin/file conftest.$ac_objext` in
  46635. + *32-bit*)
  46636. + LD="${LD-ld} -melf32bsmip"
  46637. + ;;
  46638. + *N32*)
  46639. + LD="${LD-ld} -melf32bmipn32"
  46640. + ;;
  46641. + *64-bit*)
  46642. + LD="${LD-ld} -melf64bmip"
  46643. + ;;
  46644. + esac
  46645. + else
  46646. + case `/usr/bin/file conftest.$ac_objext` in
  46647. + *32-bit*)
  46648. + LD="${LD-ld} -32"
  46649. + ;;
  46650. + *N32*)
  46651. + LD="${LD-ld} -n32"
  46652. + ;;
  46653. + *64-bit*)
  46654. + LD="${LD-ld} -64"
  46655. + ;;
  46656. + esac
  46657. + fi
  46658. + fi
  46659. + rm -rf conftest*
  46660. + ;;
  46661. +
  46662. +mips64*-*linux*)
  46663. + # Find out what ABI is being produced by ac_compile, and set linker
  46664. + # options accordingly.
  46665. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  46666. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46667. + (eval $ac_compile) 2>&5
  46668. + ac_status=$?
  46669. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46670. + test $ac_status = 0; }; then
  46671. + emul=elf
  46672. + case `/usr/bin/file conftest.$ac_objext` in
  46673. + *32-bit*)
  46674. + emul="${emul}32"
  46675. + ;;
  46676. + *64-bit*)
  46677. + emul="${emul}64"
  46678. + ;;
  46679. + esac
  46680. + case `/usr/bin/file conftest.$ac_objext` in
  46681. + *MSB*)
  46682. + emul="${emul}btsmip"
  46683. + ;;
  46684. + *LSB*)
  46685. + emul="${emul}ltsmip"
  46686. + ;;
  46687. + esac
  46688. + case `/usr/bin/file conftest.$ac_objext` in
  46689. + *N32*)
  46690. + emul="${emul}n32"
  46691. + ;;
  46692. + esac
  46693. + LD="${LD-ld} -m $emul"
  46694. + fi
  46695. + rm -rf conftest*
  46696. + ;;
  46697. +
  46698. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  46699. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  46700. + # Find out what ABI is being produced by ac_compile, and set linker
  46701. + # options accordingly. Note that the listed cases only cover the
  46702. + # situations where additional linker options are needed (such as when
  46703. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  46704. + # vice versa); the common cases where no linker options are needed do
  46705. + # not appear in the list.
  46706. + echo 'int i;' > conftest.$ac_ext
  46707. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46708. + (eval $ac_compile) 2>&5
  46709. + ac_status=$?
  46710. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46711. + test $ac_status = 0; }; then
  46712. + case `/usr/bin/file conftest.o` in
  46713. + *32-bit*)
  46714. + case $host in
  46715. + x86_64-*kfreebsd*-gnu)
  46716. + LD="${LD-ld} -m elf_i386_fbsd"
  46717. + ;;
  46718. + x86_64-*linux*)
  46719. + case `/usr/bin/file conftest.o` in
  46720. + *x86-64*)
  46721. + LD="${LD-ld} -m elf32_x86_64"
  46722. + ;;
  46723. + *)
  46724. + LD="${LD-ld} -m elf_i386"
  46725. + ;;
  46726. + esac
  46727. + ;;
  46728. + powerpc64le-*linux*)
  46729. + LD="${LD-ld} -m elf32lppclinux"
  46730. + ;;
  46731. + powerpc64-*linux*)
  46732. + LD="${LD-ld} -m elf32ppclinux"
  46733. + ;;
  46734. + s390x-*linux*)
  46735. + LD="${LD-ld} -m elf_s390"
  46736. + ;;
  46737. + sparc64-*linux*)
  46738. + LD="${LD-ld} -m elf32_sparc"
  46739. + ;;
  46740. + esac
  46741. + ;;
  46742. + *64-bit*)
  46743. + case $host in
  46744. + x86_64-*kfreebsd*-gnu)
  46745. + LD="${LD-ld} -m elf_x86_64_fbsd"
  46746. + ;;
  46747. + x86_64-*linux*)
  46748. + LD="${LD-ld} -m elf_x86_64"
  46749. + ;;
  46750. + powerpcle-*linux*)
  46751. + LD="${LD-ld} -m elf64lppc"
  46752. + ;;
  46753. + powerpc-*linux*)
  46754. + LD="${LD-ld} -m elf64ppc"
  46755. + ;;
  46756. + s390*-*linux*|s390*-*tpf*)
  46757. + LD="${LD-ld} -m elf64_s390"
  46758. + ;;
  46759. + sparc*-*linux*)
  46760. + LD="${LD-ld} -m elf64_sparc"
  46761. + ;;
  46762. + esac
  46763. + ;;
  46764. + esac
  46765. + fi
  46766. + rm -rf conftest*
  46767. + ;;
  46768. +
  46769. +*-*-sco3.2v5*)
  46770. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  46771. + SAVE_CFLAGS=$CFLAGS
  46772. + CFLAGS="$CFLAGS -belf"
  46773. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  46774. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  46775. +if ${lt_cv_cc_needs_belf+:} false; then :
  46776. + $as_echo_n "(cached) " >&6
  46777. +else
  46778. + ac_ext=c
  46779. +ac_cpp='$CPP $CPPFLAGS'
  46780. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  46781. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  46782. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  46783. +
  46784. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46785. +/* end confdefs.h. */
  46786. +
  46787. +int
  46788. +main ()
  46789. +{
  46790. +
  46791. + ;
  46792. + return 0;
  46793. +}
  46794. +_ACEOF
  46795. +if ac_fn_c_try_link "$LINENO"; then :
  46796. + lt_cv_cc_needs_belf=yes
  46797. +else
  46798. + lt_cv_cc_needs_belf=no
  46799. +fi
  46800. +rm -f core conftest.err conftest.$ac_objext \
  46801. + conftest$ac_exeext conftest.$ac_ext
  46802. + ac_ext=c
  46803. +ac_cpp='$CPP $CPPFLAGS'
  46804. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  46805. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  46806. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  46807. +
  46808. +fi
  46809. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  46810. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  46811. + if test yes != "$lt_cv_cc_needs_belf"; then
  46812. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  46813. + CFLAGS=$SAVE_CFLAGS
  46814. + fi
  46815. + ;;
  46816. +*-*solaris*)
  46817. + # Find out what ABI is being produced by ac_compile, and set linker
  46818. + # options accordingly.
  46819. + echo 'int i;' > conftest.$ac_ext
  46820. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46821. + (eval $ac_compile) 2>&5
  46822. + ac_status=$?
  46823. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46824. + test $ac_status = 0; }; then
  46825. + case `/usr/bin/file conftest.o` in
  46826. + *64-bit*)
  46827. + case $lt_cv_prog_gnu_ld in
  46828. + yes*)
  46829. + case $host in
  46830. + i?86-*-solaris*|x86_64-*-solaris*)
  46831. + LD="${LD-ld} -m elf_x86_64"
  46832. + ;;
  46833. + sparc*-*-solaris*)
  46834. + LD="${LD-ld} -m elf64_sparc"
  46835. + ;;
  46836. + esac
  46837. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  46838. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  46839. + LD=${LD-ld}_sol2
  46840. + fi
  46841. + ;;
  46842. + *)
  46843. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  46844. + LD="${LD-ld} -64"
  46845. + fi
  46846. + ;;
  46847. + esac
  46848. + ;;
  46849. + esac
  46850. + fi
  46851. + rm -rf conftest*
  46852. + ;;
  46853. +esac
  46854. +
  46855. +need_locks=$enable_libtool_lock
  46856. +
  46857. +if test -n "$ac_tool_prefix"; then
  46858. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  46859. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  46860. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46861. +$as_echo_n "checking for $ac_word... " >&6; }
  46862. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  46863. + $as_echo_n "(cached) " >&6
  46864. +else
  46865. + if test -n "$MANIFEST_TOOL"; then
  46866. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  46867. +else
  46868. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46869. +for as_dir in $PATH
  46870. +do
  46871. + IFS=$as_save_IFS
  46872. + test -z "$as_dir" && as_dir=.
  46873. + for ac_exec_ext in '' $ac_executable_extensions; do
  46874. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46875. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  46876. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46877. + break 2
  46878. + fi
  46879. +done
  46880. + done
  46881. +IFS=$as_save_IFS
  46882. +
  46883. +fi
  46884. +fi
  46885. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  46886. +if test -n "$MANIFEST_TOOL"; then
  46887. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  46888. +$as_echo "$MANIFEST_TOOL" >&6; }
  46889. +else
  46890. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46891. +$as_echo "no" >&6; }
  46892. +fi
  46893. +
  46894. +
  46895. +fi
  46896. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  46897. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  46898. + # Extract the first word of "mt", so it can be a program name with args.
  46899. +set dummy mt; ac_word=$2
  46900. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46901. +$as_echo_n "checking for $ac_word... " >&6; }
  46902. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  46903. + $as_echo_n "(cached) " >&6
  46904. +else
  46905. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  46906. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  46907. +else
  46908. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46909. +for as_dir in $PATH
  46910. +do
  46911. + IFS=$as_save_IFS
  46912. + test -z "$as_dir" && as_dir=.
  46913. + for ac_exec_ext in '' $ac_executable_extensions; do
  46914. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46915. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  46916. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46917. + break 2
  46918. + fi
  46919. +done
  46920. + done
  46921. +IFS=$as_save_IFS
  46922. +
  46923. +fi
  46924. +fi
  46925. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  46926. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  46927. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  46928. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  46929. +else
  46930. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  46931. +$as_echo "no" >&6; }
  46932. +fi
  46933. +
  46934. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  46935. + MANIFEST_TOOL=":"
  46936. + else
  46937. + case $cross_compiling:$ac_tool_warned in
  46938. +yes:)
  46939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  46940. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  46941. +ac_tool_warned=yes ;;
  46942. +esac
  46943. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  46944. + fi
  46945. +else
  46946. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  46947. +fi
  46948. +
  46949. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  46950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  46951. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  46952. +if ${lt_cv_path_mainfest_tool+:} false; then :
  46953. + $as_echo_n "(cached) " >&6
  46954. +else
  46955. + lt_cv_path_mainfest_tool=no
  46956. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  46957. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  46958. + cat conftest.err >&5
  46959. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  46960. + lt_cv_path_mainfest_tool=yes
  46961. + fi
  46962. + rm -f conftest*
  46963. +fi
  46964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  46965. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  46966. +if test yes != "$lt_cv_path_mainfest_tool"; then
  46967. + MANIFEST_TOOL=:
  46968. +fi
  46969. +
  46970. +
  46971. +
  46972. +
  46973. +
  46974. +
  46975. + case $host_os in
  46976. + rhapsody* | darwin*)
  46977. + if test -n "$ac_tool_prefix"; then
  46978. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  46979. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  46980. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  46981. +$as_echo_n "checking for $ac_word... " >&6; }
  46982. +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  46983. + $as_echo_n "(cached) " >&6
  46984. +else
  46985. + if test -n "$DSYMUTIL"; then
  46986. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  46987. +else
  46988. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  46989. +for as_dir in $PATH
  46990. +do
  46991. + IFS=$as_save_IFS
  46992. + test -z "$as_dir" && as_dir=.
  46993. + for ac_exec_ext in '' $ac_executable_extensions; do
  46994. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  46995. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  46996. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  46997. + break 2
  46998. + fi
  46999. +done
  47000. + done
  47001. +IFS=$as_save_IFS
  47002. +
  47003. +fi
  47004. +fi
  47005. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  47006. +if test -n "$DSYMUTIL"; then
  47007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  47008. +$as_echo "$DSYMUTIL" >&6; }
  47009. +else
  47010. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47011. +$as_echo "no" >&6; }
  47012. +fi
  47013. +
  47014. +
  47015. +fi
  47016. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  47017. + ac_ct_DSYMUTIL=$DSYMUTIL
  47018. + # Extract the first word of "dsymutil", so it can be a program name with args.
  47019. +set dummy dsymutil; ac_word=$2
  47020. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47021. +$as_echo_n "checking for $ac_word... " >&6; }
  47022. +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  47023. + $as_echo_n "(cached) " >&6
  47024. +else
  47025. + if test -n "$ac_ct_DSYMUTIL"; then
  47026. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  47027. +else
  47028. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47029. +for as_dir in $PATH
  47030. +do
  47031. + IFS=$as_save_IFS
  47032. + test -z "$as_dir" && as_dir=.
  47033. + for ac_exec_ext in '' $ac_executable_extensions; do
  47034. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47035. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  47036. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47037. + break 2
  47038. + fi
  47039. +done
  47040. + done
  47041. +IFS=$as_save_IFS
  47042. +
  47043. +fi
  47044. +fi
  47045. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  47046. +if test -n "$ac_ct_DSYMUTIL"; then
  47047. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  47048. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  47049. +else
  47050. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47051. +$as_echo "no" >&6; }
  47052. +fi
  47053. +
  47054. + if test "x$ac_ct_DSYMUTIL" = x; then
  47055. + DSYMUTIL=":"
  47056. + else
  47057. + case $cross_compiling:$ac_tool_warned in
  47058. +yes:)
  47059. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47060. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47061. +ac_tool_warned=yes ;;
  47062. +esac
  47063. + DSYMUTIL=$ac_ct_DSYMUTIL
  47064. + fi
  47065. +else
  47066. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  47067. +fi
  47068. +
  47069. + if test -n "$ac_tool_prefix"; then
  47070. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  47071. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  47072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47073. +$as_echo_n "checking for $ac_word... " >&6; }
  47074. +if ${ac_cv_prog_NMEDIT+:} false; then :
  47075. + $as_echo_n "(cached) " >&6
  47076. +else
  47077. + if test -n "$NMEDIT"; then
  47078. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  47079. +else
  47080. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47081. +for as_dir in $PATH
  47082. +do
  47083. + IFS=$as_save_IFS
  47084. + test -z "$as_dir" && as_dir=.
  47085. + for ac_exec_ext in '' $ac_executable_extensions; do
  47086. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47087. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  47088. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47089. + break 2
  47090. + fi
  47091. +done
  47092. + done
  47093. +IFS=$as_save_IFS
  47094. +
  47095. +fi
  47096. +fi
  47097. +NMEDIT=$ac_cv_prog_NMEDIT
  47098. +if test -n "$NMEDIT"; then
  47099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  47100. +$as_echo "$NMEDIT" >&6; }
  47101. +else
  47102. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47103. +$as_echo "no" >&6; }
  47104. +fi
  47105. +
  47106. +
  47107. +fi
  47108. +if test -z "$ac_cv_prog_NMEDIT"; then
  47109. + ac_ct_NMEDIT=$NMEDIT
  47110. + # Extract the first word of "nmedit", so it can be a program name with args.
  47111. +set dummy nmedit; ac_word=$2
  47112. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47113. +$as_echo_n "checking for $ac_word... " >&6; }
  47114. +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  47115. + $as_echo_n "(cached) " >&6
  47116. +else
  47117. + if test -n "$ac_ct_NMEDIT"; then
  47118. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  47119. +else
  47120. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47121. +for as_dir in $PATH
  47122. +do
  47123. + IFS=$as_save_IFS
  47124. + test -z "$as_dir" && as_dir=.
  47125. + for ac_exec_ext in '' $ac_executable_extensions; do
  47126. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47127. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  47128. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47129. + break 2
  47130. + fi
  47131. +done
  47132. + done
  47133. +IFS=$as_save_IFS
  47134. +
  47135. +fi
  47136. +fi
  47137. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  47138. +if test -n "$ac_ct_NMEDIT"; then
  47139. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  47140. +$as_echo "$ac_ct_NMEDIT" >&6; }
  47141. +else
  47142. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47143. +$as_echo "no" >&6; }
  47144. +fi
  47145. +
  47146. + if test "x$ac_ct_NMEDIT" = x; then
  47147. + NMEDIT=":"
  47148. + else
  47149. + case $cross_compiling:$ac_tool_warned in
  47150. +yes:)
  47151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47152. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47153. +ac_tool_warned=yes ;;
  47154. +esac
  47155. + NMEDIT=$ac_ct_NMEDIT
  47156. + fi
  47157. +else
  47158. + NMEDIT="$ac_cv_prog_NMEDIT"
  47159. +fi
  47160. +
  47161. + if test -n "$ac_tool_prefix"; then
  47162. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  47163. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  47164. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47165. +$as_echo_n "checking for $ac_word... " >&6; }
  47166. +if ${ac_cv_prog_LIPO+:} false; then :
  47167. + $as_echo_n "(cached) " >&6
  47168. +else
  47169. + if test -n "$LIPO"; then
  47170. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  47171. +else
  47172. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47173. +for as_dir in $PATH
  47174. +do
  47175. + IFS=$as_save_IFS
  47176. + test -z "$as_dir" && as_dir=.
  47177. + for ac_exec_ext in '' $ac_executable_extensions; do
  47178. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47179. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  47180. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47181. + break 2
  47182. + fi
  47183. +done
  47184. + done
  47185. +IFS=$as_save_IFS
  47186. +
  47187. +fi
  47188. +fi
  47189. +LIPO=$ac_cv_prog_LIPO
  47190. +if test -n "$LIPO"; then
  47191. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  47192. +$as_echo "$LIPO" >&6; }
  47193. +else
  47194. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47195. +$as_echo "no" >&6; }
  47196. +fi
  47197. +
  47198. +
  47199. +fi
  47200. +if test -z "$ac_cv_prog_LIPO"; then
  47201. + ac_ct_LIPO=$LIPO
  47202. + # Extract the first word of "lipo", so it can be a program name with args.
  47203. +set dummy lipo; ac_word=$2
  47204. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47205. +$as_echo_n "checking for $ac_word... " >&6; }
  47206. +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  47207. + $as_echo_n "(cached) " >&6
  47208. +else
  47209. + if test -n "$ac_ct_LIPO"; then
  47210. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  47211. +else
  47212. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47213. +for as_dir in $PATH
  47214. +do
  47215. + IFS=$as_save_IFS
  47216. + test -z "$as_dir" && as_dir=.
  47217. + for ac_exec_ext in '' $ac_executable_extensions; do
  47218. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47219. + ac_cv_prog_ac_ct_LIPO="lipo"
  47220. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47221. + break 2
  47222. + fi
  47223. +done
  47224. + done
  47225. +IFS=$as_save_IFS
  47226. +
  47227. +fi
  47228. +fi
  47229. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  47230. +if test -n "$ac_ct_LIPO"; then
  47231. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  47232. +$as_echo "$ac_ct_LIPO" >&6; }
  47233. +else
  47234. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47235. +$as_echo "no" >&6; }
  47236. +fi
  47237. +
  47238. + if test "x$ac_ct_LIPO" = x; then
  47239. + LIPO=":"
  47240. + else
  47241. + case $cross_compiling:$ac_tool_warned in
  47242. +yes:)
  47243. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47244. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47245. +ac_tool_warned=yes ;;
  47246. +esac
  47247. + LIPO=$ac_ct_LIPO
  47248. + fi
  47249. +else
  47250. + LIPO="$ac_cv_prog_LIPO"
  47251. +fi
  47252. +
  47253. + if test -n "$ac_tool_prefix"; then
  47254. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  47255. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  47256. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47257. +$as_echo_n "checking for $ac_word... " >&6; }
  47258. +if ${ac_cv_prog_OTOOL+:} false; then :
  47259. + $as_echo_n "(cached) " >&6
  47260. +else
  47261. + if test -n "$OTOOL"; then
  47262. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  47263. +else
  47264. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47265. +for as_dir in $PATH
  47266. +do
  47267. + IFS=$as_save_IFS
  47268. + test -z "$as_dir" && as_dir=.
  47269. + for ac_exec_ext in '' $ac_executable_extensions; do
  47270. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47271. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  47272. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47273. + break 2
  47274. + fi
  47275. +done
  47276. + done
  47277. +IFS=$as_save_IFS
  47278. +
  47279. +fi
  47280. +fi
  47281. +OTOOL=$ac_cv_prog_OTOOL
  47282. +if test -n "$OTOOL"; then
  47283. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  47284. +$as_echo "$OTOOL" >&6; }
  47285. +else
  47286. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47287. +$as_echo "no" >&6; }
  47288. +fi
  47289. +
  47290. +
  47291. +fi
  47292. +if test -z "$ac_cv_prog_OTOOL"; then
  47293. + ac_ct_OTOOL=$OTOOL
  47294. + # Extract the first word of "otool", so it can be a program name with args.
  47295. +set dummy otool; ac_word=$2
  47296. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47297. +$as_echo_n "checking for $ac_word... " >&6; }
  47298. +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  47299. + $as_echo_n "(cached) " >&6
  47300. +else
  47301. + if test -n "$ac_ct_OTOOL"; then
  47302. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  47303. +else
  47304. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47305. +for as_dir in $PATH
  47306. +do
  47307. + IFS=$as_save_IFS
  47308. + test -z "$as_dir" && as_dir=.
  47309. + for ac_exec_ext in '' $ac_executable_extensions; do
  47310. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47311. + ac_cv_prog_ac_ct_OTOOL="otool"
  47312. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47313. + break 2
  47314. + fi
  47315. +done
  47316. + done
  47317. +IFS=$as_save_IFS
  47318. +
  47319. +fi
  47320. +fi
  47321. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  47322. +if test -n "$ac_ct_OTOOL"; then
  47323. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  47324. +$as_echo "$ac_ct_OTOOL" >&6; }
  47325. +else
  47326. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47327. +$as_echo "no" >&6; }
  47328. +fi
  47329. +
  47330. + if test "x$ac_ct_OTOOL" = x; then
  47331. + OTOOL=":"
  47332. + else
  47333. + case $cross_compiling:$ac_tool_warned in
  47334. +yes:)
  47335. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47336. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47337. +ac_tool_warned=yes ;;
  47338. +esac
  47339. + OTOOL=$ac_ct_OTOOL
  47340. + fi
  47341. +else
  47342. + OTOOL="$ac_cv_prog_OTOOL"
  47343. +fi
  47344. +
  47345. + if test -n "$ac_tool_prefix"; then
  47346. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  47347. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  47348. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47349. +$as_echo_n "checking for $ac_word... " >&6; }
  47350. +if ${ac_cv_prog_OTOOL64+:} false; then :
  47351. + $as_echo_n "(cached) " >&6
  47352. +else
  47353. + if test -n "$OTOOL64"; then
  47354. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  47355. +else
  47356. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47357. +for as_dir in $PATH
  47358. +do
  47359. + IFS=$as_save_IFS
  47360. + test -z "$as_dir" && as_dir=.
  47361. + for ac_exec_ext in '' $ac_executable_extensions; do
  47362. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47363. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  47364. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47365. + break 2
  47366. + fi
  47367. +done
  47368. + done
  47369. +IFS=$as_save_IFS
  47370. +
  47371. +fi
  47372. +fi
  47373. +OTOOL64=$ac_cv_prog_OTOOL64
  47374. +if test -n "$OTOOL64"; then
  47375. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  47376. +$as_echo "$OTOOL64" >&6; }
  47377. +else
  47378. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47379. +$as_echo "no" >&6; }
  47380. +fi
  47381. +
  47382. +
  47383. +fi
  47384. +if test -z "$ac_cv_prog_OTOOL64"; then
  47385. + ac_ct_OTOOL64=$OTOOL64
  47386. + # Extract the first word of "otool64", so it can be a program name with args.
  47387. +set dummy otool64; ac_word=$2
  47388. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  47389. +$as_echo_n "checking for $ac_word... " >&6; }
  47390. +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  47391. + $as_echo_n "(cached) " >&6
  47392. +else
  47393. + if test -n "$ac_ct_OTOOL64"; then
  47394. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  47395. +else
  47396. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  47397. +for as_dir in $PATH
  47398. +do
  47399. + IFS=$as_save_IFS
  47400. + test -z "$as_dir" && as_dir=.
  47401. + for ac_exec_ext in '' $ac_executable_extensions; do
  47402. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  47403. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  47404. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  47405. + break 2
  47406. + fi
  47407. +done
  47408. + done
  47409. +IFS=$as_save_IFS
  47410. +
  47411. +fi
  47412. +fi
  47413. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  47414. +if test -n "$ac_ct_OTOOL64"; then
  47415. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  47416. +$as_echo "$ac_ct_OTOOL64" >&6; }
  47417. +else
  47418. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  47419. +$as_echo "no" >&6; }
  47420. +fi
  47421. +
  47422. + if test "x$ac_ct_OTOOL64" = x; then
  47423. + OTOOL64=":"
  47424. + else
  47425. + case $cross_compiling:$ac_tool_warned in
  47426. +yes:)
  47427. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  47428. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  47429. +ac_tool_warned=yes ;;
  47430. +esac
  47431. + OTOOL64=$ac_ct_OTOOL64
  47432. + fi
  47433. +else
  47434. + OTOOL64="$ac_cv_prog_OTOOL64"
  47435. +fi
  47436. +
  47437. +
  47438. +
  47439. +
  47440. +
  47441. +
  47442. +
  47443. +
  47444. +
  47445. +
  47446. +
  47447. +
  47448. +
  47449. +
  47450. +
  47451. +
  47452. +
  47453. +
  47454. +
  47455. +
  47456. +
  47457. +
  47458. +
  47459. +
  47460. +
  47461. +
  47462. +
  47463. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  47464. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  47465. +if ${lt_cv_apple_cc_single_mod+:} false; then :
  47466. + $as_echo_n "(cached) " >&6
  47467. +else
  47468. + lt_cv_apple_cc_single_mod=no
  47469. + if test -z "$LT_MULTI_MODULE"; then
  47470. + # By default we will add the -single_module flag. You can override
  47471. + # by either setting the environment variable LT_MULTI_MODULE
  47472. + # non-empty at configure time, or by adding -multi_module to the
  47473. + # link flags.
  47474. + rm -rf libconftest.dylib*
  47475. + echo "int foo(void){return 1;}" > conftest.c
  47476. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  47477. +-dynamiclib -Wl,-single_module conftest.c" >&5
  47478. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  47479. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  47480. + _lt_result=$?
  47481. + # If there is a non-empty error log, and "single_module"
  47482. + # appears in it, assume the flag caused a linker warning
  47483. + if test -s conftest.err && $GREP single_module conftest.err; then
  47484. + cat conftest.err >&5
  47485. + # Otherwise, if the output was created with a 0 exit code from
  47486. + # the compiler, it worked.
  47487. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  47488. + lt_cv_apple_cc_single_mod=yes
  47489. + else
  47490. + cat conftest.err >&5
  47491. + fi
  47492. + rm -rf libconftest.dylib*
  47493. + rm -f conftest.*
  47494. + fi
  47495. +fi
  47496. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  47497. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  47498. +
  47499. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  47500. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  47501. +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  47502. + $as_echo_n "(cached) " >&6
  47503. +else
  47504. + lt_cv_ld_exported_symbols_list=no
  47505. + save_LDFLAGS=$LDFLAGS
  47506. + echo "_main" > conftest.sym
  47507. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  47508. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47509. +/* end confdefs.h. */
  47510. +
  47511. +int
  47512. +main ()
  47513. +{
  47514. +
  47515. + ;
  47516. + return 0;
  47517. +}
  47518. +_ACEOF
  47519. +if ac_fn_c_try_link "$LINENO"; then :
  47520. + lt_cv_ld_exported_symbols_list=yes
  47521. +else
  47522. + lt_cv_ld_exported_symbols_list=no
  47523. +fi
  47524. +rm -f core conftest.err conftest.$ac_objext \
  47525. + conftest$ac_exeext conftest.$ac_ext
  47526. + LDFLAGS=$save_LDFLAGS
  47527. +
  47528. +fi
  47529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  47530. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  47531. +
  47532. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  47533. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  47534. +if ${lt_cv_ld_force_load+:} false; then :
  47535. + $as_echo_n "(cached) " >&6
  47536. +else
  47537. + lt_cv_ld_force_load=no
  47538. + cat > conftest.c << _LT_EOF
  47539. +int forced_loaded() { return 2;}
  47540. +_LT_EOF
  47541. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  47542. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  47543. + echo "$AR cru libconftest.a conftest.o" >&5
  47544. + $AR cru libconftest.a conftest.o 2>&5
  47545. + echo "$RANLIB libconftest.a" >&5
  47546. + $RANLIB libconftest.a 2>&5
  47547. + cat > conftest.c << _LT_EOF
  47548. +int main() { return 0;}
  47549. +_LT_EOF
  47550. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  47551. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  47552. + _lt_result=$?
  47553. + if test -s conftest.err && $GREP force_load conftest.err; then
  47554. + cat conftest.err >&5
  47555. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  47556. + lt_cv_ld_force_load=yes
  47557. + else
  47558. + cat conftest.err >&5
  47559. + fi
  47560. + rm -f conftest.err libconftest.a conftest conftest.c
  47561. + rm -rf conftest.dSYM
  47562. +
  47563. +fi
  47564. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  47565. +$as_echo "$lt_cv_ld_force_load" >&6; }
  47566. + case $host_os in
  47567. + rhapsody* | darwin1.[012])
  47568. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  47569. + darwin1.*)
  47570. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  47571. + darwin*) # darwin 5.x on
  47572. + # if running on 10.5 or later, the deployment target defaults
  47573. + # to the OS version, if on x86, and 10.4, the deployment
  47574. + # target defaults to 10.4. Don't you love it?
  47575. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  47576. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  47577. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  47578. + 10.[012][,.]*)
  47579. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  47580. + 10.*)
  47581. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  47582. + esac
  47583. + ;;
  47584. + esac
  47585. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  47586. + _lt_dar_single_mod='$single_module'
  47587. + fi
  47588. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  47589. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  47590. + else
  47591. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  47592. + fi
  47593. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  47594. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  47595. + else
  47596. + _lt_dsymutil=
  47597. + fi
  47598. + ;;
  47599. + esac
  47600. +
  47601. +# func_munge_path_list VARIABLE PATH
  47602. +# -----------------------------------
  47603. +# VARIABLE is name of variable containing _space_ separated list of
  47604. +# directories to be munged by the contents of PATH, which is string
  47605. +# having a format:
  47606. +# "DIR[:DIR]:"
  47607. +# string "DIR[ DIR]" will be prepended to VARIABLE
  47608. +# ":DIR[:DIR]"
  47609. +# string "DIR[ DIR]" will be appended to VARIABLE
  47610. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  47611. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  47612. +# "DIRA[ DIRA]" will be appended to VARIABLE
  47613. +# "DIR[:DIR]"
  47614. +# VARIABLE will be replaced by "DIR[ DIR]"
  47615. +func_munge_path_list ()
  47616. +{
  47617. + case x@S|@2 in
  47618. + x)
  47619. + ;;
  47620. + *:)
  47621. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  47622. + ;;
  47623. + x:*)
  47624. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  47625. + ;;
  47626. + *::*)
  47627. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  47628. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  47629. + ;;
  47630. + *)
  47631. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  47632. + ;;
  47633. + esac
  47634. +}
  47635. +
  47636. +ac_ext=c
  47637. +ac_cpp='$CPP $CPPFLAGS'
  47638. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  47639. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  47640. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  47641. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  47642. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  47643. +# On Suns, sometimes $CPP names a directory.
  47644. +if test -n "$CPP" && test -d "$CPP"; then
  47645. + CPP=
  47646. +fi
  47647. +if test -z "$CPP"; then
  47648. + if ${ac_cv_prog_CPP+:} false; then :
  47649. + $as_echo_n "(cached) " >&6
  47650. +else
  47651. + # Double quotes because CPP needs to be expanded
  47652. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  47653. + do
  47654. + ac_preproc_ok=false
  47655. +for ac_c_preproc_warn_flag in '' yes
  47656. +do
  47657. + # Use a header file that comes with gcc, so configuring glibc
  47658. + # with a fresh cross-compiler works.
  47659. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  47660. + # <limits.h> exists even on freestanding compilers.
  47661. + # On the NeXT, cc -E runs the code through the compiler's parser,
  47662. + # not just through cpp. "Syntax error" is here to catch this case.
  47663. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47664. +/* end confdefs.h. */
  47665. +@%:@ifdef __STDC__
  47666. +@%:@ include <limits.h>
  47667. +@%:@else
  47668. +@%:@ include <assert.h>
  47669. +@%:@endif
  47670. + Syntax error
  47671. +_ACEOF
  47672. +if ac_fn_c_try_cpp "$LINENO"; then :
  47673. +
  47674. +else
  47675. + # Broken: fails on valid input.
  47676. +continue
  47677. +fi
  47678. +rm -f conftest.err conftest.i conftest.$ac_ext
  47679. +
  47680. + # OK, works on sane cases. Now check whether nonexistent headers
  47681. + # can be detected and how.
  47682. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47683. +/* end confdefs.h. */
  47684. +@%:@include <ac_nonexistent.h>
  47685. +_ACEOF
  47686. +if ac_fn_c_try_cpp "$LINENO"; then :
  47687. + # Broken: success on invalid input.
  47688. +continue
  47689. +else
  47690. + # Passes both tests.
  47691. +ac_preproc_ok=:
  47692. +break
  47693. +fi
  47694. +rm -f conftest.err conftest.i conftest.$ac_ext
  47695. +
  47696. +done
  47697. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  47698. +rm -f conftest.i conftest.err conftest.$ac_ext
  47699. +if $ac_preproc_ok; then :
  47700. + break
  47701. +fi
  47702. +
  47703. + done
  47704. + ac_cv_prog_CPP=$CPP
  47705. +
  47706. +fi
  47707. + CPP=$ac_cv_prog_CPP
  47708. +else
  47709. + ac_cv_prog_CPP=$CPP
  47710. +fi
  47711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  47712. +$as_echo "$CPP" >&6; }
  47713. +ac_preproc_ok=false
  47714. +for ac_c_preproc_warn_flag in '' yes
  47715. +do
  47716. + # Use a header file that comes with gcc, so configuring glibc
  47717. + # with a fresh cross-compiler works.
  47718. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  47719. + # <limits.h> exists even on freestanding compilers.
  47720. + # On the NeXT, cc -E runs the code through the compiler's parser,
  47721. + # not just through cpp. "Syntax error" is here to catch this case.
  47722. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47723. +/* end confdefs.h. */
  47724. +@%:@ifdef __STDC__
  47725. +@%:@ include <limits.h>
  47726. +@%:@else
  47727. +@%:@ include <assert.h>
  47728. +@%:@endif
  47729. + Syntax error
  47730. +_ACEOF
  47731. +if ac_fn_c_try_cpp "$LINENO"; then :
  47732. +
  47733. +else
  47734. + # Broken: fails on valid input.
  47735. +continue
  47736. +fi
  47737. +rm -f conftest.err conftest.i conftest.$ac_ext
  47738. +
  47739. + # OK, works on sane cases. Now check whether nonexistent headers
  47740. + # can be detected and how.
  47741. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47742. +/* end confdefs.h. */
  47743. +@%:@include <ac_nonexistent.h>
  47744. +_ACEOF
  47745. +if ac_fn_c_try_cpp "$LINENO"; then :
  47746. + # Broken: success on invalid input.
  47747. +continue
  47748. +else
  47749. + # Passes both tests.
  47750. +ac_preproc_ok=:
  47751. +break
  47752. +fi
  47753. +rm -f conftest.err conftest.i conftest.$ac_ext
  47754. +
  47755. +done
  47756. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  47757. +rm -f conftest.i conftest.err conftest.$ac_ext
  47758. +if $ac_preproc_ok; then :
  47759. +
  47760. +else
  47761. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  47762. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  47763. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  47764. +See \`config.log' for more details" "$LINENO" 5; }
  47765. +fi
  47766. +
  47767. +ac_ext=c
  47768. +ac_cpp='$CPP $CPPFLAGS'
  47769. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  47770. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  47771. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  47772. +
  47773. +
  47774. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  47775. +$as_echo_n "checking for ANSI C header files... " >&6; }
  47776. +if ${ac_cv_header_stdc+:} false; then :
  47777. + $as_echo_n "(cached) " >&6
  47778. +else
  47779. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47780. +/* end confdefs.h. */
  47781. +#include <stdlib.h>
  47782. +#include <stdarg.h>
  47783. +#include <string.h>
  47784. +#include <float.h>
  47785. +
  47786. +int
  47787. +main ()
  47788. +{
  47789. +
  47790. + ;
  47791. + return 0;
  47792. +}
  47793. +_ACEOF
  47794. +if ac_fn_c_try_compile "$LINENO"; then :
  47795. + ac_cv_header_stdc=yes
  47796. +else
  47797. + ac_cv_header_stdc=no
  47798. +fi
  47799. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47800. +
  47801. +if test $ac_cv_header_stdc = yes; then
  47802. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  47803. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47804. +/* end confdefs.h. */
  47805. +#include <string.h>
  47806. +
  47807. +_ACEOF
  47808. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  47809. + $EGREP "memchr" >/dev/null 2>&1; then :
  47810. +
  47811. +else
  47812. + ac_cv_header_stdc=no
  47813. +fi
  47814. +rm -f conftest*
  47815. +
  47816. +fi
  47817. +
  47818. +if test $ac_cv_header_stdc = yes; then
  47819. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  47820. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47821. +/* end confdefs.h. */
  47822. +#include <stdlib.h>
  47823. +
  47824. +_ACEOF
  47825. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  47826. + $EGREP "free" >/dev/null 2>&1; then :
  47827. +
  47828. +else
  47829. + ac_cv_header_stdc=no
  47830. +fi
  47831. +rm -f conftest*
  47832. +
  47833. +fi
  47834. +
  47835. +if test $ac_cv_header_stdc = yes; then
  47836. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  47837. + if test "$cross_compiling" = yes; then :
  47838. + :
  47839. +else
  47840. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47841. +/* end confdefs.h. */
  47842. +#include <ctype.h>
  47843. +#include <stdlib.h>
  47844. +#if ((' ' & 0x0FF) == 0x020)
  47845. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  47846. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  47847. +#else
  47848. +# define ISLOWER(c) \
  47849. + (('a' <= (c) && (c) <= 'i') \
  47850. + || ('j' <= (c) && (c) <= 'r') \
  47851. + || ('s' <= (c) && (c) <= 'z'))
  47852. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  47853. +#endif
  47854. +
  47855. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  47856. +int
  47857. +main ()
  47858. +{
  47859. + int i;
  47860. + for (i = 0; i < 256; i++)
  47861. + if (XOR (islower (i), ISLOWER (i))
  47862. + || toupper (i) != TOUPPER (i))
  47863. + return 2;
  47864. + return 0;
  47865. +}
  47866. +_ACEOF
  47867. +if ac_fn_c_try_run "$LINENO"; then :
  47868. +
  47869. +else
  47870. + ac_cv_header_stdc=no
  47871. +fi
  47872. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  47873. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  47874. +fi
  47875. +
  47876. +fi
  47877. +fi
  47878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  47879. +$as_echo "$ac_cv_header_stdc" >&6; }
  47880. +if test $ac_cv_header_stdc = yes; then
  47881. +
  47882. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  47883. +
  47884. +fi
  47885. +
  47886. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  47887. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  47888. + inttypes.h stdint.h unistd.h
  47889. +do :
  47890. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  47891. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  47892. +"
  47893. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  47894. + cat >>confdefs.h <<_ACEOF
  47895. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  47896. +_ACEOF
  47897. +
  47898. +fi
  47899. +
  47900. +done
  47901. +
  47902. +
  47903. +for ac_header in dlfcn.h
  47904. +do :
  47905. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  47906. +"
  47907. +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  47908. + cat >>confdefs.h <<_ACEOF
  47909. +@%:@define HAVE_DLFCN_H 1
  47910. +_ACEOF
  47911. +
  47912. +fi
  47913. +
  47914. +done
  47915. +
  47916. +
  47917. +
  47918. +
  47919. +
  47920. +# Set options
  47921. +
  47922. +
  47923. +
  47924. + enable_dlopen=no
  47925. +
  47926. +
  47927. + enable_win32_dll=no
  47928. +
  47929. +
  47930. + @%:@ Check whether --enable-shared was given.
  47931. +if test "${enable_shared+set}" = set; then :
  47932. + enableval=$enable_shared; p=${PACKAGE-default}
  47933. + case $enableval in
  47934. + yes) enable_shared=yes ;;
  47935. + no) enable_shared=no ;;
  47936. + *)
  47937. + enable_shared=no
  47938. + # Look at the argument we got. We use all the common list separators.
  47939. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  47940. + for pkg in $enableval; do
  47941. + IFS=$lt_save_ifs
  47942. + if test "X$pkg" = "X$p"; then
  47943. + enable_shared=yes
  47944. + fi
  47945. + done
  47946. + IFS=$lt_save_ifs
  47947. + ;;
  47948. + esac
  47949. +else
  47950. + enable_shared=yes
  47951. +fi
  47952. +
  47953. +
  47954. +
  47955. +
  47956. +
  47957. +
  47958. +
  47959. +
  47960. +
  47961. + @%:@ Check whether --enable-static was given.
  47962. +if test "${enable_static+set}" = set; then :
  47963. + enableval=$enable_static; p=${PACKAGE-default}
  47964. + case $enableval in
  47965. + yes) enable_static=yes ;;
  47966. + no) enable_static=no ;;
  47967. + *)
  47968. + enable_static=no
  47969. + # Look at the argument we got. We use all the common list separators.
  47970. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  47971. + for pkg in $enableval; do
  47972. + IFS=$lt_save_ifs
  47973. + if test "X$pkg" = "X$p"; then
  47974. + enable_static=yes
  47975. + fi
  47976. + done
  47977. + IFS=$lt_save_ifs
  47978. + ;;
  47979. + esac
  47980. +else
  47981. + enable_static=yes
  47982. +fi
  47983. +
  47984. +
  47985. +
  47986. +
  47987. +
  47988. +
  47989. +
  47990. +
  47991. +
  47992. +
  47993. +@%:@ Check whether --with-pic was given.
  47994. +if test "${with_pic+set}" = set; then :
  47995. + withval=$with_pic; lt_p=${PACKAGE-default}
  47996. + case $withval in
  47997. + yes|no) pic_mode=$withval ;;
  47998. + *)
  47999. + pic_mode=default
  48000. + # Look at the argument we got. We use all the common list separators.
  48001. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  48002. + for lt_pkg in $withval; do
  48003. + IFS=$lt_save_ifs
  48004. + if test "X$lt_pkg" = "X$lt_p"; then
  48005. + pic_mode=yes
  48006. + fi
  48007. + done
  48008. + IFS=$lt_save_ifs
  48009. + ;;
  48010. + esac
  48011. +else
  48012. + pic_mode=default
  48013. +fi
  48014. +
  48015. +
  48016. +
  48017. +
  48018. +
  48019. +
  48020. +
  48021. +
  48022. + @%:@ Check whether --enable-fast-install was given.
  48023. +if test "${enable_fast_install+set}" = set; then :
  48024. + enableval=$enable_fast_install; p=${PACKAGE-default}
  48025. + case $enableval in
  48026. + yes) enable_fast_install=yes ;;
  48027. + no) enable_fast_install=no ;;
  48028. + *)
  48029. + enable_fast_install=no
  48030. + # Look at the argument we got. We use all the common list separators.
  48031. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  48032. + for pkg in $enableval; do
  48033. + IFS=$lt_save_ifs
  48034. + if test "X$pkg" = "X$p"; then
  48035. + enable_fast_install=yes
  48036. + fi
  48037. + done
  48038. + IFS=$lt_save_ifs
  48039. + ;;
  48040. + esac
  48041. +else
  48042. + enable_fast_install=yes
  48043. +fi
  48044. +
  48045. +
  48046. +
  48047. +
  48048. +
  48049. +
  48050. +
  48051. +
  48052. + shared_archive_member_spec=
  48053. +case $host,$enable_shared in
  48054. +power*-*-aix[5-9]*,yes)
  48055. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  48056. +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  48057. +
  48058. +@%:@ Check whether --with-aix-soname was given.
  48059. +if test "${with_aix_soname+set}" = set; then :
  48060. + withval=$with_aix_soname; case $withval in
  48061. + aix|svr4|both)
  48062. + ;;
  48063. + *)
  48064. + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  48065. + ;;
  48066. + esac
  48067. + lt_cv_with_aix_soname=$with_aix_soname
  48068. +else
  48069. + if ${lt_cv_with_aix_soname+:} false; then :
  48070. + $as_echo_n "(cached) " >&6
  48071. +else
  48072. + lt_cv_with_aix_soname=aix
  48073. +fi
  48074. +
  48075. + with_aix_soname=$lt_cv_with_aix_soname
  48076. +fi
  48077. +
  48078. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  48079. +$as_echo "$with_aix_soname" >&6; }
  48080. + if test aix != "$with_aix_soname"; then
  48081. + # For the AIX way of multilib, we name the shared archive member
  48082. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  48083. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  48084. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  48085. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  48086. + if test 64 = "${OBJECT_MODE-32}"; then
  48087. + shared_archive_member_spec=shr_64
  48088. + else
  48089. + shared_archive_member_spec=shr
  48090. + fi
  48091. + fi
  48092. + ;;
  48093. +*)
  48094. + with_aix_soname=aix
  48095. + ;;
  48096. +esac
  48097. +
  48098. +
  48099. +
  48100. +
  48101. +
  48102. +
  48103. +
  48104. +
  48105. +
  48106. +
  48107. +# This can be used to rebuild libtool when needed
  48108. +LIBTOOL_DEPS=$ltmain
  48109. +
  48110. +# Always use our own libtool.
  48111. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  48112. +
  48113. +
  48114. +
  48115. +
  48116. +
  48117. +
  48118. +
  48119. +
  48120. +
  48121. +
  48122. +
  48123. +
  48124. +
  48125. +
  48126. +
  48127. +
  48128. +
  48129. +
  48130. +
  48131. +
  48132. +
  48133. +
  48134. +
  48135. +
  48136. +
  48137. +
  48138. +
  48139. +
  48140. +
  48141. +
  48142. +test -z "$LN_S" && LN_S="ln -s"
  48143. +
  48144. +
  48145. +
  48146. +
  48147. +
  48148. +
  48149. +
  48150. +
  48151. +
  48152. +
  48153. +
  48154. +
  48155. +
  48156. +
  48157. +if test -n "${ZSH_VERSION+set}"; then
  48158. + setopt NO_GLOB_SUBST
  48159. +fi
  48160. +
  48161. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  48162. +$as_echo_n "checking for objdir... " >&6; }
  48163. +if ${lt_cv_objdir+:} false; then :
  48164. + $as_echo_n "(cached) " >&6
  48165. +else
  48166. + rm -f .libs 2>/dev/null
  48167. +mkdir .libs 2>/dev/null
  48168. +if test -d .libs; then
  48169. + lt_cv_objdir=.libs
  48170. +else
  48171. + # MS-DOS does not allow filenames that begin with a dot.
  48172. + lt_cv_objdir=_libs
  48173. +fi
  48174. +rmdir .libs 2>/dev/null
  48175. +fi
  48176. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  48177. +$as_echo "$lt_cv_objdir" >&6; }
  48178. +objdir=$lt_cv_objdir
  48179. +
  48180. +
  48181. +
  48182. +
  48183. +
  48184. +cat >>confdefs.h <<_ACEOF
  48185. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  48186. +_ACEOF
  48187. +
  48188. +
  48189. +
  48190. +
  48191. +case $host_os in
  48192. +aix3*)
  48193. + # AIX sometimes has problems with the GCC collect2 program. For some
  48194. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  48195. + # vanish in a puff of smoke.
  48196. + if test set != "${COLLECT_NAMES+set}"; then
  48197. + COLLECT_NAMES=
  48198. + export COLLECT_NAMES
  48199. + fi
  48200. + ;;
  48201. +esac
  48202. +
  48203. +# Global variables:
  48204. +ofile=libtool
  48205. +can_build_shared=yes
  48206. +
  48207. +# All known linkers require a '.a' archive for static linking (except MSVC,
  48208. +# which needs '.lib').
  48209. +libext=a
  48210. +
  48211. +with_gnu_ld=$lt_cv_prog_gnu_ld
  48212. +
  48213. +old_CC=$CC
  48214. +old_CFLAGS=$CFLAGS
  48215. +
  48216. +# Set sane defaults for various variables
  48217. +test -z "$CC" && CC=cc
  48218. +test -z "$LTCC" && LTCC=$CC
  48219. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  48220. +test -z "$LD" && LD=ld
  48221. +test -z "$ac_objext" && ac_objext=o
  48222. +
  48223. +func_cc_basename $compiler
  48224. +cc_basename=$func_cc_basename_result
  48225. +
  48226. +
  48227. +# Only perform the check for file, if the check method requires it
  48228. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  48229. +case $deplibs_check_method in
  48230. +file_magic*)
  48231. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  48232. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  48233. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  48234. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  48235. + $as_echo_n "(cached) " >&6
  48236. +else
  48237. + case $MAGIC_CMD in
  48238. +[\\/*] | ?:[\\/]*)
  48239. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  48240. + ;;
  48241. +*)
  48242. + lt_save_MAGIC_CMD=$MAGIC_CMD
  48243. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  48244. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  48245. + for ac_dir in $ac_dummy; do
  48246. + IFS=$lt_save_ifs
  48247. + test -z "$ac_dir" && ac_dir=.
  48248. + if test -f "$ac_dir/${ac_tool_prefix}file"; then
  48249. + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  48250. + if test -n "$file_magic_test_file"; then
  48251. + case $deplibs_check_method in
  48252. + "file_magic "*)
  48253. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  48254. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48255. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  48256. + $EGREP "$file_magic_regex" > /dev/null; then
  48257. + :
  48258. + else
  48259. + cat <<_LT_EOF 1>&2
  48260. +
  48261. +*** Warning: the command libtool uses to detect shared libraries,
  48262. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  48263. +*** The result is that libtool may fail to recognize shared libraries
  48264. +*** as such. This will affect the creation of libtool libraries that
  48265. +*** depend on shared libraries, but programs linked with such libtool
  48266. +*** libraries will work regardless of this problem. Nevertheless, you
  48267. +*** may want to report the problem to your system manager and/or to
  48268. +
  48269. +_LT_EOF
  48270. + fi ;;
  48271. + esac
  48272. + fi
  48273. + break
  48274. + fi
  48275. + done
  48276. + IFS=$lt_save_ifs
  48277. + MAGIC_CMD=$lt_save_MAGIC_CMD
  48278. + ;;
  48279. +esac
  48280. +fi
  48281. +
  48282. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48283. +if test -n "$MAGIC_CMD"; then
  48284. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  48285. +$as_echo "$MAGIC_CMD" >&6; }
  48286. +else
  48287. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48288. +$as_echo "no" >&6; }
  48289. +fi
  48290. +
  48291. +
  48292. +
  48293. +
  48294. +
  48295. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  48296. + if test -n "$ac_tool_prefix"; then
  48297. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  48298. +$as_echo_n "checking for file... " >&6; }
  48299. +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  48300. + $as_echo_n "(cached) " >&6
  48301. +else
  48302. + case $MAGIC_CMD in
  48303. +[\\/*] | ?:[\\/]*)
  48304. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  48305. + ;;
  48306. +*)
  48307. + lt_save_MAGIC_CMD=$MAGIC_CMD
  48308. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  48309. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  48310. + for ac_dir in $ac_dummy; do
  48311. + IFS=$lt_save_ifs
  48312. + test -z "$ac_dir" && ac_dir=.
  48313. + if test -f "$ac_dir/file"; then
  48314. + lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  48315. + if test -n "$file_magic_test_file"; then
  48316. + case $deplibs_check_method in
  48317. + "file_magic "*)
  48318. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  48319. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48320. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  48321. + $EGREP "$file_magic_regex" > /dev/null; then
  48322. + :
  48323. + else
  48324. + cat <<_LT_EOF 1>&2
  48325. +
  48326. +*** Warning: the command libtool uses to detect shared libraries,
  48327. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  48328. +*** The result is that libtool may fail to recognize shared libraries
  48329. +*** as such. This will affect the creation of libtool libraries that
  48330. +*** depend on shared libraries, but programs linked with such libtool
  48331. +*** libraries will work regardless of this problem. Nevertheless, you
  48332. +*** may want to report the problem to your system manager and/or to
  48333. +
  48334. +_LT_EOF
  48335. + fi ;;
  48336. + esac
  48337. + fi
  48338. + break
  48339. + fi
  48340. + done
  48341. + IFS=$lt_save_ifs
  48342. + MAGIC_CMD=$lt_save_MAGIC_CMD
  48343. + ;;
  48344. +esac
  48345. +fi
  48346. +
  48347. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  48348. +if test -n "$MAGIC_CMD"; then
  48349. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  48350. +$as_echo "$MAGIC_CMD" >&6; }
  48351. +else
  48352. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48353. +$as_echo "no" >&6; }
  48354. +fi
  48355. +
  48356. +
  48357. + else
  48358. + MAGIC_CMD=:
  48359. + fi
  48360. +fi
  48361. +
  48362. + fi
  48363. + ;;
  48364. +esac
  48365. +
  48366. +# Use C for the default configuration in the libtool script
  48367. +
  48368. +lt_save_CC=$CC
  48369. +ac_ext=c
  48370. +ac_cpp='$CPP $CPPFLAGS'
  48371. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  48372. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  48373. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  48374. +
  48375. +
  48376. +# Source file extension for C test sources.
  48377. +ac_ext=c
  48378. +
  48379. +# Object file extension for compiled C test sources.
  48380. +objext=o
  48381. +objext=$objext
  48382. +
  48383. +# Code to be used in simple compile tests
  48384. +lt_simple_compile_test_code="int some_variable = 0;"
  48385. +
  48386. +# Code to be used in simple link tests
  48387. +lt_simple_link_test_code='int main(){return(0);}'
  48388. +
  48389. +
  48390. +
  48391. +
  48392. +
  48393. +
  48394. +
  48395. +# If no C compiler was specified, use CC.
  48396. +LTCC=${LTCC-"$CC"}
  48397. +
  48398. +# If no C compiler flags were specified, use CFLAGS.
  48399. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  48400. +
  48401. +# Allow CC to be a program name with arguments.
  48402. +compiler=$CC
  48403. +
  48404. +# Save the default compiler, since it gets overwritten when the other
  48405. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  48406. +compiler_DEFAULT=$CC
  48407. +
  48408. +# save warnings/boilerplate of simple test code
  48409. +ac_outfile=conftest.$ac_objext
  48410. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  48411. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  48412. +_lt_compiler_boilerplate=`cat conftest.err`
  48413. +$RM conftest*
  48414. +
  48415. +ac_outfile=conftest.$ac_objext
  48416. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  48417. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  48418. +_lt_linker_boilerplate=`cat conftest.err`
  48419. +$RM -r conftest*
  48420. +
  48421. +
  48422. +## CAVEAT EMPTOR:
  48423. +## There is no encapsulation within the following macros, do not change
  48424. +## the running order or otherwise move them around unless you know exactly
  48425. +## what you are doing...
  48426. +if test -n "$compiler"; then
  48427. +
  48428. +lt_prog_compiler_no_builtin_flag=
  48429. +
  48430. +if test yes = "$GCC"; then
  48431. + case $cc_basename in
  48432. + nvcc*)
  48433. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  48434. + *)
  48435. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  48436. + esac
  48437. +
  48438. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  48439. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  48440. +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  48441. + $as_echo_n "(cached) " >&6
  48442. +else
  48443. + lt_cv_prog_compiler_rtti_exceptions=no
  48444. + ac_outfile=conftest.$ac_objext
  48445. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48446. + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  48447. + # Insert the option either (1) after the last *FLAGS variable, or
  48448. + # (2) before a word containing "conftest.", or (3) at the end.
  48449. + # Note that $ac_compile itself does not contain backslashes and begins
  48450. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  48451. + # The option is referenced via a variable to avoid confusing sed.
  48452. + lt_compile=`echo "$ac_compile" | $SED \
  48453. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48454. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48455. + -e 's:$: $lt_compiler_flag:'`
  48456. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  48457. + (eval "$lt_compile" 2>conftest.err)
  48458. + ac_status=$?
  48459. + cat conftest.err >&5
  48460. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48461. + if (exit $ac_status) && test -s "$ac_outfile"; then
  48462. + # The compiler can only warn and ignore the option if not recognized
  48463. + # So say no if there are warnings other than the usual output.
  48464. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  48465. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48466. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  48467. + lt_cv_prog_compiler_rtti_exceptions=yes
  48468. + fi
  48469. + fi
  48470. + $RM conftest*
  48471. +
  48472. +fi
  48473. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  48474. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  48475. +
  48476. +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  48477. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  48478. +else
  48479. + :
  48480. +fi
  48481. +
  48482. +fi
  48483. +
  48484. +
  48485. +
  48486. +
  48487. +
  48488. +
  48489. + lt_prog_compiler_wl=
  48490. +lt_prog_compiler_pic=
  48491. +lt_prog_compiler_static=
  48492. +
  48493. +
  48494. + if test yes = "$GCC"; then
  48495. + lt_prog_compiler_wl='-Wl,'
  48496. + lt_prog_compiler_static='-static'
  48497. +
  48498. + case $host_os in
  48499. + aix*)
  48500. + # All AIX code is PIC.
  48501. + if test ia64 = "$host_cpu"; then
  48502. + # AIX 5 now supports IA64 processor
  48503. + lt_prog_compiler_static='-Bstatic'
  48504. + fi
  48505. + lt_prog_compiler_pic='-fPIC'
  48506. + ;;
  48507. +
  48508. + amigaos*)
  48509. + case $host_cpu in
  48510. + powerpc)
  48511. + # see comment about AmigaOS4 .so support
  48512. + lt_prog_compiler_pic='-fPIC'
  48513. + ;;
  48514. + m68k)
  48515. + # FIXME: we need at least 68020 code to build shared libraries, but
  48516. + # adding the '-m68020' flag to GCC prevents building anything better,
  48517. + # like '-m68040'.
  48518. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  48519. + ;;
  48520. + esac
  48521. + ;;
  48522. +
  48523. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  48524. + # PIC is the default for these OSes.
  48525. + ;;
  48526. +
  48527. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  48528. + # This hack is so that the source file can tell whether it is being
  48529. + # built for inclusion in a dll (and should export symbols for example).
  48530. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  48531. + # (--disable-auto-import) libraries
  48532. + lt_prog_compiler_pic='-DDLL_EXPORT'
  48533. + case $host_os in
  48534. + os2*)
  48535. + lt_prog_compiler_static='$wl-static'
  48536. + ;;
  48537. + esac
  48538. + ;;
  48539. +
  48540. + darwin* | rhapsody*)
  48541. + # PIC is the default on this platform
  48542. + # Common symbols not allowed in MH_DYLIB files
  48543. + lt_prog_compiler_pic='-fno-common'
  48544. + ;;
  48545. +
  48546. + haiku*)
  48547. + # PIC is the default for Haiku.
  48548. + # The "-static" flag exists, but is broken.
  48549. + lt_prog_compiler_static=
  48550. + ;;
  48551. +
  48552. + hpux*)
  48553. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  48554. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  48555. + # sets the default TLS model and affects inlining.
  48556. + case $host_cpu in
  48557. + hppa*64*)
  48558. + # +Z the default
  48559. + ;;
  48560. + *)
  48561. + lt_prog_compiler_pic='-fPIC'
  48562. + ;;
  48563. + esac
  48564. + ;;
  48565. +
  48566. + interix[3-9]*)
  48567. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  48568. + # Instead, we relocate shared libraries at runtime.
  48569. + ;;
  48570. +
  48571. + msdosdjgpp*)
  48572. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  48573. + # on systems that don't support them.
  48574. + lt_prog_compiler_can_build_shared=no
  48575. + enable_shared=no
  48576. + ;;
  48577. +
  48578. + *nto* | *qnx*)
  48579. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  48580. + # it will coredump.
  48581. + lt_prog_compiler_pic='-fPIC -shared'
  48582. + ;;
  48583. +
  48584. + sysv4*MP*)
  48585. + if test -d /usr/nec; then
  48586. + lt_prog_compiler_pic=-Kconform_pic
  48587. + fi
  48588. + ;;
  48589. +
  48590. + *)
  48591. + lt_prog_compiler_pic='-fPIC'
  48592. + ;;
  48593. + esac
  48594. +
  48595. + case $cc_basename in
  48596. + nvcc*) # Cuda Compiler Driver 2.2
  48597. + lt_prog_compiler_wl='-Xlinker '
  48598. + if test -n "$lt_prog_compiler_pic"; then
  48599. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  48600. + fi
  48601. + ;;
  48602. + esac
  48603. + else
  48604. + # PORTME Check for flag to pass linker flags through the system compiler.
  48605. + case $host_os in
  48606. + aix*)
  48607. + lt_prog_compiler_wl='-Wl,'
  48608. + if test ia64 = "$host_cpu"; then
  48609. + # AIX 5 now supports IA64 processor
  48610. + lt_prog_compiler_static='-Bstatic'
  48611. + else
  48612. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  48613. + fi
  48614. + ;;
  48615. +
  48616. + darwin* | rhapsody*)
  48617. + # PIC is the default on this platform
  48618. + # Common symbols not allowed in MH_DYLIB files
  48619. + lt_prog_compiler_pic='-fno-common'
  48620. + case $cc_basename in
  48621. + nagfor*)
  48622. + # NAG Fortran compiler
  48623. + lt_prog_compiler_wl='-Wl,-Wl,,'
  48624. + lt_prog_compiler_pic='-PIC'
  48625. + lt_prog_compiler_static='-Bstatic'
  48626. + ;;
  48627. + esac
  48628. + ;;
  48629. +
  48630. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  48631. + # This hack is so that the source file can tell whether it is being
  48632. + # built for inclusion in a dll (and should export symbols for example).
  48633. + lt_prog_compiler_pic='-DDLL_EXPORT'
  48634. + case $host_os in
  48635. + os2*)
  48636. + lt_prog_compiler_static='$wl-static'
  48637. + ;;
  48638. + esac
  48639. + ;;
  48640. +
  48641. + hpux9* | hpux10* | hpux11*)
  48642. + lt_prog_compiler_wl='-Wl,'
  48643. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  48644. + # not for PA HP-UX.
  48645. + case $host_cpu in
  48646. + hppa*64*|ia64*)
  48647. + # +Z the default
  48648. + ;;
  48649. + *)
  48650. + lt_prog_compiler_pic='+Z'
  48651. + ;;
  48652. + esac
  48653. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  48654. + lt_prog_compiler_static='$wl-a ${wl}archive'
  48655. + ;;
  48656. +
  48657. + irix5* | irix6* | nonstopux*)
  48658. + lt_prog_compiler_wl='-Wl,'
  48659. + # PIC (with -KPIC) is the default.
  48660. + lt_prog_compiler_static='-non_shared'
  48661. + ;;
  48662. +
  48663. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  48664. + case $cc_basename in
  48665. + # old Intel for x86_64, which still supported -KPIC.
  48666. + ecc*)
  48667. + lt_prog_compiler_wl='-Wl,'
  48668. + lt_prog_compiler_pic='-KPIC'
  48669. + lt_prog_compiler_static='-static'
  48670. + ;;
  48671. + # icc used to be incompatible with GCC.
  48672. + # ICC 10 doesn't accept -KPIC any more.
  48673. + icc* | ifort*)
  48674. + lt_prog_compiler_wl='-Wl,'
  48675. + lt_prog_compiler_pic='-fPIC'
  48676. + lt_prog_compiler_static='-static'
  48677. + ;;
  48678. + # Lahey Fortran 8.1.
  48679. + lf95*)
  48680. + lt_prog_compiler_wl='-Wl,'
  48681. + lt_prog_compiler_pic='--shared'
  48682. + lt_prog_compiler_static='--static'
  48683. + ;;
  48684. + nagfor*)
  48685. + # NAG Fortran compiler
  48686. + lt_prog_compiler_wl='-Wl,-Wl,,'
  48687. + lt_prog_compiler_pic='-PIC'
  48688. + lt_prog_compiler_static='-Bstatic'
  48689. + ;;
  48690. + tcc*)
  48691. + # Fabrice Bellard et al's Tiny C Compiler
  48692. + lt_prog_compiler_wl='-Wl,'
  48693. + lt_prog_compiler_pic='-fPIC'
  48694. + lt_prog_compiler_static='-static'
  48695. + ;;
  48696. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  48697. + # Portland Group compilers (*not* the Pentium gcc compiler,
  48698. + # which looks to be a dead project)
  48699. + lt_prog_compiler_wl='-Wl,'
  48700. + lt_prog_compiler_pic='-fpic'
  48701. + lt_prog_compiler_static='-Bstatic'
  48702. + ;;
  48703. + ccc*)
  48704. + lt_prog_compiler_wl='-Wl,'
  48705. + # All Alpha code is PIC.
  48706. + lt_prog_compiler_static='-non_shared'
  48707. + ;;
  48708. + xl* | bgxl* | bgf* | mpixl*)
  48709. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  48710. + lt_prog_compiler_wl='-Wl,'
  48711. + lt_prog_compiler_pic='-qpic'
  48712. + lt_prog_compiler_static='-qstaticlink'
  48713. + ;;
  48714. + *)
  48715. + case `$CC -V 2>&1 | sed 5q` in
  48716. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  48717. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  48718. + lt_prog_compiler_pic='-KPIC'
  48719. + lt_prog_compiler_static='-Bstatic'
  48720. + lt_prog_compiler_wl=''
  48721. + ;;
  48722. + *Sun\ F* | *Sun*Fortran*)
  48723. + lt_prog_compiler_pic='-KPIC'
  48724. + lt_prog_compiler_static='-Bstatic'
  48725. + lt_prog_compiler_wl='-Qoption ld '
  48726. + ;;
  48727. + *Sun\ C*)
  48728. + # Sun C 5.9
  48729. + lt_prog_compiler_pic='-KPIC'
  48730. + lt_prog_compiler_static='-Bstatic'
  48731. + lt_prog_compiler_wl='-Wl,'
  48732. + ;;
  48733. + *Intel*\ [CF]*Compiler*)
  48734. + lt_prog_compiler_wl='-Wl,'
  48735. + lt_prog_compiler_pic='-fPIC'
  48736. + lt_prog_compiler_static='-static'
  48737. + ;;
  48738. + *Portland\ Group*)
  48739. + lt_prog_compiler_wl='-Wl,'
  48740. + lt_prog_compiler_pic='-fpic'
  48741. + lt_prog_compiler_static='-Bstatic'
  48742. + ;;
  48743. + esac
  48744. + ;;
  48745. + esac
  48746. + ;;
  48747. +
  48748. + newsos6)
  48749. + lt_prog_compiler_pic='-KPIC'
  48750. + lt_prog_compiler_static='-Bstatic'
  48751. + ;;
  48752. +
  48753. + *nto* | *qnx*)
  48754. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  48755. + # it will coredump.
  48756. + lt_prog_compiler_pic='-fPIC -shared'
  48757. + ;;
  48758. +
  48759. + osf3* | osf4* | osf5*)
  48760. + lt_prog_compiler_wl='-Wl,'
  48761. + # All OSF/1 code is PIC.
  48762. + lt_prog_compiler_static='-non_shared'
  48763. + ;;
  48764. +
  48765. + rdos*)
  48766. + lt_prog_compiler_static='-non_shared'
  48767. + ;;
  48768. +
  48769. + solaris*)
  48770. + lt_prog_compiler_pic='-KPIC'
  48771. + lt_prog_compiler_static='-Bstatic'
  48772. + case $cc_basename in
  48773. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  48774. + lt_prog_compiler_wl='-Qoption ld ';;
  48775. + *)
  48776. + lt_prog_compiler_wl='-Wl,';;
  48777. + esac
  48778. + ;;
  48779. +
  48780. + sunos4*)
  48781. + lt_prog_compiler_wl='-Qoption ld '
  48782. + lt_prog_compiler_pic='-PIC'
  48783. + lt_prog_compiler_static='-Bstatic'
  48784. + ;;
  48785. +
  48786. + sysv4 | sysv4.2uw2* | sysv4.3*)
  48787. + lt_prog_compiler_wl='-Wl,'
  48788. + lt_prog_compiler_pic='-KPIC'
  48789. + lt_prog_compiler_static='-Bstatic'
  48790. + ;;
  48791. +
  48792. + sysv4*MP*)
  48793. + if test -d /usr/nec; then
  48794. + lt_prog_compiler_pic='-Kconform_pic'
  48795. + lt_prog_compiler_static='-Bstatic'
  48796. + fi
  48797. + ;;
  48798. +
  48799. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  48800. + lt_prog_compiler_wl='-Wl,'
  48801. + lt_prog_compiler_pic='-KPIC'
  48802. + lt_prog_compiler_static='-Bstatic'
  48803. + ;;
  48804. +
  48805. + unicos*)
  48806. + lt_prog_compiler_wl='-Wl,'
  48807. + lt_prog_compiler_can_build_shared=no
  48808. + ;;
  48809. +
  48810. + uts4*)
  48811. + lt_prog_compiler_pic='-pic'
  48812. + lt_prog_compiler_static='-Bstatic'
  48813. + ;;
  48814. +
  48815. + *)
  48816. + lt_prog_compiler_can_build_shared=no
  48817. + ;;
  48818. + esac
  48819. + fi
  48820. +
  48821. +case $host_os in
  48822. + # For platforms that do not support PIC, -DPIC is meaningless:
  48823. + *djgpp*)
  48824. + lt_prog_compiler_pic=
  48825. + ;;
  48826. + *)
  48827. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  48828. + ;;
  48829. +esac
  48830. +
  48831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  48832. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  48833. +if ${lt_cv_prog_compiler_pic+:} false; then :
  48834. + $as_echo_n "(cached) " >&6
  48835. +else
  48836. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  48837. +fi
  48838. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  48839. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  48840. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  48841. +
  48842. +#
  48843. +# Check to make sure the PIC flag actually works.
  48844. +#
  48845. +if test -n "$lt_prog_compiler_pic"; then
  48846. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  48847. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  48848. +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  48849. + $as_echo_n "(cached) " >&6
  48850. +else
  48851. + lt_cv_prog_compiler_pic_works=no
  48852. + ac_outfile=conftest.$ac_objext
  48853. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48854. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
  48855. + # Insert the option either (1) after the last *FLAGS variable, or
  48856. + # (2) before a word containing "conftest.", or (3) at the end.
  48857. + # Note that $ac_compile itself does not contain backslashes and begins
  48858. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  48859. + # The option is referenced via a variable to avoid confusing sed.
  48860. + lt_compile=`echo "$ac_compile" | $SED \
  48861. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48862. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48863. + -e 's:$: $lt_compiler_flag:'`
  48864. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  48865. + (eval "$lt_compile" 2>conftest.err)
  48866. + ac_status=$?
  48867. + cat conftest.err >&5
  48868. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48869. + if (exit $ac_status) && test -s "$ac_outfile"; then
  48870. + # The compiler can only warn and ignore the option if not recognized
  48871. + # So say no if there are warnings other than the usual output.
  48872. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  48873. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48874. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  48875. + lt_cv_prog_compiler_pic_works=yes
  48876. + fi
  48877. + fi
  48878. + $RM conftest*
  48879. +
  48880. +fi
  48881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  48882. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  48883. +
  48884. +if test yes = "$lt_cv_prog_compiler_pic_works"; then
  48885. + case $lt_prog_compiler_pic in
  48886. + "" | " "*) ;;
  48887. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  48888. + esac
  48889. +else
  48890. + lt_prog_compiler_pic=
  48891. + lt_prog_compiler_can_build_shared=no
  48892. +fi
  48893. +
  48894. +fi
  48895. +
  48896. +
  48897. +
  48898. +
  48899. +
  48900. +
  48901. +
  48902. +
  48903. +
  48904. +
  48905. +
  48906. +#
  48907. +# Check to make sure the static flag actually works.
  48908. +#
  48909. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  48910. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  48911. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  48912. +if ${lt_cv_prog_compiler_static_works+:} false; then :
  48913. + $as_echo_n "(cached) " >&6
  48914. +else
  48915. + lt_cv_prog_compiler_static_works=no
  48916. + save_LDFLAGS=$LDFLAGS
  48917. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  48918. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  48919. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  48920. + # The linker can only warn and ignore the option if not recognized
  48921. + # So say no if there are warnings
  48922. + if test -s conftest.err; then
  48923. + # Append any errors to the config.log.
  48924. + cat conftest.err 1>&5
  48925. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  48926. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  48927. + if diff conftest.exp conftest.er2 >/dev/null; then
  48928. + lt_cv_prog_compiler_static_works=yes
  48929. + fi
  48930. + else
  48931. + lt_cv_prog_compiler_static_works=yes
  48932. + fi
  48933. + fi
  48934. + $RM -r conftest*
  48935. + LDFLAGS=$save_LDFLAGS
  48936. +
  48937. +fi
  48938. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  48939. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  48940. +
  48941. +if test yes = "$lt_cv_prog_compiler_static_works"; then
  48942. + :
  48943. +else
  48944. + lt_prog_compiler_static=
  48945. +fi
  48946. +
  48947. +
  48948. +
  48949. +
  48950. +
  48951. +
  48952. +
  48953. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  48954. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  48955. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  48956. + $as_echo_n "(cached) " >&6
  48957. +else
  48958. + lt_cv_prog_compiler_c_o=no
  48959. + $RM -r conftest 2>/dev/null
  48960. + mkdir conftest
  48961. + cd conftest
  48962. + mkdir out
  48963. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  48964. +
  48965. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  48966. + # Insert the option either (1) after the last *FLAGS variable, or
  48967. + # (2) before a word containing "conftest.", or (3) at the end.
  48968. + # Note that $ac_compile itself does not contain backslashes and begins
  48969. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  48970. + lt_compile=`echo "$ac_compile" | $SED \
  48971. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  48972. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48973. + -e 's:$: $lt_compiler_flag:'`
  48974. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  48975. + (eval "$lt_compile" 2>out/conftest.err)
  48976. + ac_status=$?
  48977. + cat out/conftest.err >&5
  48978. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  48979. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  48980. + then
  48981. + # The compiler can only warn and ignore the option if not recognized
  48982. + # So say no if there are warnings
  48983. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  48984. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  48985. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  48986. + lt_cv_prog_compiler_c_o=yes
  48987. + fi
  48988. + fi
  48989. + chmod u+w . 2>&5
  48990. + $RM conftest*
  48991. + # SGI C++ compiler will create directory out/ii_files/ for
  48992. + # template instantiation
  48993. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  48994. + $RM out/* && rmdir out
  48995. + cd ..
  48996. + $RM -r conftest
  48997. + $RM conftest*
  48998. +
  48999. +fi
  49000. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  49001. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  49002. +
  49003. +
  49004. +
  49005. +
  49006. +
  49007. +
  49008. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  49009. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  49010. +if ${lt_cv_prog_compiler_c_o+:} false; then :
  49011. + $as_echo_n "(cached) " >&6
  49012. +else
  49013. + lt_cv_prog_compiler_c_o=no
  49014. + $RM -r conftest 2>/dev/null
  49015. + mkdir conftest
  49016. + cd conftest
  49017. + mkdir out
  49018. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  49019. +
  49020. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  49021. + # Insert the option either (1) after the last *FLAGS variable, or
  49022. + # (2) before a word containing "conftest.", or (3) at the end.
  49023. + # Note that $ac_compile itself does not contain backslashes and begins
  49024. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  49025. + lt_compile=`echo "$ac_compile" | $SED \
  49026. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  49027. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  49028. + -e 's:$: $lt_compiler_flag:'`
  49029. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  49030. + (eval "$lt_compile" 2>out/conftest.err)
  49031. + ac_status=$?
  49032. + cat out/conftest.err >&5
  49033. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  49034. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  49035. + then
  49036. + # The compiler can only warn and ignore the option if not recognized
  49037. + # So say no if there are warnings
  49038. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  49039. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  49040. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  49041. + lt_cv_prog_compiler_c_o=yes
  49042. + fi
  49043. + fi
  49044. + chmod u+w . 2>&5
  49045. + $RM conftest*
  49046. + # SGI C++ compiler will create directory out/ii_files/ for
  49047. + # template instantiation
  49048. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  49049. + $RM out/* && rmdir out
  49050. + cd ..
  49051. + $RM -r conftest
  49052. + $RM conftest*
  49053. +
  49054. +fi
  49055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  49056. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  49057. +
  49058. +
  49059. +
  49060. +
  49061. +hard_links=nottested
  49062. +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  49063. + # do not overwrite the value of need_locks provided by the user
  49064. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  49065. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  49066. + hard_links=yes
  49067. + $RM conftest*
  49068. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  49069. + touch conftest.a
  49070. + ln conftest.a conftest.b 2>&5 || hard_links=no
  49071. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  49072. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  49073. +$as_echo "$hard_links" >&6; }
  49074. + if test no = "$hard_links"; then
  49075. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  49076. +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  49077. + need_locks=warn
  49078. + fi
  49079. +else
  49080. + need_locks=no
  49081. +fi
  49082. +
  49083. +
  49084. +
  49085. +
  49086. +
  49087. +
  49088. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  49089. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  49090. +
  49091. + runpath_var=
  49092. + allow_undefined_flag=
  49093. + always_export_symbols=no
  49094. + archive_cmds=
  49095. + archive_expsym_cmds=
  49096. + compiler_needs_object=no
  49097. + enable_shared_with_static_runtimes=no
  49098. + export_dynamic_flag_spec=
  49099. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  49100. + hardcode_automatic=no
  49101. + hardcode_direct=no
  49102. + hardcode_direct_absolute=no
  49103. + hardcode_libdir_flag_spec=
  49104. + hardcode_libdir_separator=
  49105. + hardcode_minus_L=no
  49106. + hardcode_shlibpath_var=unsupported
  49107. + inherit_rpath=no
  49108. + link_all_deplibs=unknown
  49109. + module_cmds=
  49110. + module_expsym_cmds=
  49111. + old_archive_from_new_cmds=
  49112. + old_archive_from_expsyms_cmds=
  49113. + thread_safe_flag_spec=
  49114. + whole_archive_flag_spec=
  49115. + # include_expsyms should be a list of space-separated symbols to be *always*
  49116. + # included in the symbol list
  49117. + include_expsyms=
  49118. + # exclude_expsyms can be an extended regexp of symbols to exclude
  49119. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  49120. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  49121. + # as well as any symbol that contains 'd'.
  49122. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  49123. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  49124. + # platforms (ab)use it in PIC code, but their linkers get confused if
  49125. + # the symbol is explicitly referenced. Since portable code cannot
  49126. + # rely on this symbol name, it's probably fine to never include it in
  49127. + # preloaded symbol tables.
  49128. + # Exclude shared library initialization/finalization symbols.
  49129. + extract_expsyms_cmds=
  49130. +
  49131. + case $host_os in
  49132. + cygwin* | mingw* | pw32* | cegcc*)
  49133. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  49134. + # When not using gcc, we currently assume that we are using
  49135. + # Microsoft Visual C++.
  49136. + if test yes != "$GCC"; then
  49137. + with_gnu_ld=no
  49138. + fi
  49139. + ;;
  49140. + interix*)
  49141. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  49142. + with_gnu_ld=yes
  49143. + ;;
  49144. + openbsd* | bitrig*)
  49145. + with_gnu_ld=no
  49146. + ;;
  49147. + esac
  49148. +
  49149. + ld_shlibs=yes
  49150. +
  49151. + # On some targets, GNU ld is compatible enough with the native linker
  49152. + # that we're better off using the native interface for both.
  49153. + lt_use_gnu_ld_interface=no
  49154. + if test yes = "$with_gnu_ld"; then
  49155. + case $host_os in
  49156. + aix*)
  49157. + # The AIX port of GNU ld has always aspired to compatibility
  49158. + # with the native linker. However, as the warning in the GNU ld
  49159. + # block says, versions before 2.19.5* couldn't really create working
  49160. + # shared libraries, regardless of the interface used.
  49161. + case `$LD -v 2>&1` in
  49162. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  49163. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  49164. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  49165. + *)
  49166. + lt_use_gnu_ld_interface=yes
  49167. + ;;
  49168. + esac
  49169. + ;;
  49170. + *)
  49171. + lt_use_gnu_ld_interface=yes
  49172. + ;;
  49173. + esac
  49174. + fi
  49175. +
  49176. + if test yes = "$lt_use_gnu_ld_interface"; then
  49177. + # If archive_cmds runs LD, not CC, wlarc should be empty
  49178. + wlarc='$wl'
  49179. +
  49180. + # Set some defaults for GNU ld with shared library support. These
  49181. + # are reset later if shared libraries are not supported. Putting them
  49182. + # here allows them to be overridden if necessary.
  49183. + runpath_var=LD_RUN_PATH
  49184. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  49185. + export_dynamic_flag_spec='$wl--export-dynamic'
  49186. + # ancient GNU ld didn't support --whole-archive et. al.
  49187. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  49188. + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  49189. + else
  49190. + whole_archive_flag_spec=
  49191. + fi
  49192. + supports_anon_versioning=no
  49193. + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  49194. + *GNU\ gold*) supports_anon_versioning=yes ;;
  49195. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  49196. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  49197. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  49198. + *\ 2.11.*) ;; # other 2.11 versions
  49199. + *) supports_anon_versioning=yes ;;
  49200. + esac
  49201. +
  49202. + # See if GNU ld supports shared libraries.
  49203. + case $host_os in
  49204. + aix[3-9]*)
  49205. + # On AIX/PPC, the GNU linker is very broken
  49206. + if test ia64 != "$host_cpu"; then
  49207. + ld_shlibs=no
  49208. + cat <<_LT_EOF 1>&2
  49209. +
  49210. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  49211. +*** to be unable to reliably create shared libraries on AIX.
  49212. +*** Therefore, libtool is disabling shared libraries support. If you
  49213. +*** really care for shared libraries, you may want to install binutils
  49214. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  49215. +*** You will then need to restart the configuration process.
  49216. +
  49217. +_LT_EOF
  49218. + fi
  49219. + ;;
  49220. +
  49221. + amigaos*)
  49222. + case $host_cpu in
  49223. + powerpc)
  49224. + # see comment about AmigaOS4 .so support
  49225. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49226. + archive_expsym_cmds=''
  49227. + ;;
  49228. + m68k)
  49229. + archive_cmds='$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)'
  49230. + hardcode_libdir_flag_spec='-L$libdir'
  49231. + hardcode_minus_L=yes
  49232. + ;;
  49233. + esac
  49234. + ;;
  49235. +
  49236. + beos*)
  49237. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49238. + allow_undefined_flag=unsupported
  49239. + # Joseph Beckenbach <[email protected]> says some releases of gcc
  49240. + # support --undefined. This deserves some investigation. FIXME
  49241. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49242. + else
  49243. + ld_shlibs=no
  49244. + fi
  49245. + ;;
  49246. +
  49247. + cygwin* | mingw* | pw32* | cegcc*)
  49248. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  49249. + # as there is no search path for DLLs.
  49250. + hardcode_libdir_flag_spec='-L$libdir'
  49251. + export_dynamic_flag_spec='$wl--export-all-symbols'
  49252. + allow_undefined_flag=unsupported
  49253. + always_export_symbols=no
  49254. + enable_shared_with_static_runtimes=yes
  49255. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  49256. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  49257. +
  49258. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  49259. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  49260. + # If the export-symbols file already is a .def file, use it as
  49261. + # is; otherwise, prepend EXPORTS...
  49262. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  49263. + cp $export_symbols $output_objdir/$soname.def;
  49264. + else
  49265. + echo EXPORTS > $output_objdir/$soname.def;
  49266. + cat $export_symbols >> $output_objdir/$soname.def;
  49267. + fi~
  49268. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  49269. + else
  49270. + ld_shlibs=no
  49271. + fi
  49272. + ;;
  49273. +
  49274. + haiku*)
  49275. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49276. + link_all_deplibs=yes
  49277. + ;;
  49278. +
  49279. + os2*)
  49280. + hardcode_libdir_flag_spec='-L$libdir'
  49281. + hardcode_minus_L=yes
  49282. + allow_undefined_flag=unsupported
  49283. + shrext_cmds=.dll
  49284. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  49285. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  49286. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  49287. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  49288. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  49289. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  49290. + emximp -o $lib $output_objdir/$libname.def'
  49291. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  49292. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  49293. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  49294. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  49295. + prefix_cmds="$SED"~
  49296. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  49297. + prefix_cmds="$prefix_cmds -e 1d";
  49298. + fi~
  49299. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  49300. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  49301. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  49302. + emximp -o $lib $output_objdir/$libname.def'
  49303. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  49304. + enable_shared_with_static_runtimes=yes
  49305. + ;;
  49306. +
  49307. + interix[3-9]*)
  49308. + hardcode_direct=no
  49309. + hardcode_shlibpath_var=no
  49310. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  49311. + export_dynamic_flag_spec='$wl-E'
  49312. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  49313. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  49314. + # default) and relocated if they conflict, which is a slow very memory
  49315. + # consuming and fragmenting process. To avoid this, we pick a random,
  49316. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  49317. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  49318. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  49319. + archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  49320. + ;;
  49321. +
  49322. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  49323. + tmp_diet=no
  49324. + if test linux-dietlibc = "$host_os"; then
  49325. + case $cc_basename in
  49326. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  49327. + esac
  49328. + fi
  49329. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  49330. + && test no = "$tmp_diet"
  49331. + then
  49332. + tmp_addflag=' $pic_flag'
  49333. + tmp_sharedflag='-shared'
  49334. + case $cc_basename,$host_cpu in
  49335. + pgcc*) # Portland Group C compiler
  49336. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  49337. + tmp_addflag=' $pic_flag'
  49338. + ;;
  49339. + pgf77* | pgf90* | pgf95* | pgfortran*)
  49340. + # Portland Group f77 and f90 compilers
  49341. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  49342. + tmp_addflag=' $pic_flag -Mnomain' ;;
  49343. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  49344. + tmp_addflag=' -i_dynamic' ;;
  49345. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  49346. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  49347. + ifc* | ifort*) # Intel Fortran compiler
  49348. + tmp_addflag=' -nofor_main' ;;
  49349. + lf95*) # Lahey Fortran 8.1
  49350. + whole_archive_flag_spec=
  49351. + tmp_sharedflag='--shared' ;;
  49352. + nagfor*) # NAGFOR 5.3
  49353. + tmp_sharedflag='-Wl,-shared' ;;
  49354. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  49355. + tmp_sharedflag='-qmkshrobj'
  49356. + tmp_addflag= ;;
  49357. + nvcc*) # Cuda Compiler Driver 2.2
  49358. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  49359. + compiler_needs_object=yes
  49360. + ;;
  49361. + esac
  49362. + case `$CC -V 2>&1 | sed 5q` in
  49363. + *Sun\ C*) # Sun C 5.9
  49364. + whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  49365. + compiler_needs_object=yes
  49366. + tmp_sharedflag='-G' ;;
  49367. + *Sun\ F*) # Sun Fortran 8.3
  49368. + tmp_sharedflag='-G' ;;
  49369. + esac
  49370. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49371. +
  49372. + if test yes = "$supports_anon_versioning"; then
  49373. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  49374. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  49375. + echo "local: *; };" >> $output_objdir/$libname.ver~
  49376. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  49377. + fi
  49378. +
  49379. + case $cc_basename in
  49380. + tcc*)
  49381. + export_dynamic_flag_spec='-rdynamic'
  49382. + ;;
  49383. + xlf* | bgf* | bgxlf* | mpixlf*)
  49384. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  49385. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  49386. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  49387. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  49388. + if test yes = "$supports_anon_versioning"; then
  49389. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  49390. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  49391. + echo "local: *; };" >> $output_objdir/$libname.ver~
  49392. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  49393. + fi
  49394. + ;;
  49395. + esac
  49396. + else
  49397. + ld_shlibs=no
  49398. + fi
  49399. + ;;
  49400. +
  49401. + netbsd*)
  49402. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  49403. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  49404. + wlarc=
  49405. + else
  49406. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49407. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49408. + fi
  49409. + ;;
  49410. +
  49411. + solaris*)
  49412. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  49413. + ld_shlibs=no
  49414. + cat <<_LT_EOF 1>&2
  49415. +
  49416. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  49417. +*** create shared libraries on Solaris systems. Therefore, libtool
  49418. +*** is disabling shared libraries support. We urge you to upgrade GNU
  49419. +*** binutils to release 2.9.1 or newer. Another option is to modify
  49420. +*** your PATH or compiler configuration so that the native linker is
  49421. +*** used, and then restart.
  49422. +
  49423. +_LT_EOF
  49424. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49425. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49426. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49427. + else
  49428. + ld_shlibs=no
  49429. + fi
  49430. + ;;
  49431. +
  49432. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  49433. + case `$LD -v 2>&1` in
  49434. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  49435. + ld_shlibs=no
  49436. + cat <<_LT_EOF 1>&2
  49437. +
  49438. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  49439. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  49440. +*** is disabling shared libraries support. We urge you to upgrade GNU
  49441. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  49442. +*** your PATH or compiler configuration so that the native linker is
  49443. +*** used, and then restart.
  49444. +
  49445. +_LT_EOF
  49446. + ;;
  49447. + *)
  49448. + # For security reasons, it is highly recommended that you always
  49449. + # use absolute paths for naming shared libraries, and exclude the
  49450. + # DT_RUNPATH tag from executables and libraries. But doing so
  49451. + # requires that you compile everything twice, which is a pain.
  49452. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49453. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  49454. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49455. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49456. + else
  49457. + ld_shlibs=no
  49458. + fi
  49459. + ;;
  49460. + esac
  49461. + ;;
  49462. +
  49463. + sunos4*)
  49464. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  49465. + wlarc=
  49466. + hardcode_direct=yes
  49467. + hardcode_shlibpath_var=no
  49468. + ;;
  49469. +
  49470. + *)
  49471. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  49472. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49473. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  49474. + else
  49475. + ld_shlibs=no
  49476. + fi
  49477. + ;;
  49478. + esac
  49479. +
  49480. + if test no = "$ld_shlibs"; then
  49481. + runpath_var=
  49482. + hardcode_libdir_flag_spec=
  49483. + export_dynamic_flag_spec=
  49484. + whole_archive_flag_spec=
  49485. + fi
  49486. + else
  49487. + # PORTME fill in a description of your system's linker (not GNU ld)
  49488. + case $host_os in
  49489. + aix3*)
  49490. + allow_undefined_flag=unsupported
  49491. + always_export_symbols=yes
  49492. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  49493. + # Note: this linker hardcodes the directories in LIBPATH if there
  49494. + # are no directories specified by -L.
  49495. + hardcode_minus_L=yes
  49496. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  49497. + # Neither direct hardcoding nor static linking is supported with a
  49498. + # broken collect2.
  49499. + hardcode_direct=unsupported
  49500. + fi
  49501. + ;;
  49502. +
  49503. + aix[4-9]*)
  49504. + if test ia64 = "$host_cpu"; then
  49505. + # On IA64, the linker does run time linking by default, so we don't
  49506. + # have to do anything special.
  49507. + aix_use_runtimelinking=no
  49508. + exp_sym_flag='-Bexport'
  49509. + no_entry_flag=
  49510. + else
  49511. + # If we're using GNU nm, then we don't want the "-C" option.
  49512. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  49513. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  49514. + # weak defined symbols like other global defined symbols, whereas
  49515. + # GNU nm marks them as "W".
  49516. + # While the 'weak' keyword is ignored in the Export File, we need
  49517. + # it in the Import File for the 'aix-soname' feature, so we have
  49518. + # to replace the "-B" option with "-P" for AIX nm.
  49519. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  49520. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  49521. + else
  49522. + export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  49523. + fi
  49524. + aix_use_runtimelinking=no
  49525. +
  49526. + # Test if we are trying to use run time linking or normal
  49527. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  49528. + # have runtime linking enabled, and use it for executables.
  49529. + # For shared libraries, we enable/disable runtime linking
  49530. + # depending on the kind of the shared library created -
  49531. + # when "with_aix_soname,aix_use_runtimelinking" is:
  49532. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  49533. + # "aix,yes" lib.so shared, rtl:yes, for executables
  49534. + # lib.a static archive
  49535. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  49536. + # lib.a(lib.so.V) shared, rtl:no, for executables
  49537. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  49538. + # lib.a(lib.so.V) shared, rtl:no
  49539. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  49540. + # lib.a static archive
  49541. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  49542. + for ld_flag in $LDFLAGS; do
  49543. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  49544. + aix_use_runtimelinking=yes
  49545. + break
  49546. + fi
  49547. + done
  49548. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  49549. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  49550. + # so we don't have lib.a shared libs to link our executables.
  49551. + # We have to force runtime linking in this case.
  49552. + aix_use_runtimelinking=yes
  49553. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  49554. + fi
  49555. + ;;
  49556. + esac
  49557. +
  49558. + exp_sym_flag='-bexport'
  49559. + no_entry_flag='-bnoentry'
  49560. + fi
  49561. +
  49562. + # When large executables or shared objects are built, AIX ld can
  49563. + # have problems creating the table of contents. If linking a library
  49564. + # or program results in "error TOC overflow" add -mminimal-toc to
  49565. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  49566. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  49567. +
  49568. + archive_cmds=''
  49569. + hardcode_direct=yes
  49570. + hardcode_direct_absolute=yes
  49571. + hardcode_libdir_separator=':'
  49572. + link_all_deplibs=yes
  49573. + file_list_spec='$wl-f,'
  49574. + case $with_aix_soname,$aix_use_runtimelinking in
  49575. + aix,*) ;; # traditional, no import file
  49576. + svr4,* | *,yes) # use import file
  49577. + # The Import File defines what to hardcode.
  49578. + hardcode_direct=no
  49579. + hardcode_direct_absolute=no
  49580. + ;;
  49581. + esac
  49582. +
  49583. + if test yes = "$GCC"; then
  49584. + case $host_os in aix4.[012]|aix4.[012].*)
  49585. + # We only want to do this on AIX 4.2 and lower, the check
  49586. + # below for broken collect2 doesn't work under 4.3+
  49587. + collect2name=`$CC -print-prog-name=collect2`
  49588. + if test -f "$collect2name" &&
  49589. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  49590. + then
  49591. + # We have reworked collect2
  49592. + :
  49593. + else
  49594. + # We have old collect2
  49595. + hardcode_direct=unsupported
  49596. + # It fails to find uninstalled libraries when the uninstalled
  49597. + # path is not listed in the libpath. Setting hardcode_minus_L
  49598. + # to unsupported forces relinking
  49599. + hardcode_minus_L=yes
  49600. + hardcode_libdir_flag_spec='-L$libdir'
  49601. + hardcode_libdir_separator=
  49602. + fi
  49603. + ;;
  49604. + esac
  49605. + shared_flag='-shared'
  49606. + if test yes = "$aix_use_runtimelinking"; then
  49607. + shared_flag="$shared_flag "'$wl-G'
  49608. + fi
  49609. + # Need to ensure runtime linking is disabled for the traditional
  49610. + # shared library, or the linker may eventually find shared libraries
  49611. + # /with/ Import File - we do not want to mix them.
  49612. + shared_flag_aix='-shared'
  49613. + shared_flag_svr4='-shared $wl-G'
  49614. + else
  49615. + # not using gcc
  49616. + if test ia64 = "$host_cpu"; then
  49617. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  49618. + # chokes on -Wl,-G. The following line is correct:
  49619. + shared_flag='-G'
  49620. + else
  49621. + if test yes = "$aix_use_runtimelinking"; then
  49622. + shared_flag='$wl-G'
  49623. + else
  49624. + shared_flag='$wl-bM:SRE'
  49625. + fi
  49626. + shared_flag_aix='$wl-bM:SRE'
  49627. + shared_flag_svr4='$wl-G'
  49628. + fi
  49629. + fi
  49630. +
  49631. + export_dynamic_flag_spec='$wl-bexpall'
  49632. + # It seems that -bexpall does not export symbols beginning with
  49633. + # underscore (_), so it is better to generate a list of symbols to export.
  49634. + always_export_symbols=yes
  49635. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  49636. + # Warning - without using the other runtime loading flags (-brtl),
  49637. + # -berok will link without error, but may produce a broken library.
  49638. + allow_undefined_flag='-berok'
  49639. + # Determine the default libpath from the value encoded in an
  49640. + # empty executable.
  49641. + if test set = "${lt_cv_aix_libpath+set}"; then
  49642. + aix_libpath=$lt_cv_aix_libpath
  49643. +else
  49644. + if ${lt_cv_aix_libpath_+:} false; then :
  49645. + $as_echo_n "(cached) " >&6
  49646. +else
  49647. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49648. +/* end confdefs.h. */
  49649. +
  49650. +int
  49651. +main ()
  49652. +{
  49653. +
  49654. + ;
  49655. + return 0;
  49656. +}
  49657. +_ACEOF
  49658. +if ac_fn_c_try_link "$LINENO"; then :
  49659. +
  49660. + lt_aix_libpath_sed='
  49661. + /Import File Strings/,/^$/ {
  49662. + /^0/ {
  49663. + s/^0 *\([^ ]*\) *$/\1/
  49664. + p
  49665. + }
  49666. + }'
  49667. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49668. + # Check for a 64-bit object if we didn't find anything.
  49669. + if test -z "$lt_cv_aix_libpath_"; then
  49670. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49671. + fi
  49672. +fi
  49673. +rm -f core conftest.err conftest.$ac_objext \
  49674. + conftest$ac_exeext conftest.$ac_ext
  49675. + if test -z "$lt_cv_aix_libpath_"; then
  49676. + lt_cv_aix_libpath_=/usr/lib:/lib
  49677. + fi
  49678. +
  49679. +fi
  49680. +
  49681. + aix_libpath=$lt_cv_aix_libpath_
  49682. +fi
  49683. +
  49684. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  49685. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  49686. + else
  49687. + if test ia64 = "$host_cpu"; then
  49688. + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  49689. + allow_undefined_flag="-z nodefs"
  49690. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
  49691. + else
  49692. + # Determine the default libpath from the value encoded in an
  49693. + # empty executable.
  49694. + if test set = "${lt_cv_aix_libpath+set}"; then
  49695. + aix_libpath=$lt_cv_aix_libpath
  49696. +else
  49697. + if ${lt_cv_aix_libpath_+:} false; then :
  49698. + $as_echo_n "(cached) " >&6
  49699. +else
  49700. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49701. +/* end confdefs.h. */
  49702. +
  49703. +int
  49704. +main ()
  49705. +{
  49706. +
  49707. + ;
  49708. + return 0;
  49709. +}
  49710. +_ACEOF
  49711. +if ac_fn_c_try_link "$LINENO"; then :
  49712. +
  49713. + lt_aix_libpath_sed='
  49714. + /Import File Strings/,/^$/ {
  49715. + /^0/ {
  49716. + s/^0 *\([^ ]*\) *$/\1/
  49717. + p
  49718. + }
  49719. + }'
  49720. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49721. + # Check for a 64-bit object if we didn't find anything.
  49722. + if test -z "$lt_cv_aix_libpath_"; then
  49723. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  49724. + fi
  49725. +fi
  49726. +rm -f core conftest.err conftest.$ac_objext \
  49727. + conftest$ac_exeext conftest.$ac_ext
  49728. + if test -z "$lt_cv_aix_libpath_"; then
  49729. + lt_cv_aix_libpath_=/usr/lib:/lib
  49730. + fi
  49731. +
  49732. +fi
  49733. +
  49734. + aix_libpath=$lt_cv_aix_libpath_
  49735. +fi
  49736. +
  49737. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  49738. + # Warning - without using the other run time loading flags,
  49739. + # -berok will link without error, but may produce a broken library.
  49740. + no_undefined_flag=' $wl-bernotok'
  49741. + allow_undefined_flag=' $wl-berok'
  49742. + if test yes = "$with_gnu_ld"; then
  49743. + # We only use this code for GNU lds that support --whole-archive.
  49744. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  49745. + else
  49746. + # Exported symbols can be pulled into shared objects from archives
  49747. + whole_archive_flag_spec='$convenience'
  49748. + fi
  49749. + archive_cmds_need_lc=yes
  49750. + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  49751. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  49752. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  49753. + if test svr4 != "$with_aix_soname"; then
  49754. + # This is similar to how AIX traditionally builds its shared libraries.
  49755. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  49756. + fi
  49757. + if test aix != "$with_aix_soname"; then
  49758. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  49759. + else
  49760. + # used by -dlpreopen to get the symbols
  49761. + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  49762. + fi
  49763. + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  49764. + fi
  49765. + fi
  49766. + ;;
  49767. +
  49768. + amigaos*)
  49769. + case $host_cpu in
  49770. + powerpc)
  49771. + # see comment about AmigaOS4 .so support
  49772. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  49773. + archive_expsym_cmds=''
  49774. + ;;
  49775. + m68k)
  49776. + archive_cmds='$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)'
  49777. + hardcode_libdir_flag_spec='-L$libdir'
  49778. + hardcode_minus_L=yes
  49779. + ;;
  49780. + esac
  49781. + ;;
  49782. +
  49783. + bsdi[45]*)
  49784. + export_dynamic_flag_spec=-rdynamic
  49785. + ;;
  49786. +
  49787. + cygwin* | mingw* | pw32* | cegcc*)
  49788. + # When not using gcc, we currently assume that we are using
  49789. + # Microsoft Visual C++.
  49790. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  49791. + # no search path for DLLs.
  49792. + case $cc_basename in
  49793. + cl*)
  49794. + # Native MSVC
  49795. + hardcode_libdir_flag_spec=' '
  49796. + allow_undefined_flag=unsupported
  49797. + always_export_symbols=yes
  49798. + file_list_spec='@'
  49799. + # Tell ltmain to make .lib files, not .a files.
  49800. + libext=lib
  49801. + # Tell ltmain to make .dll files, not .so files.
  49802. + shrext_cmds=.dll
  49803. + # FIXME: Setting linknames here is a bad hack.
  49804. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  49805. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  49806. + cp "$export_symbols" "$output_objdir/$soname.def";
  49807. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  49808. + else
  49809. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  49810. + fi~
  49811. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  49812. + linknames='
  49813. + # The linker will not automatically build a static lib if we build a DLL.
  49814. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  49815. + enable_shared_with_static_runtimes=yes
  49816. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  49817. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  49818. + # Don't use ranlib
  49819. + old_postinstall_cmds='chmod 644 $oldlib'
  49820. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  49821. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  49822. + case $lt_outputfile in
  49823. + *.exe|*.EXE) ;;
  49824. + *)
  49825. + lt_outputfile=$lt_outputfile.exe
  49826. + lt_tool_outputfile=$lt_tool_outputfile.exe
  49827. + ;;
  49828. + esac~
  49829. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  49830. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  49831. + $RM "$lt_outputfile.manifest";
  49832. + fi'
  49833. + ;;
  49834. + *)
  49835. + # Assume MSVC wrapper
  49836. + hardcode_libdir_flag_spec=' '
  49837. + allow_undefined_flag=unsupported
  49838. + # Tell ltmain to make .lib files, not .a files.
  49839. + libext=lib
  49840. + # Tell ltmain to make .dll files, not .so files.
  49841. + shrext_cmds=.dll
  49842. + # FIXME: Setting linknames here is a bad hack.
  49843. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  49844. + # The linker will automatically build a .lib file if we build a DLL.
  49845. + old_archive_from_new_cmds='true'
  49846. + # FIXME: Should let the user specify the lib program.
  49847. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  49848. + enable_shared_with_static_runtimes=yes
  49849. + ;;
  49850. + esac
  49851. + ;;
  49852. +
  49853. + darwin* | rhapsody*)
  49854. +
  49855. +
  49856. + archive_cmds_need_lc=no
  49857. + hardcode_direct=no
  49858. + hardcode_automatic=yes
  49859. + hardcode_shlibpath_var=unsupported
  49860. + if test yes = "$lt_cv_ld_force_load"; then
  49861. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  49862. +
  49863. + else
  49864. + whole_archive_flag_spec=''
  49865. + fi
  49866. + link_all_deplibs=yes
  49867. + allow_undefined_flag=$_lt_dar_allow_undefined
  49868. + case $cc_basename in
  49869. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  49870. + *) _lt_dar_can_shared=$GCC ;;
  49871. + esac
  49872. + if test yes = "$_lt_dar_can_shared"; then
  49873. + output_verbose_link_cmd=func_echo_all
  49874. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  49875. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  49876. + archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
  49877. + module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
  49878. +
  49879. + else
  49880. + ld_shlibs=no
  49881. + fi
  49882. +
  49883. + ;;
  49884. +
  49885. + dgux*)
  49886. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  49887. + hardcode_libdir_flag_spec='-L$libdir'
  49888. + hardcode_shlibpath_var=no
  49889. + ;;
  49890. +
  49891. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  49892. + # support. Future versions do this automatically, but an explicit c++rt0.o
  49893. + # does not break anything, and helps significantly (at the cost of a little
  49894. + # extra space).
  49895. + freebsd2.2*)
  49896. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  49897. + hardcode_libdir_flag_spec='-R$libdir'
  49898. + hardcode_direct=yes
  49899. + hardcode_shlibpath_var=no
  49900. + ;;
  49901. +
  49902. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  49903. + freebsd2.*)
  49904. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  49905. + hardcode_direct=yes
  49906. + hardcode_minus_L=yes
  49907. + hardcode_shlibpath_var=no
  49908. + ;;
  49909. +
  49910. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  49911. + freebsd* | dragonfly*)
  49912. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  49913. + hardcode_libdir_flag_spec='-R$libdir'
  49914. + hardcode_direct=yes
  49915. + hardcode_shlibpath_var=no
  49916. + ;;
  49917. +
  49918. + hpux9*)
  49919. + if test yes = "$GCC"; then
  49920. + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  49921. + else
  49922. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  49923. + fi
  49924. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  49925. + hardcode_libdir_separator=:
  49926. + hardcode_direct=yes
  49927. +
  49928. + # hardcode_minus_L: Not really in the search PATH,
  49929. + # but as the default location of the library.
  49930. + hardcode_minus_L=yes
  49931. + export_dynamic_flag_spec='$wl-E'
  49932. + ;;
  49933. +
  49934. + hpux10*)
  49935. + if test yes,no = "$GCC,$with_gnu_ld"; then
  49936. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49937. + else
  49938. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  49939. + fi
  49940. + if test no = "$with_gnu_ld"; then
  49941. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  49942. + hardcode_libdir_separator=:
  49943. + hardcode_direct=yes
  49944. + hardcode_direct_absolute=yes
  49945. + export_dynamic_flag_spec='$wl-E'
  49946. + # hardcode_minus_L: Not really in the search PATH,
  49947. + # but as the default location of the library.
  49948. + hardcode_minus_L=yes
  49949. + fi
  49950. + ;;
  49951. +
  49952. + hpux11*)
  49953. + if test yes,no = "$GCC,$with_gnu_ld"; then
  49954. + case $host_cpu in
  49955. + hppa*64*)
  49956. + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  49957. + ;;
  49958. + ia64*)
  49959. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  49960. + ;;
  49961. + *)
  49962. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  49963. + ;;
  49964. + esac
  49965. + else
  49966. + case $host_cpu in
  49967. + hppa*64*)
  49968. + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  49969. + ;;
  49970. + ia64*)
  49971. + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  49972. + ;;
  49973. + *)
  49974. +
  49975. + # Older versions of the 11.00 compiler do not understand -b yet
  49976. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  49977. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  49978. +$as_echo_n "checking if $CC understands -b... " >&6; }
  49979. +if ${lt_cv_prog_compiler__b+:} false; then :
  49980. + $as_echo_n "(cached) " >&6
  49981. +else
  49982. + lt_cv_prog_compiler__b=no
  49983. + save_LDFLAGS=$LDFLAGS
  49984. + LDFLAGS="$LDFLAGS -b"
  49985. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  49986. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  49987. + # The linker can only warn and ignore the option if not recognized
  49988. + # So say no if there are warnings
  49989. + if test -s conftest.err; then
  49990. + # Append any errors to the config.log.
  49991. + cat conftest.err 1>&5
  49992. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  49993. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  49994. + if diff conftest.exp conftest.er2 >/dev/null; then
  49995. + lt_cv_prog_compiler__b=yes
  49996. + fi
  49997. + else
  49998. + lt_cv_prog_compiler__b=yes
  49999. + fi
  50000. + fi
  50001. + $RM -r conftest*
  50002. + LDFLAGS=$save_LDFLAGS
  50003. +
  50004. +fi
  50005. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  50006. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  50007. +
  50008. +if test yes = "$lt_cv_prog_compiler__b"; then
  50009. + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  50010. +else
  50011. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  50012. +fi
  50013. +
  50014. + ;;
  50015. + esac
  50016. + fi
  50017. + if test no = "$with_gnu_ld"; then
  50018. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  50019. + hardcode_libdir_separator=:
  50020. +
  50021. + case $host_cpu in
  50022. + hppa*64*|ia64*)
  50023. + hardcode_direct=no
  50024. + hardcode_shlibpath_var=no
  50025. + ;;
  50026. + *)
  50027. + hardcode_direct=yes
  50028. + hardcode_direct_absolute=yes
  50029. + export_dynamic_flag_spec='$wl-E'
  50030. +
  50031. + # hardcode_minus_L: Not really in the search PATH,
  50032. + # but as the default location of the library.
  50033. + hardcode_minus_L=yes
  50034. + ;;
  50035. + esac
  50036. + fi
  50037. + ;;
  50038. +
  50039. + irix5* | irix6* | nonstopux*)
  50040. + if test yes = "$GCC"; then
  50041. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  50042. + # Try to use the -exported_symbol ld option, if it does not
  50043. + # work, assume that -exports_file does not work either and
  50044. + # implicitly export all symbols.
  50045. + # This should be the same for all languages, so no per-tag cache variable.
  50046. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  50047. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  50048. +if ${lt_cv_irix_exported_symbol+:} false; then :
  50049. + $as_echo_n "(cached) " >&6
  50050. +else
  50051. + save_LDFLAGS=$LDFLAGS
  50052. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  50053. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50054. +/* end confdefs.h. */
  50055. +int foo (void) { return 0; }
  50056. +_ACEOF
  50057. +if ac_fn_c_try_link "$LINENO"; then :
  50058. + lt_cv_irix_exported_symbol=yes
  50059. +else
  50060. + lt_cv_irix_exported_symbol=no
  50061. +fi
  50062. +rm -f core conftest.err conftest.$ac_objext \
  50063. + conftest$ac_exeext conftest.$ac_ext
  50064. + LDFLAGS=$save_LDFLAGS
  50065. +fi
  50066. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  50067. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  50068. + if test yes = "$lt_cv_irix_exported_symbol"; then
  50069. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
  50070. + fi
  50071. + else
  50072. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  50073. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
  50074. + fi
  50075. + archive_cmds_need_lc='no'
  50076. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50077. + hardcode_libdir_separator=:
  50078. + inherit_rpath=yes
  50079. + link_all_deplibs=yes
  50080. + ;;
  50081. +
  50082. + linux*)
  50083. + case $cc_basename in
  50084. + tcc*)
  50085. + # Fabrice Bellard et al's Tiny C Compiler
  50086. + ld_shlibs=yes
  50087. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  50088. + ;;
  50089. + esac
  50090. + ;;
  50091. +
  50092. + netbsd*)
  50093. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  50094. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  50095. + else
  50096. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  50097. + fi
  50098. + hardcode_libdir_flag_spec='-R$libdir'
  50099. + hardcode_direct=yes
  50100. + hardcode_shlibpath_var=no
  50101. + ;;
  50102. +
  50103. + newsos6)
  50104. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50105. + hardcode_direct=yes
  50106. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50107. + hardcode_libdir_separator=:
  50108. + hardcode_shlibpath_var=no
  50109. + ;;
  50110. +
  50111. + *nto* | *qnx*)
  50112. + ;;
  50113. +
  50114. + openbsd* | bitrig*)
  50115. + if test -f /usr/libexec/ld.so; then
  50116. + hardcode_direct=yes
  50117. + hardcode_shlibpath_var=no
  50118. + hardcode_direct_absolute=yes
  50119. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  50120. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  50121. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  50122. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  50123. + export_dynamic_flag_spec='$wl-E'
  50124. + else
  50125. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  50126. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  50127. + fi
  50128. + else
  50129. + ld_shlibs=no
  50130. + fi
  50131. + ;;
  50132. +
  50133. + os2*)
  50134. + hardcode_libdir_flag_spec='-L$libdir'
  50135. + hardcode_minus_L=yes
  50136. + allow_undefined_flag=unsupported
  50137. + shrext_cmds=.dll
  50138. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  50139. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  50140. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  50141. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  50142. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  50143. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  50144. + emximp -o $lib $output_objdir/$libname.def'
  50145. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  50146. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  50147. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  50148. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  50149. + prefix_cmds="$SED"~
  50150. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  50151. + prefix_cmds="$prefix_cmds -e 1d";
  50152. + fi~
  50153. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  50154. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  50155. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  50156. + emximp -o $lib $output_objdir/$libname.def'
  50157. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  50158. + enable_shared_with_static_runtimes=yes
  50159. + ;;
  50160. +
  50161. + osf3*)
  50162. + if test yes = "$GCC"; then
  50163. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  50164. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  50165. + else
  50166. + allow_undefined_flag=' -expect_unresolved \*'
  50167. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  50168. + fi
  50169. + archive_cmds_need_lc='no'
  50170. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50171. + hardcode_libdir_separator=:
  50172. + ;;
  50173. +
  50174. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  50175. + if test yes = "$GCC"; then
  50176. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  50177. + archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  50178. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  50179. + else
  50180. + allow_undefined_flag=' -expect_unresolved \*'
  50181. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  50182. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  50183. + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
  50184. +
  50185. + # Both c and cxx compiler support -rpath directly
  50186. + hardcode_libdir_flag_spec='-rpath $libdir'
  50187. + fi
  50188. + archive_cmds_need_lc='no'
  50189. + hardcode_libdir_separator=:
  50190. + ;;
  50191. +
  50192. + solaris*)
  50193. + no_undefined_flag=' -z defs'
  50194. + if test yes = "$GCC"; then
  50195. + wlarc='$wl'
  50196. + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  50197. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  50198. + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  50199. + else
  50200. + case `$CC -V 2>&1` in
  50201. + *"Compilers 5.0"*)
  50202. + wlarc=''
  50203. + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50204. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  50205. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  50206. + ;;
  50207. + *)
  50208. + wlarc='$wl'
  50209. + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  50210. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  50211. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  50212. + ;;
  50213. + esac
  50214. + fi
  50215. + hardcode_libdir_flag_spec='-R$libdir'
  50216. + hardcode_shlibpath_var=no
  50217. + case $host_os in
  50218. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  50219. + *)
  50220. + # The compiler driver will combine and reorder linker options,
  50221. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  50222. + # but is careful enough not to reorder.
  50223. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  50224. + if test yes = "$GCC"; then
  50225. + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  50226. + else
  50227. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  50228. + fi
  50229. + ;;
  50230. + esac
  50231. + link_all_deplibs=yes
  50232. + ;;
  50233. +
  50234. + sunos4*)
  50235. + if test sequent = "$host_vendor"; then
  50236. + # Use $CC to link under sequent, because it throws in some extra .o
  50237. + # files that make .init and .fini sections work.
  50238. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  50239. + else
  50240. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  50241. + fi
  50242. + hardcode_libdir_flag_spec='-L$libdir'
  50243. + hardcode_direct=yes
  50244. + hardcode_minus_L=yes
  50245. + hardcode_shlibpath_var=no
  50246. + ;;
  50247. +
  50248. + sysv4)
  50249. + case $host_vendor in
  50250. + sni)
  50251. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50252. + hardcode_direct=yes # is this really true???
  50253. + ;;
  50254. + siemens)
  50255. + ## LD is ld it makes a PLAMLIB
  50256. + ## CC just makes a GrossModule.
  50257. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  50258. + reload_cmds='$CC -r -o $output$reload_objs'
  50259. + hardcode_direct=no
  50260. + ;;
  50261. + motorola)
  50262. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50263. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  50264. + ;;
  50265. + esac
  50266. + runpath_var='LD_RUN_PATH'
  50267. + hardcode_shlibpath_var=no
  50268. + ;;
  50269. +
  50270. + sysv4.3*)
  50271. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50272. + hardcode_shlibpath_var=no
  50273. + export_dynamic_flag_spec='-Bexport'
  50274. + ;;
  50275. +
  50276. + sysv4*MP*)
  50277. + if test -d /usr/nec; then
  50278. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50279. + hardcode_shlibpath_var=no
  50280. + runpath_var=LD_RUN_PATH
  50281. + hardcode_runpath_var=yes
  50282. + ld_shlibs=yes
  50283. + fi
  50284. + ;;
  50285. +
  50286. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  50287. + no_undefined_flag='$wl-z,text'
  50288. + archive_cmds_need_lc=no
  50289. + hardcode_shlibpath_var=no
  50290. + runpath_var='LD_RUN_PATH'
  50291. +
  50292. + if test yes = "$GCC"; then
  50293. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50294. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50295. + else
  50296. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50297. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50298. + fi
  50299. + ;;
  50300. +
  50301. + sysv5* | sco3.2v5* | sco5v6*)
  50302. + # Note: We CANNOT use -z defs as we might desire, because we do not
  50303. + # link with -lc, and that would cause any symbols used from libc to
  50304. + # always be unresolved, which means just about no library would
  50305. + # ever link correctly. If we're not using GNU ld we use -z text
  50306. + # though, which does catch some bad symbols but isn't as heavy-handed
  50307. + # as -z defs.
  50308. + no_undefined_flag='$wl-z,text'
  50309. + allow_undefined_flag='$wl-z,nodefs'
  50310. + archive_cmds_need_lc=no
  50311. + hardcode_shlibpath_var=no
  50312. + hardcode_libdir_flag_spec='$wl-R,$libdir'
  50313. + hardcode_libdir_separator=':'
  50314. + link_all_deplibs=yes
  50315. + export_dynamic_flag_spec='$wl-Bexport'
  50316. + runpath_var='LD_RUN_PATH'
  50317. +
  50318. + if test yes = "$GCC"; then
  50319. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50320. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50321. + else
  50322. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50323. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  50324. + fi
  50325. + ;;
  50326. +
  50327. + uts4*)
  50328. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  50329. + hardcode_libdir_flag_spec='-L$libdir'
  50330. + hardcode_shlibpath_var=no
  50331. + ;;
  50332. +
  50333. + *)
  50334. + ld_shlibs=no
  50335. + ;;
  50336. + esac
  50337. +
  50338. + if test sni = "$host_vendor"; then
  50339. + case $host in
  50340. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  50341. + export_dynamic_flag_spec='$wl-Blargedynsym'
  50342. + ;;
  50343. + esac
  50344. + fi
  50345. + fi
  50346. +
  50347. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  50348. +$as_echo "$ld_shlibs" >&6; }
  50349. +test no = "$ld_shlibs" && can_build_shared=no
  50350. +
  50351. +with_gnu_ld=$with_gnu_ld
  50352. +
  50353. +
  50354. +
  50355. +
  50356. +
  50357. +
  50358. +
  50359. +
  50360. +
  50361. +
  50362. +
  50363. +
  50364. +
  50365. +
  50366. +
  50367. +#
  50368. +# Do we need to explicitly link libc?
  50369. +#
  50370. +case "x$archive_cmds_need_lc" in
  50371. +x|xyes)
  50372. + # Assume -lc should be added
  50373. + archive_cmds_need_lc=yes
  50374. +
  50375. + if test yes,yes = "$GCC,$enable_shared"; then
  50376. + case $archive_cmds in
  50377. + *'~'*)
  50378. + # FIXME: we may have to deal with multi-command sequences.
  50379. + ;;
  50380. + '$CC '*)
  50381. + # Test whether the compiler implicitly links with -lc since on some
  50382. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  50383. + # to ld, don't add -lc before -lgcc.
  50384. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  50385. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  50386. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  50387. + $as_echo_n "(cached) " >&6
  50388. +else
  50389. + $RM conftest*
  50390. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  50391. +
  50392. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  50393. + (eval $ac_compile) 2>&5
  50394. + ac_status=$?
  50395. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  50396. + test $ac_status = 0; } 2>conftest.err; then
  50397. + soname=conftest
  50398. + lib=conftest
  50399. + libobjs=conftest.$ac_objext
  50400. + deplibs=
  50401. + wl=$lt_prog_compiler_wl
  50402. + pic_flag=$lt_prog_compiler_pic
  50403. + compiler_flags=-v
  50404. + linker_flags=-v
  50405. + verstring=
  50406. + output_objdir=.
  50407. + libname=conftest
  50408. + lt_save_allow_undefined_flag=$allow_undefined_flag
  50409. + allow_undefined_flag=
  50410. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  50411. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  50412. + ac_status=$?
  50413. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  50414. + test $ac_status = 0; }
  50415. + then
  50416. + lt_cv_archive_cmds_need_lc=no
  50417. + else
  50418. + lt_cv_archive_cmds_need_lc=yes
  50419. + fi
  50420. + allow_undefined_flag=$lt_save_allow_undefined_flag
  50421. + else
  50422. + cat conftest.err 1>&5
  50423. + fi
  50424. + $RM conftest*
  50425. +
  50426. +fi
  50427. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  50428. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  50429. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  50430. + ;;
  50431. + esac
  50432. + fi
  50433. + ;;
  50434. +esac
  50435. +
  50436. +
  50437. +
  50438. +
  50439. +
  50440. +
  50441. +
  50442. +
  50443. +
  50444. +
  50445. +
  50446. +
  50447. +
  50448. +
  50449. +
  50450. +
  50451. +
  50452. +
  50453. +
  50454. +
  50455. +
  50456. +
  50457. +
  50458. +
  50459. +
  50460. +
  50461. +
  50462. +
  50463. +
  50464. +
  50465. +
  50466. +
  50467. +
  50468. +
  50469. +
  50470. +
  50471. +
  50472. +
  50473. +
  50474. +
  50475. +
  50476. +
  50477. +
  50478. +
  50479. +
  50480. +
  50481. +
  50482. +
  50483. +
  50484. +
  50485. +
  50486. +
  50487. +
  50488. +
  50489. +
  50490. +
  50491. +
  50492. +
  50493. +
  50494. +
  50495. +
  50496. +
  50497. +
  50498. +
  50499. +
  50500. +
  50501. +
  50502. +
  50503. +
  50504. +
  50505. +
  50506. +
  50507. +
  50508. +
  50509. +
  50510. +
  50511. +
  50512. +
  50513. +
  50514. +
  50515. +
  50516. +
  50517. +
  50518. +
  50519. +
  50520. +
  50521. +
  50522. +
  50523. +
  50524. +
  50525. +
  50526. +
  50527. +
  50528. +
  50529. +
  50530. +
  50531. +
  50532. +
  50533. +
  50534. +
  50535. +
  50536. +
  50537. +
  50538. +
  50539. +
  50540. +
  50541. +
  50542. +
  50543. +
  50544. +
  50545. +
  50546. +
  50547. +
  50548. +
  50549. +
  50550. +
  50551. +
  50552. +
  50553. +
  50554. +
  50555. +
  50556. +
  50557. +
  50558. +
  50559. +
  50560. +
  50561. +
  50562. +
  50563. +
  50564. +
  50565. +
  50566. +
  50567. +
  50568. +
  50569. +
  50570. +
  50571. +
  50572. +
  50573. +
  50574. +
  50575. +
  50576. +
  50577. +
  50578. +
  50579. +
  50580. +
  50581. +
  50582. +
  50583. +
  50584. +
  50585. +
  50586. +
  50587. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  50588. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  50589. +
  50590. +if test yes = "$GCC"; then
  50591. + case $host_os in
  50592. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  50593. + *) lt_awk_arg='/^libraries:/' ;;
  50594. + esac
  50595. + case $host_os in
  50596. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  50597. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  50598. + esac
  50599. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  50600. + case $lt_search_path_spec in
  50601. + *\;*)
  50602. + # if the path contains ";" then we assume it to be the separator
  50603. + # otherwise default to the standard path separator (i.e. ":") - it is
  50604. + # assumed that no part of a normal pathname contains ";" but that should
  50605. + # okay in the real world where ";" in dirpaths is itself problematic.
  50606. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  50607. + ;;
  50608. + *)
  50609. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  50610. + ;;
  50611. + esac
  50612. + # Ok, now we have the path, separated by spaces, we can step through it
  50613. + # and add multilib dir if necessary...
  50614. + lt_tmp_lt_search_path_spec=
  50615. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  50616. + # ...but if some path component already ends with the multilib dir we assume
  50617. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  50618. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  50619. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  50620. + lt_multi_os_dir=
  50621. + ;;
  50622. + esac
  50623. + for lt_sys_path in $lt_search_path_spec; do
  50624. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  50625. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  50626. + elif test -n "$lt_multi_os_dir"; then
  50627. + test -d "$lt_sys_path" && \
  50628. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  50629. + fi
  50630. + done
  50631. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  50632. +BEGIN {RS = " "; FS = "/|\n";} {
  50633. + lt_foo = "";
  50634. + lt_count = 0;
  50635. + for (lt_i = NF; lt_i > 0; lt_i--) {
  50636. + if ($lt_i != "" && $lt_i != ".") {
  50637. + if ($lt_i == "..") {
  50638. + lt_count++;
  50639. + } else {
  50640. + if (lt_count == 0) {
  50641. + lt_foo = "/" $lt_i lt_foo;
  50642. + } else {
  50643. + lt_count--;
  50644. + }
  50645. + }
  50646. + }
  50647. + }
  50648. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  50649. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  50650. +}'`
  50651. + # AWK program above erroneously prepends '/' to C:/dos/paths
  50652. + # for these hosts.
  50653. + case $host_os in
  50654. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  50655. + $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  50656. + esac
  50657. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  50658. +else
  50659. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  50660. +fi
  50661. +library_names_spec=
  50662. +libname_spec='lib$name'
  50663. +soname_spec=
  50664. +shrext_cmds=.so
  50665. +postinstall_cmds=
  50666. +postuninstall_cmds=
  50667. +finish_cmds=
  50668. +finish_eval=
  50669. +shlibpath_var=
  50670. +shlibpath_overrides_runpath=unknown
  50671. +version_type=none
  50672. +dynamic_linker="$host_os ld.so"
  50673. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  50674. +need_lib_prefix=unknown
  50675. +hardcode_into_libs=no
  50676. +
  50677. +# when you set need_version to no, make sure it does not cause -set_version
  50678. +# flags to be left without arguments
  50679. +need_version=unknown
  50680. +
  50681. +
  50682. +
  50683. +case $host_os in
  50684. +aix3*)
  50685. + version_type=linux # correct to gnu/linux during the next big refactor
  50686. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  50687. + shlibpath_var=LIBPATH
  50688. +
  50689. + # AIX 3 has no versioning support, so we append a major version to the name.
  50690. + soname_spec='$libname$release$shared_ext$major'
  50691. + ;;
  50692. +
  50693. +aix[4-9]*)
  50694. + version_type=linux # correct to gnu/linux during the next big refactor
  50695. + need_lib_prefix=no
  50696. + need_version=no
  50697. + hardcode_into_libs=yes
  50698. + if test ia64 = "$host_cpu"; then
  50699. + # AIX 5 supports IA64
  50700. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  50701. + shlibpath_var=LD_LIBRARY_PATH
  50702. + else
  50703. + # With GCC up to 2.95.x, collect2 would create an import file
  50704. + # for dependence libraries. The import file would start with
  50705. + # the line '#! .'. This would cause the generated library to
  50706. + # depend on '.', always an invalid library. This was fixed in
  50707. + # development snapshots of GCC prior to 3.0.
  50708. + case $host_os in
  50709. + aix4 | aix4.[01] | aix4.[01].*)
  50710. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  50711. + echo ' yes '
  50712. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  50713. + :
  50714. + else
  50715. + can_build_shared=no
  50716. + fi
  50717. + ;;
  50718. + esac
  50719. + # Using Import Files as archive members, it is possible to support
  50720. + # filename-based versioning of shared library archives on AIX. While
  50721. + # this would work for both with and without runtime linking, it will
  50722. + # prevent static linking of such archives. So we do filename-based
  50723. + # shared library versioning with .so extension only, which is used
  50724. + # when both runtime linking and shared linking is enabled.
  50725. + # Unfortunately, runtime linking may impact performance, so we do
  50726. + # not want this to be the default eventually. Also, we use the
  50727. + # versioned .so libs for executables only if there is the -brtl
  50728. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  50729. + # To allow for filename-based versioning support, we need to create
  50730. + # libNAME.so.V as an archive file, containing:
  50731. + # *) an Import File, referring to the versioned filename of the
  50732. + # archive as well as the shared archive member, telling the
  50733. + # bitwidth (32 or 64) of that shared object, and providing the
  50734. + # list of exported symbols of that shared object, eventually
  50735. + # decorated with the 'weak' keyword
  50736. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  50737. + # it being seen by the linker.
  50738. + # At run time we better use the real file rather than another symlink,
  50739. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  50740. +
  50741. + case $with_aix_soname,$aix_use_runtimelinking in
  50742. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  50743. + # soname into executable. Probably we can add versioning support to
  50744. + # collect2, so additional links can be useful in future.
  50745. + aix,yes) # traditional libtool
  50746. + dynamic_linker='AIX unversionable lib.so'
  50747. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  50748. + # instead of lib<name>.a to let people know that these are not
  50749. + # typical AIX shared libraries.
  50750. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50751. + ;;
  50752. + aix,no) # traditional AIX only
  50753. + dynamic_linker='AIX lib.a(lib.so.V)'
  50754. + # We preserve .a as extension for shared libraries through AIX4.2
  50755. + # and later when we are not doing run time linking.
  50756. + library_names_spec='$libname$release.a $libname.a'
  50757. + soname_spec='$libname$release$shared_ext$major'
  50758. + ;;
  50759. + svr4,*) # full svr4 only
  50760. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  50761. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  50762. + # We do not specify a path in Import Files, so LIBPATH fires.
  50763. + shlibpath_overrides_runpath=yes
  50764. + ;;
  50765. + *,yes) # both, prefer svr4
  50766. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  50767. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  50768. + # unpreferred sharedlib libNAME.a needs extra handling
  50769. + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  50770. + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  50771. + # We do not specify a path in Import Files, so LIBPATH fires.
  50772. + shlibpath_overrides_runpath=yes
  50773. + ;;
  50774. + *,no) # both, prefer aix
  50775. + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  50776. + library_names_spec='$libname$release.a $libname.a'
  50777. + soname_spec='$libname$release$shared_ext$major'
  50778. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  50779. + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  50780. + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  50781. + ;;
  50782. + esac
  50783. + shlibpath_var=LIBPATH
  50784. + fi
  50785. + ;;
  50786. +
  50787. +amigaos*)
  50788. + case $host_cpu in
  50789. + powerpc)
  50790. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  50791. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  50792. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50793. + ;;
  50794. + m68k)
  50795. + library_names_spec='$libname.ixlibrary $libname.a'
  50796. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  50797. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  50798. + ;;
  50799. + esac
  50800. + ;;
  50801. +
  50802. +beos*)
  50803. + library_names_spec='$libname$shared_ext'
  50804. + dynamic_linker="$host_os ld.so"
  50805. + shlibpath_var=LIBRARY_PATH
  50806. + ;;
  50807. +
  50808. +bsdi[45]*)
  50809. + version_type=linux # correct to gnu/linux during the next big refactor
  50810. + need_version=no
  50811. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50812. + soname_spec='$libname$release$shared_ext$major'
  50813. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  50814. + shlibpath_var=LD_LIBRARY_PATH
  50815. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  50816. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  50817. + # the default ld.so.conf also contains /usr/contrib/lib and
  50818. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  50819. + # libtool to hard-code these into programs
  50820. + ;;
  50821. +
  50822. +cygwin* | mingw* | pw32* | cegcc*)
  50823. + version_type=windows
  50824. + shrext_cmds=.dll
  50825. + need_version=no
  50826. + need_lib_prefix=no
  50827. +
  50828. + case $GCC,$cc_basename in
  50829. + yes,*)
  50830. + # gcc
  50831. + library_names_spec='$libname.dll.a'
  50832. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  50833. + postinstall_cmds='base_file=`basename \$file`~
  50834. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  50835. + dldir=$destdir/`dirname \$dlpath`~
  50836. + test -d \$dldir || mkdir -p \$dldir~
  50837. + $install_prog $dir/$dlname \$dldir/$dlname~
  50838. + chmod a+x \$dldir/$dlname~
  50839. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  50840. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  50841. + fi'
  50842. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  50843. + dlpath=$dir/\$dldll~
  50844. + $RM \$dlpath'
  50845. + shlibpath_overrides_runpath=yes
  50846. +
  50847. + case $host_os in
  50848. + cygwin*)
  50849. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  50850. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50851. +
  50852. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  50853. + ;;
  50854. + mingw* | cegcc*)
  50855. + # MinGW DLLs use traditional 'lib' prefix
  50856. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50857. + ;;
  50858. + pw32*)
  50859. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  50860. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50861. + ;;
  50862. + esac
  50863. + dynamic_linker='Win32 ld.exe'
  50864. + ;;
  50865. +
  50866. + *,cl*)
  50867. + # Native MSVC
  50868. + libname_spec='$name'
  50869. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  50870. + library_names_spec='$libname.dll.lib'
  50871. +
  50872. + case $build_os in
  50873. + mingw*)
  50874. + sys_lib_search_path_spec=
  50875. + lt_save_ifs=$IFS
  50876. + IFS=';'
  50877. + for lt_path in $LIB
  50878. + do
  50879. + IFS=$lt_save_ifs
  50880. + # Let DOS variable expansion print the short 8.3 style file name.
  50881. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  50882. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  50883. + done
  50884. + IFS=$lt_save_ifs
  50885. + # Convert to MSYS style.
  50886. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  50887. + ;;
  50888. + cygwin*)
  50889. + # Convert to unix form, then to dos form, then back to unix form
  50890. + # but this time dos style (no spaces!) so that the unix form looks
  50891. + # like /cygdrive/c/PROGRA~1:/cygdr...
  50892. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  50893. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  50894. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  50895. + ;;
  50896. + *)
  50897. + sys_lib_search_path_spec=$LIB
  50898. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  50899. + # It is most probably a Windows format PATH.
  50900. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  50901. + else
  50902. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  50903. + fi
  50904. + # FIXME: find the short name or the path components, as spaces are
  50905. + # common. (e.g. "Program Files" -> "PROGRA~1")
  50906. + ;;
  50907. + esac
  50908. +
  50909. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  50910. + postinstall_cmds='base_file=`basename \$file`~
  50911. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  50912. + dldir=$destdir/`dirname \$dlpath`~
  50913. + test -d \$dldir || mkdir -p \$dldir~
  50914. + $install_prog $dir/$dlname \$dldir/$dlname'
  50915. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  50916. + dlpath=$dir/\$dldll~
  50917. + $RM \$dlpath'
  50918. + shlibpath_overrides_runpath=yes
  50919. + dynamic_linker='Win32 link.exe'
  50920. + ;;
  50921. +
  50922. + *)
  50923. + # Assume MSVC wrapper
  50924. + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  50925. + dynamic_linker='Win32 ld.exe'
  50926. + ;;
  50927. + esac
  50928. + # FIXME: first we should search . and the directory the executable is in
  50929. + shlibpath_var=PATH
  50930. + ;;
  50931. +
  50932. +darwin* | rhapsody*)
  50933. + dynamic_linker="$host_os dyld"
  50934. + version_type=darwin
  50935. + need_lib_prefix=no
  50936. + need_version=no
  50937. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  50938. + soname_spec='$libname$release$major$shared_ext'
  50939. + shlibpath_overrides_runpath=yes
  50940. + shlibpath_var=DYLD_LIBRARY_PATH
  50941. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  50942. +
  50943. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  50944. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  50945. + ;;
  50946. +
  50947. +dgux*)
  50948. + version_type=linux # correct to gnu/linux during the next big refactor
  50949. + need_lib_prefix=no
  50950. + need_version=no
  50951. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50952. + soname_spec='$libname$release$shared_ext$major'
  50953. + shlibpath_var=LD_LIBRARY_PATH
  50954. + ;;
  50955. +
  50956. +freebsd* | dragonfly*)
  50957. + # DragonFly does not have aout. When/if they implement a new
  50958. + # versioning mechanism, adjust this.
  50959. + if test -x /usr/bin/objformat; then
  50960. + objformat=`/usr/bin/objformat`
  50961. + else
  50962. + case $host_os in
  50963. + freebsd[23].*) objformat=aout ;;
  50964. + *) objformat=elf ;;
  50965. + esac
  50966. + fi
  50967. + version_type=freebsd-$objformat
  50968. + case $version_type in
  50969. + freebsd-elf*)
  50970. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  50971. + soname_spec='$libname$release$shared_ext$major'
  50972. + need_version=no
  50973. + need_lib_prefix=no
  50974. + ;;
  50975. + freebsd-*)
  50976. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  50977. + need_version=yes
  50978. + ;;
  50979. + esac
  50980. + shlibpath_var=LD_LIBRARY_PATH
  50981. + case $host_os in
  50982. + freebsd2.*)
  50983. + shlibpath_overrides_runpath=yes
  50984. + ;;
  50985. + freebsd3.[01]* | freebsdelf3.[01]*)
  50986. + shlibpath_overrides_runpath=yes
  50987. + hardcode_into_libs=yes
  50988. + ;;
  50989. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  50990. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  50991. + shlibpath_overrides_runpath=no
  50992. + hardcode_into_libs=yes
  50993. + ;;
  50994. + *) # from 4.6 on, and DragonFly
  50995. + shlibpath_overrides_runpath=yes
  50996. + hardcode_into_libs=yes
  50997. + ;;
  50998. + esac
  50999. + ;;
  51000. +
  51001. +haiku*)
  51002. + version_type=linux # correct to gnu/linux during the next big refactor
  51003. + need_lib_prefix=no
  51004. + need_version=no
  51005. + dynamic_linker="$host_os runtime_loader"
  51006. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51007. + soname_spec='$libname$release$shared_ext$major'
  51008. + shlibpath_var=LIBRARY_PATH
  51009. + shlibpath_overrides_runpath=no
  51010. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  51011. + hardcode_into_libs=yes
  51012. + ;;
  51013. +
  51014. +hpux9* | hpux10* | hpux11*)
  51015. + # Give a soname corresponding to the major version so that dld.sl refuses to
  51016. + # link against other versions.
  51017. + version_type=sunos
  51018. + need_lib_prefix=no
  51019. + need_version=no
  51020. + case $host_cpu in
  51021. + ia64*)
  51022. + shrext_cmds='.so'
  51023. + hardcode_into_libs=yes
  51024. + dynamic_linker="$host_os dld.so"
  51025. + shlibpath_var=LD_LIBRARY_PATH
  51026. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  51027. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51028. + soname_spec='$libname$release$shared_ext$major'
  51029. + if test 32 = "$HPUX_IA64_MODE"; then
  51030. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  51031. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  51032. + else
  51033. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  51034. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  51035. + fi
  51036. + ;;
  51037. + hppa*64*)
  51038. + shrext_cmds='.sl'
  51039. + hardcode_into_libs=yes
  51040. + dynamic_linker="$host_os dld.sl"
  51041. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  51042. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  51043. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51044. + soname_spec='$libname$release$shared_ext$major'
  51045. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  51046. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  51047. + ;;
  51048. + *)
  51049. + shrext_cmds='.sl'
  51050. + dynamic_linker="$host_os dld.sl"
  51051. + shlibpath_var=SHLIB_PATH
  51052. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  51053. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51054. + soname_spec='$libname$release$shared_ext$major'
  51055. + ;;
  51056. + esac
  51057. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  51058. + postinstall_cmds='chmod 555 $lib'
  51059. + # or fails outright, so override atomically:
  51060. + install_override_mode=555
  51061. + ;;
  51062. +
  51063. +interix[3-9]*)
  51064. + version_type=linux # correct to gnu/linux during the next big refactor
  51065. + need_lib_prefix=no
  51066. + need_version=no
  51067. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51068. + soname_spec='$libname$release$shared_ext$major'
  51069. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  51070. + shlibpath_var=LD_LIBRARY_PATH
  51071. + shlibpath_overrides_runpath=no
  51072. + hardcode_into_libs=yes
  51073. + ;;
  51074. +
  51075. +irix5* | irix6* | nonstopux*)
  51076. + case $host_os in
  51077. + nonstopux*) version_type=nonstopux ;;
  51078. + *)
  51079. + if test yes = "$lt_cv_prog_gnu_ld"; then
  51080. + version_type=linux # correct to gnu/linux during the next big refactor
  51081. + else
  51082. + version_type=irix
  51083. + fi ;;
  51084. + esac
  51085. + need_lib_prefix=no
  51086. + need_version=no
  51087. + soname_spec='$libname$release$shared_ext$major'
  51088. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  51089. + case $host_os in
  51090. + irix5* | nonstopux*)
  51091. + libsuff= shlibsuff=
  51092. + ;;
  51093. + *)
  51094. + case $LD in # libtool.m4 will add one of these switches to LD
  51095. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  51096. + libsuff= shlibsuff= libmagic=32-bit;;
  51097. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  51098. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  51099. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  51100. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  51101. + *) libsuff= shlibsuff= libmagic=never-match;;
  51102. + esac
  51103. + ;;
  51104. + esac
  51105. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  51106. + shlibpath_overrides_runpath=no
  51107. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  51108. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  51109. + hardcode_into_libs=yes
  51110. + ;;
  51111. +
  51112. +# No shared lib support for Linux oldld, aout, or coff.
  51113. +linux*oldld* | linux*aout* | linux*coff*)
  51114. + dynamic_linker=no
  51115. + ;;
  51116. +
  51117. +linux*android*)
  51118. + version_type=none # Android doesn't support versioned libraries.
  51119. + need_lib_prefix=no
  51120. + need_version=no
  51121. + library_names_spec='$libname$release$shared_ext'
  51122. + soname_spec='$libname$release$shared_ext'
  51123. + finish_cmds=
  51124. + shlibpath_var=LD_LIBRARY_PATH
  51125. + shlibpath_overrides_runpath=yes
  51126. +
  51127. + # This implies no fast_install, which is unacceptable.
  51128. + # Some rework will be needed to allow for fast_install
  51129. + # before this can be enabled.
  51130. + hardcode_into_libs=yes
  51131. +
  51132. + dynamic_linker='Android linker'
  51133. + # Don't embed -rpath directories since the linker doesn't support them.
  51134. + hardcode_libdir_flag_spec='-L$libdir'
  51135. + ;;
  51136. +
  51137. +# This must be glibc/ELF.
  51138. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  51139. + version_type=linux # correct to gnu/linux during the next big refactor
  51140. + need_lib_prefix=no
  51141. + need_version=no
  51142. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51143. + soname_spec='$libname$release$shared_ext$major'
  51144. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  51145. + shlibpath_var=LD_LIBRARY_PATH
  51146. + shlibpath_overrides_runpath=no
  51147. +
  51148. + # Some binutils ld are patched to set DT_RUNPATH
  51149. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  51150. + $as_echo_n "(cached) " >&6
  51151. +else
  51152. + lt_cv_shlibpath_overrides_runpath=no
  51153. + save_LDFLAGS=$LDFLAGS
  51154. + save_libdir=$libdir
  51155. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  51156. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  51157. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51158. +/* end confdefs.h. */
  51159. +
  51160. +int
  51161. +main ()
  51162. +{
  51163. +
  51164. + ;
  51165. + return 0;
  51166. +}
  51167. +_ACEOF
  51168. +if ac_fn_c_try_link "$LINENO"; then :
  51169. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  51170. + lt_cv_shlibpath_overrides_runpath=yes
  51171. +fi
  51172. +fi
  51173. +rm -f core conftest.err conftest.$ac_objext \
  51174. + conftest$ac_exeext conftest.$ac_ext
  51175. + LDFLAGS=$save_LDFLAGS
  51176. + libdir=$save_libdir
  51177. +
  51178. +fi
  51179. +
  51180. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  51181. +
  51182. + # This implies no fast_install, which is unacceptable.
  51183. + # Some rework will be needed to allow for fast_install
  51184. + # before this can be enabled.
  51185. + hardcode_into_libs=yes
  51186. +
  51187. + # Add ABI-specific directories to the system library path.
  51188. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  51189. +
  51190. + # Ideally, we could use ldconfig to report *all* directores which are
  51191. + # searched for libraries, however this is still not possible. Aside from not
  51192. + # being certain /sbin/ldconfig is available, command
  51193. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  51194. + # even though it is searched at run-time. Try to do the best guess by
  51195. + # appending ld.so.conf contents (and includes) to the search path.
  51196. + if test -f /etc/ld.so.conf; then
  51197. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  51198. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  51199. + fi
  51200. +
  51201. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  51202. + # powerpc, because MkLinux only supported shared libraries with the
  51203. + # GNU dynamic linker. Since this was broken with cross compilers,
  51204. + # most powerpc-linux boxes support dynamic linking these days and
  51205. + # people can always --disable-shared, the test was removed, and we
  51206. + # assume the GNU/Linux dynamic linker is in use.
  51207. + dynamic_linker='GNU/Linux ld.so'
  51208. + ;;
  51209. +
  51210. +netbsd*)
  51211. + version_type=sunos
  51212. + need_lib_prefix=no
  51213. + need_version=no
  51214. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  51215. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  51216. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  51217. + dynamic_linker='NetBSD (a.out) ld.so'
  51218. + else
  51219. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51220. + soname_spec='$libname$release$shared_ext$major'
  51221. + dynamic_linker='NetBSD ld.elf_so'
  51222. + fi
  51223. + shlibpath_var=LD_LIBRARY_PATH
  51224. + shlibpath_overrides_runpath=yes
  51225. + hardcode_into_libs=yes
  51226. + ;;
  51227. +
  51228. +newsos6)
  51229. + version_type=linux # correct to gnu/linux during the next big refactor
  51230. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51231. + shlibpath_var=LD_LIBRARY_PATH
  51232. + shlibpath_overrides_runpath=yes
  51233. + ;;
  51234. +
  51235. +*nto* | *qnx*)
  51236. + version_type=qnx
  51237. + need_lib_prefix=no
  51238. + need_version=no
  51239. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51240. + soname_spec='$libname$release$shared_ext$major'
  51241. + shlibpath_var=LD_LIBRARY_PATH
  51242. + shlibpath_overrides_runpath=no
  51243. + hardcode_into_libs=yes
  51244. + dynamic_linker='ldqnx.so'
  51245. + ;;
  51246. +
  51247. +openbsd* | bitrig*)
  51248. + version_type=sunos
  51249. + sys_lib_dlsearch_path_spec=/usr/lib
  51250. + need_lib_prefix=no
  51251. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  51252. + need_version=no
  51253. + else
  51254. + need_version=yes
  51255. + fi
  51256. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  51257. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  51258. + shlibpath_var=LD_LIBRARY_PATH
  51259. + shlibpath_overrides_runpath=yes
  51260. + ;;
  51261. +
  51262. +os2*)
  51263. + libname_spec='$name'
  51264. + version_type=windows
  51265. + shrext_cmds=.dll
  51266. + need_version=no
  51267. + need_lib_prefix=no
  51268. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  51269. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  51270. + v=$($ECHO $release$versuffix | tr -d .-);
  51271. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  51272. + $ECHO $n$v`$shared_ext'
  51273. + library_names_spec='${libname}_dll.$libext'
  51274. + dynamic_linker='OS/2 ld.exe'
  51275. + shlibpath_var=BEGINLIBPATH
  51276. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  51277. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  51278. + postinstall_cmds='base_file=`basename \$file`~
  51279. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  51280. + dldir=$destdir/`dirname \$dlpath`~
  51281. + test -d \$dldir || mkdir -p \$dldir~
  51282. + $install_prog $dir/$dlname \$dldir/$dlname~
  51283. + chmod a+x \$dldir/$dlname~
  51284. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  51285. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  51286. + fi'
  51287. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  51288. + dlpath=$dir/\$dldll~
  51289. + $RM \$dlpath'
  51290. + ;;
  51291. +
  51292. +osf3* | osf4* | osf5*)
  51293. + version_type=osf
  51294. + need_lib_prefix=no
  51295. + need_version=no
  51296. + soname_spec='$libname$release$shared_ext$major'
  51297. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51298. + shlibpath_var=LD_LIBRARY_PATH
  51299. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  51300. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  51301. + ;;
  51302. +
  51303. +rdos*)
  51304. + dynamic_linker=no
  51305. + ;;
  51306. +
  51307. +solaris*)
  51308. + version_type=linux # correct to gnu/linux during the next big refactor
  51309. + need_lib_prefix=no
  51310. + need_version=no
  51311. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51312. + soname_spec='$libname$release$shared_ext$major'
  51313. + shlibpath_var=LD_LIBRARY_PATH
  51314. + shlibpath_overrides_runpath=yes
  51315. + hardcode_into_libs=yes
  51316. + # ldd complains unless libraries are executable
  51317. + postinstall_cmds='chmod +x $lib'
  51318. + ;;
  51319. +
  51320. +sunos4*)
  51321. + version_type=sunos
  51322. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  51323. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  51324. + shlibpath_var=LD_LIBRARY_PATH
  51325. + shlibpath_overrides_runpath=yes
  51326. + if test yes = "$with_gnu_ld"; then
  51327. + need_lib_prefix=no
  51328. + fi
  51329. + need_version=yes
  51330. + ;;
  51331. +
  51332. +sysv4 | sysv4.3*)
  51333. + version_type=linux # correct to gnu/linux during the next big refactor
  51334. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51335. + soname_spec='$libname$release$shared_ext$major'
  51336. + shlibpath_var=LD_LIBRARY_PATH
  51337. + case $host_vendor in
  51338. + sni)
  51339. + shlibpath_overrides_runpath=no
  51340. + need_lib_prefix=no
  51341. + runpath_var=LD_RUN_PATH
  51342. + ;;
  51343. + siemens)
  51344. + need_lib_prefix=no
  51345. + ;;
  51346. + motorola)
  51347. + need_lib_prefix=no
  51348. + need_version=no
  51349. + shlibpath_overrides_runpath=no
  51350. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  51351. + ;;
  51352. + esac
  51353. + ;;
  51354. +
  51355. +sysv4*MP*)
  51356. + if test -d /usr/nec; then
  51357. + version_type=linux # correct to gnu/linux during the next big refactor
  51358. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  51359. + soname_spec='$libname$shared_ext.$major'
  51360. + shlibpath_var=LD_LIBRARY_PATH
  51361. + fi
  51362. + ;;
  51363. +
  51364. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  51365. + version_type=sco
  51366. + need_lib_prefix=no
  51367. + need_version=no
  51368. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  51369. + soname_spec='$libname$release$shared_ext$major'
  51370. + shlibpath_var=LD_LIBRARY_PATH
  51371. + shlibpath_overrides_runpath=yes
  51372. + hardcode_into_libs=yes
  51373. + if test yes = "$with_gnu_ld"; then
  51374. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  51375. + else
  51376. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  51377. + case $host_os in
  51378. + sco3.2v5*)
  51379. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  51380. + ;;
  51381. + esac
  51382. + fi
  51383. + sys_lib_dlsearch_path_spec='/usr/lib'
  51384. + ;;
  51385. +
  51386. +tpf*)
  51387. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  51388. + version_type=linux # correct to gnu/linux during the next big refactor
  51389. + need_lib_prefix=no
  51390. + need_version=no
  51391. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51392. + shlibpath_var=LD_LIBRARY_PATH
  51393. + shlibpath_overrides_runpath=no
  51394. + hardcode_into_libs=yes
  51395. + ;;
  51396. +
  51397. +uts4*)
  51398. + version_type=linux # correct to gnu/linux during the next big refactor
  51399. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  51400. + soname_spec='$libname$release$shared_ext$major'
  51401. + shlibpath_var=LD_LIBRARY_PATH
  51402. + ;;
  51403. +
  51404. +*)
  51405. + dynamic_linker=no
  51406. + ;;
  51407. +esac
  51408. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  51409. +$as_echo "$dynamic_linker" >&6; }
  51410. +test no = "$dynamic_linker" && can_build_shared=no
  51411. +
  51412. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  51413. +if test yes = "$GCC"; then
  51414. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  51415. +fi
  51416. +
  51417. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  51418. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  51419. +fi
  51420. +
  51421. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  51422. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  51423. +fi
  51424. +
  51425. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  51426. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  51427. +
  51428. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  51429. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  51430. +
  51431. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  51432. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  51433. +
  51434. +
  51435. +
  51436. +
  51437. +
  51438. +
  51439. +
  51440. +
  51441. +
  51442. +
  51443. +
  51444. +
  51445. +
  51446. +
  51447. +
  51448. +
  51449. +
  51450. +
  51451. +
  51452. +
  51453. +
  51454. +
  51455. +
  51456. +
  51457. +
  51458. +
  51459. +
  51460. +
  51461. +
  51462. +
  51463. +
  51464. +
  51465. +
  51466. +
  51467. +
  51468. +
  51469. +
  51470. +
  51471. +
  51472. +
  51473. +
  51474. +
  51475. +
  51476. +
  51477. +
  51478. +
  51479. +
  51480. +
  51481. +
  51482. +
  51483. +
  51484. +
  51485. +
  51486. +
  51487. +
  51488. +
  51489. +
  51490. +
  51491. +
  51492. +
  51493. +
  51494. +
  51495. +
  51496. +
  51497. +
  51498. +
  51499. +
  51500. +
  51501. +
  51502. +
  51503. +
  51504. +
  51505. +
  51506. +
  51507. +
  51508. +
  51509. +
  51510. +
  51511. +
  51512. +
  51513. +
  51514. +
  51515. +
  51516. +
  51517. +
  51518. +
  51519. +
  51520. +
  51521. +
  51522. +
  51523. +
  51524. +
  51525. +
  51526. +
  51527. +
  51528. +
  51529. +
  51530. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  51531. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  51532. +hardcode_action=
  51533. +if test -n "$hardcode_libdir_flag_spec" ||
  51534. + test -n "$runpath_var" ||
  51535. + test yes = "$hardcode_automatic"; then
  51536. +
  51537. + # We can hardcode non-existent directories.
  51538. + if test no != "$hardcode_direct" &&
  51539. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  51540. + # have to relink, otherwise we might link with an installed library
  51541. + # when we should be linking with a yet-to-be-installed one
  51542. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  51543. + test no != "$hardcode_minus_L"; then
  51544. + # Linking always hardcodes the temporary library directory.
  51545. + hardcode_action=relink
  51546. + else
  51547. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  51548. + hardcode_action=immediate
  51549. + fi
  51550. +else
  51551. + # We cannot hardcode anything, or else we can only hardcode existing
  51552. + # directories.
  51553. + hardcode_action=unsupported
  51554. +fi
  51555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  51556. +$as_echo "$hardcode_action" >&6; }
  51557. +
  51558. +if test relink = "$hardcode_action" ||
  51559. + test yes = "$inherit_rpath"; then
  51560. + # Fast installation is not supported
  51561. + enable_fast_install=no
  51562. +elif test yes = "$shlibpath_overrides_runpath" ||
  51563. + test no = "$enable_shared"; then
  51564. + # Fast installation is not necessary
  51565. + enable_fast_install=needless
  51566. +fi
  51567. +
  51568. +
  51569. +
  51570. +
  51571. +
  51572. +
  51573. + if test yes != "$enable_dlopen"; then
  51574. + enable_dlopen=unknown
  51575. + enable_dlopen_self=unknown
  51576. + enable_dlopen_self_static=unknown
  51577. +else
  51578. + lt_cv_dlopen=no
  51579. + lt_cv_dlopen_libs=
  51580. +
  51581. + case $host_os in
  51582. + beos*)
  51583. + lt_cv_dlopen=load_add_on
  51584. + lt_cv_dlopen_libs=
  51585. + lt_cv_dlopen_self=yes
  51586. + ;;
  51587. +
  51588. + mingw* | pw32* | cegcc*)
  51589. + lt_cv_dlopen=LoadLibrary
  51590. + lt_cv_dlopen_libs=
  51591. + ;;
  51592. +
  51593. + cygwin*)
  51594. + lt_cv_dlopen=dlopen
  51595. + lt_cv_dlopen_libs=
  51596. + ;;
  51597. +
  51598. + darwin*)
  51599. + # if libdl is installed we need to link against it
  51600. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  51601. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  51602. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  51603. + $as_echo_n "(cached) " >&6
  51604. +else
  51605. + ac_check_lib_save_LIBS=$LIBS
  51606. +LIBS="-ldl $LIBS"
  51607. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51608. +/* end confdefs.h. */
  51609. +
  51610. +/* Override any GCC internal prototype to avoid an error.
  51611. + Use char because int might match the return type of a GCC
  51612. + builtin and then its argument prototype would still apply. */
  51613. +#ifdef __cplusplus
  51614. +extern "C"
  51615. +#endif
  51616. +char dlopen ();
  51617. +int
  51618. +main ()
  51619. +{
  51620. +return dlopen ();
  51621. + ;
  51622. + return 0;
  51623. +}
  51624. +_ACEOF
  51625. +if ac_fn_c_try_link "$LINENO"; then :
  51626. + ac_cv_lib_dl_dlopen=yes
  51627. +else
  51628. + ac_cv_lib_dl_dlopen=no
  51629. +fi
  51630. +rm -f core conftest.err conftest.$ac_objext \
  51631. + conftest$ac_exeext conftest.$ac_ext
  51632. +LIBS=$ac_check_lib_save_LIBS
  51633. +fi
  51634. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  51635. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  51636. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  51637. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  51638. +else
  51639. +
  51640. + lt_cv_dlopen=dyld
  51641. + lt_cv_dlopen_libs=
  51642. + lt_cv_dlopen_self=yes
  51643. +
  51644. +fi
  51645. +
  51646. + ;;
  51647. +
  51648. + tpf*)
  51649. + # Don't try to run any link tests for TPF. We know it's impossible
  51650. + # because TPF is a cross-compiler, and we know how we open DSOs.
  51651. + lt_cv_dlopen=dlopen
  51652. + lt_cv_dlopen_libs=
  51653. + lt_cv_dlopen_self=no
  51654. + ;;
  51655. +
  51656. + *)
  51657. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  51658. +if test "x$ac_cv_func_shl_load" = xyes; then :
  51659. + lt_cv_dlopen=shl_load
  51660. +else
  51661. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  51662. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  51663. +if ${ac_cv_lib_dld_shl_load+:} false; then :
  51664. + $as_echo_n "(cached) " >&6
  51665. +else
  51666. + ac_check_lib_save_LIBS=$LIBS
  51667. +LIBS="-ldld $LIBS"
  51668. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51669. +/* end confdefs.h. */
  51670. +
  51671. +/* Override any GCC internal prototype to avoid an error.
  51672. + Use char because int might match the return type of a GCC
  51673. + builtin and then its argument prototype would still apply. */
  51674. +#ifdef __cplusplus
  51675. +extern "C"
  51676. +#endif
  51677. +char shl_load ();
  51678. +int
  51679. +main ()
  51680. +{
  51681. +return shl_load ();
  51682. + ;
  51683. + return 0;
  51684. +}
  51685. +_ACEOF
  51686. +if ac_fn_c_try_link "$LINENO"; then :
  51687. + ac_cv_lib_dld_shl_load=yes
  51688. +else
  51689. + ac_cv_lib_dld_shl_load=no
  51690. +fi
  51691. +rm -f core conftest.err conftest.$ac_objext \
  51692. + conftest$ac_exeext conftest.$ac_ext
  51693. +LIBS=$ac_check_lib_save_LIBS
  51694. +fi
  51695. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  51696. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  51697. +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  51698. + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  51699. +else
  51700. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  51701. +if test "x$ac_cv_func_dlopen" = xyes; then :
  51702. + lt_cv_dlopen=dlopen
  51703. +else
  51704. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  51705. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  51706. +if ${ac_cv_lib_dl_dlopen+:} false; then :
  51707. + $as_echo_n "(cached) " >&6
  51708. +else
  51709. + ac_check_lib_save_LIBS=$LIBS
  51710. +LIBS="-ldl $LIBS"
  51711. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51712. +/* end confdefs.h. */
  51713. +
  51714. +/* Override any GCC internal prototype to avoid an error.
  51715. + Use char because int might match the return type of a GCC
  51716. + builtin and then its argument prototype would still apply. */
  51717. +#ifdef __cplusplus
  51718. +extern "C"
  51719. +#endif
  51720. +char dlopen ();
  51721. +int
  51722. +main ()
  51723. +{
  51724. +return dlopen ();
  51725. + ;
  51726. + return 0;
  51727. +}
  51728. +_ACEOF
  51729. +if ac_fn_c_try_link "$LINENO"; then :
  51730. + ac_cv_lib_dl_dlopen=yes
  51731. +else
  51732. + ac_cv_lib_dl_dlopen=no
  51733. +fi
  51734. +rm -f core conftest.err conftest.$ac_objext \
  51735. + conftest$ac_exeext conftest.$ac_ext
  51736. +LIBS=$ac_check_lib_save_LIBS
  51737. +fi
  51738. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  51739. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  51740. +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  51741. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  51742. +else
  51743. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  51744. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  51745. +if ${ac_cv_lib_svld_dlopen+:} false; then :
  51746. + $as_echo_n "(cached) " >&6
  51747. +else
  51748. + ac_check_lib_save_LIBS=$LIBS
  51749. +LIBS="-lsvld $LIBS"
  51750. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51751. +/* end confdefs.h. */
  51752. +
  51753. +/* Override any GCC internal prototype to avoid an error.
  51754. + Use char because int might match the return type of a GCC
  51755. + builtin and then its argument prototype would still apply. */
  51756. +#ifdef __cplusplus
  51757. +extern "C"
  51758. +#endif
  51759. +char dlopen ();
  51760. +int
  51761. +main ()
  51762. +{
  51763. +return dlopen ();
  51764. + ;
  51765. + return 0;
  51766. +}
  51767. +_ACEOF
  51768. +if ac_fn_c_try_link "$LINENO"; then :
  51769. + ac_cv_lib_svld_dlopen=yes
  51770. +else
  51771. + ac_cv_lib_svld_dlopen=no
  51772. +fi
  51773. +rm -f core conftest.err conftest.$ac_objext \
  51774. + conftest$ac_exeext conftest.$ac_ext
  51775. +LIBS=$ac_check_lib_save_LIBS
  51776. +fi
  51777. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  51778. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  51779. +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  51780. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  51781. +else
  51782. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  51783. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  51784. +if ${ac_cv_lib_dld_dld_link+:} false; then :
  51785. + $as_echo_n "(cached) " >&6
  51786. +else
  51787. + ac_check_lib_save_LIBS=$LIBS
  51788. +LIBS="-ldld $LIBS"
  51789. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51790. +/* end confdefs.h. */
  51791. +
  51792. +/* Override any GCC internal prototype to avoid an error.
  51793. + Use char because int might match the return type of a GCC
  51794. + builtin and then its argument prototype would still apply. */
  51795. +#ifdef __cplusplus
  51796. +extern "C"
  51797. +#endif
  51798. +char dld_link ();
  51799. +int
  51800. +main ()
  51801. +{
  51802. +return dld_link ();
  51803. + ;
  51804. + return 0;
  51805. +}
  51806. +_ACEOF
  51807. +if ac_fn_c_try_link "$LINENO"; then :
  51808. + ac_cv_lib_dld_dld_link=yes
  51809. +else
  51810. + ac_cv_lib_dld_dld_link=no
  51811. +fi
  51812. +rm -f core conftest.err conftest.$ac_objext \
  51813. + conftest$ac_exeext conftest.$ac_ext
  51814. +LIBS=$ac_check_lib_save_LIBS
  51815. +fi
  51816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  51817. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  51818. +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  51819. + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  51820. +fi
  51821. +
  51822. +
  51823. +fi
  51824. +
  51825. +
  51826. +fi
  51827. +
  51828. +
  51829. +fi
  51830. +
  51831. +
  51832. +fi
  51833. +
  51834. +
  51835. +fi
  51836. +
  51837. + ;;
  51838. + esac
  51839. +
  51840. + if test no = "$lt_cv_dlopen"; then
  51841. + enable_dlopen=no
  51842. + else
  51843. + enable_dlopen=yes
  51844. + fi
  51845. +
  51846. + case $lt_cv_dlopen in
  51847. + dlopen)
  51848. + save_CPPFLAGS=$CPPFLAGS
  51849. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  51850. +
  51851. + save_LDFLAGS=$LDFLAGS
  51852. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  51853. +
  51854. + save_LIBS=$LIBS
  51855. + LIBS="$lt_cv_dlopen_libs $LIBS"
  51856. +
  51857. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  51858. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  51859. +if ${lt_cv_dlopen_self+:} false; then :
  51860. + $as_echo_n "(cached) " >&6
  51861. +else
  51862. + if test yes = "$cross_compiling"; then :
  51863. + lt_cv_dlopen_self=cross
  51864. +else
  51865. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  51866. + lt_status=$lt_dlunknown
  51867. + cat > conftest.$ac_ext <<_LT_EOF
  51868. +#line $LINENO "configure"
  51869. +#include "confdefs.h"
  51870. +
  51871. +#if HAVE_DLFCN_H
  51872. +#include <dlfcn.h>
  51873. +#endif
  51874. +
  51875. +#include <stdio.h>
  51876. +
  51877. +#ifdef RTLD_GLOBAL
  51878. +# define LT_DLGLOBAL RTLD_GLOBAL
  51879. +#else
  51880. +# ifdef DL_GLOBAL
  51881. +# define LT_DLGLOBAL DL_GLOBAL
  51882. +# else
  51883. +# define LT_DLGLOBAL 0
  51884. +# endif
  51885. +#endif
  51886. +
  51887. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  51888. + find out it does not work in some platform. */
  51889. +#ifndef LT_DLLAZY_OR_NOW
  51890. +# ifdef RTLD_LAZY
  51891. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  51892. +# else
  51893. +# ifdef DL_LAZY
  51894. +# define LT_DLLAZY_OR_NOW DL_LAZY
  51895. +# else
  51896. +# ifdef RTLD_NOW
  51897. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  51898. +# else
  51899. +# ifdef DL_NOW
  51900. +# define LT_DLLAZY_OR_NOW DL_NOW
  51901. +# else
  51902. +# define LT_DLLAZY_OR_NOW 0
  51903. +# endif
  51904. +# endif
  51905. +# endif
  51906. +# endif
  51907. +#endif
  51908. +
  51909. +/* When -fvisibility=hidden is used, assume the code has been annotated
  51910. + correspondingly for the symbols needed. */
  51911. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  51912. +int fnord () __attribute__((visibility("default")));
  51913. +#endif
  51914. +
  51915. +int fnord () { return 42; }
  51916. +int main ()
  51917. +{
  51918. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  51919. + int status = $lt_dlunknown;
  51920. +
  51921. + if (self)
  51922. + {
  51923. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  51924. + else
  51925. + {
  51926. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  51927. + else puts (dlerror ());
  51928. + }
  51929. + /* dlclose (self); */
  51930. + }
  51931. + else
  51932. + puts (dlerror ());
  51933. +
  51934. + return status;
  51935. +}
  51936. +_LT_EOF
  51937. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  51938. + (eval $ac_link) 2>&5
  51939. + ac_status=$?
  51940. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  51941. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  51942. + (./conftest; exit; ) >&5 2>/dev/null
  51943. + lt_status=$?
  51944. + case x$lt_status in
  51945. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  51946. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  51947. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  51948. + esac
  51949. + else :
  51950. + # compilation failed
  51951. + lt_cv_dlopen_self=no
  51952. + fi
  51953. +fi
  51954. +rm -fr conftest*
  51955. +
  51956. +
  51957. +fi
  51958. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  51959. +$as_echo "$lt_cv_dlopen_self" >&6; }
  51960. +
  51961. + if test yes = "$lt_cv_dlopen_self"; then
  51962. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  51963. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  51964. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  51965. +if ${lt_cv_dlopen_self_static+:} false; then :
  51966. + $as_echo_n "(cached) " >&6
  51967. +else
  51968. + if test yes = "$cross_compiling"; then :
  51969. + lt_cv_dlopen_self_static=cross
  51970. +else
  51971. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  51972. + lt_status=$lt_dlunknown
  51973. + cat > conftest.$ac_ext <<_LT_EOF
  51974. +#line $LINENO "configure"
  51975. +#include "confdefs.h"
  51976. +
  51977. +#if HAVE_DLFCN_H
  51978. +#include <dlfcn.h>
  51979. +#endif
  51980. +
  51981. +#include <stdio.h>
  51982. +
  51983. +#ifdef RTLD_GLOBAL
  51984. +# define LT_DLGLOBAL RTLD_GLOBAL
  51985. +#else
  51986. +# ifdef DL_GLOBAL
  51987. +# define LT_DLGLOBAL DL_GLOBAL
  51988. +# else
  51989. +# define LT_DLGLOBAL 0
  51990. +# endif
  51991. +#endif
  51992. +
  51993. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  51994. + find out it does not work in some platform. */
  51995. +#ifndef LT_DLLAZY_OR_NOW
  51996. +# ifdef RTLD_LAZY
  51997. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  51998. +# else
  51999. +# ifdef DL_LAZY
  52000. +# define LT_DLLAZY_OR_NOW DL_LAZY
  52001. +# else
  52002. +# ifdef RTLD_NOW
  52003. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  52004. +# else
  52005. +# ifdef DL_NOW
  52006. +# define LT_DLLAZY_OR_NOW DL_NOW
  52007. +# else
  52008. +# define LT_DLLAZY_OR_NOW 0
  52009. +# endif
  52010. +# endif
  52011. +# endif
  52012. +# endif
  52013. +#endif
  52014. +
  52015. +/* When -fvisibility=hidden is used, assume the code has been annotated
  52016. + correspondingly for the symbols needed. */
  52017. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  52018. +int fnord () __attribute__((visibility("default")));
  52019. +#endif
  52020. +
  52021. +int fnord () { return 42; }
  52022. +int main ()
  52023. +{
  52024. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  52025. + int status = $lt_dlunknown;
  52026. +
  52027. + if (self)
  52028. + {
  52029. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  52030. + else
  52031. + {
  52032. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  52033. + else puts (dlerror ());
  52034. + }
  52035. + /* dlclose (self); */
  52036. + }
  52037. + else
  52038. + puts (dlerror ());
  52039. +
  52040. + return status;
  52041. +}
  52042. +_LT_EOF
  52043. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  52044. + (eval $ac_link) 2>&5
  52045. + ac_status=$?
  52046. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  52047. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  52048. + (./conftest; exit; ) >&5 2>/dev/null
  52049. + lt_status=$?
  52050. + case x$lt_status in
  52051. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  52052. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  52053. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  52054. + esac
  52055. + else :
  52056. + # compilation failed
  52057. + lt_cv_dlopen_self_static=no
  52058. + fi
  52059. +fi
  52060. +rm -fr conftest*
  52061. +
  52062. +
  52063. +fi
  52064. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  52065. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  52066. + fi
  52067. +
  52068. + CPPFLAGS=$save_CPPFLAGS
  52069. + LDFLAGS=$save_LDFLAGS
  52070. + LIBS=$save_LIBS
  52071. + ;;
  52072. + esac
  52073. +
  52074. + case $lt_cv_dlopen_self in
  52075. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  52076. + *) enable_dlopen_self=unknown ;;
  52077. + esac
  52078. +
  52079. + case $lt_cv_dlopen_self_static in
  52080. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  52081. + *) enable_dlopen_self_static=unknown ;;
  52082. + esac
  52083. +fi
  52084. +
  52085. +
  52086. +
  52087. +
  52088. +
  52089. +
  52090. +
  52091. +
  52092. +
  52093. +
  52094. +
  52095. +
  52096. +
  52097. +
  52098. +
  52099. +
  52100. +
  52101. +striplib=
  52102. +old_striplib=
  52103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  52104. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  52105. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  52106. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  52107. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  52108. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  52109. +$as_echo "yes" >&6; }
  52110. +else
  52111. +# FIXME - insert some real tests, host_os isn't really good enough
  52112. + case $host_os in
  52113. + darwin*)
  52114. + if test -n "$STRIP"; then
  52115. + striplib="$STRIP -x"
  52116. + old_striplib="$STRIP -S"
  52117. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  52118. +$as_echo "yes" >&6; }
  52119. + else
  52120. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52121. +$as_echo "no" >&6; }
  52122. + fi
  52123. + ;;
  52124. + *)
  52125. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52126. +$as_echo "no" >&6; }
  52127. + ;;
  52128. + esac
  52129. +fi
  52130. +
  52131. +
  52132. +
  52133. +
  52134. +
  52135. +
  52136. +
  52137. +
  52138. +
  52139. +
  52140. +
  52141. +
  52142. + # Report what library types will actually be built
  52143. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  52144. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  52145. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  52146. +$as_echo "$can_build_shared" >&6; }
  52147. +
  52148. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  52149. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  52150. + test no = "$can_build_shared" && enable_shared=no
  52151. +
  52152. + # On AIX, shared libraries and static libraries use the same namespace, and
  52153. + # are all built from PIC.
  52154. + case $host_os in
  52155. + aix3*)
  52156. + test yes = "$enable_shared" && enable_static=no
  52157. + if test -n "$RANLIB"; then
  52158. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  52159. + postinstall_cmds='$RANLIB $lib'
  52160. + fi
  52161. + ;;
  52162. +
  52163. + aix[4-9]*)
  52164. + if test ia64 != "$host_cpu"; then
  52165. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  52166. + yes,aix,yes) ;; # shared object as lib.so file only
  52167. + yes,svr4,*) ;; # shared object as lib.so archive member only
  52168. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  52169. + esac
  52170. + fi
  52171. + ;;
  52172. + esac
  52173. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  52174. +$as_echo "$enable_shared" >&6; }
  52175. +
  52176. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  52177. +$as_echo_n "checking whether to build static libraries... " >&6; }
  52178. + # Make sure either enable_shared or enable_static is yes.
  52179. + test yes = "$enable_shared" || enable_static=yes
  52180. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  52181. +$as_echo "$enable_static" >&6; }
  52182. +
  52183. +
  52184. +
  52185. +
  52186. +fi
  52187. +ac_ext=c
  52188. +ac_cpp='$CPP $CPPFLAGS'
  52189. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52190. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52191. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52192. +
  52193. +CC=$lt_save_CC
  52194. +
  52195. +
  52196. +
  52197. +
  52198. +
  52199. +
  52200. +
  52201. +
  52202. +
  52203. +
  52204. +
  52205. +
  52206. +
  52207. +
  52208. +
  52209. + ac_config_commands="$ac_config_commands libtool"
  52210. +
  52211. +
  52212. +
  52213. +
  52214. +# Only expand once:
  52215. +
  52216. +
  52217. +
  52218. +ac_ext=c
  52219. +ac_cpp='$CPP $CPPFLAGS'
  52220. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52221. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52222. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52223. +if test -n "$ac_tool_prefix"; then
  52224. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  52225. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  52226. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52227. +$as_echo_n "checking for $ac_word... " >&6; }
  52228. +if ${ac_cv_prog_CC+:} false; then :
  52229. + $as_echo_n "(cached) " >&6
  52230. +else
  52231. + if test -n "$CC"; then
  52232. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52233. +else
  52234. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52235. +for as_dir in $PATH
  52236. +do
  52237. + IFS=$as_save_IFS
  52238. + test -z "$as_dir" && as_dir=.
  52239. + for ac_exec_ext in '' $ac_executable_extensions; do
  52240. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52241. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  52242. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52243. + break 2
  52244. + fi
  52245. +done
  52246. + done
  52247. +IFS=$as_save_IFS
  52248. +
  52249. +fi
  52250. +fi
  52251. +CC=$ac_cv_prog_CC
  52252. +if test -n "$CC"; then
  52253. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52254. +$as_echo "$CC" >&6; }
  52255. +else
  52256. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52257. +$as_echo "no" >&6; }
  52258. +fi
  52259. +
  52260. +
  52261. +fi
  52262. +if test -z "$ac_cv_prog_CC"; then
  52263. + ac_ct_CC=$CC
  52264. + # Extract the first word of "gcc", so it can be a program name with args.
  52265. +set dummy gcc; ac_word=$2
  52266. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52267. +$as_echo_n "checking for $ac_word... " >&6; }
  52268. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  52269. + $as_echo_n "(cached) " >&6
  52270. +else
  52271. + if test -n "$ac_ct_CC"; then
  52272. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  52273. +else
  52274. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52275. +for as_dir in $PATH
  52276. +do
  52277. + IFS=$as_save_IFS
  52278. + test -z "$as_dir" && as_dir=.
  52279. + for ac_exec_ext in '' $ac_executable_extensions; do
  52280. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52281. + ac_cv_prog_ac_ct_CC="gcc"
  52282. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52283. + break 2
  52284. + fi
  52285. +done
  52286. + done
  52287. +IFS=$as_save_IFS
  52288. +
  52289. +fi
  52290. +fi
  52291. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  52292. +if test -n "$ac_ct_CC"; then
  52293. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  52294. +$as_echo "$ac_ct_CC" >&6; }
  52295. +else
  52296. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52297. +$as_echo "no" >&6; }
  52298. +fi
  52299. +
  52300. + if test "x$ac_ct_CC" = x; then
  52301. + CC=""
  52302. + else
  52303. + case $cross_compiling:$ac_tool_warned in
  52304. +yes:)
  52305. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  52306. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  52307. +ac_tool_warned=yes ;;
  52308. +esac
  52309. + CC=$ac_ct_CC
  52310. + fi
  52311. +else
  52312. + CC="$ac_cv_prog_CC"
  52313. +fi
  52314. +
  52315. +if test -z "$CC"; then
  52316. + if test -n "$ac_tool_prefix"; then
  52317. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  52318. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  52319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52320. +$as_echo_n "checking for $ac_word... " >&6; }
  52321. +if ${ac_cv_prog_CC+:} false; then :
  52322. + $as_echo_n "(cached) " >&6
  52323. +else
  52324. + if test -n "$CC"; then
  52325. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52326. +else
  52327. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52328. +for as_dir in $PATH
  52329. +do
  52330. + IFS=$as_save_IFS
  52331. + test -z "$as_dir" && as_dir=.
  52332. + for ac_exec_ext in '' $ac_executable_extensions; do
  52333. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52334. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  52335. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52336. + break 2
  52337. + fi
  52338. +done
  52339. + done
  52340. +IFS=$as_save_IFS
  52341. +
  52342. +fi
  52343. +fi
  52344. +CC=$ac_cv_prog_CC
  52345. +if test -n "$CC"; then
  52346. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52347. +$as_echo "$CC" >&6; }
  52348. +else
  52349. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52350. +$as_echo "no" >&6; }
  52351. +fi
  52352. +
  52353. +
  52354. + fi
  52355. +fi
  52356. +if test -z "$CC"; then
  52357. + # Extract the first word of "cc", so it can be a program name with args.
  52358. +set dummy cc; ac_word=$2
  52359. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52360. +$as_echo_n "checking for $ac_word... " >&6; }
  52361. +if ${ac_cv_prog_CC+:} false; then :
  52362. + $as_echo_n "(cached) " >&6
  52363. +else
  52364. + if test -n "$CC"; then
  52365. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52366. +else
  52367. + ac_prog_rejected=no
  52368. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52369. +for as_dir in $PATH
  52370. +do
  52371. + IFS=$as_save_IFS
  52372. + test -z "$as_dir" && as_dir=.
  52373. + for ac_exec_ext in '' $ac_executable_extensions; do
  52374. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52375. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  52376. + ac_prog_rejected=yes
  52377. + continue
  52378. + fi
  52379. + ac_cv_prog_CC="cc"
  52380. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52381. + break 2
  52382. + fi
  52383. +done
  52384. + done
  52385. +IFS=$as_save_IFS
  52386. +
  52387. +if test $ac_prog_rejected = yes; then
  52388. + # We found a bogon in the path, so make sure we never use it.
  52389. + set dummy $ac_cv_prog_CC
  52390. + shift
  52391. + if test $@%:@ != 0; then
  52392. + # We chose a different compiler from the bogus one.
  52393. + # However, it has the same basename, so the bogon will be chosen
  52394. + # first if we set CC to just the basename; use the full file name.
  52395. + shift
  52396. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  52397. + fi
  52398. +fi
  52399. +fi
  52400. +fi
  52401. +CC=$ac_cv_prog_CC
  52402. +if test -n "$CC"; then
  52403. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52404. +$as_echo "$CC" >&6; }
  52405. +else
  52406. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52407. +$as_echo "no" >&6; }
  52408. +fi
  52409. +
  52410. +
  52411. +fi
  52412. +if test -z "$CC"; then
  52413. + if test -n "$ac_tool_prefix"; then
  52414. + for ac_prog in cl.exe
  52415. + do
  52416. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  52417. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  52418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52419. +$as_echo_n "checking for $ac_word... " >&6; }
  52420. +if ${ac_cv_prog_CC+:} false; then :
  52421. + $as_echo_n "(cached) " >&6
  52422. +else
  52423. + if test -n "$CC"; then
  52424. + ac_cv_prog_CC="$CC" # Let the user override the test.
  52425. +else
  52426. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52427. +for as_dir in $PATH
  52428. +do
  52429. + IFS=$as_save_IFS
  52430. + test -z "$as_dir" && as_dir=.
  52431. + for ac_exec_ext in '' $ac_executable_extensions; do
  52432. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52433. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  52434. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52435. + break 2
  52436. + fi
  52437. +done
  52438. + done
  52439. +IFS=$as_save_IFS
  52440. +
  52441. +fi
  52442. +fi
  52443. +CC=$ac_cv_prog_CC
  52444. +if test -n "$CC"; then
  52445. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  52446. +$as_echo "$CC" >&6; }
  52447. +else
  52448. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52449. +$as_echo "no" >&6; }
  52450. +fi
  52451. +
  52452. +
  52453. + test -n "$CC" && break
  52454. + done
  52455. +fi
  52456. +if test -z "$CC"; then
  52457. + ac_ct_CC=$CC
  52458. + for ac_prog in cl.exe
  52459. +do
  52460. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  52461. +set dummy $ac_prog; ac_word=$2
  52462. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  52463. +$as_echo_n "checking for $ac_word... " >&6; }
  52464. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  52465. + $as_echo_n "(cached) " >&6
  52466. +else
  52467. + if test -n "$ac_ct_CC"; then
  52468. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  52469. +else
  52470. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  52471. +for as_dir in $PATH
  52472. +do
  52473. + IFS=$as_save_IFS
  52474. + test -z "$as_dir" && as_dir=.
  52475. + for ac_exec_ext in '' $ac_executable_extensions; do
  52476. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  52477. + ac_cv_prog_ac_ct_CC="$ac_prog"
  52478. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  52479. + break 2
  52480. + fi
  52481. +done
  52482. + done
  52483. +IFS=$as_save_IFS
  52484. +
  52485. +fi
  52486. +fi
  52487. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  52488. +if test -n "$ac_ct_CC"; then
  52489. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  52490. +$as_echo "$ac_ct_CC" >&6; }
  52491. +else
  52492. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  52493. +$as_echo "no" >&6; }
  52494. +fi
  52495. +
  52496. +
  52497. + test -n "$ac_ct_CC" && break
  52498. +done
  52499. +
  52500. + if test "x$ac_ct_CC" = x; then
  52501. + CC=""
  52502. + else
  52503. + case $cross_compiling:$ac_tool_warned in
  52504. +yes:)
  52505. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  52506. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  52507. +ac_tool_warned=yes ;;
  52508. +esac
  52509. + CC=$ac_ct_CC
  52510. + fi
  52511. +fi
  52512. +
  52513. +fi
  52514. +
  52515. +
  52516. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  52517. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  52518. +as_fn_error $? "no acceptable C compiler found in \$PATH
  52519. +See \`config.log' for more details" "$LINENO" 5; }
  52520. +
  52521. +# Provide some information about the compiler.
  52522. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  52523. +set X $ac_compile
  52524. +ac_compiler=$2
  52525. +for ac_option in --version -v -V -qversion; do
  52526. + { { ac_try="$ac_compiler $ac_option >&5"
  52527. +case "(($ac_try" in
  52528. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  52529. + *) ac_try_echo=$ac_try;;
  52530. +esac
  52531. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  52532. +$as_echo "$ac_try_echo"; } >&5
  52533. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  52534. + ac_status=$?
  52535. + if test -s conftest.err; then
  52536. + sed '10a\
  52537. +... rest of stderr output deleted ...
  52538. + 10q' conftest.err >conftest.er1
  52539. + cat conftest.er1 >&5
  52540. + fi
  52541. + rm -f conftest.er1 conftest.err
  52542. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  52543. + test $ac_status = 0; }
  52544. +done
  52545. +
  52546. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  52547. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  52548. +if ${ac_cv_c_compiler_gnu+:} false; then :
  52549. + $as_echo_n "(cached) " >&6
  52550. +else
  52551. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52552. +/* end confdefs.h. */
  52553. +
  52554. +int
  52555. +main ()
  52556. +{
  52557. +#ifndef __GNUC__
  52558. + choke me
  52559. +#endif
  52560. +
  52561. + ;
  52562. + return 0;
  52563. +}
  52564. +_ACEOF
  52565. +if ac_fn_c_try_compile "$LINENO"; then :
  52566. + ac_compiler_gnu=yes
  52567. +else
  52568. + ac_compiler_gnu=no
  52569. +fi
  52570. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52571. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  52572. +
  52573. +fi
  52574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  52575. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  52576. +if test $ac_compiler_gnu = yes; then
  52577. + GCC=yes
  52578. +else
  52579. + GCC=
  52580. +fi
  52581. +ac_test_CFLAGS=${CFLAGS+set}
  52582. +ac_save_CFLAGS=$CFLAGS
  52583. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  52584. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  52585. +if ${ac_cv_prog_cc_g+:} false; then :
  52586. + $as_echo_n "(cached) " >&6
  52587. +else
  52588. + ac_save_c_werror_flag=$ac_c_werror_flag
  52589. + ac_c_werror_flag=yes
  52590. + ac_cv_prog_cc_g=no
  52591. + CFLAGS="-g"
  52592. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52593. +/* end confdefs.h. */
  52594. +
  52595. +int
  52596. +main ()
  52597. +{
  52598. +
  52599. + ;
  52600. + return 0;
  52601. +}
  52602. +_ACEOF
  52603. +if ac_fn_c_try_compile "$LINENO"; then :
  52604. + ac_cv_prog_cc_g=yes
  52605. +else
  52606. + CFLAGS=""
  52607. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52608. +/* end confdefs.h. */
  52609. +
  52610. +int
  52611. +main ()
  52612. +{
  52613. +
  52614. + ;
  52615. + return 0;
  52616. +}
  52617. +_ACEOF
  52618. +if ac_fn_c_try_compile "$LINENO"; then :
  52619. +
  52620. +else
  52621. + ac_c_werror_flag=$ac_save_c_werror_flag
  52622. + CFLAGS="-g"
  52623. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52624. +/* end confdefs.h. */
  52625. +
  52626. +int
  52627. +main ()
  52628. +{
  52629. +
  52630. + ;
  52631. + return 0;
  52632. +}
  52633. +_ACEOF
  52634. +if ac_fn_c_try_compile "$LINENO"; then :
  52635. + ac_cv_prog_cc_g=yes
  52636. +fi
  52637. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52638. +fi
  52639. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52640. +fi
  52641. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  52642. + ac_c_werror_flag=$ac_save_c_werror_flag
  52643. +fi
  52644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  52645. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  52646. +if test "$ac_test_CFLAGS" = set; then
  52647. + CFLAGS=$ac_save_CFLAGS
  52648. +elif test $ac_cv_prog_cc_g = yes; then
  52649. + if test "$GCC" = yes; then
  52650. + CFLAGS="-g -O2"
  52651. + else
  52652. + CFLAGS="-g"
  52653. + fi
  52654. +else
  52655. + if test "$GCC" = yes; then
  52656. + CFLAGS="-O2"
  52657. + else
  52658. + CFLAGS=
  52659. + fi
  52660. +fi
  52661. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  52662. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  52663. +if ${ac_cv_prog_cc_c89+:} false; then :
  52664. + $as_echo_n "(cached) " >&6
  52665. +else
  52666. + ac_cv_prog_cc_c89=no
  52667. +ac_save_CC=$CC
  52668. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52669. +/* end confdefs.h. */
  52670. +#include <stdarg.h>
  52671. +#include <stdio.h>
  52672. +struct stat;
  52673. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  52674. +struct buf { int x; };
  52675. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  52676. +static char *e (p, i)
  52677. + char **p;
  52678. + int i;
  52679. +{
  52680. + return p[i];
  52681. +}
  52682. +static char *f (char * (*g) (char **, int), char **p, ...)
  52683. +{
  52684. + char *s;
  52685. + va_list v;
  52686. + va_start (v,p);
  52687. + s = g (p, va_arg (v,int));
  52688. + va_end (v);
  52689. + return s;
  52690. +}
  52691. +
  52692. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  52693. + function prototypes and stuff, but not '\xHH' hex character constants.
  52694. + These don't provoke an error unfortunately, instead are silently treated
  52695. + as 'x'. The following induces an error, until -std is added to get
  52696. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  52697. + array size at least. It's necessary to write '\x00'==0 to get something
  52698. + that's true only with -std. */
  52699. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  52700. +
  52701. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  52702. + inside strings and character constants. */
  52703. +#define FOO(x) 'x'
  52704. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  52705. +
  52706. +int test (int i, double x);
  52707. +struct s1 {int (*f) (int a);};
  52708. +struct s2 {int (*f) (double a);};
  52709. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  52710. +int argc;
  52711. +char **argv;
  52712. +int
  52713. +main ()
  52714. +{
  52715. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  52716. + ;
  52717. + return 0;
  52718. +}
  52719. +_ACEOF
  52720. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  52721. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  52722. +do
  52723. + CC="$ac_save_CC $ac_arg"
  52724. + if ac_fn_c_try_compile "$LINENO"; then :
  52725. + ac_cv_prog_cc_c89=$ac_arg
  52726. +fi
  52727. +rm -f core conftest.err conftest.$ac_objext
  52728. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  52729. +done
  52730. +rm -f conftest.$ac_ext
  52731. +CC=$ac_save_CC
  52732. +
  52733. +fi
  52734. +# AC_CACHE_VAL
  52735. +case "x$ac_cv_prog_cc_c89" in
  52736. + x)
  52737. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  52738. +$as_echo "none needed" >&6; } ;;
  52739. + xno)
  52740. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  52741. +$as_echo "unsupported" >&6; } ;;
  52742. + *)
  52743. + CC="$CC $ac_cv_prog_cc_c89"
  52744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  52745. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  52746. +esac
  52747. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  52748. +
  52749. +fi
  52750. +
  52751. +ac_ext=c
  52752. +ac_cpp='$CPP $CPPFLAGS'
  52753. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52754. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52755. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52756. +
  52757. +ac_ext=c
  52758. +ac_cpp='$CPP $CPPFLAGS'
  52759. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52760. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52761. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52762. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  52763. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  52764. +if ${am_cv_prog_cc_c_o+:} false; then :
  52765. + $as_echo_n "(cached) " >&6
  52766. +else
  52767. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52768. +/* end confdefs.h. */
  52769. +
  52770. +int
  52771. +main ()
  52772. +{
  52773. +
  52774. + ;
  52775. + return 0;
  52776. +}
  52777. +_ACEOF
  52778. + # Make sure it works both with $CC and with simple cc.
  52779. + # Following AC_PROG_CC_C_O, we do the test twice because some
  52780. + # compilers refuse to overwrite an existing .o file with -o,
  52781. + # though they will create one.
  52782. + am_cv_prog_cc_c_o=yes
  52783. + for am_i in 1 2; do
  52784. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  52785. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  52786. + ac_status=$?
  52787. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  52788. + (exit $ac_status); } \
  52789. + && test -f conftest2.$ac_objext; then
  52790. + : OK
  52791. + else
  52792. + am_cv_prog_cc_c_o=no
  52793. + break
  52794. + fi
  52795. + done
  52796. + rm -f core conftest*
  52797. + unset am_i
  52798. +fi
  52799. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  52800. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  52801. +if test "$am_cv_prog_cc_c_o" != yes; then
  52802. + # Losing compiler, so override with the script.
  52803. + # FIXME: It is wrong to rewrite CC.
  52804. + # But if we don't then we get into trouble of one sort or another.
  52805. + # A longer-term fix would be to have automake use am__CC in this case,
  52806. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  52807. + CC="$am_aux_dir/compile $CC"
  52808. +fi
  52809. +ac_ext=c
  52810. +ac_cpp='$CPP $CPPFLAGS'
  52811. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  52812. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  52813. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  52814. +
  52815. +
  52816. +depcc="$CC" am_compiler_list=
  52817. +
  52818. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  52819. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  52820. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  52821. + $as_echo_n "(cached) " >&6
  52822. +else
  52823. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  52824. + # We make a subdir and do the tests there. Otherwise we can end up
  52825. + # making bogus files that we don't know about and never remove. For
  52826. + # instance it was reported that on HP-UX the gcc test will end up
  52827. + # making a dummy file named 'D' -- because '-MD' means "put the output
  52828. + # in D".
  52829. + rm -rf conftest.dir
  52830. + mkdir conftest.dir
  52831. + # Copy depcomp to subdir because otherwise we won't find it if we're
  52832. + # using a relative directory.
  52833. + cp "$am_depcomp" conftest.dir
  52834. + cd conftest.dir
  52835. + # We will build objects and dependencies in a subdirectory because
  52836. + # it helps to detect inapplicable dependency modes. For instance
  52837. + # both Tru64's cc and ICC support -MD to output dependencies as a
  52838. + # side effect of compilation, but ICC will put the dependencies in
  52839. + # the current directory while Tru64 will put them in the object
  52840. + # directory.
  52841. + mkdir sub
  52842. +
  52843. + am_cv_CC_dependencies_compiler_type=none
  52844. + if test "$am_compiler_list" = ""; then
  52845. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  52846. + fi
  52847. + am__universal=false
  52848. + case " $depcc " in #(
  52849. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  52850. + esac
  52851. +
  52852. + for depmode in $am_compiler_list; do
  52853. + # Setup a source with many dependencies, because some compilers
  52854. + # like to wrap large dependency lists on column 80 (with \), and
  52855. + # we should not choose a depcomp mode which is confused by this.
  52856. + #
  52857. + # We need to recreate these files for each test, as the compiler may
  52858. + # overwrite some of them when testing with obscure command lines.
  52859. + # This happens at least with the AIX C compiler.
  52860. + : > sub/conftest.c
  52861. + for i in 1 2 3 4 5 6; do
  52862. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  52863. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  52864. + # Solaris 10 /bin/sh.
  52865. + echo '/* dummy */' > sub/conftst$i.h
  52866. + done
  52867. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  52868. +
  52869. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  52870. + # mode. It turns out that the SunPro C++ compiler does not properly
  52871. + # handle '-M -o', and we need to detect this. Also, some Intel
  52872. + # versions had trouble with output in subdirs.
  52873. + am__obj=sub/conftest.${OBJEXT-o}
  52874. + am__minus_obj="-o $am__obj"
  52875. + case $depmode in
  52876. + gcc)
  52877. + # This depmode causes a compiler race in universal mode.
  52878. + test "$am__universal" = false || continue
  52879. + ;;
  52880. + nosideeffect)
  52881. + # After this tag, mechanisms are not by side-effect, so they'll
  52882. + # only be used when explicitly requested.
  52883. + if test "x$enable_dependency_tracking" = xyes; then
  52884. + continue
  52885. + else
  52886. + break
  52887. + fi
  52888. + ;;
  52889. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  52890. + # This compiler won't grok '-c -o', but also, the minuso test has
  52891. + # not run yet. These depmodes are late enough in the game, and
  52892. + # so weak that their functioning should not be impacted.
  52893. + am__obj=conftest.${OBJEXT-o}
  52894. + am__minus_obj=
  52895. + ;;
  52896. + none) break ;;
  52897. + esac
  52898. + if depmode=$depmode \
  52899. + source=sub/conftest.c object=$am__obj \
  52900. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  52901. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  52902. + >/dev/null 2>conftest.err &&
  52903. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  52904. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  52905. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  52906. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  52907. + # icc doesn't choke on unknown options, it will just issue warnings
  52908. + # or remarks (even with -Werror). So we grep stderr for any message
  52909. + # that says an option was ignored or not supported.
  52910. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  52911. + # icc: Command line warning: ignoring option '-M'; no argument required
  52912. + # The diagnosis changed in icc 8.0:
  52913. + # icc: Command line remark: option '-MP' not supported
  52914. + if (grep 'ignoring option' conftest.err ||
  52915. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  52916. + am_cv_CC_dependencies_compiler_type=$depmode
  52917. + break
  52918. + fi
  52919. + fi
  52920. + done
  52921. +
  52922. + cd ..
  52923. + rm -rf conftest.dir
  52924. +else
  52925. + am_cv_CC_dependencies_compiler_type=none
  52926. +fi
  52927. +
  52928. +fi
  52929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  52930. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  52931. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  52932. +
  52933. + if
  52934. + test "x$enable_dependency_tracking" != xno \
  52935. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  52936. + am__fastdepCC_TRUE=
  52937. + am__fastdepCC_FALSE='#'
  52938. +else
  52939. + am__fastdepCC_TRUE='#'
  52940. + am__fastdepCC_FALSE=
  52941. +fi
  52942. +
  52943. +
  52944. +
  52945. +# Compiler Flags
  52946. +
  52947. +#AM_CPPFLAGS='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  52948. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  52949. +
  52950. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  52951. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  52952. +$as_echo_n "checking whether shifting of signed integers works... " >&6; }
  52953. +if ${ac_cv_signed_shift+:} false; then :
  52954. + $as_echo_n "(cached) " >&6
  52955. +else
  52956. + if test "$cross_compiling" = yes; then :
  52957. + ac_cv_signed_shift=yes
  52958. +else
  52959. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52960. +/* end confdefs.h. */
  52961. +main () {
  52962. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  52963. +}
  52964. +_ACEOF
  52965. +if ac_fn_c_try_run "$LINENO"; then :
  52966. + ac_cv_signed_shift=no
  52967. +else
  52968. + ac_cv_signed_shift=yes
  52969. +fi
  52970. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52971. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52972. +fi
  52973. +
  52974. +fi
  52975. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_signed_shift" >&5
  52976. +$as_echo "$ac_cv_signed_shift" >&6; }
  52977. +if test $ac_cv_signed_shift = yes; then
  52978. + $as_echo "@%:@define HAVE_SIGNED_SHIFT 1" >>confdefs.h
  52979. +
  52980. +fi
  52981. +
  52982. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  52983. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  52984. +if ${ac_cv_c_bigendian+:} false; then :
  52985. + $as_echo_n "(cached) " >&6
  52986. +else
  52987. + ac_cv_c_bigendian=unknown
  52988. + # See if we're dealing with a universal compiler.
  52989. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52990. +/* end confdefs.h. */
  52991. +#ifndef __APPLE_CC__
  52992. + not a universal capable compiler
  52993. + #endif
  52994. + typedef int dummy;
  52995. +
  52996. +_ACEOF
  52997. +if ac_fn_c_try_compile "$LINENO"; then :
  52998. +
  52999. + # Check for potential -arch flags. It is not universal unless
  53000. + # there are at least two -arch flags with different values.
  53001. + ac_arch=
  53002. + ac_prev=
  53003. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  53004. + if test -n "$ac_prev"; then
  53005. + case $ac_word in
  53006. + i?86 | x86_64 | ppc | ppc64)
  53007. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  53008. + ac_arch=$ac_word
  53009. + else
  53010. + ac_cv_c_bigendian=universal
  53011. + break
  53012. + fi
  53013. + ;;
  53014. + esac
  53015. + ac_prev=
  53016. + elif test "x$ac_word" = "x-arch"; then
  53017. + ac_prev=arch
  53018. + fi
  53019. + done
  53020. +fi
  53021. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53022. + if test $ac_cv_c_bigendian = unknown; then
  53023. + # See if sys/param.h defines the BYTE_ORDER macro.
  53024. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53025. +/* end confdefs.h. */
  53026. +#include <sys/types.h>
  53027. + #include <sys/param.h>
  53028. +
  53029. +int
  53030. +main ()
  53031. +{
  53032. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  53033. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  53034. + && LITTLE_ENDIAN)
  53035. + bogus endian macros
  53036. + #endif
  53037. +
  53038. + ;
  53039. + return 0;
  53040. +}
  53041. +_ACEOF
  53042. +if ac_fn_c_try_compile "$LINENO"; then :
  53043. + # It does; now see whether it defined to BIG_ENDIAN or not.
  53044. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53045. +/* end confdefs.h. */
  53046. +#include <sys/types.h>
  53047. + #include <sys/param.h>
  53048. +
  53049. +int
  53050. +main ()
  53051. +{
  53052. +#if BYTE_ORDER != BIG_ENDIAN
  53053. + not big endian
  53054. + #endif
  53055. +
  53056. + ;
  53057. + return 0;
  53058. +}
  53059. +_ACEOF
  53060. +if ac_fn_c_try_compile "$LINENO"; then :
  53061. + ac_cv_c_bigendian=yes
  53062. +else
  53063. + ac_cv_c_bigendian=no
  53064. +fi
  53065. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53066. +fi
  53067. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53068. + fi
  53069. + if test $ac_cv_c_bigendian = unknown; then
  53070. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  53071. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53072. +/* end confdefs.h. */
  53073. +#include <limits.h>
  53074. +
  53075. +int
  53076. +main ()
  53077. +{
  53078. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  53079. + bogus endian macros
  53080. + #endif
  53081. +
  53082. + ;
  53083. + return 0;
  53084. +}
  53085. +_ACEOF
  53086. +if ac_fn_c_try_compile "$LINENO"; then :
  53087. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  53088. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53089. +/* end confdefs.h. */
  53090. +#include <limits.h>
  53091. +
  53092. +int
  53093. +main ()
  53094. +{
  53095. +#ifndef _BIG_ENDIAN
  53096. + not big endian
  53097. + #endif
  53098. +
  53099. + ;
  53100. + return 0;
  53101. +}
  53102. +_ACEOF
  53103. +if ac_fn_c_try_compile "$LINENO"; then :
  53104. + ac_cv_c_bigendian=yes
  53105. +else
  53106. + ac_cv_c_bigendian=no
  53107. +fi
  53108. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53109. +fi
  53110. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53111. + fi
  53112. + if test $ac_cv_c_bigendian = unknown; then
  53113. + # Compile a test program.
  53114. + if test "$cross_compiling" = yes; then :
  53115. + # Try to guess by grepping values from an object file.
  53116. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53117. +/* end confdefs.h. */
  53118. +short int ascii_mm[] =
  53119. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  53120. + short int ascii_ii[] =
  53121. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  53122. + int use_ascii (int i) {
  53123. + return ascii_mm[i] + ascii_ii[i];
  53124. + }
  53125. + short int ebcdic_ii[] =
  53126. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  53127. + short int ebcdic_mm[] =
  53128. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  53129. + int use_ebcdic (int i) {
  53130. + return ebcdic_mm[i] + ebcdic_ii[i];
  53131. + }
  53132. + extern int foo;
  53133. +
  53134. +int
  53135. +main ()
  53136. +{
  53137. +return use_ascii (foo) == use_ebcdic (foo);
  53138. + ;
  53139. + return 0;
  53140. +}
  53141. +_ACEOF
  53142. +if ac_fn_c_try_compile "$LINENO"; then :
  53143. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  53144. + ac_cv_c_bigendian=yes
  53145. + fi
  53146. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  53147. + if test "$ac_cv_c_bigendian" = unknown; then
  53148. + ac_cv_c_bigendian=no
  53149. + else
  53150. + # finding both strings is unlikely to happen, but who knows?
  53151. + ac_cv_c_bigendian=unknown
  53152. + fi
  53153. + fi
  53154. +fi
  53155. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53156. +else
  53157. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53158. +/* end confdefs.h. */
  53159. +$ac_includes_default
  53160. +int
  53161. +main ()
  53162. +{
  53163. +
  53164. + /* Are we little or big endian? From Harbison&Steele. */
  53165. + union
  53166. + {
  53167. + long int l;
  53168. + char c[sizeof (long int)];
  53169. + } u;
  53170. + u.l = 1;
  53171. + return u.c[sizeof (long int) - 1] == 1;
  53172. +
  53173. + ;
  53174. + return 0;
  53175. +}
  53176. +_ACEOF
  53177. +if ac_fn_c_try_run "$LINENO"; then :
  53178. + ac_cv_c_bigendian=no
  53179. +else
  53180. + ac_cv_c_bigendian=yes
  53181. +fi
  53182. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53183. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53184. +fi
  53185. +
  53186. + fi
  53187. +fi
  53188. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  53189. +$as_echo "$ac_cv_c_bigendian" >&6; }
  53190. + case $ac_cv_c_bigendian in #(
  53191. + yes)
  53192. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  53193. +;; #(
  53194. + no)
  53195. + ;; #(
  53196. + universal)
  53197. +
  53198. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  53199. +
  53200. + ;; #(
  53201. + *)
  53202. + as_fn_error $? "unknown endianness
  53203. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  53204. + esac
  53205. +
  53206. +# The cast to long int works around a bug in the HP C Compiler
  53207. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  53208. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  53209. +# This bug is HP SR number 8606223364.
  53210. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  53211. +$as_echo_n "checking size of char... " >&6; }
  53212. +if ${ac_cv_sizeof_char+:} false; then :
  53213. + $as_echo_n "(cached) " >&6
  53214. +else
  53215. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  53216. +
  53217. +else
  53218. + if test "$ac_cv_type_char" = yes; then
  53219. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  53220. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  53221. +as_fn_error 77 "cannot compute sizeof (char)
  53222. +See \`config.log' for more details" "$LINENO" 5; }
  53223. + else
  53224. + ac_cv_sizeof_char=0
  53225. + fi
  53226. +fi
  53227. +
  53228. +fi
  53229. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  53230. +$as_echo "$ac_cv_sizeof_char" >&6; }
  53231. +
  53232. +
  53233. +
  53234. +cat >>confdefs.h <<_ACEOF
  53235. +@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
  53236. +_ACEOF
  53237. +
  53238. +
  53239. +# The cast to long int works around a bug in the HP C Compiler
  53240. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  53241. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  53242. +# This bug is HP SR number 8606223364.
  53243. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  53244. +$as_echo_n "checking size of short... " >&6; }
  53245. +if ${ac_cv_sizeof_short+:} false; then :
  53246. + $as_echo_n "(cached) " >&6
  53247. +else
  53248. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  53249. +
  53250. +else
  53251. + if test "$ac_cv_type_short" = yes; then
  53252. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  53253. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  53254. +as_fn_error 77 "cannot compute sizeof (short)
  53255. +See \`config.log' for more details" "$LINENO" 5; }
  53256. + else
  53257. + ac_cv_sizeof_short=0
  53258. + fi
  53259. +fi
  53260. +
  53261. +fi
  53262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  53263. +$as_echo "$ac_cv_sizeof_short" >&6; }
  53264. +
  53265. +
  53266. +
  53267. +cat >>confdefs.h <<_ACEOF
  53268. +@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
  53269. +_ACEOF
  53270. +
  53271. +
  53272. +# The cast to long int works around a bug in the HP C Compiler
  53273. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  53274. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  53275. +# This bug is HP SR number 8606223364.
  53276. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  53277. +$as_echo_n "checking size of int... " >&6; }
  53278. +if ${ac_cv_sizeof_int+:} false; then :
  53279. + $as_echo_n "(cached) " >&6
  53280. +else
  53281. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  53282. +
  53283. +else
  53284. + if test "$ac_cv_type_int" = yes; then
  53285. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  53286. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  53287. +as_fn_error 77 "cannot compute sizeof (int)
  53288. +See \`config.log' for more details" "$LINENO" 5; }
  53289. + else
  53290. + ac_cv_sizeof_int=0
  53291. + fi
  53292. +fi
  53293. +
  53294. +fi
  53295. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  53296. +$as_echo "$ac_cv_sizeof_int" >&6; }
  53297. +
  53298. +
  53299. +
  53300. +cat >>confdefs.h <<_ACEOF
  53301. +@%:@define SIZEOF_INT $ac_cv_sizeof_int
  53302. +_ACEOF
  53303. +
  53304. +
  53305. +
  53306. +if test $ac_cv_sizeof_char != 1 -o $ac_cv_sizeof_short != 2 -o $ac_cv_sizeof_int != 4 ; then
  53307. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  53308. + echo "configure failed."
  53309. + exit 1
  53310. +fi
  53311. +
  53312. +# Checks for math library.
  53313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
  53314. +$as_echo_n "checking for log in -lm... " >&6; }
  53315. +if ${ac_cv_lib_m_log+:} false; then :
  53316. + $as_echo_n "(cached) " >&6
  53317. +else
  53318. + ac_check_lib_save_LIBS=$LIBS
  53319. +LIBS="-lm $LIBS"
  53320. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53321. +/* end confdefs.h. */
  53322. +
  53323. +/* Override any GCC internal prototype to avoid an error.
  53324. + Use char because int might match the return type of a GCC
  53325. + builtin and then its argument prototype would still apply. */
  53326. +#ifdef __cplusplus
  53327. +extern "C"
  53328. +#endif
  53329. +char log ();
  53330. +int
  53331. +main ()
  53332. +{
  53333. +return log ();
  53334. + ;
  53335. + return 0;
  53336. +}
  53337. +_ACEOF
  53338. +if ac_fn_c_try_link "$LINENO"; then :
  53339. + ac_cv_lib_m_log=yes
  53340. +else
  53341. + ac_cv_lib_m_log=no
  53342. +fi
  53343. +rm -f core conftest.err conftest.$ac_objext \
  53344. + conftest$ac_exeext conftest.$ac_ext
  53345. +LIBS=$ac_check_lib_save_LIBS
  53346. +fi
  53347. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
  53348. +$as_echo "$ac_cv_lib_m_log" >&6; }
  53349. +if test "x$ac_cv_lib_m_log" = xyes; then :
  53350. + cat >>confdefs.h <<_ACEOF
  53351. +@%:@define HAVE_LIBM 1
  53352. +_ACEOF
  53353. +
  53354. + LIBS="-lm $LIBS"
  53355. +
  53356. +fi
  53357. +
  53358. +if test "$ac_cv_lib_m_log" = "no"; then
  53359. + echo "FIASCO requires math library!"
  53360. + echo "It was not found on your system."
  53361. + echo "configure failed."
  53362. + exit 1
  53363. +fi
  53364. +
  53365. +# Checks for programs
  53366. +# Extract the first word of "xfig", so it can be a program name with args.
  53367. +set dummy xfig; ac_word=$2
  53368. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  53369. +$as_echo_n "checking for $ac_word... " >&6; }
  53370. +if ${ac_cv_path_xfig+:} false; then :
  53371. + $as_echo_n "(cached) " >&6
  53372. +else
  53373. + case $xfig in
  53374. + [\\/]* | ?:[\\/]*)
  53375. + ac_cv_path_xfig="$xfig" # Let the user override the test with a path.
  53376. + ;;
  53377. + *)
  53378. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  53379. +for as_dir in $PATH
  53380. +do
  53381. + IFS=$as_save_IFS
  53382. + test -z "$as_dir" && as_dir=.
  53383. + for ac_exec_ext in '' $ac_executable_extensions; do
  53384. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  53385. + ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  53386. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  53387. + break 2
  53388. + fi
  53389. +done
  53390. + done
  53391. +IFS=$as_save_IFS
  53392. +
  53393. + ;;
  53394. +esac
  53395. +fi
  53396. +xfig=$ac_cv_path_xfig
  53397. +if test -n "$xfig"; then
  53398. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xfig" >&5
  53399. +$as_echo "$xfig" >&6; }
  53400. +else
  53401. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  53402. +$as_echo "no" >&6; }
  53403. +fi
  53404. +
  53405. +
  53406. +if test -n "$xfig"; then
  53407. +
  53408. +cat >>confdefs.h <<_ACEOF
  53409. +@%:@define XFIG "$xfig"
  53410. +_ACEOF
  53411. +
  53412. +fi
  53413. +# Extract the first word of "xmag", so it can be a program name with args.
  53414. +set dummy xmag; ac_word=$2
  53415. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  53416. +$as_echo_n "checking for $ac_word... " >&6; }
  53417. +if ${ac_cv_path_xmag+:} false; then :
  53418. + $as_echo_n "(cached) " >&6
  53419. +else
  53420. + case $xmag in
  53421. + [\\/]* | ?:[\\/]*)
  53422. + ac_cv_path_xmag="$xmag" # Let the user override the test with a path.
  53423. + ;;
  53424. + *)
  53425. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  53426. +for as_dir in $PATH
  53427. +do
  53428. + IFS=$as_save_IFS
  53429. + test -z "$as_dir" && as_dir=.
  53430. + for ac_exec_ext in '' $ac_executable_extensions; do
  53431. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  53432. + ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  53433. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  53434. + break 2
  53435. + fi
  53436. +done
  53437. + done
  53438. +IFS=$as_save_IFS
  53439. +
  53440. + ;;
  53441. +esac
  53442. +fi
  53443. +xmag=$ac_cv_path_xmag
  53444. +if test -n "$xmag"; then
  53445. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmag" >&5
  53446. +$as_echo "$xmag" >&6; }
  53447. +else
  53448. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  53449. +$as_echo "no" >&6; }
  53450. +fi
  53451. +
  53452. +
  53453. +if test -n "$xmag"; then
  53454. +
  53455. +cat >>confdefs.h <<_ACEOF
  53456. +@%:@define XMAG "$xmag"
  53457. +_ACEOF
  53458. +
  53459. +fi
  53460. +
  53461. +# Checks for header files.
  53462. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  53463. +$as_echo_n "checking for ANSI C header files... " >&6; }
  53464. +if ${ac_cv_header_stdc+:} false; then :
  53465. + $as_echo_n "(cached) " >&6
  53466. +else
  53467. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53468. +/* end confdefs.h. */
  53469. +#include <stdlib.h>
  53470. +#include <stdarg.h>
  53471. +#include <string.h>
  53472. +#include <float.h>
  53473. +
  53474. +int
  53475. +main ()
  53476. +{
  53477. +
  53478. + ;
  53479. + return 0;
  53480. +}
  53481. +_ACEOF
  53482. +if ac_fn_c_try_compile "$LINENO"; then :
  53483. + ac_cv_header_stdc=yes
  53484. +else
  53485. + ac_cv_header_stdc=no
  53486. +fi
  53487. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53488. +
  53489. +if test $ac_cv_header_stdc = yes; then
  53490. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  53491. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53492. +/* end confdefs.h. */
  53493. +#include <string.h>
  53494. +
  53495. +_ACEOF
  53496. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  53497. + $EGREP "memchr" >/dev/null 2>&1; then :
  53498. +
  53499. +else
  53500. + ac_cv_header_stdc=no
  53501. +fi
  53502. +rm -f conftest*
  53503. +
  53504. +fi
  53505. +
  53506. +if test $ac_cv_header_stdc = yes; then
  53507. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  53508. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53509. +/* end confdefs.h. */
  53510. +#include <stdlib.h>
  53511. +
  53512. +_ACEOF
  53513. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  53514. + $EGREP "free" >/dev/null 2>&1; then :
  53515. +
  53516. +else
  53517. + ac_cv_header_stdc=no
  53518. +fi
  53519. +rm -f conftest*
  53520. +
  53521. +fi
  53522. +
  53523. +if test $ac_cv_header_stdc = yes; then
  53524. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  53525. + if test "$cross_compiling" = yes; then :
  53526. + :
  53527. +else
  53528. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53529. +/* end confdefs.h. */
  53530. +#include <ctype.h>
  53531. +#include <stdlib.h>
  53532. +#if ((' ' & 0x0FF) == 0x020)
  53533. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  53534. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  53535. +#else
  53536. +# define ISLOWER(c) \
  53537. + (('a' <= (c) && (c) <= 'i') \
  53538. + || ('j' <= (c) && (c) <= 'r') \
  53539. + || ('s' <= (c) && (c) <= 'z'))
  53540. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  53541. +#endif
  53542. +
  53543. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  53544. +int
  53545. +main ()
  53546. +{
  53547. + int i;
  53548. + for (i = 0; i < 256; i++)
  53549. + if (XOR (islower (i), ISLOWER (i))
  53550. + || toupper (i) != TOUPPER (i))
  53551. + return 2;
  53552. + return 0;
  53553. +}
  53554. +_ACEOF
  53555. +if ac_fn_c_try_run "$LINENO"; then :
  53556. +
  53557. +else
  53558. + ac_cv_header_stdc=no
  53559. +fi
  53560. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53561. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53562. +fi
  53563. +
  53564. +fi
  53565. +fi
  53566. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  53567. +$as_echo "$ac_cv_header_stdc" >&6; }
  53568. +if test $ac_cv_header_stdc = yes; then
  53569. +
  53570. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  53571. +
  53572. +fi
  53573. +
  53574. +for ac_header in assert.h features.h setjmp.h string.h unistd.h
  53575. +do :
  53576. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  53577. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  53578. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  53579. + cat >>confdefs.h <<_ACEOF
  53580. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  53581. +_ACEOF
  53582. +
  53583. +fi
  53584. +
  53585. +done
  53586. +
  53587. +
  53588. +# Checks for typedefs, structures, and compiler characteristics.
  53589. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  53590. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  53591. +if ${ac_cv_c_const+:} false; then :
  53592. + $as_echo_n "(cached) " >&6
  53593. +else
  53594. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53595. +/* end confdefs.h. */
  53596. +
  53597. +int
  53598. +main ()
  53599. +{
  53600. +
  53601. +#ifndef __cplusplus
  53602. + /* Ultrix mips cc rejects this sort of thing. */
  53603. + typedef int charset[2];
  53604. + const charset cs = { 0, 0 };
  53605. + /* SunOS 4.1.1 cc rejects this. */
  53606. + char const *const *pcpcc;
  53607. + char **ppc;
  53608. + /* NEC SVR4.0.2 mips cc rejects this. */
  53609. + struct point {int x, y;};
  53610. + static struct point const zero = {0,0};
  53611. + /* AIX XL C 1.02.0.0 rejects this.
  53612. + It does not let you subtract one const X* pointer from another in
  53613. + an arm of an if-expression whose if-part is not a constant
  53614. + expression */
  53615. + const char *g = "string";
  53616. + pcpcc = &g + (g ? g-g : 0);
  53617. + /* HPUX 7.0 cc rejects these. */
  53618. + ++pcpcc;
  53619. + ppc = (char**) pcpcc;
  53620. + pcpcc = (char const *const *) ppc;
  53621. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  53622. + char tx;
  53623. + char *t = &tx;
  53624. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  53625. +
  53626. + *t++ = 0;
  53627. + if (s) return 0;
  53628. + }
  53629. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  53630. + int x[] = {25, 17};
  53631. + const int *foo = &x[0];
  53632. + ++foo;
  53633. + }
  53634. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  53635. + typedef const int *iptr;
  53636. + iptr p = 0;
  53637. + ++p;
  53638. + }
  53639. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  53640. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  53641. + struct s { int j; const int *ap[3]; } bx;
  53642. + struct s *b = &bx; b->j = 5;
  53643. + }
  53644. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  53645. + const int foo = 10;
  53646. + if (!foo) return 0;
  53647. + }
  53648. + return !cs[0] && !zero.x;
  53649. +#endif
  53650. +
  53651. + ;
  53652. + return 0;
  53653. +}
  53654. +_ACEOF
  53655. +if ac_fn_c_try_compile "$LINENO"; then :
  53656. + ac_cv_c_const=yes
  53657. +else
  53658. + ac_cv_c_const=no
  53659. +fi
  53660. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53661. +fi
  53662. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  53663. +$as_echo "$ac_cv_c_const" >&6; }
  53664. +if test $ac_cv_c_const = no; then
  53665. +
  53666. +$as_echo "@%:@define const /**/" >>confdefs.h
  53667. +
  53668. +fi
  53669. +
  53670. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  53671. +if test "x$ac_cv_type_size_t" = xyes; then :
  53672. +
  53673. +else
  53674. +
  53675. +cat >>confdefs.h <<_ACEOF
  53676. +@%:@define size_t unsigned int
  53677. +_ACEOF
  53678. +
  53679. +fi
  53680. +
  53681. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  53682. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  53683. +if ${ac_cv_header_time+:} false; then :
  53684. + $as_echo_n "(cached) " >&6
  53685. +else
  53686. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53687. +/* end confdefs.h. */
  53688. +#include <sys/types.h>
  53689. +#include <sys/time.h>
  53690. +#include <time.h>
  53691. +
  53692. +int
  53693. +main ()
  53694. +{
  53695. +if ((struct tm *) 0)
  53696. +return 0;
  53697. + ;
  53698. + return 0;
  53699. +}
  53700. +_ACEOF
  53701. +if ac_fn_c_try_compile "$LINENO"; then :
  53702. + ac_cv_header_time=yes
  53703. +else
  53704. + ac_cv_header_time=no
  53705. +fi
  53706. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  53707. +fi
  53708. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  53709. +$as_echo "$ac_cv_header_time" >&6; }
  53710. +if test $ac_cv_header_time = yes; then
  53711. +
  53712. +$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
  53713. +
  53714. +fi
  53715. +
  53716. +
  53717. +# Checks for library functions.
  53718. +for ac_func in vprintf
  53719. +do :
  53720. + ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
  53721. +if test "x$ac_cv_func_vprintf" = xyes; then :
  53722. + cat >>confdefs.h <<_ACEOF
  53723. +@%:@define HAVE_VPRINTF 1
  53724. +_ACEOF
  53725. +
  53726. +ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
  53727. +if test "x$ac_cv_func__doprnt" = xyes; then :
  53728. +
  53729. +$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
  53730. +
  53731. +fi
  53732. +
  53733. +fi
  53734. +done
  53735. +
  53736. +
  53737. +for ac_func in log2 memmove strdup strcasecmp
  53738. +do :
  53739. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  53740. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  53741. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  53742. + cat >>confdefs.h <<_ACEOF
  53743. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  53744. +_ACEOF
  53745. +
  53746. +fi
  53747. +done
  53748. +
  53749. +
  53750. +ac_config_files="$ac_config_files Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile"
  53751. +
  53752. +ac_config_commands="$ac_config_commands default"
  53753. +
  53754. +cat >confcache <<\_ACEOF
  53755. +# This file is a shell script that caches the results of configure
  53756. +# tests run on this system so they can be shared between configure
  53757. +# scripts and configure runs, see configure's option --config-cache.
  53758. +# It is not useful on other systems. If it contains results you don't
  53759. +# want to keep, you may remove or edit it.
  53760. +#
  53761. +# config.status only pays attention to the cache file if you give it
  53762. +# the --recheck option to rerun configure.
  53763. +#
  53764. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  53765. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  53766. +# following values.
  53767. +
  53768. +_ACEOF
  53769. +
  53770. +# The following way of writing the cache mishandles newlines in values,
  53771. +# but we know of no workaround that is simple, portable, and efficient.
  53772. +# So, we kill variables containing newlines.
  53773. +# Ultrix sh set writes to stderr and can't be redirected directly,
  53774. +# and sets the high bit in the cache file unless we assign to the vars.
  53775. +(
  53776. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  53777. + eval ac_val=\$$ac_var
  53778. + case $ac_val in #(
  53779. + *${as_nl}*)
  53780. + case $ac_var in #(
  53781. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  53782. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  53783. + esac
  53784. + case $ac_var in #(
  53785. + _ | IFS | as_nl) ;; #(
  53786. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  53787. + *) { eval $ac_var=; unset $ac_var;} ;;
  53788. + esac ;;
  53789. + esac
  53790. + done
  53791. +
  53792. + (set) 2>&1 |
  53793. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  53794. + *${as_nl}ac_space=\ *)
  53795. + # `set' does not quote correctly, so add quotes: double-quote
  53796. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  53797. + sed -n \
  53798. + "s/'/'\\\\''/g;
  53799. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  53800. + ;; #(
  53801. + *)
  53802. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  53803. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  53804. + ;;
  53805. + esac |
  53806. + sort
  53807. +) |
  53808. + sed '
  53809. + /^ac_cv_env_/b end
  53810. + t clear
  53811. + :clear
  53812. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  53813. + t end
  53814. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  53815. + :end' >>confcache
  53816. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  53817. + if test -w "$cache_file"; then
  53818. + if test "x$cache_file" != "x/dev/null"; then
  53819. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  53820. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  53821. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  53822. + cat confcache >"$cache_file"
  53823. + else
  53824. + case $cache_file in #(
  53825. + */* | ?:*)
  53826. + mv -f confcache "$cache_file"$$ &&
  53827. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  53828. + *)
  53829. + mv -f confcache "$cache_file" ;;
  53830. + esac
  53831. + fi
  53832. + fi
  53833. + else
  53834. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  53835. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  53836. + fi
  53837. +fi
  53838. +rm -f confcache
  53839. +
  53840. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  53841. +# Let make expand exec_prefix.
  53842. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  53843. +
  53844. +DEFS=-DHAVE_CONFIG_H
  53845. +
  53846. +ac_libobjs=
  53847. +ac_ltlibobjs=
  53848. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  53849. + # 1. Remove the extension, and $U if already installed.
  53850. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  53851. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  53852. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  53853. + # will be set to the directory where LIBOBJS objects are built.
  53854. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  53855. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  53856. +done
  53857. +LIB@&t@OBJS=$ac_libobjs
  53858. +
  53859. +LTLIBOBJS=$ac_ltlibobjs
  53860. +
  53861. +
  53862. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  53863. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  53864. + if test -n "$am_sleep_pid"; then
  53865. + # Hide warnings about reused PIDs.
  53866. + wait $am_sleep_pid 2>/dev/null
  53867. + fi
  53868. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  53869. +$as_echo "done" >&6; }
  53870. + if test -n "$EXEEXT"; then
  53871. + am__EXEEXT_TRUE=
  53872. + am__EXEEXT_FALSE='#'
  53873. +else
  53874. + am__EXEEXT_TRUE='#'
  53875. + am__EXEEXT_FALSE=
  53876. +fi
  53877. +
  53878. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  53879. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  53880. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  53881. +fi
  53882. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  53883. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  53884. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  53885. +fi
  53886. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  53887. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  53888. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  53889. +fi
  53890. +
  53891. +
  53892. +: "${CONFIG_STATUS=./config.status}"
  53893. +ac_write_fail=0
  53894. +ac_clean_files_save=$ac_clean_files
  53895. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  53896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  53897. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  53898. +as_write_fail=0
  53899. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  53900. +#! $SHELL
  53901. +# Generated by $as_me.
  53902. +# Run this file to recreate the current configuration.
  53903. +# Compiler output produced by configure, useful for debugging
  53904. +# configure, is in config.log if it exists.
  53905. +
  53906. +debug=false
  53907. +ac_cs_recheck=false
  53908. +ac_cs_silent=false
  53909. +
  53910. +SHELL=\${CONFIG_SHELL-$SHELL}
  53911. +export SHELL
  53912. +_ASEOF
  53913. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  53914. +## -------------------- ##
  53915. +## M4sh Initialization. ##
  53916. +## -------------------- ##
  53917. +
  53918. +# Be more Bourne compatible
  53919. +DUALCASE=1; export DUALCASE # for MKS sh
  53920. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  53921. + emulate sh
  53922. + NULLCMD=:
  53923. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  53924. + # is contrary to our usage. Disable this feature.
  53925. + alias -g '${1+"$@"}'='"$@"'
  53926. + setopt NO_GLOB_SUBST
  53927. +else
  53928. + case `(set -o) 2>/dev/null` in @%:@(
  53929. + *posix*) :
  53930. + set -o posix ;; @%:@(
  53931. + *) :
  53932. + ;;
  53933. +esac
  53934. +fi
  53935. +
  53936. +
  53937. +as_nl='
  53938. +'
  53939. +export as_nl
  53940. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  53941. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  53942. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  53943. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  53944. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  53945. +# but without wasting forks for bash or zsh.
  53946. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  53947. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  53948. + as_echo='print -r --'
  53949. + as_echo_n='print -rn --'
  53950. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  53951. + as_echo='printf %s\n'
  53952. + as_echo_n='printf %s'
  53953. +else
  53954. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  53955. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  53956. + as_echo_n='/usr/ucb/echo -n'
  53957. + else
  53958. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53959. + as_echo_n_body='eval
  53960. + arg=$1;
  53961. + case $arg in @%:@(
  53962. + *"$as_nl"*)
  53963. + expr "X$arg" : "X\\(.*\\)$as_nl";
  53964. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  53965. + esac;
  53966. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  53967. + '
  53968. + export as_echo_n_body
  53969. + as_echo_n='sh -c $as_echo_n_body as_echo'
  53970. + fi
  53971. + export as_echo_body
  53972. + as_echo='sh -c $as_echo_body as_echo'
  53973. +fi
  53974. +
  53975. +# The user is always right.
  53976. +if test "${PATH_SEPARATOR+set}" != set; then
  53977. + PATH_SEPARATOR=:
  53978. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  53979. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  53980. + PATH_SEPARATOR=';'
  53981. + }
  53982. +fi
  53983. +
  53984. +
  53985. +# IFS
  53986. +# We need space, tab and new line, in precisely that order. Quoting is
  53987. +# there to prevent editors from complaining about space-tab.
  53988. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  53989. +# splitting by setting IFS to empty value.)
  53990. +IFS=" "" $as_nl"
  53991. +
  53992. +# Find who we are. Look in the path if we contain no directory separator.
  53993. +as_myself=
  53994. +case $0 in @%:@((
  53995. + *[\\/]* ) as_myself=$0 ;;
  53996. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  53997. +for as_dir in $PATH
  53998. +do
  53999. + IFS=$as_save_IFS
  54000. + test -z "$as_dir" && as_dir=.
  54001. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  54002. + done
  54003. +IFS=$as_save_IFS
  54004. +
  54005. + ;;
  54006. +esac
  54007. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  54008. +# in which case we are not to be found in the path.
  54009. +if test "x$as_myself" = x; then
  54010. + as_myself=$0
  54011. +fi
  54012. +if test ! -f "$as_myself"; then
  54013. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  54014. + exit 1
  54015. +fi
  54016. +
  54017. +# Unset variables that we do not need and which cause bugs (e.g. in
  54018. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  54019. +# suppresses any "Segmentation fault" message there. '((' could
  54020. +# trigger a bug in pdksh 5.2.14.
  54021. +for as_var in BASH_ENV ENV MAIL MAILPATH
  54022. +do eval test x\${$as_var+set} = xset \
  54023. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  54024. +done
  54025. +PS1='$ '
  54026. +PS2='> '
  54027. +PS4='+ '
  54028. +
  54029. +# NLS nuisances.
  54030. +LC_ALL=C
  54031. +export LC_ALL
  54032. +LANGUAGE=C
  54033. +export LANGUAGE
  54034. +
  54035. +# CDPATH.
  54036. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  54037. +
  54038. +
  54039. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  54040. +@%:@ ----------------------------------------
  54041. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  54042. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  54043. +@%:@ script with STATUS, using 1 if that was 0.
  54044. +as_fn_error ()
  54045. +{
  54046. + as_status=$1; test $as_status -eq 0 && as_status=1
  54047. + if test "$4"; then
  54048. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  54049. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  54050. + fi
  54051. + $as_echo "$as_me: error: $2" >&2
  54052. + as_fn_exit $as_status
  54053. +} @%:@ as_fn_error
  54054. +
  54055. +
  54056. +@%:@ as_fn_set_status STATUS
  54057. +@%:@ -----------------------
  54058. +@%:@ Set @S|@? to STATUS, without forking.
  54059. +as_fn_set_status ()
  54060. +{
  54061. + return $1
  54062. +} @%:@ as_fn_set_status
  54063. +
  54064. +@%:@ as_fn_exit STATUS
  54065. +@%:@ -----------------
  54066. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  54067. +as_fn_exit ()
  54068. +{
  54069. + set +e
  54070. + as_fn_set_status $1
  54071. + exit $1
  54072. +} @%:@ as_fn_exit
  54073. +
  54074. +@%:@ as_fn_unset VAR
  54075. +@%:@ ---------------
  54076. +@%:@ Portably unset VAR.
  54077. +as_fn_unset ()
  54078. +{
  54079. + { eval $1=; unset $1;}
  54080. +}
  54081. +as_unset=as_fn_unset
  54082. +@%:@ as_fn_append VAR VALUE
  54083. +@%:@ ----------------------
  54084. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  54085. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  54086. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  54087. +@%:@ implementations.
  54088. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  54089. + eval 'as_fn_append ()
  54090. + {
  54091. + eval $1+=\$2
  54092. + }'
  54093. +else
  54094. + as_fn_append ()
  54095. + {
  54096. + eval $1=\$$1\$2
  54097. + }
  54098. +fi # as_fn_append
  54099. +
  54100. +@%:@ as_fn_arith ARG...
  54101. +@%:@ ------------------
  54102. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  54103. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  54104. +@%:@ must be portable across @S|@(()) and expr.
  54105. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  54106. + eval 'as_fn_arith ()
  54107. + {
  54108. + as_val=$(( $* ))
  54109. + }'
  54110. +else
  54111. + as_fn_arith ()
  54112. + {
  54113. + as_val=`expr "$@" || test $? -eq 1`
  54114. + }
  54115. +fi # as_fn_arith
  54116. +
  54117. +
  54118. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  54119. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  54120. + as_expr=expr
  54121. +else
  54122. + as_expr=false
  54123. +fi
  54124. +
  54125. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  54126. + as_basename=basename
  54127. +else
  54128. + as_basename=false
  54129. +fi
  54130. +
  54131. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  54132. + as_dirname=dirname
  54133. +else
  54134. + as_dirname=false
  54135. +fi
  54136. +
  54137. +as_me=`$as_basename -- "$0" ||
  54138. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  54139. + X"$0" : 'X\(//\)$' \| \
  54140. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  54141. +$as_echo X/"$0" |
  54142. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  54143. + s//\1/
  54144. + q
  54145. + }
  54146. + /^X\/\(\/\/\)$/{
  54147. + s//\1/
  54148. + q
  54149. + }
  54150. + /^X\/\(\/\).*/{
  54151. + s//\1/
  54152. + q
  54153. + }
  54154. + s/.*/./; q'`
  54155. +
  54156. +# Avoid depending upon Character Ranges.
  54157. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  54158. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  54159. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  54160. +as_cr_digits='0123456789'
  54161. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  54162. +
  54163. +ECHO_C= ECHO_N= ECHO_T=
  54164. +case `echo -n x` in @%:@(((((
  54165. +-n*)
  54166. + case `echo 'xy\c'` in
  54167. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  54168. + xy) ECHO_C='\c';;
  54169. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  54170. + ECHO_T=' ';;
  54171. + esac;;
  54172. +*)
  54173. + ECHO_N='-n';;
  54174. +esac
  54175. +
  54176. +rm -f conf$$ conf$$.exe conf$$.file
  54177. +if test -d conf$$.dir; then
  54178. + rm -f conf$$.dir/conf$$.file
  54179. +else
  54180. + rm -f conf$$.dir
  54181. + mkdir conf$$.dir 2>/dev/null
  54182. +fi
  54183. +if (echo >conf$$.file) 2>/dev/null; then
  54184. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  54185. + as_ln_s='ln -s'
  54186. + # ... but there are two gotchas:
  54187. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  54188. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  54189. + # In both cases, we have to default to `cp -pR'.
  54190. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  54191. + as_ln_s='cp -pR'
  54192. + elif ln conf$$.file conf$$ 2>/dev/null; then
  54193. + as_ln_s=ln
  54194. + else
  54195. + as_ln_s='cp -pR'
  54196. + fi
  54197. +else
  54198. + as_ln_s='cp -pR'
  54199. +fi
  54200. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  54201. +rmdir conf$$.dir 2>/dev/null
  54202. +
  54203. +
  54204. +@%:@ as_fn_mkdir_p
  54205. +@%:@ -------------
  54206. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  54207. +as_fn_mkdir_p ()
  54208. +{
  54209. +
  54210. + case $as_dir in #(
  54211. + -*) as_dir=./$as_dir;;
  54212. + esac
  54213. + test -d "$as_dir" || eval $as_mkdir_p || {
  54214. + as_dirs=
  54215. + while :; do
  54216. + case $as_dir in #(
  54217. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  54218. + *) as_qdir=$as_dir;;
  54219. + esac
  54220. + as_dirs="'$as_qdir' $as_dirs"
  54221. + as_dir=`$as_dirname -- "$as_dir" ||
  54222. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  54223. + X"$as_dir" : 'X\(//\)[^/]' \| \
  54224. + X"$as_dir" : 'X\(//\)$' \| \
  54225. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  54226. +$as_echo X"$as_dir" |
  54227. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  54228. + s//\1/
  54229. + q
  54230. + }
  54231. + /^X\(\/\/\)[^/].*/{
  54232. + s//\1/
  54233. + q
  54234. + }
  54235. + /^X\(\/\/\)$/{
  54236. + s//\1/
  54237. + q
  54238. + }
  54239. + /^X\(\/\).*/{
  54240. + s//\1/
  54241. + q
  54242. + }
  54243. + s/.*/./; q'`
  54244. + test -d "$as_dir" && break
  54245. + done
  54246. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  54247. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  54248. +
  54249. +
  54250. +} @%:@ as_fn_mkdir_p
  54251. +if mkdir -p . 2>/dev/null; then
  54252. + as_mkdir_p='mkdir -p "$as_dir"'
  54253. +else
  54254. + test -d ./-p && rmdir ./-p
  54255. + as_mkdir_p=false
  54256. +fi
  54257. +
  54258. +
  54259. +@%:@ as_fn_executable_p FILE
  54260. +@%:@ -----------------------
  54261. +@%:@ Test if FILE is an executable regular file.
  54262. +as_fn_executable_p ()
  54263. +{
  54264. + test -f "$1" && test -x "$1"
  54265. +} @%:@ as_fn_executable_p
  54266. +as_test_x='test -x'
  54267. +as_executable_p=as_fn_executable_p
  54268. +
  54269. +# Sed expression to map a string onto a valid CPP name.
  54270. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  54271. +
  54272. +# Sed expression to map a string onto a valid variable name.
  54273. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  54274. +
  54275. +
  54276. +exec 6>&1
  54277. +## ----------------------------------- ##
  54278. +## Main body of $CONFIG_STATUS script. ##
  54279. +## ----------------------------------- ##
  54280. +_ASEOF
  54281. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  54282. +
  54283. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54284. +# Save the log message, to keep $0 and so on meaningful, and to
  54285. +# report actual input values of CONFIG_FILES etc. instead of their
  54286. +# values after options handling.
  54287. +ac_log="
  54288. +This file was extended by fiasco $as_me 1.3, which was
  54289. +generated by GNU Autoconf 2.69. Invocation command line was
  54290. +
  54291. + CONFIG_FILES = $CONFIG_FILES
  54292. + CONFIG_HEADERS = $CONFIG_HEADERS
  54293. + CONFIG_LINKS = $CONFIG_LINKS
  54294. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  54295. + $ $0 $@
  54296. +
  54297. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  54298. +"
  54299. +
  54300. +_ACEOF
  54301. +
  54302. +case $ac_config_files in *"
  54303. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  54304. +esac
  54305. +
  54306. +case $ac_config_headers in *"
  54307. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  54308. +esac
  54309. +
  54310. +
  54311. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54312. +# Files that config.status was made for.
  54313. +config_files="$ac_config_files"
  54314. +config_headers="$ac_config_headers"
  54315. +config_commands="$ac_config_commands"
  54316. +
  54317. +_ACEOF
  54318. +
  54319. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54320. +ac_cs_usage="\
  54321. +\`$as_me' instantiates files and other configuration actions
  54322. +from templates according to the current configuration. Unless the files
  54323. +and actions are specified as TAGs, all are instantiated by default.
  54324. +
  54325. +Usage: $0 [OPTION]... [TAG]...
  54326. +
  54327. + -h, --help print this help, then exit
  54328. + -V, --version print version number and configuration settings, then exit
  54329. + --config print configuration, then exit
  54330. + -q, --quiet, --silent
  54331. + do not print progress messages
  54332. + -d, --debug don't remove temporary files
  54333. + --recheck update $as_me by reconfiguring in the same conditions
  54334. + --file=FILE[:TEMPLATE]
  54335. + instantiate the configuration file FILE
  54336. + --header=FILE[:TEMPLATE]
  54337. + instantiate the configuration header FILE
  54338. +
  54339. +Configuration files:
  54340. +$config_files
  54341. +
  54342. +Configuration headers:
  54343. +$config_headers
  54344. +
  54345. +Configuration commands:
  54346. +$config_commands
  54347. +
  54348. +Report bugs to the package provider."
  54349. +
  54350. +_ACEOF
  54351. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54352. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  54353. +ac_cs_version="\\
  54354. +fiasco config.status 1.3
  54355. +configured by $0, generated by GNU Autoconf 2.69,
  54356. + with options \\"\$ac_cs_config\\"
  54357. +
  54358. +Copyright (C) 2012 Free Software Foundation, Inc.
  54359. +This config.status script is free software; the Free Software Foundation
  54360. +gives unlimited permission to copy, distribute and modify it."
  54361. +
  54362. +ac_pwd='$ac_pwd'
  54363. +srcdir='$srcdir'
  54364. +INSTALL='$INSTALL'
  54365. +MKDIR_P='$MKDIR_P'
  54366. +AWK='$AWK'
  54367. +test -n "\$AWK" || AWK=awk
  54368. +_ACEOF
  54369. +
  54370. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54371. +# The default lists apply if the user does not specify any file.
  54372. +ac_need_defaults=:
  54373. +while test $# != 0
  54374. +do
  54375. + case $1 in
  54376. + --*=?*)
  54377. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  54378. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  54379. + ac_shift=:
  54380. + ;;
  54381. + --*=)
  54382. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  54383. + ac_optarg=
  54384. + ac_shift=:
  54385. + ;;
  54386. + *)
  54387. + ac_option=$1
  54388. + ac_optarg=$2
  54389. + ac_shift=shift
  54390. + ;;
  54391. + esac
  54392. +
  54393. + case $ac_option in
  54394. + # Handling of the options.
  54395. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  54396. + ac_cs_recheck=: ;;
  54397. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  54398. + $as_echo "$ac_cs_version"; exit ;;
  54399. + --config | --confi | --conf | --con | --co | --c )
  54400. + $as_echo "$ac_cs_config"; exit ;;
  54401. + --debug | --debu | --deb | --de | --d | -d )
  54402. + debug=: ;;
  54403. + --file | --fil | --fi | --f )
  54404. + $ac_shift
  54405. + case $ac_optarg in
  54406. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  54407. + '') as_fn_error $? "missing file argument" ;;
  54408. + esac
  54409. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  54410. + ac_need_defaults=false;;
  54411. + --header | --heade | --head | --hea )
  54412. + $ac_shift
  54413. + case $ac_optarg in
  54414. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  54415. + esac
  54416. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  54417. + ac_need_defaults=false;;
  54418. + --he | --h)
  54419. + # Conflict between --help and --header
  54420. + as_fn_error $? "ambiguous option: \`$1'
  54421. +Try \`$0 --help' for more information.";;
  54422. + --help | --hel | -h )
  54423. + $as_echo "$ac_cs_usage"; exit ;;
  54424. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  54425. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  54426. + ac_cs_silent=: ;;
  54427. +
  54428. + # This is an error.
  54429. + -*) as_fn_error $? "unrecognized option: \`$1'
  54430. +Try \`$0 --help' for more information." ;;
  54431. +
  54432. + *) as_fn_append ac_config_targets " $1"
  54433. + ac_need_defaults=false ;;
  54434. +
  54435. + esac
  54436. + shift
  54437. +done
  54438. +
  54439. +ac_configure_extra_args=
  54440. +
  54441. +if $ac_cs_silent; then
  54442. + exec 6>/dev/null
  54443. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  54444. +fi
  54445. +
  54446. +_ACEOF
  54447. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54448. +if \$ac_cs_recheck; then
  54449. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  54450. + shift
  54451. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  54452. + CONFIG_SHELL='$SHELL'
  54453. + export CONFIG_SHELL
  54454. + exec "\$@"
  54455. +fi
  54456. +
  54457. +_ACEOF
  54458. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54459. +exec 5>>config.log
  54460. +{
  54461. + echo
  54462. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  54463. +@%:@@%:@ Running $as_me. @%:@@%:@
  54464. +_ASBOX
  54465. + $as_echo "$ac_log"
  54466. +} >&5
  54467. +
  54468. +_ACEOF
  54469. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54470. +#
  54471. +# INIT-COMMANDS
  54472. +#
  54473. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  54474. +
  54475. +
  54476. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  54477. +# if CDPATH is set.
  54478. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  54479. +
  54480. +sed_quote_subst='$sed_quote_subst'
  54481. +double_quote_subst='$double_quote_subst'
  54482. +delay_variable_subst='$delay_variable_subst'
  54483. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  54484. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  54485. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  54486. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  54487. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  54488. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  54489. +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  54490. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  54491. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  54492. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  54493. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  54494. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  54495. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  54496. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  54497. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  54498. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  54499. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  54500. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  54501. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  54502. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  54503. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  54504. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  54505. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  54506. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  54507. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  54508. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  54509. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  54510. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  54511. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  54512. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  54513. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  54514. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  54515. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  54516. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  54517. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  54518. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  54519. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  54520. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  54521. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  54522. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  54523. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  54524. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  54525. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  54526. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  54527. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  54528. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  54529. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  54530. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  54531. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  54532. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  54533. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  54534. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  54535. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  54536. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  54537. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  54538. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  54539. +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  54540. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  54541. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  54542. +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  54543. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  54544. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  54545. +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  54546. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  54547. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  54548. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  54549. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  54550. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  54551. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  54552. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  54553. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  54554. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  54555. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  54556. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  54557. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  54558. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  54559. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  54560. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  54561. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  54562. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  54563. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  54564. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  54565. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  54566. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  54567. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  54568. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  54569. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  54570. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  54571. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  54572. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  54573. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  54574. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  54575. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  54576. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  54577. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  54578. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  54579. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  54580. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  54581. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  54582. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  54583. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  54584. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  54585. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  54586. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  54587. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  54588. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  54589. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  54590. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  54591. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  54592. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  54593. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  54594. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  54595. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  54596. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  54597. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  54598. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  54599. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  54600. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  54601. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  54602. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  54603. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  54604. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  54605. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  54606. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  54607. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  54608. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  54609. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  54610. +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  54611. +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  54612. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  54613. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  54614. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  54615. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  54616. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  54617. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  54618. +
  54619. +LTCC='$LTCC'
  54620. +LTCFLAGS='$LTCFLAGS'
  54621. +compiler='$compiler_DEFAULT'
  54622. +
  54623. +# A function that is used when there is no print builtin or printf.
  54624. +func_fallback_echo ()
  54625. +{
  54626. + eval 'cat <<_LTECHO_EOF
  54627. +\$1
  54628. +_LTECHO_EOF'
  54629. +}
  54630. +
  54631. +# Quote evaled strings.
  54632. +for var in SHELL \
  54633. +ECHO \
  54634. +PATH_SEPARATOR \
  54635. +SED \
  54636. +GREP \
  54637. +EGREP \
  54638. +FGREP \
  54639. +LD \
  54640. +NM \
  54641. +LN_S \
  54642. +lt_SP2NL \
  54643. +lt_NL2SP \
  54644. +reload_flag \
  54645. +OBJDUMP \
  54646. +deplibs_check_method \
  54647. +file_magic_cmd \
  54648. +file_magic_glob \
  54649. +want_nocaseglob \
  54650. +DLLTOOL \
  54651. +sharedlib_from_linklib_cmd \
  54652. +AR \
  54653. +AR_FLAGS \
  54654. +archiver_list_spec \
  54655. +STRIP \
  54656. +RANLIB \
  54657. +CC \
  54658. +CFLAGS \
  54659. +compiler \
  54660. +lt_cv_sys_global_symbol_pipe \
  54661. +lt_cv_sys_global_symbol_to_cdecl \
  54662. +lt_cv_sys_global_symbol_to_import \
  54663. +lt_cv_sys_global_symbol_to_c_name_address \
  54664. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  54665. +lt_cv_nm_interface \
  54666. +nm_file_list_spec \
  54667. +lt_cv_truncate_bin \
  54668. +lt_prog_compiler_no_builtin_flag \
  54669. +lt_prog_compiler_pic \
  54670. +lt_prog_compiler_wl \
  54671. +lt_prog_compiler_static \
  54672. +lt_cv_prog_compiler_c_o \
  54673. +need_locks \
  54674. +MANIFEST_TOOL \
  54675. +DSYMUTIL \
  54676. +NMEDIT \
  54677. +LIPO \
  54678. +OTOOL \
  54679. +OTOOL64 \
  54680. +shrext_cmds \
  54681. +export_dynamic_flag_spec \
  54682. +whole_archive_flag_spec \
  54683. +compiler_needs_object \
  54684. +with_gnu_ld \
  54685. +allow_undefined_flag \
  54686. +no_undefined_flag \
  54687. +hardcode_libdir_flag_spec \
  54688. +hardcode_libdir_separator \
  54689. +exclude_expsyms \
  54690. +include_expsyms \
  54691. +file_list_spec \
  54692. +variables_saved_for_relink \
  54693. +libname_spec \
  54694. +library_names_spec \
  54695. +soname_spec \
  54696. +install_override_mode \
  54697. +finish_eval \
  54698. +old_striplib \
  54699. +striplib; do
  54700. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  54701. + *[\\\\\\\`\\"\\\$]*)
  54702. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  54703. + ;;
  54704. + *)
  54705. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  54706. + ;;
  54707. + esac
  54708. +done
  54709. +
  54710. +# Double-quote double-evaled strings.
  54711. +for var in reload_cmds \
  54712. +old_postinstall_cmds \
  54713. +old_postuninstall_cmds \
  54714. +old_archive_cmds \
  54715. +extract_expsyms_cmds \
  54716. +old_archive_from_new_cmds \
  54717. +old_archive_from_expsyms_cmds \
  54718. +archive_cmds \
  54719. +archive_expsym_cmds \
  54720. +module_cmds \
  54721. +module_expsym_cmds \
  54722. +export_symbols_cmds \
  54723. +prelink_cmds \
  54724. +postlink_cmds \
  54725. +postinstall_cmds \
  54726. +postuninstall_cmds \
  54727. +finish_cmds \
  54728. +sys_lib_search_path_spec \
  54729. +configure_time_dlsearch_path \
  54730. +configure_time_lt_sys_library_path; do
  54731. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  54732. + *[\\\\\\\`\\"\\\$]*)
  54733. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  54734. + ;;
  54735. + *)
  54736. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  54737. + ;;
  54738. + esac
  54739. +done
  54740. +
  54741. +ac_aux_dir='$ac_aux_dir'
  54742. +
  54743. +# See if we are running on zsh, and set the options that allow our
  54744. +# commands through without removal of \ escapes INIT.
  54745. +if test -n "\${ZSH_VERSION+set}"; then
  54746. + setopt NO_GLOB_SUBST
  54747. +fi
  54748. +
  54749. +
  54750. + PACKAGE='$PACKAGE'
  54751. + VERSION='$VERSION'
  54752. + RM='$RM'
  54753. + ofile='$ofile'
  54754. +
  54755. +
  54756. +
  54757. +
  54758. +_ACEOF
  54759. +
  54760. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54761. +
  54762. +# Handling of arguments.
  54763. +for ac_config_target in $ac_config_targets
  54764. +do
  54765. + case $ac_config_target in
  54766. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  54767. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  54768. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  54769. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  54770. + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  54771. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  54772. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  54773. + "input/Makefile") CONFIG_FILES="$CONFIG_FILES input/Makefile" ;;
  54774. + "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
  54775. + "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  54776. + "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
  54777. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  54778. +
  54779. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  54780. + esac
  54781. +done
  54782. +
  54783. +
  54784. +# If the user did not use the arguments to specify the items to instantiate,
  54785. +# then the envvar interface is used. Set only those that are not.
  54786. +# We use the long form for the default assignment because of an extremely
  54787. +# bizarre bug on SunOS 4.1.3.
  54788. +if $ac_need_defaults; then
  54789. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  54790. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  54791. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  54792. +fi
  54793. +
  54794. +# Have a temporary directory for convenience. Make it in the build tree
  54795. +# simply because there is no reason against having it here, and in addition,
  54796. +# creating and moving files from /tmp can sometimes cause problems.
  54797. +# Hook for its removal unless debugging.
  54798. +# Note that there is a small window in which the directory will not be cleaned:
  54799. +# after its creation but before its name has been assigned to `$tmp'.
  54800. +$debug ||
  54801. +{
  54802. + tmp= ac_tmp=
  54803. + trap 'exit_status=$?
  54804. + : "${ac_tmp:=$tmp}"
  54805. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  54806. +' 0
  54807. + trap 'as_fn_exit 1' 1 2 13 15
  54808. +}
  54809. +# Create a (secure) tmp directory for tmp files.
  54810. +
  54811. +{
  54812. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  54813. + test -d "$tmp"
  54814. +} ||
  54815. +{
  54816. + tmp=./conf$$-$RANDOM
  54817. + (umask 077 && mkdir "$tmp")
  54818. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  54819. +ac_tmp=$tmp
  54820. +
  54821. +# Set up the scripts for CONFIG_FILES section.
  54822. +# No need to generate them if there are no CONFIG_FILES.
  54823. +# This happens for instance with `./config.status config.h'.
  54824. +if test -n "$CONFIG_FILES"; then
  54825. +
  54826. +
  54827. +ac_cr=`echo X | tr X '\015'`
  54828. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  54829. +# But we know of no other shell where ac_cr would be empty at this
  54830. +# point, so we can use a bashism as a fallback.
  54831. +if test "x$ac_cr" = x; then
  54832. + eval ac_cr=\$\'\\r\'
  54833. +fi
  54834. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  54835. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  54836. + ac_cs_awk_cr='\\r'
  54837. +else
  54838. + ac_cs_awk_cr=$ac_cr
  54839. +fi
  54840. +
  54841. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  54842. +_ACEOF
  54843. +
  54844. +
  54845. +{
  54846. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  54847. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  54848. + echo "_ACEOF"
  54849. +} >conf$$subs.sh ||
  54850. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  54851. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  54852. +ac_delim='%!_!# '
  54853. +for ac_last_try in false false false false false :; do
  54854. + . ./conf$$subs.sh ||
  54855. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  54856. +
  54857. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  54858. + if test $ac_delim_n = $ac_delim_num; then
  54859. + break
  54860. + elif $ac_last_try; then
  54861. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  54862. + else
  54863. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  54864. + fi
  54865. +done
  54866. +rm -f conf$$subs.sh
  54867. +
  54868. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54869. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  54870. +_ACEOF
  54871. +sed -n '
  54872. +h
  54873. +s/^/S["/; s/!.*/"]=/
  54874. +p
  54875. +g
  54876. +s/^[^!]*!//
  54877. +:repl
  54878. +t repl
  54879. +s/'"$ac_delim"'$//
  54880. +t delim
  54881. +:nl
  54882. +h
  54883. +s/\(.\{148\}\)..*/\1/
  54884. +t more1
  54885. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  54886. +p
  54887. +n
  54888. +b repl
  54889. +:more1
  54890. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  54891. +p
  54892. +g
  54893. +s/.\{148\}//
  54894. +t nl
  54895. +:delim
  54896. +h
  54897. +s/\(.\{148\}\)..*/\1/
  54898. +t more2
  54899. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  54900. +p
  54901. +b
  54902. +:more2
  54903. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  54904. +p
  54905. +g
  54906. +s/.\{148\}//
  54907. +t delim
  54908. +' <conf$$subs.awk | sed '
  54909. +/^[^""]/{
  54910. + N
  54911. + s/\n//
  54912. +}
  54913. +' >>$CONFIG_STATUS || ac_write_fail=1
  54914. +rm -f conf$$subs.awk
  54915. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  54916. +_ACAWK
  54917. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  54918. + for (key in S) S_is_set[key] = 1
  54919. + FS = ""
  54920. +
  54921. +}
  54922. +{
  54923. + line = $ 0
  54924. + nfields = split(line, field, "@")
  54925. + substed = 0
  54926. + len = length(field[1])
  54927. + for (i = 2; i < nfields; i++) {
  54928. + key = field[i]
  54929. + keylen = length(key)
  54930. + if (S_is_set[key]) {
  54931. + value = S[key]
  54932. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  54933. + len += length(value) + length(field[++i])
  54934. + substed = 1
  54935. + } else
  54936. + len += 1 + keylen
  54937. + }
  54938. +
  54939. + print line
  54940. +}
  54941. +
  54942. +_ACAWK
  54943. +_ACEOF
  54944. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54945. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  54946. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  54947. +else
  54948. + cat
  54949. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  54950. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  54951. +_ACEOF
  54952. +
  54953. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  54954. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  54955. +# trailing colons and then remove the whole line if VPATH becomes empty
  54956. +# (actually we leave an empty line to preserve line numbers).
  54957. +if test "x$srcdir" = x.; then
  54958. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  54959. +h
  54960. +s///
  54961. +s/^/:/
  54962. +s/[ ]*$/:/
  54963. +s/:\$(srcdir):/:/g
  54964. +s/:\${srcdir}:/:/g
  54965. +s/:@srcdir@:/:/g
  54966. +s/^:*//
  54967. +s/:*$//
  54968. +x
  54969. +s/\(=[ ]*\).*/\1/
  54970. +G
  54971. +s/\n//
  54972. +s/^[^=]*=[ ]*$//
  54973. +}'
  54974. +fi
  54975. +
  54976. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  54977. +fi # test -n "$CONFIG_FILES"
  54978. +
  54979. +# Set up the scripts for CONFIG_HEADERS section.
  54980. +# No need to generate them if there are no CONFIG_HEADERS.
  54981. +# This happens for instance with `./config.status Makefile'.
  54982. +if test -n "$CONFIG_HEADERS"; then
  54983. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  54984. +BEGIN {
  54985. +_ACEOF
  54986. +
  54987. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  54988. +# here-document in config.status, that substitutes the proper values into
  54989. +# config.h.in to produce config.h.
  54990. +
  54991. +# Create a delimiter string that does not exist in confdefs.h, to ease
  54992. +# handling of long lines.
  54993. +ac_delim='%!_!# '
  54994. +for ac_last_try in false false :; do
  54995. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  54996. + if test -z "$ac_tt"; then
  54997. + break
  54998. + elif $ac_last_try; then
  54999. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  55000. + else
  55001. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  55002. + fi
  55003. +done
  55004. +
  55005. +# For the awk script, D is an array of macro values keyed by name,
  55006. +# likewise P contains macro parameters if any. Preserve backslash
  55007. +# newline sequences.
  55008. +
  55009. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  55010. +sed -n '
  55011. +s/.\{148\}/&'"$ac_delim"'/g
  55012. +t rset
  55013. +:rset
  55014. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  55015. +t def
  55016. +d
  55017. +:def
  55018. +s/\\$//
  55019. +t bsnl
  55020. +s/["\\]/\\&/g
  55021. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  55022. +D["\1"]=" \3"/p
  55023. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  55024. +d
  55025. +:bsnl
  55026. +s/["\\]/\\&/g
  55027. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  55028. +D["\1"]=" \3\\\\\\n"\\/p
  55029. +t cont
  55030. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  55031. +t cont
  55032. +d
  55033. +:cont
  55034. +n
  55035. +s/.\{148\}/&'"$ac_delim"'/g
  55036. +t clear
  55037. +:clear
  55038. +s/\\$//
  55039. +t bsnlc
  55040. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  55041. +d
  55042. +:bsnlc
  55043. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  55044. +b cont
  55045. +' <confdefs.h | sed '
  55046. +s/'"$ac_delim"'/"\\\
  55047. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  55048. +
  55049. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  55050. + for (key in D) D_is_set[key] = 1
  55051. + FS = ""
  55052. +}
  55053. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  55054. + line = \$ 0
  55055. + split(line, arg, " ")
  55056. + if (arg[1] == "#") {
  55057. + defundef = arg[2]
  55058. + mac1 = arg[3]
  55059. + } else {
  55060. + defundef = substr(arg[1], 2)
  55061. + mac1 = arg[2]
  55062. + }
  55063. + split(mac1, mac2, "(") #)
  55064. + macro = mac2[1]
  55065. + prefix = substr(line, 1, index(line, defundef) - 1)
  55066. + if (D_is_set[macro]) {
  55067. + # Preserve the white space surrounding the "#".
  55068. + print prefix "define", macro P[macro] D[macro]
  55069. + next
  55070. + } else {
  55071. + # Replace #undef with comments. This is necessary, for example,
  55072. + # in the case of _POSIX_SOURCE, which is predefined and required
  55073. + # on some systems where configure will not decide to define it.
  55074. + if (defundef == "undef") {
  55075. + print "/*", prefix defundef, macro, "*/"
  55076. + next
  55077. + }
  55078. + }
  55079. +}
  55080. +{ print }
  55081. +_ACAWK
  55082. +_ACEOF
  55083. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  55084. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  55085. +fi # test -n "$CONFIG_HEADERS"
  55086. +
  55087. +
  55088. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  55089. +shift
  55090. +for ac_tag
  55091. +do
  55092. + case $ac_tag in
  55093. + :[FHLC]) ac_mode=$ac_tag; continue;;
  55094. + esac
  55095. + case $ac_mode$ac_tag in
  55096. + :[FHL]*:*);;
  55097. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  55098. + :[FH]-) ac_tag=-:-;;
  55099. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  55100. + esac
  55101. + ac_save_IFS=$IFS
  55102. + IFS=:
  55103. + set x $ac_tag
  55104. + IFS=$ac_save_IFS
  55105. + shift
  55106. + ac_file=$1
  55107. + shift
  55108. +
  55109. + case $ac_mode in
  55110. + :L) ac_source=$1;;
  55111. + :[FH])
  55112. + ac_file_inputs=
  55113. + for ac_f
  55114. + do
  55115. + case $ac_f in
  55116. + -) ac_f="$ac_tmp/stdin";;
  55117. + *) # Look for the file first in the build tree, then in the source tree
  55118. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  55119. + # because $ac_f cannot contain `:'.
  55120. + test -f "$ac_f" ||
  55121. + case $ac_f in
  55122. + [\\/$]*) false;;
  55123. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  55124. + esac ||
  55125. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  55126. + esac
  55127. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  55128. + as_fn_append ac_file_inputs " '$ac_f'"
  55129. + done
  55130. +
  55131. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  55132. + # use $as_me), people would be surprised to read:
  55133. + # /* config.h. Generated by config.status. */
  55134. + configure_input='Generated from '`
  55135. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  55136. + `' by configure.'
  55137. + if test x"$ac_file" != x-; then
  55138. + configure_input="$ac_file. $configure_input"
  55139. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  55140. +$as_echo "$as_me: creating $ac_file" >&6;}
  55141. + fi
  55142. + # Neutralize special characters interpreted by sed in replacement strings.
  55143. + case $configure_input in #(
  55144. + *\&* | *\|* | *\\* )
  55145. + ac_sed_conf_input=`$as_echo "$configure_input" |
  55146. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  55147. + *) ac_sed_conf_input=$configure_input;;
  55148. + esac
  55149. +
  55150. + case $ac_tag in
  55151. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  55152. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  55153. + esac
  55154. + ;;
  55155. + esac
  55156. +
  55157. + ac_dir=`$as_dirname -- "$ac_file" ||
  55158. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  55159. + X"$ac_file" : 'X\(//\)[^/]' \| \
  55160. + X"$ac_file" : 'X\(//\)$' \| \
  55161. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  55162. +$as_echo X"$ac_file" |
  55163. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  55164. + s//\1/
  55165. + q
  55166. + }
  55167. + /^X\(\/\/\)[^/].*/{
  55168. + s//\1/
  55169. + q
  55170. + }
  55171. + /^X\(\/\/\)$/{
  55172. + s//\1/
  55173. + q
  55174. + }
  55175. + /^X\(\/\).*/{
  55176. + s//\1/
  55177. + q
  55178. + }
  55179. + s/.*/./; q'`
  55180. + as_dir="$ac_dir"; as_fn_mkdir_p
  55181. + ac_builddir=.
  55182. +
  55183. +case "$ac_dir" in
  55184. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  55185. +*)
  55186. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  55187. + # A ".." for each directory in $ac_dir_suffix.
  55188. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  55189. + case $ac_top_builddir_sub in
  55190. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  55191. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  55192. + esac ;;
  55193. +esac
  55194. +ac_abs_top_builddir=$ac_pwd
  55195. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  55196. +# for backward compatibility:
  55197. +ac_top_builddir=$ac_top_build_prefix
  55198. +
  55199. +case $srcdir in
  55200. + .) # We are building in place.
  55201. + ac_srcdir=.
  55202. + ac_top_srcdir=$ac_top_builddir_sub
  55203. + ac_abs_top_srcdir=$ac_pwd ;;
  55204. + [\\/]* | ?:[\\/]* ) # Absolute name.
  55205. + ac_srcdir=$srcdir$ac_dir_suffix;
  55206. + ac_top_srcdir=$srcdir
  55207. + ac_abs_top_srcdir=$srcdir ;;
  55208. + *) # Relative name.
  55209. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  55210. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  55211. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  55212. +esac
  55213. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  55214. +
  55215. +
  55216. + case $ac_mode in
  55217. + :F)
  55218. + #
  55219. + # CONFIG_FILE
  55220. + #
  55221. +
  55222. + case $INSTALL in
  55223. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  55224. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  55225. + esac
  55226. + ac_MKDIR_P=$MKDIR_P
  55227. + case $MKDIR_P in
  55228. + [\\/$]* | ?:[\\/]* ) ;;
  55229. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  55230. + esac
  55231. +_ACEOF
  55232. +
  55233. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  55234. +# If the template does not know about datarootdir, expand it.
  55235. +# FIXME: This hack should be removed a few years after 2.60.
  55236. +ac_datarootdir_hack=; ac_datarootdir_seen=
  55237. +ac_sed_dataroot='
  55238. +/datarootdir/ {
  55239. + p
  55240. + q
  55241. +}
  55242. +/@datadir@/p
  55243. +/@docdir@/p
  55244. +/@infodir@/p
  55245. +/@localedir@/p
  55246. +/@mandir@/p'
  55247. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  55248. +*datarootdir*) ac_datarootdir_seen=yes;;
  55249. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  55250. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  55251. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  55252. +_ACEOF
  55253. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  55254. + ac_datarootdir_hack='
  55255. + s&@datadir@&$datadir&g
  55256. + s&@docdir@&$docdir&g
  55257. + s&@infodir@&$infodir&g
  55258. + s&@localedir@&$localedir&g
  55259. + s&@mandir@&$mandir&g
  55260. + s&\\\${datarootdir}&$datarootdir&g' ;;
  55261. +esac
  55262. +_ACEOF
  55263. +
  55264. +# Neutralize VPATH when `$srcdir' = `.'.
  55265. +# Shell code in configure.ac might set extrasub.
  55266. +# FIXME: do we really want to maintain this feature?
  55267. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  55268. +ac_sed_extra="$ac_vpsub
  55269. +$extrasub
  55270. +_ACEOF
  55271. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  55272. +:t
  55273. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  55274. +s|@configure_input@|$ac_sed_conf_input|;t t
  55275. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  55276. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  55277. +s&@srcdir@&$ac_srcdir&;t t
  55278. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  55279. +s&@top_srcdir@&$ac_top_srcdir&;t t
  55280. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  55281. +s&@builddir@&$ac_builddir&;t t
  55282. +s&@abs_builddir@&$ac_abs_builddir&;t t
  55283. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  55284. +s&@INSTALL@&$ac_INSTALL&;t t
  55285. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  55286. +$ac_datarootdir_hack
  55287. +"
  55288. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  55289. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55290. +
  55291. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  55292. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  55293. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  55294. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  55295. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  55296. +which seems to be undefined. Please make sure it is defined" >&5
  55297. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  55298. +which seems to be undefined. Please make sure it is defined" >&2;}
  55299. +
  55300. + rm -f "$ac_tmp/stdin"
  55301. + case $ac_file in
  55302. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  55303. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  55304. + esac \
  55305. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55306. + ;;
  55307. + :H)
  55308. + #
  55309. + # CONFIG_HEADER
  55310. + #
  55311. + if test x"$ac_file" != x-; then
  55312. + {
  55313. + $as_echo "/* $configure_input */" \
  55314. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  55315. + } >"$ac_tmp/config.h" \
  55316. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55317. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  55318. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  55319. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  55320. + else
  55321. + rm -f "$ac_file"
  55322. + mv "$ac_tmp/config.h" "$ac_file" \
  55323. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  55324. + fi
  55325. + else
  55326. + $as_echo "/* $configure_input */" \
  55327. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  55328. + || as_fn_error $? "could not create -" "$LINENO" 5
  55329. + fi
  55330. +# Compute "$ac_file"'s index in $config_headers.
  55331. +_am_arg="$ac_file"
  55332. +_am_stamp_count=1
  55333. +for _am_header in $config_headers :; do
  55334. + case $_am_header in
  55335. + $_am_arg | $_am_arg:* )
  55336. + break ;;
  55337. + * )
  55338. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  55339. + esac
  55340. +done
  55341. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  55342. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  55343. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  55344. + X"$_am_arg" : 'X\(//\)$' \| \
  55345. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  55346. +$as_echo X"$_am_arg" |
  55347. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  55348. + s//\1/
  55349. + q
  55350. + }
  55351. + /^X\(\/\/\)[^/].*/{
  55352. + s//\1/
  55353. + q
  55354. + }
  55355. + /^X\(\/\/\)$/{
  55356. + s//\1/
  55357. + q
  55358. + }
  55359. + /^X\(\/\).*/{
  55360. + s//\1/
  55361. + q
  55362. + }
  55363. + s/.*/./; q'`/stamp-h$_am_stamp_count
  55364. + ;;
  55365. +
  55366. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  55367. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  55368. + ;;
  55369. + esac
  55370. +
  55371. +
  55372. + case $ac_file$ac_mode in
  55373. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  55374. + # Older Autoconf quotes --file arguments for eval, but not when files
  55375. + # are listed without --file. Let's play safe and only enable the eval
  55376. + # if we detect the quoting.
  55377. + # TODO: see whether this extra hack can be removed once we start
  55378. + # requiring Autoconf 2.70 or later.
  55379. + case $CONFIG_FILES in @%:@(
  55380. + *\'*) :
  55381. + eval set x "$CONFIG_FILES" ;; @%:@(
  55382. + *) :
  55383. + set x $CONFIG_FILES ;; @%:@(
  55384. + *) :
  55385. + ;;
  55386. +esac
  55387. + shift
  55388. + # Used to flag and report bootstrapping failures.
  55389. + am_rc=0
  55390. + for am_mf
  55391. + do
  55392. + # Strip MF so we end up with the name of the file.
  55393. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  55394. + # Check whether this is an Automake generated Makefile which includes
  55395. + # dependency-tracking related rules and includes.
  55396. + # Grep'ing the whole file directly is not great: AIX grep has a line
  55397. + # limit of 2048, but all sed's we know have understand at least 4000.
  55398. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  55399. + || continue
  55400. + am_dirpart=`$as_dirname -- "$am_mf" ||
  55401. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  55402. + X"$am_mf" : 'X\(//\)[^/]' \| \
  55403. + X"$am_mf" : 'X\(//\)$' \| \
  55404. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  55405. +$as_echo X"$am_mf" |
  55406. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  55407. + s//\1/
  55408. + q
  55409. + }
  55410. + /^X\(\/\/\)[^/].*/{
  55411. + s//\1/
  55412. + q
  55413. + }
  55414. + /^X\(\/\/\)$/{
  55415. + s//\1/
  55416. + q
  55417. + }
  55418. + /^X\(\/\).*/{
  55419. + s//\1/
  55420. + q
  55421. + }
  55422. + s/.*/./; q'`
  55423. + am_filepart=`$as_basename -- "$am_mf" ||
  55424. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  55425. + X"$am_mf" : 'X\(//\)$' \| \
  55426. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  55427. +$as_echo X/"$am_mf" |
  55428. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  55429. + s//\1/
  55430. + q
  55431. + }
  55432. + /^X\/\(\/\/\)$/{
  55433. + s//\1/
  55434. + q
  55435. + }
  55436. + /^X\/\(\/\).*/{
  55437. + s//\1/
  55438. + q
  55439. + }
  55440. + s/.*/./; q'`
  55441. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  55442. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  55443. + | $MAKE -f - am--depfiles" >&5
  55444. + (cd "$am_dirpart" \
  55445. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  55446. + | $MAKE -f - am--depfiles) >&5 2>&5
  55447. + ac_status=$?
  55448. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  55449. + (exit $ac_status); } || am_rc=$?
  55450. + done
  55451. + if test $am_rc -ne 0; then
  55452. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  55453. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  55454. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  55455. + for automatic dependency tracking. Try re-running configure with the
  55456. + '--disable-dependency-tracking' option to at least be able to build
  55457. + the package (albeit without support for automatic dependency tracking).
  55458. +See \`config.log' for more details" "$LINENO" 5; }
  55459. + fi
  55460. + { am_dirpart=; unset am_dirpart;}
  55461. + { am_filepart=; unset am_filepart;}
  55462. + { am_mf=; unset am_mf;}
  55463. + { am_rc=; unset am_rc;}
  55464. + rm -f conftest-deps.mk
  55465. +}
  55466. + ;;
  55467. + "libtool":C)
  55468. +
  55469. + # See if we are running on zsh, and set the options that allow our
  55470. + # commands through without removal of \ escapes.
  55471. + if test -n "${ZSH_VERSION+set}"; then
  55472. + setopt NO_GLOB_SUBST
  55473. + fi
  55474. +
  55475. + cfgfile=${ofile}T
  55476. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  55477. + $RM "$cfgfile"
  55478. +
  55479. + cat <<_LT_EOF >> "$cfgfile"
  55480. +#! $SHELL
  55481. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  55482. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  55483. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  55484. +
  55485. +# Provide generalized library-building support services.
  55486. +# Written by Gordon Matzigkeit, 1996
  55487. +
  55488. +# Copyright (C) 2014 Free Software Foundation, Inc.
  55489. +# This is free software; see the source for copying conditions. There is NO
  55490. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  55491. +
  55492. +# GNU Libtool is free software; you can redistribute it and/or modify
  55493. +# it under the terms of the GNU General Public License as published by
  55494. +# the Free Software Foundation; either version 2 of of the License, or
  55495. +# (at your option) any later version.
  55496. +#
  55497. +# As a special exception to the GNU General Public License, if you
  55498. +# distribute this file as part of a program or library that is built
  55499. +# using GNU Libtool, you may include this file under the same
  55500. +# distribution terms that you use for the rest of that program.
  55501. +#
  55502. +# GNU Libtool is distributed in the hope that it will be useful, but
  55503. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  55504. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  55505. +# GNU General Public License for more details.
  55506. +#
  55507. +# You should have received a copy of the GNU General Public License
  55508. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  55509. +
  55510. +
  55511. +# The names of the tagged configurations supported by this script.
  55512. +available_tags=''
  55513. +
  55514. +# Configured defaults for sys_lib_dlsearch_path munging.
  55515. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  55516. +
  55517. +# ### BEGIN LIBTOOL CONFIG
  55518. +
  55519. +# Which release of libtool.m4 was used?
  55520. +macro_version=$macro_version
  55521. +macro_revision=$macro_revision
  55522. +
  55523. +# Whether or not to build shared libraries.
  55524. +build_libtool_libs=$enable_shared
  55525. +
  55526. +# Whether or not to build static libraries.
  55527. +build_old_libs=$enable_static
  55528. +
  55529. +# What type of objects to build.
  55530. +pic_mode=$pic_mode
  55531. +
  55532. +# Whether or not to optimize for fast installation.
  55533. +fast_install=$enable_fast_install
  55534. +
  55535. +# Shared archive member basename,for filename based shared library versioning on AIX.
  55536. +shared_archive_member_spec=$shared_archive_member_spec
  55537. +
  55538. +# Shell to use when invoking shell scripts.
  55539. +SHELL=$lt_SHELL
  55540. +
  55541. +# An echo program that protects backslashes.
  55542. +ECHO=$lt_ECHO
  55543. +
  55544. +# The PATH separator for the build system.
  55545. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  55546. +
  55547. +# The host system.
  55548. +host_alias=$host_alias
  55549. +host=$host
  55550. +host_os=$host_os
  55551. +
  55552. +# The build system.
  55553. +build_alias=$build_alias
  55554. +build=$build
  55555. +build_os=$build_os
  55556. +
  55557. +# A sed program that does not truncate output.
  55558. +SED=$lt_SED
  55559. +
  55560. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  55561. +Xsed="\$SED -e 1s/^X//"
  55562. +
  55563. +# A grep program that handles long lines.
  55564. +GREP=$lt_GREP
  55565. +
  55566. +# An ERE matcher.
  55567. +EGREP=$lt_EGREP
  55568. +
  55569. +# A literal string matcher.
  55570. +FGREP=$lt_FGREP
  55571. +
  55572. +# A BSD- or MS-compatible name lister.
  55573. +NM=$lt_NM
  55574. +
  55575. +# Whether we need soft or hard links.
  55576. +LN_S=$lt_LN_S
  55577. +
  55578. +# What is the maximum length of a command?
  55579. +max_cmd_len=$max_cmd_len
  55580. +
  55581. +# Object file suffix (normally "o").
  55582. +objext=$ac_objext
  55583. +
  55584. +# Executable file suffix (normally "").
  55585. +exeext=$exeext
  55586. +
  55587. +# whether the shell understands "unset".
  55588. +lt_unset=$lt_unset
  55589. +
  55590. +# turn spaces into newlines.
  55591. +SP2NL=$lt_lt_SP2NL
  55592. +
  55593. +# turn newlines into spaces.
  55594. +NL2SP=$lt_lt_NL2SP
  55595. +
  55596. +# convert \$build file names to \$host format.
  55597. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  55598. +
  55599. +# convert \$build files to toolchain format.
  55600. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  55601. +
  55602. +# An object symbol dumper.
  55603. +OBJDUMP=$lt_OBJDUMP
  55604. +
  55605. +# Method to check whether dependent libraries are shared objects.
  55606. +deplibs_check_method=$lt_deplibs_check_method
  55607. +
  55608. +# Command to use when deplibs_check_method = "file_magic".
  55609. +file_magic_cmd=$lt_file_magic_cmd
  55610. +
  55611. +# How to find potential files when deplibs_check_method = "file_magic".
  55612. +file_magic_glob=$lt_file_magic_glob
  55613. +
  55614. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  55615. +want_nocaseglob=$lt_want_nocaseglob
  55616. +
  55617. +# DLL creation program.
  55618. +DLLTOOL=$lt_DLLTOOL
  55619. +
  55620. +# Command to associate shared and link libraries.
  55621. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  55622. +
  55623. +# The archiver.
  55624. +AR=$lt_AR
  55625. +
  55626. +# Flags to create an archive.
  55627. +AR_FLAGS=$lt_AR_FLAGS
  55628. +
  55629. +# How to feed a file listing to the archiver.
  55630. +archiver_list_spec=$lt_archiver_list_spec
  55631. +
  55632. +# A symbol stripping program.
  55633. +STRIP=$lt_STRIP
  55634. +
  55635. +# Commands used to install an old-style archive.
  55636. +RANLIB=$lt_RANLIB
  55637. +old_postinstall_cmds=$lt_old_postinstall_cmds
  55638. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  55639. +
  55640. +# Whether to use a lock for old archive extraction.
  55641. +lock_old_archive_extraction=$lock_old_archive_extraction
  55642. +
  55643. +# A C compiler.
  55644. +LTCC=$lt_CC
  55645. +
  55646. +# LTCC compiler flags.
  55647. +LTCFLAGS=$lt_CFLAGS
  55648. +
  55649. +# Take the output of nm and produce a listing of raw symbols and C names.
  55650. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  55651. +
  55652. +# Transform the output of nm in a proper C declaration.
  55653. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  55654. +
  55655. +# Transform the output of nm into a list of symbols to manually relocate.
  55656. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  55657. +
  55658. +# Transform the output of nm in a C name address pair.
  55659. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  55660. +
  55661. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  55662. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  55663. +
  55664. +# The name lister interface.
  55665. +nm_interface=$lt_lt_cv_nm_interface
  55666. +
  55667. +# Specify filename containing input files for \$NM.
  55668. +nm_file_list_spec=$lt_nm_file_list_spec
  55669. +
  55670. +# The root where to search for dependent libraries,and where our libraries should be installed.
  55671. +lt_sysroot=$lt_sysroot
  55672. +
  55673. +# Command to truncate a binary pipe.
  55674. +lt_truncate_bin=$lt_lt_cv_truncate_bin
  55675. +
  55676. +# The name of the directory that contains temporary libtool files.
  55677. +objdir=$objdir
  55678. +
  55679. +# Used to examine libraries when file_magic_cmd begins with "file".
  55680. +MAGIC_CMD=$MAGIC_CMD
  55681. +
  55682. +# Must we lock files when doing compilation?
  55683. +need_locks=$lt_need_locks
  55684. +
  55685. +# Manifest tool.
  55686. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  55687. +
  55688. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  55689. +DSYMUTIL=$lt_DSYMUTIL
  55690. +
  55691. +# Tool to change global to local symbols on Mac OS X.
  55692. +NMEDIT=$lt_NMEDIT
  55693. +
  55694. +# Tool to manipulate fat objects and archives on Mac OS X.
  55695. +LIPO=$lt_LIPO
  55696. +
  55697. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  55698. +OTOOL=$lt_OTOOL
  55699. +
  55700. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  55701. +OTOOL64=$lt_OTOOL64
  55702. +
  55703. +# Old archive suffix (normally "a").
  55704. +libext=$libext
  55705. +
  55706. +# Shared library suffix (normally ".so").
  55707. +shrext_cmds=$lt_shrext_cmds
  55708. +
  55709. +# The commands to extract the exported symbol list from a shared archive.
  55710. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  55711. +
  55712. +# Variables whose values should be saved in libtool wrapper scripts and
  55713. +# restored at link time.
  55714. +variables_saved_for_relink=$lt_variables_saved_for_relink
  55715. +
  55716. +# Do we need the "lib" prefix for modules?
  55717. +need_lib_prefix=$need_lib_prefix
  55718. +
  55719. +# Do we need a version for libraries?
  55720. +need_version=$need_version
  55721. +
  55722. +# Library versioning type.
  55723. +version_type=$version_type
  55724. +
  55725. +# Shared library runtime path variable.
  55726. +runpath_var=$runpath_var
  55727. +
  55728. +# Shared library path variable.
  55729. +shlibpath_var=$shlibpath_var
  55730. +
  55731. +# Is shlibpath searched before the hard-coded library search path?
  55732. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  55733. +
  55734. +# Format of library name prefix.
  55735. +libname_spec=$lt_libname_spec
  55736. +
  55737. +# List of archive names. First name is the real one, the rest are links.
  55738. +# The last name is the one that the linker finds with -lNAME
  55739. +library_names_spec=$lt_library_names_spec
  55740. +
  55741. +# The coded name of the library, if different from the real name.
  55742. +soname_spec=$lt_soname_spec
  55743. +
  55744. +# Permission mode override for installation of shared libraries.
  55745. +install_override_mode=$lt_install_override_mode
  55746. +
  55747. +# Command to use after installation of a shared archive.
  55748. +postinstall_cmds=$lt_postinstall_cmds
  55749. +
  55750. +# Command to use after uninstallation of a shared archive.
  55751. +postuninstall_cmds=$lt_postuninstall_cmds
  55752. +
  55753. +# Commands used to finish a libtool library installation in a directory.
  55754. +finish_cmds=$lt_finish_cmds
  55755. +
  55756. +# As "finish_cmds", except a single script fragment to be evaled but
  55757. +# not shown.
  55758. +finish_eval=$lt_finish_eval
  55759. +
  55760. +# Whether we should hardcode library paths into libraries.
  55761. +hardcode_into_libs=$hardcode_into_libs
  55762. +
  55763. +# Compile-time system search path for libraries.
  55764. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  55765. +
  55766. +# Detected run-time system search path for libraries.
  55767. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  55768. +
  55769. +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  55770. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  55771. +
  55772. +# Whether dlopen is supported.
  55773. +dlopen_support=$enable_dlopen
  55774. +
  55775. +# Whether dlopen of programs is supported.
  55776. +dlopen_self=$enable_dlopen_self
  55777. +
  55778. +# Whether dlopen of statically linked programs is supported.
  55779. +dlopen_self_static=$enable_dlopen_self_static
  55780. +
  55781. +# Commands to strip libraries.
  55782. +old_striplib=$lt_old_striplib
  55783. +striplib=$lt_striplib
  55784. +
  55785. +
  55786. +# The linker used to build libraries.
  55787. +LD=$lt_LD
  55788. +
  55789. +# How to create reloadable object files.
  55790. +reload_flag=$lt_reload_flag
  55791. +reload_cmds=$lt_reload_cmds
  55792. +
  55793. +# Commands used to build an old-style archive.
  55794. +old_archive_cmds=$lt_old_archive_cmds
  55795. +
  55796. +# A language specific compiler.
  55797. +CC=$lt_compiler
  55798. +
  55799. +# Is the compiler the GNU compiler?
  55800. +with_gcc=$GCC
  55801. +
  55802. +# Compiler flag to turn off builtin functions.
  55803. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  55804. +
  55805. +# Additional compiler flags for building library objects.
  55806. +pic_flag=$lt_lt_prog_compiler_pic
  55807. +
  55808. +# How to pass a linker flag through the compiler.
  55809. +wl=$lt_lt_prog_compiler_wl
  55810. +
  55811. +# Compiler flag to prevent dynamic linking.
  55812. +link_static_flag=$lt_lt_prog_compiler_static
  55813. +
  55814. +# Does compiler simultaneously support -c and -o options?
  55815. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  55816. +
  55817. +# Whether or not to add -lc for building shared libraries.
  55818. +build_libtool_need_lc=$archive_cmds_need_lc
  55819. +
  55820. +# Whether or not to disallow shared libs when runtime libs are static.
  55821. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  55822. +
  55823. +# Compiler flag to allow reflexive dlopens.
  55824. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  55825. +
  55826. +# Compiler flag to generate shared objects directly from archives.
  55827. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  55828. +
  55829. +# Whether the compiler copes with passing no objects directly.
  55830. +compiler_needs_object=$lt_compiler_needs_object
  55831. +
  55832. +# Create an old-style archive from a shared archive.
  55833. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  55834. +
  55835. +# Create a temporary old-style archive to link instead of a shared archive.
  55836. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  55837. +
  55838. +# Commands used to build a shared archive.
  55839. +archive_cmds=$lt_archive_cmds
  55840. +archive_expsym_cmds=$lt_archive_expsym_cmds
  55841. +
  55842. +# Commands used to build a loadable module if different from building
  55843. +# a shared archive.
  55844. +module_cmds=$lt_module_cmds
  55845. +module_expsym_cmds=$lt_module_expsym_cmds
  55846. +
  55847. +# Whether we are building with GNU ld or not.
  55848. +with_gnu_ld=$lt_with_gnu_ld
  55849. +
  55850. +# Flag that allows shared libraries with undefined symbols to be built.
  55851. +allow_undefined_flag=$lt_allow_undefined_flag
  55852. +
  55853. +# Flag that enforces no undefined symbols.
  55854. +no_undefined_flag=$lt_no_undefined_flag
  55855. +
  55856. +# Flag to hardcode \$libdir into a binary during linking.
  55857. +# This must work even if \$libdir does not exist
  55858. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  55859. +
  55860. +# Whether we need a single "-rpath" flag with a separated argument.
  55861. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  55862. +
  55863. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  55864. +# DIR into the resulting binary.
  55865. +hardcode_direct=$hardcode_direct
  55866. +
  55867. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  55868. +# DIR into the resulting binary and the resulting library dependency is
  55869. +# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  55870. +# library is relocated.
  55871. +hardcode_direct_absolute=$hardcode_direct_absolute
  55872. +
  55873. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  55874. +# into the resulting binary.
  55875. +hardcode_minus_L=$hardcode_minus_L
  55876. +
  55877. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  55878. +# into the resulting binary.
  55879. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  55880. +
  55881. +# Set to "yes" if building a shared library automatically hardcodes DIR
  55882. +# into the library and all subsequent libraries and executables linked
  55883. +# against it.
  55884. +hardcode_automatic=$hardcode_automatic
  55885. +
  55886. +# Set to yes if linker adds runtime paths of dependent libraries
  55887. +# to runtime path list.
  55888. +inherit_rpath=$inherit_rpath
  55889. +
  55890. +# Whether libtool must link a program against all its dependency libraries.
  55891. +link_all_deplibs=$link_all_deplibs
  55892. +
  55893. +# Set to "yes" if exported symbols are required.
  55894. +always_export_symbols=$always_export_symbols
  55895. +
  55896. +# The commands to list exported symbols.
  55897. +export_symbols_cmds=$lt_export_symbols_cmds
  55898. +
  55899. +# Symbols that should not be listed in the preloaded symbols.
  55900. +exclude_expsyms=$lt_exclude_expsyms
  55901. +
  55902. +# Symbols that must always be exported.
  55903. +include_expsyms=$lt_include_expsyms
  55904. +
  55905. +# Commands necessary for linking programs (against libraries) with templates.
  55906. +prelink_cmds=$lt_prelink_cmds
  55907. +
  55908. +# Commands necessary for finishing linking programs.
  55909. +postlink_cmds=$lt_postlink_cmds
  55910. +
  55911. +# Specify filename containing input files.
  55912. +file_list_spec=$lt_file_list_spec
  55913. +
  55914. +# How to hardcode a shared library path into an executable.
  55915. +hardcode_action=$hardcode_action
  55916. +
  55917. +# ### END LIBTOOL CONFIG
  55918. +
  55919. +_LT_EOF
  55920. +
  55921. + cat <<'_LT_EOF' >> "$cfgfile"
  55922. +
  55923. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  55924. +
  55925. +# func_munge_path_list VARIABLE PATH
  55926. +# -----------------------------------
  55927. +# VARIABLE is name of variable containing _space_ separated list of
  55928. +# directories to be munged by the contents of PATH, which is string
  55929. +# having a format:
  55930. +# "DIR[:DIR]:"
  55931. +# string "DIR[ DIR]" will be prepended to VARIABLE
  55932. +# ":DIR[:DIR]"
  55933. +# string "DIR[ DIR]" will be appended to VARIABLE
  55934. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  55935. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  55936. +# "DIRA[ DIRA]" will be appended to VARIABLE
  55937. +# "DIR[:DIR]"
  55938. +# VARIABLE will be replaced by "DIR[ DIR]"
  55939. +func_munge_path_list ()
  55940. +{
  55941. + case x@S|@2 in
  55942. + x)
  55943. + ;;
  55944. + *:)
  55945. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  55946. + ;;
  55947. + x:*)
  55948. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  55949. + ;;
  55950. + *::*)
  55951. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  55952. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  55953. + ;;
  55954. + *)
  55955. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  55956. + ;;
  55957. + esac
  55958. +}
  55959. +
  55960. +
  55961. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  55962. +func_cc_basename ()
  55963. +{
  55964. + for cc_temp in @S|@*""; do
  55965. + case $cc_temp in
  55966. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  55967. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  55968. + \-*) ;;
  55969. + *) break;;
  55970. + esac
  55971. + done
  55972. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  55973. +}
  55974. +
  55975. +
  55976. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  55977. +
  55978. +_LT_EOF
  55979. +
  55980. + case $host_os in
  55981. + aix3*)
  55982. + cat <<\_LT_EOF >> "$cfgfile"
  55983. +# AIX sometimes has problems with the GCC collect2 program. For some
  55984. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  55985. +# vanish in a puff of smoke.
  55986. +if test set != "${COLLECT_NAMES+set}"; then
  55987. + COLLECT_NAMES=
  55988. + export COLLECT_NAMES
  55989. +fi
  55990. +_LT_EOF
  55991. + ;;
  55992. + esac
  55993. +
  55994. +
  55995. +ltmain=$ac_aux_dir/ltmain.sh
  55996. +
  55997. +
  55998. + # We use sed instead of cat because bash on DJGPP gets confused if
  55999. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  56000. + # text mode, it properly converts lines to CR/LF. This bash problem
  56001. + # is reportedly fixed, but why not run on old versions too?
  56002. + sed '$q' "$ltmain" >> "$cfgfile" \
  56003. + || (rm -f "$cfgfile"; exit 1)
  56004. +
  56005. + mv -f "$cfgfile" "$ofile" ||
  56006. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  56007. + chmod +x "$ofile"
  56008. +
  56009. + ;;
  56010. + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
  56011. +
  56012. + esac
  56013. +done # for ac_tag
  56014. +
  56015. +
  56016. +as_fn_exit 0
  56017. +_ACEOF
  56018. +ac_clean_files=$ac_clean_files_save
  56019. +
  56020. +test $ac_write_fail = 0 ||
  56021. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  56022. +
  56023. +
  56024. +# configure is writing to config.log, and then calls config.status.
  56025. +# config.status does its own redirection, appending to config.log.
  56026. +# Unfortunately, on DOS this fails, as config.log is still kept open
  56027. +# by configure, so config.status won't be able to write to it; its
  56028. +# output is simply discarded. So we exec the FD to /dev/null,
  56029. +# effectively closing config.log, so it can be properly (re)opened and
  56030. +# appended to by config.status. When coming back to configure, we
  56031. +# need to make the FD available again.
  56032. +if test "$no_create" != yes; then
  56033. + ac_cs_success=:
  56034. + ac_config_status_args=
  56035. + test "$silent" = yes &&
  56036. + ac_config_status_args="$ac_config_status_args --quiet"
  56037. + exec 5>/dev/null
  56038. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  56039. + exec 5>>config.log
  56040. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  56041. + # would make configure fail if this is the last instruction.
  56042. + $ac_cs_success || as_fn_exit 1
  56043. +fi
  56044. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  56045. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  56046. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  56047. +fi
  56048. +
  56049. +
  56050. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  56051. + echo
  56052. + echo "WARNING:"
  56053. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  56054. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  56055. + echo "Please send me a mail ([email protected]) with the output of"
  56056. + echo "the configure script."
  56057. + echo
  56058. +fi
  56059. +
  56060. diff -Nru Fiasco-master/autom4te.cache/requests Fiasco-master-pfiasco/autom4te.cache/requests
  56061. --- Fiasco-master/autom4te.cache/requests 1969-12-31 19:00:00.000000000 -0500
  56062. +++ Fiasco-master-pfiasco/autom4te.cache/requests 2019-06-17 21:06:38.898114795 -0400
  56063. @@ -0,0 +1,526 @@
  56064. +# This file was generated.
  56065. +# It contains the lists of macros which have been traced.
  56066. +# It can be safely removed.
  56067. +
  56068. +@request = (
  56069. + bless( [
  56070. + '0',
  56071. + 1,
  56072. + [
  56073. + '/usr/share/autoconf'
  56074. + ],
  56075. + [
  56076. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  56077. + '-',
  56078. + '/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
  56079. + '/usr/share/aclocal/ltargz.m4',
  56080. + '/usr/share/aclocal/ltdl.m4',
  56081. + '/usr/share/aclocal/lt~obsolete.m4',
  56082. + '/usr/share/aclocal-1.16/amversion.m4',
  56083. + '/usr/share/aclocal-1.16/auxdir.m4',
  56084. + '/usr/share/aclocal-1.16/cond.m4',
  56085. + '/usr/share/aclocal-1.16/depend.m4',
  56086. + '/usr/share/aclocal-1.16/depout.m4',
  56087. + '/usr/share/aclocal-1.16/init.m4',
  56088. + '/usr/share/aclocal-1.16/install-sh.m4',
  56089. + '/usr/share/aclocal-1.16/lead-dot.m4',
  56090. + '/usr/share/aclocal-1.16/make.m4',
  56091. + '/usr/share/aclocal-1.16/missing.m4',
  56092. + '/usr/share/aclocal-1.16/obsolete.m4',
  56093. + '/usr/share/aclocal-1.16/options.m4',
  56094. + '/usr/share/aclocal-1.16/prog-cc-c-o.m4',
  56095. + '/usr/share/aclocal-1.16/runlog.m4',
  56096. + '/usr/share/aclocal-1.16/sanity.m4',
  56097. + '/usr/share/aclocal-1.16/silent.m4',
  56098. + '/usr/share/aclocal-1.16/strip.m4',
  56099. + '/usr/share/aclocal-1.16/substnot.m4',
  56100. + '/usr/share/aclocal-1.16/tar.m4',
  56101. + 'm4/libtool.m4',
  56102. + 'm4/ltoptions.m4',
  56103. + 'm4/ltsugar.m4',
  56104. + 'm4/ltversion.m4',
  56105. + 'm4/lt~obsolete.m4',
  56106. + 'configure.ac'
  56107. + ],
  56108. + {
  56109. + 'LT_CONFIG_LTDL_DIR' => 1,
  56110. + '_LT_AC_LANG_F77_CONFIG' => 1,
  56111. + 'LTDL_INIT' => 1,
  56112. + '_LT_PATH_TOOL_PREFIX' => 1,
  56113. + '_LT_AC_TAGCONFIG' => 1,
  56114. + 'AC_LIBTOOL_DLOPEN' => 1,
  56115. + 'AC_PROG_LD' => 1,
  56116. + 'AC_PROG_NM' => 1,
  56117. + '_LT_AC_SHELL_INIT' => 1,
  56118. + '_AM_AUTOCONF_VERSION' => 1,
  56119. + '_LT_AC_LANG_GCJ_CONFIG' => 1,
  56120. + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
  56121. + 'AC_WITH_LTDL' => 1,
  56122. + '_LT_AC_LANG_CXX_CONFIG' => 1,
  56123. + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
  56124. + 'LT_LIB_DLLOAD' => 1,
  56125. + 'AM_PROG_INSTALL_STRIP' => 1,
  56126. + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
  56127. + '_LT_CC_BASENAME' => 1,
  56128. + 'AM_PROG_LD' => 1,
  56129. + '_LT_COMPILER_BOILERPLATE' => 1,
  56130. + '_LT_AC_SYS_COMPILER' => 1,
  56131. + 'AC_LIBTOOL_SETUP' => 1,
  56132. + '_LT_COMPILER_OPTION' => 1,
  56133. + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
  56134. + '_LT_AC_LANG_C_CONFIG' => 1,
  56135. + 'LT_AC_PROG_GCJ' => 1,
  56136. + '_LTDL_SETUP' => 1,
  56137. + 'AC_LIBTOOL_FC' => 1,
  56138. + 'AC_LIBTOOL_F77' => 1,
  56139. + 'LT_SYS_MODULE_PATH' => 1,
  56140. + 'AM_SANITY_CHECK' => 1,
  56141. + 'LTDL_INSTALLABLE' => 1,
  56142. + 'AC_LTDL_SHLIBPATH' => 1,
  56143. + 'LT_SYS_DLOPEN_DEPLIBS' => 1,
  56144. + 'LT_SYS_DLOPEN_SELF' => 1,
  56145. + 'AC_DISABLE_FAST_INSTALL' => 1,
  56146. + 'AM_PROG_NM' => 1,
  56147. + 'AM_MISSING_PROG' => 1,
  56148. + 'AM_SUBST_NOTMAKE' => 1,
  56149. + 'AM_PROG_INSTALL_SH' => 1,
  56150. + 'AC_PROG_LD_RELOAD_FLAG' => 1,
  56151. + 'AC_LIBTOOL_CONFIG' => 1,
  56152. + 'AM_C_PROTOTYPES' => 1,
  56153. + 'AC_DEFUN_ONCE' => 1,
  56154. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  56155. + 'fp_C_PROTOTYPES' => 1,
  56156. + 'AM_ENABLE_SHARED' => 1,
  56157. + 'AC_DEPLIBS_CHECK_METHOD' => 1,
  56158. + 'AC_PATH_TOOL_PREFIX' => 1,
  56159. + '_AM_PROG_TAR' => 1,
  56160. + 'AC_LTDL_DLLIB' => 1,
  56161. + 'AC_ENABLE_FAST_INSTALL' => 1,
  56162. + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
  56163. + 'm4_include' => 1,
  56164. + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
  56165. + 'LTSUGAR_VERSION' => 1,
  56166. + 'LT_SYS_DLSEARCH_PATH' => 1,
  56167. + 'AC_PROG_LD_GNU' => 1,
  56168. + 'AC_ENABLE_SHARED' => 1,
  56169. + 'AC_LIBTOOL_PICMODE' => 1,
  56170. + 'LT_LANG' => 1,
  56171. + 'AC_LTDL_SHLIBEXT' => 1,
  56172. + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
  56173. + 'AU_DEFUN' => 1,
  56174. + '_AM_DEPENDENCIES' => 1,
  56175. + '_LT_AC_LOCK' => 1,
  56176. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56177. + 'LT_AC_PROG_RC' => 1,
  56178. + 'AC_LTDL_PREOPEN' => 1,
  56179. + 'LT_SYS_MODULE_EXT' => 1,
  56180. + 'AC_LIB_LTDL' => 1,
  56181. + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
  56182. + '_LT_PROG_F77' => 1,
  56183. + '_LT_PROG_CXX' => 1,
  56184. + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
  56185. + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
  56186. + '_LT_AC_TAGVAR' => 1,
  56187. + 'AC_LIBLTDL_CONVENIENCE' => 1,
  56188. + '_AM_SET_OPTIONS' => 1,
  56189. + 'AM_DISABLE_SHARED' => 1,
  56190. + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
  56191. + 'LT_INIT' => 1,
  56192. + 'LT_OUTPUT' => 1,
  56193. + 'AC_LIBLTDL_INSTALLABLE' => 1,
  56194. + '_LT_LINKER_OPTION' => 1,
  56195. + 'LT_PATH_LD' => 1,
  56196. + 'AC_LIBTOOL_GCJ' => 1,
  56197. + '_LT_AC_LANG_F77' => 1,
  56198. + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
  56199. + 'AM_CONFIG_HEADER' => 1,
  56200. + 'AM_AUTOMAKE_VERSION' => 1,
  56201. + 'AM_SET_LEADING_DOT' => 1,
  56202. + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
  56203. + 'LT_FUNC_DLSYM_USCORE' => 1,
  56204. + 'include' => 1,
  56205. + 'LT_FUNC_ARGZ' => 1,
  56206. + '_LT_AC_TRY_DLOPEN_SELF' => 1,
  56207. + 'AC_LIBTOOL_CXX' => 1,
  56208. + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
  56209. + 'AC_LTDL_OBJDIR' => 1,
  56210. + 'LT_PATH_NM' => 1,
  56211. + '_LT_AC_LANG_GCJ' => 1,
  56212. + 'LTDL_CONVENIENCE' => 1,
  56213. + 'AC_LIBTOOL_LINKER_OPTION' => 1,
  56214. + '_LT_AC_LANG_CXX' => 1,
  56215. + 'LT_AC_PROG_SED' => 1,
  56216. + '_LT_AC_CHECK_DLFCN' => 1,
  56217. + 'AC_PATH_MAGIC' => 1,
  56218. + 'AM_SILENT_RULES' => 1,
  56219. + 'LTOPTIONS_VERSION' => 1,
  56220. + '_LT_AC_LANG_RC_CONFIG' => 1,
  56221. + 'AC_DISABLE_SHARED' => 1,
  56222. + '_LT_PREPARE_SED_QUOTE_VARS' => 1,
  56223. + 'AM_PROG_CC_C_O' => 1,
  56224. + 'AM_RUN_LOG' => 1,
  56225. + 'LT_PROG_RC' => 1,
  56226. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  56227. + 'AC_CHECK_LIBM' => 1,
  56228. + '_LT_AC_PROG_CXXCPP' => 1,
  56229. + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
  56230. + 'AC_LTDL_DLSYM_USCORE' => 1,
  56231. + 'AM_AUX_DIR_EXPAND' => 1,
  56232. + 'LT_LIB_M' => 1,
  56233. + 'LTVERSION_VERSION' => 1,
  56234. + 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
  56235. + '_AM_MANGLE_OPTION' => 1,
  56236. + 'AC_LIBTOOL_OBJDIR' => 1,
  56237. + '_LT_PROG_ECHO_BACKSLASH' => 1,
  56238. + 'AM_DEP_TRACK' => 1,
  56239. + 'AM_CONDITIONAL' => 1,
  56240. + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
  56241. + 'm4_pattern_allow' => 1,
  56242. + '_LT_PROG_FC' => 1,
  56243. + 'm4_pattern_forbid' => 1,
  56244. + 'AM_MAKE_INCLUDE' => 1,
  56245. + '_LT_LIBOBJ' => 1,
  56246. + '_AC_PROG_LIBTOOL' => 1,
  56247. + 'AM_MISSING_HAS_RUN' => 1,
  56248. + '_LT_LINKER_BOILERPLATE' => 1,
  56249. + 'AC_LTDL_ENABLE_INSTALL' => 1,
  56250. + 'LTOBSOLETE_VERSION' => 1,
  56251. + '_LT_AC_SYS_LIBPATH_AIX' => 1,
  56252. + 'LT_SYS_SYMBOL_USCORE' => 1,
  56253. + '_m4_warn' => 1,
  56254. + 'AM_DISABLE_STATIC' => 1,
  56255. + 'AC_PROG_LIBTOOL' => 1,
  56256. + 'AC_LTDL_SYMBOL_USCORE' => 1,
  56257. + '_AM_SET_OPTION' => 1,
  56258. + 'LT_WITH_LTDL' => 1,
  56259. + 'LT_PROG_GCJ' => 1,
  56260. + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
  56261. + 'AM_INIT_AUTOMAKE' => 1,
  56262. + 'AC_LIBTOOL_RC' => 1,
  56263. + 'AM_ENABLE_STATIC' => 1,
  56264. + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
  56265. + 'AC_CONFIG_MACRO_DIR' => 1,
  56266. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56267. + '_LT_REQUIRED_DARWIN_CHECKS' => 1,
  56268. + '_AM_IF_OPTION' => 1,
  56269. + 'AC_DISABLE_STATIC' => 1,
  56270. + 'AC_LTDL_SYSSEARCHPATH' => 1,
  56271. + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
  56272. + 'LT_CMD_MAX_LEN' => 1,
  56273. + '_LT_PROG_LTMAIN' => 1,
  56274. + 'AC_PROG_EGREP' => 1,
  56275. + 'AC_LIBTOOL_WIN32_DLL' => 1,
  56276. + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
  56277. + 'LT_AC_PROG_EGREP' => 1,
  56278. + '_AM_SUBST_NOTMAKE' => 1,
  56279. + 'AC_ENABLE_STATIC' => 1,
  56280. + 'AM_PROG_CC_STDC' => 1,
  56281. + 'AC_DEFUN' => 1,
  56282. + 'AM_SET_DEPDIR' => 1,
  56283. + 'LT_SUPPORTED_TAG' => 1,
  56284. + '_LT_AC_FILE_LTDLL_C' => 1,
  56285. + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
  56286. + '_AM_CONFIG_MACRO_DIRS' => 1,
  56287. + '_AM_PROG_CC_C_O' => 1,
  56288. + 'AM_PROG_LIBTOOL' => 1
  56289. + }
  56290. + ], 'Autom4te::Request' ),
  56291. + bless( [
  56292. + '1',
  56293. + 1,
  56294. + [
  56295. + '/usr/share/autoconf'
  56296. + ],
  56297. + [
  56298. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  56299. + 'aclocal.m4',
  56300. + 'configure.ac'
  56301. + ],
  56302. + {
  56303. + 'AC_FC_PP_DEFINE' => 1,
  56304. + 'AH_OUTPUT' => 1,
  56305. + 'AM_PROG_F77_C_O' => 1,
  56306. + 'LT_SUPPORTED_TAG' => 1,
  56307. + 'AM_PROG_FC_C_O' => 1,
  56308. + 'AM_PROG_MKDIR_P' => 1,
  56309. + 'AM_ENABLE_MULTILIB' => 1,
  56310. + 'm4_pattern_allow' => 1,
  56311. + 'AC_SUBST' => 1,
  56312. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  56313. + 'AC_CANONICAL_SYSTEM' => 1,
  56314. + 'AC_CONFIG_SUBDIRS' => 1,
  56315. + '_AM_SUBST_NOTMAKE' => 1,
  56316. + '_AM_MAKEFILE_INCLUDE' => 1,
  56317. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  56318. + 'AM_CONDITIONAL' => 1,
  56319. + 'AM_NLS' => 1,
  56320. + 'AM_PROG_CXX_C_O' => 1,
  56321. + 'sinclude' => 1,
  56322. + 'AM_SILENT_RULES' => 1,
  56323. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  56324. + 'AC_FC_FREEFORM' => 1,
  56325. + 'AC_CANONICAL_HOST' => 1,
  56326. + 'AC_CONFIG_FILES' => 1,
  56327. + 'AM_GNU_GETTEXT' => 1,
  56328. + 'AC_CANONICAL_TARGET' => 1,
  56329. + 'AM_PROG_CC_C_O' => 1,
  56330. + 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
  56331. + 'AC_FC_PP_SRCEXT' => 1,
  56332. + 'AM_PROG_AR' => 1,
  56333. + 'm4_sinclude' => 1,
  56334. + 'AC_CONFIG_AUX_DIR' => 1,
  56335. + 'm4_include' => 1,
  56336. + 'AC_REQUIRE_AUX_FILE' => 1,
  56337. + 'AM_PROG_MOC' => 1,
  56338. + '_AM_COND_IF' => 1,
  56339. + 'AC_LIBSOURCE' => 1,
  56340. + 'AC_FC_SRCEXT' => 1,
  56341. + 'include' => 1,
  56342. + 'AM_XGETTEXT_OPTION' => 1,
  56343. + 'AM_MAKEFILE_INCLUDE' => 1,
  56344. + 'AC_PROG_LIBTOOL' => 1,
  56345. + 'AC_SUBST_TRACE' => 1,
  56346. + '_AM_COND_ENDIF' => 1,
  56347. + 'AM_INIT_AUTOMAKE' => 1,
  56348. + '_AM_COND_ELSE' => 1,
  56349. + 'AM_PATH_GUILE' => 1,
  56350. + 'AC_CONFIG_LINKS' => 1,
  56351. + 'AM_POT_TOOLS' => 1,
  56352. + 'LT_INIT' => 1,
  56353. + '_LT_AC_TAGCONFIG' => 1,
  56354. + '_m4_warn' => 1,
  56355. + 'AC_INIT' => 1,
  56356. + 'AC_CONFIG_HEADERS' => 1,
  56357. + 'AM_AUTOMAKE_VERSION' => 1,
  56358. + 'AC_CANONICAL_BUILD' => 1,
  56359. + 'm4_pattern_forbid' => 1,
  56360. + 'LT_CONFIG_LTDL_DIR' => 1,
  56361. + 'AM_MAINTAINER_MODE' => 1
  56362. + }
  56363. + ], 'Autom4te::Request' ),
  56364. + bless( [
  56365. + '2',
  56366. + 1,
  56367. + [
  56368. + '/usr/share/autoconf'
  56369. + ],
  56370. + [
  56371. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  56372. + '-',
  56373. + '/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
  56374. + '/usr/share/aclocal/ltargz.m4',
  56375. + '/usr/share/aclocal/ltdl.m4',
  56376. + '/usr/share/aclocal-1.16/amversion.m4',
  56377. + '/usr/share/aclocal-1.16/auxdir.m4',
  56378. + '/usr/share/aclocal-1.16/cond.m4',
  56379. + '/usr/share/aclocal-1.16/depend.m4',
  56380. + '/usr/share/aclocal-1.16/depout.m4',
  56381. + '/usr/share/aclocal-1.16/init.m4',
  56382. + '/usr/share/aclocal-1.16/install-sh.m4',
  56383. + '/usr/share/aclocal-1.16/lead-dot.m4',
  56384. + '/usr/share/aclocal-1.16/make.m4',
  56385. + '/usr/share/aclocal-1.16/missing.m4',
  56386. + '/usr/share/aclocal-1.16/obsolete.m4',
  56387. + '/usr/share/aclocal-1.16/options.m4',
  56388. + '/usr/share/aclocal-1.16/prog-cc-c-o.m4',
  56389. + '/usr/share/aclocal-1.16/runlog.m4',
  56390. + '/usr/share/aclocal-1.16/sanity.m4',
  56391. + '/usr/share/aclocal-1.16/silent.m4',
  56392. + '/usr/share/aclocal-1.16/strip.m4',
  56393. + '/usr/share/aclocal-1.16/substnot.m4',
  56394. + '/usr/share/aclocal-1.16/tar.m4',
  56395. + 'm4/libtool.m4',
  56396. + 'm4/ltoptions.m4',
  56397. + 'm4/ltsugar.m4',
  56398. + 'm4/ltversion.m4',
  56399. + 'm4/lt~obsolete.m4',
  56400. + 'configure.ac'
  56401. + ],
  56402. + {
  56403. + '_AM_MANGLE_OPTION' => 1,
  56404. + 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
  56405. + '_LT_PROG_ECHO_BACKSLASH' => 1,
  56406. + 'AM_DEP_TRACK' => 1,
  56407. + 'AC_LIBTOOL_OBJDIR' => 1,
  56408. + 'AM_CONDITIONAL' => 1,
  56409. + 'AC_LTDL_DLSYM_USCORE' => 1,
  56410. + 'AM_AUX_DIR_EXPAND' => 1,
  56411. + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
  56412. + 'LT_LIB_M' => 1,
  56413. + 'LTVERSION_VERSION' => 1,
  56414. + 'm4_pattern_allow' => 1,
  56415. + '_LT_PROG_FC' => 1,
  56416. + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
  56417. + 'AC_PATH_MAGIC' => 1,
  56418. + '_LT_AC_CHECK_DLFCN' => 1,
  56419. + 'AM_PROG_CC_C_O' => 1,
  56420. + '_LT_PREPARE_SED_QUOTE_VARS' => 1,
  56421. + 'AM_RUN_LOG' => 1,
  56422. + 'LT_PROG_RC' => 1,
  56423. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  56424. + 'AC_CHECK_LIBM' => 1,
  56425. + '_LT_AC_PROG_CXXCPP' => 1,
  56426. + 'AM_SILENT_RULES' => 1,
  56427. + 'AC_DISABLE_SHARED' => 1,
  56428. + 'LTOPTIONS_VERSION' => 1,
  56429. + '_LT_AC_LANG_RC_CONFIG' => 1,
  56430. + 'LT_FUNC_ARGZ' => 1,
  56431. + 'AC_LIBTOOL_CXX' => 1,
  56432. + '_LT_AC_TRY_DLOPEN_SELF' => 1,
  56433. + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
  56434. + 'LT_PATH_NM' => 1,
  56435. + 'AC_LTDL_OBJDIR' => 1,
  56436. + 'LT_FUNC_DLSYM_USCORE' => 1,
  56437. + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
  56438. + 'include' => 1,
  56439. + '_LT_AC_LANG_GCJ' => 1,
  56440. + 'AC_LIBTOOL_LINKER_OPTION' => 1,
  56441. + 'LTDL_CONVENIENCE' => 1,
  56442. + '_LT_AC_LANG_CXX' => 1,
  56443. + 'LT_AC_PROG_SED' => 1,
  56444. + '_AM_SET_OPTIONS' => 1,
  56445. + 'AM_DISABLE_SHARED' => 1,
  56446. + 'AC_LIBLTDL_CONVENIENCE' => 1,
  56447. + '_LT_AC_LANG_F77' => 1,
  56448. + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
  56449. + 'AC_LIBTOOL_GCJ' => 1,
  56450. + 'AM_AUTOMAKE_VERSION' => 1,
  56451. + 'AM_CONFIG_HEADER' => 1,
  56452. + 'AM_SET_LEADING_DOT' => 1,
  56453. + 'LT_INIT' => 1,
  56454. + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
  56455. + '_LT_LINKER_OPTION' => 1,
  56456. + 'AC_LIBLTDL_INSTALLABLE' => 1,
  56457. + 'LT_OUTPUT' => 1,
  56458. + 'LT_PATH_LD' => 1,
  56459. + 'AC_DEFUN' => 1,
  56460. + 'AM_PROG_CC_STDC' => 1,
  56461. + 'LT_AC_PROG_EGREP' => 1,
  56462. + '_AM_SUBST_NOTMAKE' => 1,
  56463. + 'LT_PROG_GO' => 1,
  56464. + 'AC_ENABLE_STATIC' => 1,
  56465. + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
  56466. + '_AM_PROG_CC_C_O' => 1,
  56467. + '_AM_CONFIG_MACRO_DIRS' => 1,
  56468. + 'AM_PROG_LIBTOOL' => 1,
  56469. + 'AM_SET_DEPDIR' => 1,
  56470. + 'LT_SUPPORTED_TAG' => 1,
  56471. + '_LT_AC_FILE_LTDLL_C' => 1,
  56472. + 'AC_LTDL_SYSSEARCHPATH' => 1,
  56473. + '_AM_IF_OPTION' => 1,
  56474. + 'AC_DISABLE_STATIC' => 1,
  56475. + 'AC_LIBTOOL_WIN32_DLL' => 1,
  56476. + 'AC_PROG_EGREP' => 1,
  56477. + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
  56478. + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
  56479. + 'LT_CMD_MAX_LEN' => 1,
  56480. + '_LT_PROG_LTMAIN' => 1,
  56481. + 'AM_INIT_AUTOMAKE' => 1,
  56482. + 'AC_LIBTOOL_RC' => 1,
  56483. + 'AC_PROG_LIBTOOL' => 1,
  56484. + 'AC_LTDL_SYMBOL_USCORE' => 1,
  56485. + 'LT_PROG_GCJ' => 1,
  56486. + '_AM_SET_OPTION' => 1,
  56487. + 'LT_WITH_LTDL' => 1,
  56488. + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
  56489. + '_LT_DLL_DEF_P' => 1,
  56490. + 'AM_ENABLE_STATIC' => 1,
  56491. + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
  56492. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56493. + 'AC_CONFIG_MACRO_DIR' => 1,
  56494. + '_LT_REQUIRED_DARWIN_CHECKS' => 1,
  56495. + '_LT_LIBOBJ' => 1,
  56496. + 'AM_MAKE_INCLUDE' => 1,
  56497. + 'AM_MISSING_HAS_RUN' => 1,
  56498. + '_AC_PROG_LIBTOOL' => 1,
  56499. + 'm4_pattern_forbid' => 1,
  56500. + '_LT_AC_SYS_LIBPATH_AIX' => 1,
  56501. + 'LT_SYS_SYMBOL_USCORE' => 1,
  56502. + 'AM_DISABLE_STATIC' => 1,
  56503. + '_m4_warn' => 1,
  56504. + '_LT_LINKER_BOILERPLATE' => 1,
  56505. + 'LTOBSOLETE_VERSION' => 1,
  56506. + 'AC_LTDL_ENABLE_INSTALL' => 1,
  56507. + 'AM_SANITY_CHECK' => 1,
  56508. + 'AC_LTDL_SHLIBPATH' => 1,
  56509. + 'LTDL_INSTALLABLE' => 1,
  56510. + 'LT_SYS_MODULE_PATH' => 1,
  56511. + '_LT_WITH_SYSROOT' => 1,
  56512. + 'LT_SYS_DLOPEN_DEPLIBS' => 1,
  56513. + 'LT_SYS_DLOPEN_SELF' => 1,
  56514. + 'AM_PROG_NM' => 1,
  56515. + 'AC_DISABLE_FAST_INSTALL' => 1,
  56516. + '_LT_COMPILER_BOILERPLATE' => 1,
  56517. + '_LT_AC_SYS_COMPILER' => 1,
  56518. + 'AC_LIBTOOL_SETUP' => 1,
  56519. + '_LT_AC_LANG_C_CONFIG' => 1,
  56520. + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
  56521. + '_LT_COMPILER_OPTION' => 1,
  56522. + 'AM_PROG_LD' => 1,
  56523. + '_LT_CC_BASENAME' => 1,
  56524. + '_LTDL_SETUP' => 1,
  56525. + 'LT_AC_PROG_GCJ' => 1,
  56526. + 'AC_LIBTOOL_F77' => 1,
  56527. + 'AC_LIBTOOL_FC' => 1,
  56528. + '_AM_AUTOCONF_VERSION' => 1,
  56529. + 'AC_WITH_LTDL' => 1,
  56530. + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
  56531. + '_LT_AC_LANG_GCJ_CONFIG' => 1,
  56532. + '_LT_AC_LANG_CXX_CONFIG' => 1,
  56533. + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
  56534. + 'AC_PROG_NM' => 1,
  56535. + '_LT_AC_SHELL_INIT' => 1,
  56536. + 'AM_PROG_INSTALL_STRIP' => 1,
  56537. + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
  56538. + 'LT_LIB_DLLOAD' => 1,
  56539. + 'LTDL_INIT' => 1,
  56540. + '_LT_PATH_TOOL_PREFIX' => 1,
  56541. + '_LT_AC_LANG_F77_CONFIG' => 1,
  56542. + 'LT_CONFIG_LTDL_DIR' => 1,
  56543. + 'AC_PROG_LD' => 1,
  56544. + '_LT_AC_TAGCONFIG' => 1,
  56545. + 'AC_LIBTOOL_DLOPEN' => 1,
  56546. + 'AC_LTDL_PREOPEN' => 1,
  56547. + 'LT_AC_PROG_RC' => 1,
  56548. + 'LT_SYS_MODULE_EXT' => 1,
  56549. + '_LT_AC_TAGVAR' => 1,
  56550. + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
  56551. + 'AC_LIB_LTDL' => 1,
  56552. + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
  56553. + '_LT_PROG_CXX' => 1,
  56554. + '_LT_PROG_F77' => 1,
  56555. + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
  56556. + 'LT_LANG' => 1,
  56557. + 'AC_LTDL_SHLIBEXT' => 1,
  56558. + 'AC_ENABLE_SHARED' => 1,
  56559. + 'AC_LIBTOOL_PICMODE' => 1,
  56560. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  56561. + '_LT_AC_LOCK' => 1,
  56562. + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
  56563. + 'AU_DEFUN' => 1,
  56564. + '_AM_DEPENDENCIES' => 1,
  56565. + 'AC_LTDL_DLLIB' => 1,
  56566. + 'AC_DEPLIBS_CHECK_METHOD' => 1,
  56567. + 'AC_PATH_TOOL_PREFIX' => 1,
  56568. + '_AM_PROG_TAR' => 1,
  56569. + 'LT_SYS_DLSEARCH_PATH' => 1,
  56570. + 'AC_PROG_LD_GNU' => 1,
  56571. + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
  56572. + 'AC_ENABLE_FAST_INSTALL' => 1,
  56573. + 'm4_include' => 1,
  56574. + 'LTSUGAR_VERSION' => 1,
  56575. + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
  56576. + 'AC_PROG_LD_RELOAD_FLAG' => 1,
  56577. + 'AM_PROG_INSTALL_SH' => 1,
  56578. + 'AC_LIBTOOL_CONFIG' => 1,
  56579. + 'AM_MISSING_PROG' => 1,
  56580. + 'AM_SUBST_NOTMAKE' => 1,
  56581. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  56582. + 'fp_C_PROTOTYPES' => 1,
  56583. + 'AM_ENABLE_SHARED' => 1,
  56584. + 'AM_C_PROTOTYPES' => 1,
  56585. + 'AC_DEFUN_ONCE' => 1
  56586. + }
  56587. + ], 'Autom4te::Request' )
  56588. + );
  56589. +
  56590. diff -Nru Fiasco-master/autom4te.cache/traces.0 Fiasco-master-pfiasco/autom4te.cache/traces.0
  56591. --- Fiasco-master/autom4te.cache/traces.0 1969-12-31 19:00:00.000000000 -0500
  56592. +++ Fiasco-master-pfiasco/autom4te.cache/traces.0 2019-06-17 20:58:41.119215287 -0400
  56593. @@ -0,0 +1,2711 @@
  56594. +m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
  56595. +AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
  56596. +
  56597. +AC_CHECK_TYPES([error_t],
  56598. + [],
  56599. + [AC_DEFINE([error_t], [int],
  56600. + [Define to a type to use for 'error_t' if it is not otherwise available.])
  56601. + AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
  56602. + does not typedef error_t.])],
  56603. + [#if defined(HAVE_ARGZ_H)
  56604. +# include <argz.h>
  56605. +#endif])
  56606. +
  56607. +LT_ARGZ_H=
  56608. +AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
  56609. + argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
  56610. +
  56611. +dnl if have system argz functions, allow forced use of
  56612. +dnl libltdl-supplied implementation (and default to do so
  56613. +dnl on "known bad" systems). Could use a runtime check, but
  56614. +dnl (a) detecting malloc issues is notoriously unreliable
  56615. +dnl (b) only known system that declares argz functions,
  56616. +dnl provides them, yet they are broken, is cygwin
  56617. +dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
  56618. +dnl So, it's more straightforward simply to special case
  56619. +dnl this for known bad systems.
  56620. +AS_IF([test -z "$LT_ARGZ_H"],
  56621. + [AC_CACHE_CHECK(
  56622. + [if argz actually works],
  56623. + [lt_cv_sys_argz_works],
  56624. + [[case $host_os in #(
  56625. + *cygwin*)
  56626. + lt_cv_sys_argz_works=no
  56627. + if test no != "$cross_compiling"; then
  56628. + lt_cv_sys_argz_works="guessing no"
  56629. + else
  56630. + lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  56631. + save_IFS=$IFS
  56632. + IFS=-.
  56633. + set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  56634. + IFS=$save_IFS
  56635. + lt_os_major=${2-0}
  56636. + lt_os_minor=${3-0}
  56637. + lt_os_micro=${4-0}
  56638. + if test 1 -lt "$lt_os_major" \
  56639. + || { test 1 -eq "$lt_os_major" \
  56640. + && { test 5 -lt "$lt_os_minor" \
  56641. + || { test 5 -eq "$lt_os_minor" \
  56642. + && test 24 -lt "$lt_os_micro"; }; }; }; then
  56643. + lt_cv_sys_argz_works=yes
  56644. + fi
  56645. + fi
  56646. + ;; #(
  56647. + *) lt_cv_sys_argz_works=yes ;;
  56648. + esac]])
  56649. + AS_IF([test yes = "$lt_cv_sys_argz_works"],
  56650. + [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
  56651. + [This value is set to 1 to indicate that the system argz facility works])],
  56652. + [LT_ARGZ_H=lt__argz.h
  56653. + AC_LIBOBJ([lt__argz])])])
  56654. +
  56655. +AC_SUBST([LT_ARGZ_H])
  56656. +])
  56657. +m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
  56658. +_$0($*)
  56659. +])
  56660. +m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  56661. +dnl Although the argument is deprecated and no longer documented,
  56662. +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
  56663. +dnl here make sure it is the same as any other declaration of libltdl's
  56664. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  56665. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  56666. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  56667. +_$0()
  56668. +])
  56669. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56670. +_LTDL_CONVENIENCE])
  56671. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
  56672. +You should run autoupdate.])dnl
  56673. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56674. +_LTDL_CONVENIENCE])
  56675. +m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  56676. +dnl Although the argument is deprecated and no longer documented,
  56677. +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  56678. +dnl here make sure it is the same as any other declaration of libltdl's
  56679. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  56680. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  56681. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  56682. +_$0()
  56683. +])
  56684. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56685. +_LTDL_INSTALLABLE])
  56686. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
  56687. +You should run autoupdate.])dnl
  56688. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  56689. +_LTDL_INSTALLABLE])
  56690. +m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
  56691. + m4_pattern_allow([^_LT_LIBOBJS$])
  56692. + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
  56693. +])
  56694. +m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
  56695. +_LT_SET_OPTIONS([$0], [$1])
  56696. +
  56697. +dnl We need to keep our own list of libobjs separate from our parent project,
  56698. +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  56699. +dnl we look for our own LIBOBJs.
  56700. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  56701. +m4_pushdef([AC_LIBSOURCES])
  56702. +
  56703. +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  56704. +m4_if(_LTDL_MODE, [],
  56705. + [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
  56706. + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
  56707. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
  56708. +
  56709. +AC_ARG_WITH([included_ltdl],
  56710. + [AS_HELP_STRING([--with-included-ltdl],
  56711. + [use the GNU ltdl sources included here])])
  56712. +
  56713. +if test yes != "$with_included_ltdl"; then
  56714. + # We are not being forced to use the included libltdl sources, so
  56715. + # decide whether there is a useful installed version we can use.
  56716. + AC_CHECK_HEADER([ltdl.h],
  56717. + [AC_CHECK_DECL([lt_dlinterface_register],
  56718. + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
  56719. + [with_included_ltdl=no],
  56720. + [with_included_ltdl=yes])],
  56721. + [with_included_ltdl=yes],
  56722. + [AC_INCLUDES_DEFAULT
  56723. + #include <ltdl.h>])],
  56724. + [with_included_ltdl=yes],
  56725. + [AC_INCLUDES_DEFAULT]
  56726. + )
  56727. +fi
  56728. +
  56729. +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  56730. +dnl was called yet, then for old times' sake, we assume libltdl is in an
  56731. +dnl eponymous directory:
  56732. +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  56733. +
  56734. +AC_ARG_WITH([ltdl_include],
  56735. + [AS_HELP_STRING([--with-ltdl-include=DIR],
  56736. + [use the ltdl headers installed in DIR])])
  56737. +
  56738. +if test -n "$with_ltdl_include"; then
  56739. + if test -f "$with_ltdl_include/ltdl.h"; then :
  56740. + else
  56741. + AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
  56742. + fi
  56743. +else
  56744. + with_ltdl_include=no
  56745. +fi
  56746. +
  56747. +AC_ARG_WITH([ltdl_lib],
  56748. + [AS_HELP_STRING([--with-ltdl-lib=DIR],
  56749. + [use the libltdl.la installed in DIR])])
  56750. +
  56751. +if test -n "$with_ltdl_lib"; then
  56752. + if test -f "$with_ltdl_lib/libltdl.la"; then :
  56753. + else
  56754. + AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
  56755. + fi
  56756. +else
  56757. + with_ltdl_lib=no
  56758. +fi
  56759. +
  56760. +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
  56761. + ,yes,no,no,)
  56762. + m4_case(m4_default(_LTDL_TYPE, [convenience]),
  56763. + [convenience], [_LTDL_CONVENIENCE],
  56764. + [installable], [_LTDL_INSTALLABLE],
  56765. + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
  56766. + ;;
  56767. + ,no,no,no,)
  56768. + # If the included ltdl is not to be used, then use the
  56769. + # preinstalled libltdl we found.
  56770. + AC_DEFINE([HAVE_LTDL], [1],
  56771. + [Define this if a modern libltdl is already installed])
  56772. + LIBLTDL=-lltdl
  56773. + LTDLDEPS=
  56774. + LTDLINCL=
  56775. + ;;
  56776. + ,no*,no,*)
  56777. + AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
  56778. + ;;
  56779. + *) with_included_ltdl=no
  56780. + LIBLTDL="-L$with_ltdl_lib -lltdl"
  56781. + LTDLDEPS=
  56782. + LTDLINCL=-I$with_ltdl_include
  56783. + ;;
  56784. +esac
  56785. +INCLTDL=$LTDLINCL
  56786. +
  56787. +# Report our decision...
  56788. +AC_MSG_CHECKING([where to find libltdl headers])
  56789. +AC_MSG_RESULT([$LTDLINCL])
  56790. +AC_MSG_CHECKING([where to find libltdl library])
  56791. +AC_MSG_RESULT([$LIBLTDL])
  56792. +
  56793. +_LTDL_SETUP
  56794. +
  56795. +dnl restore autoconf definition.
  56796. +m4_popdef([AC_LIBOBJ])
  56797. +m4_popdef([AC_LIBSOURCES])
  56798. +
  56799. +AC_CONFIG_COMMANDS_PRE([
  56800. + _ltdl_libobjs=
  56801. + _ltdl_ltlibobjs=
  56802. + if test -n "$_LT_LIBOBJS"; then
  56803. + # Remove the extension.
  56804. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
  56805. + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
  56806. + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
  56807. + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
  56808. + done
  56809. + fi
  56810. + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
  56811. + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
  56812. +])
  56813. +
  56814. +# Only expand once:
  56815. +m4_define([LTDL_INIT])
  56816. +])
  56817. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  56818. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
  56819. +You should run autoupdate.])dnl
  56820. +LTDL_INIT($@)])
  56821. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  56822. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
  56823. +You should run autoupdate.])dnl
  56824. +LTDL_INIT($@)])
  56825. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  56826. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
  56827. +You should run autoupdate.])dnl
  56828. +LTDL_INIT($@)])
  56829. +m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
  56830. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  56831. +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  56832. +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  56833. +AC_REQUIRE([LT_LIB_DLLOAD])dnl
  56834. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  56835. +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  56836. +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  56837. +AC_REQUIRE([LT_FUNC_ARGZ])dnl
  56838. +
  56839. +m4_require([_LT_CHECK_OBJDIR])dnl
  56840. +m4_require([_LT_HEADER_DLFCN])dnl
  56841. +m4_require([_LT_CHECK_DLPREOPEN])dnl
  56842. +m4_require([_LT_DECL_SED])dnl
  56843. +
  56844. +dnl Don't require this, or it will be expanded earlier than the code
  56845. +dnl that sets the variables it relies on:
  56846. +_LT_ENABLE_INSTALL
  56847. +
  56848. +dnl _LTDL_MODE specific code must be called at least once:
  56849. +_LTDL_MODE_DISPATCH
  56850. +
  56851. +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  56852. +# the user used. This is so that ltdl.h can pick up the parent projects
  56853. +# config.h file, The first file in AC_CONFIG_HEADERS must contain the
  56854. +# definitions required by ltdl.c.
  56855. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  56856. +AC_CONFIG_COMMANDS_PRE([dnl
  56857. +m4_pattern_allow([^LT_CONFIG_H$])dnl
  56858. +m4_ifset([AH_HEADER],
  56859. + [LT_CONFIG_H=AH_HEADER],
  56860. + [m4_ifset([AC_LIST_HEADERS],
  56861. + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
  56862. + [])])])
  56863. +AC_SUBST([LT_CONFIG_H])
  56864. +
  56865. +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  56866. + [], [], [AC_INCLUDES_DEFAULT])
  56867. +
  56868. +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  56869. +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  56870. +
  56871. +m4_pattern_allow([LT_LIBEXT])dnl
  56872. +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  56873. +
  56874. +name=
  56875. +eval "lt_libprefix=\"$libname_spec\""
  56876. +m4_pattern_allow([LT_LIBPREFIX])dnl
  56877. +AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
  56878. +
  56879. +name=ltdl
  56880. +eval "LTDLOPEN=\"$libname_spec\""
  56881. +AC_SUBST([LTDLOPEN])
  56882. +])
  56883. +m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  56884. +AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
  56885. + [lt_cv_sys_dlopen_deplibs],
  56886. + [# PORTME does your system automatically load deplibs for dlopen?
  56887. + # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  56888. + # For now, we just catch OSes we know something about -- in the
  56889. + # future, we'll try test this programmatically.
  56890. + lt_cv_sys_dlopen_deplibs=unknown
  56891. + case $host_os in
  56892. + aix3*|aix4.1.*|aix4.2.*)
  56893. + # Unknown whether this is true for these versions of AIX, but
  56894. + # we want this 'case' here to explicitly catch those versions.
  56895. + lt_cv_sys_dlopen_deplibs=unknown
  56896. + ;;
  56897. + aix[[4-9]]*)
  56898. + lt_cv_sys_dlopen_deplibs=yes
  56899. + ;;
  56900. + amigaos*)
  56901. + case $host_cpu in
  56902. + powerpc)
  56903. + lt_cv_sys_dlopen_deplibs=no
  56904. + ;;
  56905. + esac
  56906. + ;;
  56907. + bitrig*)
  56908. + lt_cv_sys_dlopen_deplibs=yes
  56909. + ;;
  56910. + darwin*)
  56911. + # Assuming the user has installed a libdl from somewhere, this is true
  56912. + # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  56913. + lt_cv_sys_dlopen_deplibs=yes
  56914. + ;;
  56915. + freebsd* | dragonfly*)
  56916. + lt_cv_sys_dlopen_deplibs=yes
  56917. + ;;
  56918. + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  56919. + # GNU and its variants, using gnu ld.so (Glibc)
  56920. + lt_cv_sys_dlopen_deplibs=yes
  56921. + ;;
  56922. + hpux10*|hpux11*)
  56923. + lt_cv_sys_dlopen_deplibs=yes
  56924. + ;;
  56925. + interix*)
  56926. + lt_cv_sys_dlopen_deplibs=yes
  56927. + ;;
  56928. + irix[[12345]]*|irix6.[[01]]*)
  56929. + # Catch all versions of IRIX before 6.2, and indicate that we don't
  56930. + # know how it worked for any of those versions.
  56931. + lt_cv_sys_dlopen_deplibs=unknown
  56932. + ;;
  56933. + irix*)
  56934. + # The case above catches anything before 6.2, and it's known that
  56935. + # at 6.2 and later dlopen does load deplibs.
  56936. + lt_cv_sys_dlopen_deplibs=yes
  56937. + ;;
  56938. + netbsd*)
  56939. + lt_cv_sys_dlopen_deplibs=yes
  56940. + ;;
  56941. + openbsd*)
  56942. + lt_cv_sys_dlopen_deplibs=yes
  56943. + ;;
  56944. + osf[[1234]]*)
  56945. + # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  56946. + # it did *not* use an RPATH in a shared library to find objects the
  56947. + # library depends on, so we explicitly say 'no'.
  56948. + lt_cv_sys_dlopen_deplibs=no
  56949. + ;;
  56950. + osf5.0|osf5.0a|osf5.1)
  56951. + # dlopen *does* load deplibs and with the right loader patch applied
  56952. + # it even uses RPATH in a shared library to search for shared objects
  56953. + # that the library depends on, but there's no easy way to know if that
  56954. + # patch is installed. Since this is the case, all we can really
  56955. + # say is unknown -- it depends on the patch being installed. If
  56956. + # it is, this changes to 'yes'. Without it, it would be 'no'.
  56957. + lt_cv_sys_dlopen_deplibs=unknown
  56958. + ;;
  56959. + osf*)
  56960. + # the two cases above should catch all versions of osf <= 5.1. Read
  56961. + # the comments above for what we know about them.
  56962. + # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  56963. + # is used to find them so we can finally say 'yes'.
  56964. + lt_cv_sys_dlopen_deplibs=yes
  56965. + ;;
  56966. + qnx*)
  56967. + lt_cv_sys_dlopen_deplibs=yes
  56968. + ;;
  56969. + solaris*)
  56970. + lt_cv_sys_dlopen_deplibs=yes
  56971. + ;;
  56972. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  56973. + libltdl_cv_sys_dlopen_deplibs=yes
  56974. + ;;
  56975. + esac
  56976. + ])
  56977. +if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  56978. + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  56979. + [Define if the OS needs help to load dependent libraries for dlopen().])
  56980. +fi
  56981. +])
  56982. +m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  56983. +m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
  56984. +You should run autoupdate.])dnl
  56985. +m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  56986. +m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  56987. +AC_CACHE_CHECK([what extension is used for runtime loadable modules],
  56988. + [libltdl_cv_shlibext],
  56989. +[
  56990. +module=yes
  56991. +eval libltdl_cv_shlibext=$shrext_cmds
  56992. +module=no
  56993. +eval libltdl_cv_shrext=$shrext_cmds
  56994. + ])
  56995. +if test -n "$libltdl_cv_shlibext"; then
  56996. + m4_pattern_allow([LT_MODULE_EXT])dnl
  56997. + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  56998. + [Define to the extension used for runtime loadable modules, say, ".so".])
  56999. +fi
  57000. +if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  57001. + m4_pattern_allow([LT_SHARED_EXT])dnl
  57002. + AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
  57003. + [Define to the shared library suffix, say, ".dylib".])
  57004. +fi
  57005. +if test -n "$shared_archive_member_spec"; then
  57006. + m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
  57007. + AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
  57008. + [Define to the shared archive member specification, say "(shr.o)".])
  57009. +fi
  57010. +])
  57011. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  57012. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
  57013. +You should run autoupdate.])dnl
  57014. +m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  57015. +m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  57016. +AC_CACHE_CHECK([what variable specifies run-time module search path],
  57017. + [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
  57018. +if test -n "$lt_cv_module_path_var"; then
  57019. + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  57020. + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  57021. + [Define to the name of the environment variable that determines the run-time module search path.])
  57022. +fi
  57023. +])
  57024. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  57025. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
  57026. +You should run autoupdate.])dnl
  57027. +m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  57028. +m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  57029. +AC_CACHE_CHECK([for the default library search path],
  57030. + [lt_cv_sys_dlsearch_path],
  57031. + [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
  57032. +if test -n "$lt_cv_sys_dlsearch_path"; then
  57033. + sys_dlsearch_path=
  57034. + for dir in $lt_cv_sys_dlsearch_path; do
  57035. + if test -z "$sys_dlsearch_path"; then
  57036. + sys_dlsearch_path=$dir
  57037. + else
  57038. + sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  57039. + fi
  57040. + done
  57041. + m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  57042. + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  57043. + [Define to the system default library search path.])
  57044. +fi
  57045. +])
  57046. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  57047. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
  57048. +You should run autoupdate.])dnl
  57049. +m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  57050. +m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
  57051. +LT_DLLOADERS=
  57052. +AC_SUBST([LT_DLLOADERS])
  57053. +
  57054. +AC_LANG_PUSH([C])
  57055. +lt_dlload_save_LIBS=$LIBS
  57056. +
  57057. +LIBADD_DLOPEN=
  57058. +AC_SEARCH_LIBS([dlopen], [dl],
  57059. + [AC_DEFINE([HAVE_LIBDL], [1],
  57060. + [Define if you have the libdl library or equivalent.])
  57061. + if test "$ac_cv_search_dlopen" != "none required"; then
  57062. + LIBADD_DLOPEN=-ldl
  57063. + fi
  57064. + libltdl_cv_lib_dl_dlopen=yes
  57065. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  57066. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  57067. +# include <dlfcn.h>
  57068. +#endif
  57069. + ]], [[dlopen(0, 0);]])],
  57070. + [AC_DEFINE([HAVE_LIBDL], [1],
  57071. + [Define if you have the libdl library or equivalent.])
  57072. + libltdl_cv_func_dlopen=yes
  57073. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  57074. + [AC_CHECK_LIB([svld], [dlopen],
  57075. + [AC_DEFINE([HAVE_LIBDL], [1],
  57076. + [Define if you have the libdl library or equivalent.])
  57077. + LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  57078. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  57079. +if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  57080. +then
  57081. + lt_save_LIBS=$LIBS
  57082. + LIBS="$LIBS $LIBADD_DLOPEN"
  57083. + AC_CHECK_FUNCS([dlerror])
  57084. + LIBS=$lt_save_LIBS
  57085. +fi
  57086. +AC_SUBST([LIBADD_DLOPEN])
  57087. +
  57088. +LIBADD_SHL_LOAD=
  57089. +AC_CHECK_FUNC([shl_load],
  57090. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  57091. + [Define if you have the shl_load function.])
  57092. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  57093. + [AC_CHECK_LIB([dld], [shl_load],
  57094. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  57095. + [Define if you have the shl_load function.])
  57096. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  57097. + LIBADD_SHL_LOAD=-ldld])])
  57098. +AC_SUBST([LIBADD_SHL_LOAD])
  57099. +
  57100. +case $host_os in
  57101. +darwin[[1567]].*)
  57102. +# We only want this for pre-Mac OS X 10.4.
  57103. + AC_CHECK_FUNC([_dyld_func_lookup],
  57104. + [AC_DEFINE([HAVE_DYLD], [1],
  57105. + [Define if you have the _dyld_func_lookup function.])
  57106. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  57107. + ;;
  57108. +beos*)
  57109. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  57110. + ;;
  57111. +cygwin* | mingw* | pw32*)
  57112. + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  57113. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  57114. + ;;
  57115. +esac
  57116. +
  57117. +AC_CHECK_LIB([dld], [dld_link],
  57118. + [AC_DEFINE([HAVE_DLD], [1],
  57119. + [Define if you have the GNU dld library.])
  57120. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  57121. +AC_SUBST([LIBADD_DLD_LINK])
  57122. +
  57123. +m4_pattern_allow([^LT_DLPREOPEN$])
  57124. +LT_DLPREOPEN=
  57125. +if test -n "$LT_DLLOADERS"
  57126. +then
  57127. + for lt_loader in $LT_DLLOADERS; do
  57128. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  57129. + done
  57130. + AC_DEFINE([HAVE_LIBDLLOADER], [1],
  57131. + [Define if libdlloader will be built on this platform])
  57132. +fi
  57133. +AC_SUBST([LT_DLPREOPEN])
  57134. +
  57135. +dnl This isn't used anymore, but set it for backwards compatibility
  57136. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  57137. +AC_SUBST([LIBADD_DL])
  57138. +
  57139. +LIBS=$lt_dlload_save_LIBS
  57140. +AC_LANG_POP
  57141. +])
  57142. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  57143. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
  57144. +You should run autoupdate.])dnl
  57145. +m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  57146. +m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  57147. +AC_CACHE_CHECK([for _ prefix in compiled symbols],
  57148. + [lt_cv_sys_symbol_underscore],
  57149. + [lt_cv_sys_symbol_underscore=no
  57150. + cat > conftest.$ac_ext <<_LT_EOF
  57151. +void nm_test_func(){}
  57152. +int main(){nm_test_func;return 0;}
  57153. +_LT_EOF
  57154. + if AC_TRY_EVAL(ac_compile); then
  57155. + # Now try to grab the symbols.
  57156. + ac_nlist=conftest.nm
  57157. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  57158. + # See whether the symbols have a leading underscore.
  57159. + if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  57160. + lt_cv_sys_symbol_underscore=yes
  57161. + else
  57162. + if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  57163. + :
  57164. + else
  57165. + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  57166. + fi
  57167. + fi
  57168. + else
  57169. + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  57170. + fi
  57171. + else
  57172. + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  57173. + cat conftest.c >&AS_MESSAGE_LOG_FD
  57174. + fi
  57175. + rm -rf conftest*
  57176. + ])
  57177. + sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  57178. + AC_SUBST([sys_symbol_underscore])
  57179. +])
  57180. +m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  57181. +m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
  57182. +You should run autoupdate.])dnl
  57183. +m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  57184. +m4trace:/usr/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
  57185. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
  57186. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
  57187. +if test yes = "$lt_cv_sys_symbol_underscore"; then
  57188. + if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  57189. + AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  57190. + [libltdl_cv_need_uscore],
  57191. + [libltdl_cv_need_uscore=unknown
  57192. + dlsym_uscore_save_LIBS=$LIBS
  57193. + LIBS="$LIBS $LIBADD_DLOPEN"
  57194. + libname=conftmod # stay within 8.3 filename limits!
  57195. + cat >$libname.$ac_ext <<_LT_EOF
  57196. +[#line $LINENO "configure"
  57197. +#include "confdefs.h"
  57198. +/* When -fvisibility=hidden is used, assume the code has been annotated
  57199. + correspondingly for the symbols needed. */
  57200. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  57201. +int fnord () __attribute__((visibility("default")));
  57202. +#endif
  57203. +int fnord () { return 42; }]
  57204. +_LT_EOF
  57205. +
  57206. + # ltfn_module_cmds module_cmds
  57207. + # Execute tilde-delimited MODULE_CMDS with environment primed for
  57208. + # $module_cmds or $archive_cmds type content.
  57209. + ltfn_module_cmds ()
  57210. + {( # subshell avoids polluting parent global environment
  57211. + module_cmds_save_ifs=$IFS; IFS='~'
  57212. + for cmd in @S|@1; do
  57213. + IFS=$module_cmds_save_ifs
  57214. + libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  57215. + rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  57216. + major=; versuffix=; verstring=; deplibs=
  57217. + ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  57218. + eval $cmd
  57219. + done
  57220. + IFS=$module_cmds_save_ifs
  57221. + )}
  57222. +
  57223. + # Compile a loadable module using libtool macro expansion results.
  57224. + $CC $pic_flag -c $libname.$ac_ext
  57225. + ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  57226. +
  57227. + # Try to fetch fnord with dlsym().
  57228. + libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  57229. + cat >conftest.$ac_ext <<_LT_EOF
  57230. +[#line $LINENO "configure"
  57231. +#include "confdefs.h"
  57232. +#if HAVE_DLFCN_H
  57233. +#include <dlfcn.h>
  57234. +#endif
  57235. +#include <stdio.h>
  57236. +#ifndef RTLD_GLOBAL
  57237. +# ifdef DL_GLOBAL
  57238. +# define RTLD_GLOBAL DL_GLOBAL
  57239. +# else
  57240. +# define RTLD_GLOBAL 0
  57241. +# endif
  57242. +#endif
  57243. +#ifndef RTLD_NOW
  57244. +# ifdef DL_NOW
  57245. +# define RTLD_NOW DL_NOW
  57246. +# else
  57247. +# define RTLD_NOW 0
  57248. +# endif
  57249. +#endif
  57250. +int main () {
  57251. + void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  57252. + int status = $libltdl_dlunknown;
  57253. + if (handle) {
  57254. + if (dlsym (handle, "fnord"))
  57255. + status = $libltdl_dlnouscore;
  57256. + else {
  57257. + if (dlsym (handle, "_fnord"))
  57258. + status = $libltdl_dluscore;
  57259. + else
  57260. + puts (dlerror ());
  57261. + }
  57262. + dlclose (handle);
  57263. + } else
  57264. + puts (dlerror ());
  57265. + return status;
  57266. +}]
  57267. +_LT_EOF
  57268. + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  57269. + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  57270. + libltdl_status=$?
  57271. + case x$libltdl_status in
  57272. + x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  57273. + x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  57274. + x*) libltdl_cv_need_uscore=unknown ;;
  57275. + esac
  57276. + fi
  57277. + rm -rf conftest* $libname*
  57278. + LIBS=$dlsym_uscore_save_LIBS
  57279. + ])
  57280. + fi
  57281. +fi
  57282. +
  57283. +if test yes = "$libltdl_cv_need_uscore"; then
  57284. + AC_DEFINE([NEED_USCORE], [1],
  57285. + [Define if dlsym() requires a leading underscore in symbol names.])
  57286. +fi
  57287. +])
  57288. +m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  57289. +m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
  57290. +You should run autoupdate.])dnl
  57291. +m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  57292. +m4trace:/usr/share/aclocal/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  57293. +m4trace:/usr/share/aclocal/lt~obsolete.m4:39: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])
  57294. +m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
  57295. +m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
  57296. +m4trace:/usr/share/aclocal/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
  57297. +m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_PROG_LTMAIN])
  57298. +m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
  57299. +m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
  57300. +m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
  57301. +m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
  57302. +m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
  57303. +m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
  57304. +m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
  57305. +m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
  57306. +m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
  57307. +m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
  57308. +m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
  57309. +m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
  57310. +m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
  57311. +m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
  57312. +m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
  57313. +m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
  57314. +m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
  57315. +m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
  57316. +m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  57317. +m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
  57318. +m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
  57319. +m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
  57320. +m4trace:/usr/share/aclocal/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
  57321. +m4trace:/usr/share/aclocal/lt~obsolete.m4:68: -1- AC_DEFUN([LT_AC_PROG_SED])
  57322. +m4trace:/usr/share/aclocal/lt~obsolete.m4:69: -1- AC_DEFUN([_LT_CC_BASENAME])
  57323. +m4trace:/usr/share/aclocal/lt~obsolete.m4:70: -1- AC_DEFUN([_LT_COMPILER_BOILERPLATE])
  57324. +m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_LT_LINKER_BOILERPLATE])
  57325. +m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
  57326. +m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
  57327. +m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
  57328. +m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  57329. +m4trace:/usr/share/aclocal/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
  57330. +m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL])
  57331. +m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
  57332. +m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
  57333. +m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
  57334. +m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
  57335. +m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
  57336. +m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
  57337. +m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
  57338. +m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
  57339. +m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
  57340. +m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
  57341. +m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
  57342. +m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
  57343. +m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
  57344. +m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
  57345. +m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
  57346. +m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])
  57347. +m4trace:/usr/share/aclocal/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
  57348. +m4trace:/usr/share/aclocal/lt~obsolete.m4:95: -1- AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])
  57349. +m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])
  57350. +m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
  57351. +m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
  57352. +m4trace:/usr/share/aclocal/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
  57353. +m4trace:/usr/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
  57354. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  57355. +dnl require some minimum version. Point them to the right macro.
  57356. +m4_if([$1], [1.16.1], [],
  57357. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  57358. +])
  57359. +m4trace:/usr/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl
  57360. +m4_ifndef([AC_AUTOCONF_VERSION],
  57361. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  57362. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  57363. +m4trace:/usr/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  57364. +# Expand $ac_aux_dir to an absolute path.
  57365. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  57366. +])
  57367. +m4trace:/usr/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  57368. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  57369. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  57370. +AC_SUBST([$1_TRUE])dnl
  57371. +AC_SUBST([$1_FALSE])dnl
  57372. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  57373. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  57374. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  57375. +if $2; then
  57376. + $1_TRUE=
  57377. + $1_FALSE='#'
  57378. +else
  57379. + $1_TRUE='#'
  57380. + $1_FALSE=
  57381. +fi
  57382. +AC_CONFIG_COMMANDS_PRE(
  57383. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  57384. + AC_MSG_ERROR([[conditional "$1" was never defined.
  57385. +Usually this means the macro was only invoked conditionally.]])
  57386. +fi])])
  57387. +m4trace:/usr/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  57388. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  57389. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  57390. +AC_REQUIRE([AM_DEP_TRACK])dnl
  57391. +
  57392. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  57393. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  57394. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  57395. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  57396. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  57397. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  57398. + [depcc="$$1" am_compiler_list=])
  57399. +
  57400. +AC_CACHE_CHECK([dependency style of $depcc],
  57401. + [am_cv_$1_dependencies_compiler_type],
  57402. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  57403. + # We make a subdir and do the tests there. Otherwise we can end up
  57404. + # making bogus files that we don't know about and never remove. For
  57405. + # instance it was reported that on HP-UX the gcc test will end up
  57406. + # making a dummy file named 'D' -- because '-MD' means "put the output
  57407. + # in D".
  57408. + rm -rf conftest.dir
  57409. + mkdir conftest.dir
  57410. + # Copy depcomp to subdir because otherwise we won't find it if we're
  57411. + # using a relative directory.
  57412. + cp "$am_depcomp" conftest.dir
  57413. + cd conftest.dir
  57414. + # We will build objects and dependencies in a subdirectory because
  57415. + # it helps to detect inapplicable dependency modes. For instance
  57416. + # both Tru64's cc and ICC support -MD to output dependencies as a
  57417. + # side effect of compilation, but ICC will put the dependencies in
  57418. + # the current directory while Tru64 will put them in the object
  57419. + # directory.
  57420. + mkdir sub
  57421. +
  57422. + am_cv_$1_dependencies_compiler_type=none
  57423. + if test "$am_compiler_list" = ""; then
  57424. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  57425. + fi
  57426. + am__universal=false
  57427. + m4_case([$1], [CC],
  57428. + [case " $depcc " in #(
  57429. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  57430. + esac],
  57431. + [CXX],
  57432. + [case " $depcc " in #(
  57433. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  57434. + esac])
  57435. +
  57436. + for depmode in $am_compiler_list; do
  57437. + # Setup a source with many dependencies, because some compilers
  57438. + # like to wrap large dependency lists on column 80 (with \), and
  57439. + # we should not choose a depcomp mode which is confused by this.
  57440. + #
  57441. + # We need to recreate these files for each test, as the compiler may
  57442. + # overwrite some of them when testing with obscure command lines.
  57443. + # This happens at least with the AIX C compiler.
  57444. + : > sub/conftest.c
  57445. + for i in 1 2 3 4 5 6; do
  57446. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  57447. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  57448. + # Solaris 10 /bin/sh.
  57449. + echo '/* dummy */' > sub/conftst$i.h
  57450. + done
  57451. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  57452. +
  57453. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  57454. + # mode. It turns out that the SunPro C++ compiler does not properly
  57455. + # handle '-M -o', and we need to detect this. Also, some Intel
  57456. + # versions had trouble with output in subdirs.
  57457. + am__obj=sub/conftest.${OBJEXT-o}
  57458. + am__minus_obj="-o $am__obj"
  57459. + case $depmode in
  57460. + gcc)
  57461. + # This depmode causes a compiler race in universal mode.
  57462. + test "$am__universal" = false || continue
  57463. + ;;
  57464. + nosideeffect)
  57465. + # After this tag, mechanisms are not by side-effect, so they'll
  57466. + # only be used when explicitly requested.
  57467. + if test "x$enable_dependency_tracking" = xyes; then
  57468. + continue
  57469. + else
  57470. + break
  57471. + fi
  57472. + ;;
  57473. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  57474. + # This compiler won't grok '-c -o', but also, the minuso test has
  57475. + # not run yet. These depmodes are late enough in the game, and
  57476. + # so weak that their functioning should not be impacted.
  57477. + am__obj=conftest.${OBJEXT-o}
  57478. + am__minus_obj=
  57479. + ;;
  57480. + none) break ;;
  57481. + esac
  57482. + if depmode=$depmode \
  57483. + source=sub/conftest.c object=$am__obj \
  57484. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  57485. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  57486. + >/dev/null 2>conftest.err &&
  57487. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  57488. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  57489. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  57490. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  57491. + # icc doesn't choke on unknown options, it will just issue warnings
  57492. + # or remarks (even with -Werror). So we grep stderr for any message
  57493. + # that says an option was ignored or not supported.
  57494. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  57495. + # icc: Command line warning: ignoring option '-M'; no argument required
  57496. + # The diagnosis changed in icc 8.0:
  57497. + # icc: Command line remark: option '-MP' not supported
  57498. + if (grep 'ignoring option' conftest.err ||
  57499. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  57500. + am_cv_$1_dependencies_compiler_type=$depmode
  57501. + break
  57502. + fi
  57503. + fi
  57504. + done
  57505. +
  57506. + cd ..
  57507. + rm -rf conftest.dir
  57508. +else
  57509. + am_cv_$1_dependencies_compiler_type=none
  57510. +fi
  57511. +])
  57512. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  57513. +AM_CONDITIONAL([am__fastdep$1], [
  57514. + test "x$enable_dependency_tracking" != xno \
  57515. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  57516. +])
  57517. +m4trace:/usr/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  57518. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  57519. +])
  57520. +m4trace:/usr/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  57521. +AS_HELP_STRING(
  57522. + [--enable-dependency-tracking],
  57523. + [do not reject slow dependency extractors])
  57524. +AS_HELP_STRING(
  57525. + [--disable-dependency-tracking],
  57526. + [speeds up one-time build])])
  57527. +if test "x$enable_dependency_tracking" != xno; then
  57528. + am_depcomp="$ac_aux_dir/depcomp"
  57529. + AMDEPBACKSLASH='\'
  57530. + am__nodep='_no'
  57531. +fi
  57532. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  57533. +AC_SUBST([AMDEPBACKSLASH])dnl
  57534. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  57535. +AC_SUBST([am__nodep])dnl
  57536. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  57537. +])
  57538. +m4trace:/usr/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  57539. + # Older Autoconf quotes --file arguments for eval, but not when files
  57540. + # are listed without --file. Let's play safe and only enable the eval
  57541. + # if we detect the quoting.
  57542. + # TODO: see whether this extra hack can be removed once we start
  57543. + # requiring Autoconf 2.70 or later.
  57544. + AS_CASE([$CONFIG_FILES],
  57545. + [*\'*], [eval set x "$CONFIG_FILES"],
  57546. + [*], [set x $CONFIG_FILES])
  57547. + shift
  57548. + # Used to flag and report bootstrapping failures.
  57549. + am_rc=0
  57550. + for am_mf
  57551. + do
  57552. + # Strip MF so we end up with the name of the file.
  57553. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  57554. + # Check whether this is an Automake generated Makefile which includes
  57555. + # dependency-tracking related rules and includes.
  57556. + # Grep'ing the whole file directly is not great: AIX grep has a line
  57557. + # limit of 2048, but all sed's we know have understand at least 4000.
  57558. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  57559. + || continue
  57560. + am_dirpart=`AS_DIRNAME(["$am_mf"])`
  57561. + am_filepart=`AS_BASENAME(["$am_mf"])`
  57562. + AM_RUN_LOG([cd "$am_dirpart" \
  57563. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  57564. + | $MAKE -f - am--depfiles]) || am_rc=$?
  57565. + done
  57566. + if test $am_rc -ne 0; then
  57567. + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  57568. + for automatic dependency tracking. Try re-running configure with the
  57569. + '--disable-dependency-tracking' option to at least be able to build
  57570. + the package (albeit without support for automatic dependency tracking).])
  57571. + fi
  57572. + AS_UNSET([am_dirpart])
  57573. + AS_UNSET([am_filepart])
  57574. + AS_UNSET([am_mf])
  57575. + AS_UNSET([am_rc])
  57576. + rm -f conftest-deps.mk
  57577. +}
  57578. +])
  57579. +m4trace:/usr/share/aclocal-1.16/depout.m4:62: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  57580. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  57581. + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  57582. +m4trace:/usr/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
  57583. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  57584. +dnl the ones we care about.
  57585. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  57586. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  57587. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  57588. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  57589. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  57590. + # is not polluted with repeated "-I."
  57591. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  57592. + # test to see if srcdir already configured
  57593. + if test -f $srcdir/config.status; then
  57594. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  57595. + fi
  57596. +fi
  57597. +
  57598. +# test whether we have cygpath
  57599. +if test -z "$CYGPATH_W"; then
  57600. + if (cygpath --version) >/dev/null 2>/dev/null; then
  57601. + CYGPATH_W='cygpath -w'
  57602. + else
  57603. + CYGPATH_W=echo
  57604. + fi
  57605. +fi
  57606. +AC_SUBST([CYGPATH_W])
  57607. +
  57608. +# Define the identity of the package.
  57609. +dnl Distinguish between old-style and new-style calls.
  57610. +m4_ifval([$2],
  57611. +[AC_DIAGNOSE([obsolete],
  57612. + [$0: two- and three-arguments forms are deprecated.])
  57613. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  57614. + AC_SUBST([PACKAGE], [$1])dnl
  57615. + AC_SUBST([VERSION], [$2])],
  57616. +[_AM_SET_OPTIONS([$1])dnl
  57617. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  57618. +m4_if(
  57619. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  57620. + [ok:ok],,
  57621. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  57622. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  57623. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  57624. +
  57625. +_AM_IF_OPTION([no-define],,
  57626. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  57627. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  57628. +
  57629. +# Some tools Automake needs.
  57630. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  57631. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  57632. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  57633. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  57634. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  57635. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  57636. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  57637. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  57638. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  57639. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  57640. +# For better backward compatibility. To be removed once Automake 1.9.x
  57641. +# dies out for good. For more background, see:
  57642. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  57643. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  57644. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  57645. +# We need awk for the "check" target (and possibly the TAP driver). The
  57646. +# system "awk" is bad on some platforms.
  57647. +AC_REQUIRE([AC_PROG_AWK])dnl
  57648. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  57649. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  57650. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  57651. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  57652. + [_AM_PROG_TAR([v7])])])
  57653. +_AM_IF_OPTION([no-dependencies],,
  57654. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  57655. + [_AM_DEPENDENCIES([CC])],
  57656. + [m4_define([AC_PROG_CC],
  57657. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  57658. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  57659. + [_AM_DEPENDENCIES([CXX])],
  57660. + [m4_define([AC_PROG_CXX],
  57661. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  57662. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  57663. + [_AM_DEPENDENCIES([OBJC])],
  57664. + [m4_define([AC_PROG_OBJC],
  57665. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  57666. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  57667. + [_AM_DEPENDENCIES([OBJCXX])],
  57668. + [m4_define([AC_PROG_OBJCXX],
  57669. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  57670. +])
  57671. +AC_REQUIRE([AM_SILENT_RULES])dnl
  57672. +dnl The testsuite driver may need to know about EXEEXT, so add the
  57673. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  57674. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  57675. +AC_CONFIG_COMMANDS_PRE(dnl
  57676. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  57677. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  57678. +
  57679. +# POSIX will say in a future version that running "rm -f" with no argument
  57680. +# is OK; and we want to be able to make that assumption in our Makefile
  57681. +# recipes. So use an aggressive probe to check that the usage we want is
  57682. +# actually supported "in the wild" to an acceptable degree.
  57683. +# See automake bug#10828.
  57684. +# To make any issue more visible, cause the running configure to be aborted
  57685. +# by default if the 'rm' program in use doesn't match our expectations; the
  57686. +# user can still override this though.
  57687. +if rm -f && rm -fr && rm -rf; then : OK; else
  57688. + cat >&2 <<'END'
  57689. +Oops!
  57690. +
  57691. +Your 'rm' program seems unable to run without file operands specified
  57692. +on the command line, even when the '-f' option is present. This is contrary
  57693. +to the behaviour of most rm programs out there, and not conforming with
  57694. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  57695. +
  57696. +Please tell [email protected] about your system, including the value
  57697. +of your $PATH and any error possibly output before this message. This
  57698. +can help us improve future automake versions.
  57699. +
  57700. +END
  57701. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  57702. + echo 'Configuration will proceed anyway, since you have set the' >&2
  57703. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  57704. + echo >&2
  57705. + else
  57706. + cat >&2 <<'END'
  57707. +Aborting the configuration process, to ensure you take notice of the issue.
  57708. +
  57709. +You can download and install GNU coreutils to get an 'rm' implementation
  57710. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  57711. +
  57712. +If you want to complete the configuration process using your problematic
  57713. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  57714. +to "yes", and re-run configure.
  57715. +
  57716. +END
  57717. + AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  57718. + fi
  57719. +fi
  57720. +dnl The trailing newline in this macro's definition is deliberate, for
  57721. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  57722. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  57723. +])
  57724. +m4trace:/usr/share/aclocal-1.16/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  57725. +_am_arg=$1
  57726. +_am_stamp_count=1
  57727. +for _am_header in $config_headers :; do
  57728. + case $_am_header in
  57729. + $_am_arg | $_am_arg:* )
  57730. + break ;;
  57731. + * )
  57732. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  57733. + esac
  57734. +done
  57735. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  57736. +m4trace:/usr/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  57737. +if test x"${install_sh+set}" != xset; then
  57738. + case $am_aux_dir in
  57739. + *\ * | *\ *)
  57740. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  57741. + *)
  57742. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  57743. + esac
  57744. +fi
  57745. +AC_SUBST([install_sh])])
  57746. +m4trace:/usr/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  57747. +mkdir .tst 2>/dev/null
  57748. +if test -d .tst; then
  57749. + am__leading_dot=.
  57750. +else
  57751. + am__leading_dot=_
  57752. +fi
  57753. +rmdir .tst 2>/dev/null
  57754. +AC_SUBST([am__leading_dot])])
  57755. +m4trace:/usr/share/aclocal-1.16/make.m4:13: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
  57756. +cat > confinc.mk << 'END'
  57757. +am__doit:
  57758. + @echo this is the am__doit target >confinc.out
  57759. +.PHONY: am__doit
  57760. +END
  57761. +am__include="#"
  57762. +am__quote=
  57763. +# BSD make does it like this.
  57764. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  57765. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  57766. +echo 'include confinc.mk # ignored' > confmf.GNU
  57767. +_am_result=no
  57768. +for s in GNU BSD; do
  57769. + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  57770. + AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  57771. + ['0:this is the am__doit target'],
  57772. + [AS_CASE([$s],
  57773. + [BSD], [am__include='.include' am__quote='"'],
  57774. + [am__include='include' am__quote=''])])
  57775. + if test "$am__include" != "#"; then
  57776. + _am_result="yes ($s style)"
  57777. + break
  57778. + fi
  57779. +done
  57780. +rm -f confinc.* confmf.*
  57781. +AC_MSG_RESULT([${_am_result}])
  57782. +AC_SUBST([am__include])])
  57783. +m4trace:/usr/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
  57784. +m4trace:/usr/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  57785. +$1=${$1-"${am_missing_run}$2"}
  57786. +AC_SUBST($1)])
  57787. +m4trace:/usr/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  57788. +AC_REQUIRE_AUX_FILE([missing])dnl
  57789. +if test x"${MISSING+set}" != xset; then
  57790. + case $am_aux_dir in
  57791. + *\ * | *\ *)
  57792. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  57793. + *)
  57794. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  57795. + esac
  57796. +fi
  57797. +# Use eval to expand $SHELL
  57798. +if eval "$MISSING --is-lightweight"; then
  57799. + am_missing_run="$MISSING "
  57800. +else
  57801. + am_missing_run=
  57802. + AC_MSG_WARN(['missing' script is too old or missing])
  57803. +fi
  57804. +])
  57805. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
  57806. +['$0': this macro is obsolete.
  57807. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  57808. +AC_CONFIG_HEADERS($@)])
  57809. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
  57810. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  57811. +AC_DIAGNOSE([obsolete],
  57812. +['$0': this macro is obsolete.
  57813. +You should simply use the 'AC][_PROG_CC' macro instead.
  57814. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  57815. +but upon 'ac_cv_prog_cc_stdc'.])])
  57816. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:26: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])])
  57817. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  57818. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:28: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete.
  57819. +You should run autoupdate.])dnl
  57820. +AM_C_PROTOTYPES])
  57821. +m4trace:/usr/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  57822. +m4trace:/usr/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  57823. +m4trace:/usr/share/aclocal-1.16/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  57824. +m4trace:/usr/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  57825. +m4trace:/usr/share/aclocal-1.16/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  57826. +AC_REQUIRE_AUX_FILE([compile])dnl
  57827. +AC_LANG_PUSH([C])dnl
  57828. +AC_CACHE_CHECK(
  57829. + [whether $CC understands -c and -o together],
  57830. + [am_cv_prog_cc_c_o],
  57831. + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  57832. + # Make sure it works both with $CC and with simple cc.
  57833. + # Following AC_PROG_CC_C_O, we do the test twice because some
  57834. + # compilers refuse to overwrite an existing .o file with -o,
  57835. + # though they will create one.
  57836. + am_cv_prog_cc_c_o=yes
  57837. + for am_i in 1 2; do
  57838. + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  57839. + && test -f conftest2.$ac_objext; then
  57840. + : OK
  57841. + else
  57842. + am_cv_prog_cc_c_o=no
  57843. + break
  57844. + fi
  57845. + done
  57846. + rm -f core conftest*
  57847. + unset am_i])
  57848. +if test "$am_cv_prog_cc_c_o" != yes; then
  57849. + # Losing compiler, so override with the script.
  57850. + # FIXME: It is wrong to rewrite CC.
  57851. + # But if we don't then we get into trouble of one sort or another.
  57852. + # A longer-term fix would be to have automake use am__CC in this case,
  57853. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  57854. + CC="$am_aux_dir/compile $CC"
  57855. +fi
  57856. +AC_LANG_POP([C])])
  57857. +m4trace:/usr/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  57858. +m4trace:/usr/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  57859. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  57860. + ac_status=$?
  57861. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  57862. + (exit $ac_status); }])
  57863. +m4trace:/usr/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  57864. +# Reject unsafe characters in $srcdir or the absolute working directory
  57865. +# name. Accept space and tab only in the latter.
  57866. +am_lf='
  57867. +'
  57868. +case `pwd` in
  57869. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  57870. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  57871. +esac
  57872. +case $srcdir in
  57873. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  57874. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  57875. +esac
  57876. +
  57877. +# Do 'set' in a subshell so we don't clobber the current shell's
  57878. +# arguments. Must try -L first in case configure is actually a
  57879. +# symlink; some systems play weird games with the mod time of symlinks
  57880. +# (eg FreeBSD returns the mod time of the symlink's containing
  57881. +# directory).
  57882. +if (
  57883. + am_has_slept=no
  57884. + for am_try in 1 2; do
  57885. + echo "timestamp, slept: $am_has_slept" > conftest.file
  57886. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  57887. + if test "$[*]" = "X"; then
  57888. + # -L didn't work.
  57889. + set X `ls -t "$srcdir/configure" conftest.file`
  57890. + fi
  57891. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  57892. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  57893. +
  57894. + # If neither matched, then we have a broken ls. This can happen
  57895. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  57896. + # broken ls alias from the environment. This has actually
  57897. + # happened. Such a system could not be considered "sane".
  57898. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  57899. + alias in your environment])
  57900. + fi
  57901. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  57902. + break
  57903. + fi
  57904. + # Just in case.
  57905. + sleep 1
  57906. + am_has_slept=yes
  57907. + done
  57908. + test "$[2]" = conftest.file
  57909. + )
  57910. +then
  57911. + # Ok.
  57912. + :
  57913. +else
  57914. + AC_MSG_ERROR([newly created file is older than distributed files!
  57915. +Check your system clock])
  57916. +fi
  57917. +AC_MSG_RESULT([yes])
  57918. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  57919. +# generated files are strictly newer.
  57920. +am_sleep_pid=
  57921. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  57922. + ( sleep 1 ) &
  57923. + am_sleep_pid=$!
  57924. +fi
  57925. +AC_CONFIG_COMMANDS_PRE(
  57926. + [AC_MSG_CHECKING([that generated files are newer than configure])
  57927. + if test -n "$am_sleep_pid"; then
  57928. + # Hide warnings about reused PIDs.
  57929. + wait $am_sleep_pid 2>/dev/null
  57930. + fi
  57931. + AC_MSG_RESULT([done])])
  57932. +rm -f conftest.file
  57933. +])
  57934. +m4trace:/usr/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  57935. +AS_HELP_STRING(
  57936. + [--enable-silent-rules],
  57937. + [less verbose build output (undo: "make V=1")])
  57938. +AS_HELP_STRING(
  57939. + [--disable-silent-rules],
  57940. + [verbose build output (undo: "make V=0")])dnl
  57941. +])
  57942. +case $enable_silent_rules in @%:@ (((
  57943. + yes) AM_DEFAULT_VERBOSITY=0;;
  57944. + no) AM_DEFAULT_VERBOSITY=1;;
  57945. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  57946. +esac
  57947. +dnl
  57948. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  57949. +dnl do not support nested variable expansions.
  57950. +dnl See automake bug#9928 and bug#10237.
  57951. +am_make=${MAKE-make}
  57952. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  57953. + [am_cv_make_support_nested_variables],
  57954. + [if AS_ECHO([['TRUE=$(BAR$(V))
  57955. +BAR0=false
  57956. +BAR1=true
  57957. +V=1
  57958. +am__doit:
  57959. + @$(TRUE)
  57960. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  57961. + am_cv_make_support_nested_variables=yes
  57962. +else
  57963. + am_cv_make_support_nested_variables=no
  57964. +fi])
  57965. +if test $am_cv_make_support_nested_variables = yes; then
  57966. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  57967. + AM_V='$(V)'
  57968. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  57969. +else
  57970. + AM_V=$AM_DEFAULT_VERBOSITY
  57971. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  57972. +fi
  57973. +AC_SUBST([AM_V])dnl
  57974. +AM_SUBST_NOTMAKE([AM_V])dnl
  57975. +AC_SUBST([AM_DEFAULT_V])dnl
  57976. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  57977. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  57978. +AM_BACKSLASH='\'
  57979. +AC_SUBST([AM_BACKSLASH])dnl
  57980. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  57981. +])
  57982. +m4trace:/usr/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  57983. +# Installed binaries are usually stripped using 'strip' when the user
  57984. +# run "make install-strip". However 'strip' might not be the right
  57985. +# tool to use in cross-compilation environments, therefore Automake
  57986. +# will honor the 'STRIP' environment variable to overrule this program.
  57987. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  57988. +if test "$cross_compiling" != no; then
  57989. + AC_CHECK_TOOL([STRIP], [strip], :)
  57990. +fi
  57991. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  57992. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  57993. +m4trace:/usr/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  57994. +m4trace:/usr/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  57995. +m4trace:/usr/share/aclocal-1.16/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  57996. +# in the wild :-( We should find a proper way to deprecate it ...
  57997. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  57998. +
  57999. +# We'll loop over all known methods to create a tar archive until one works.
  58000. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  58001. +
  58002. +m4_if([$1], [v7],
  58003. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  58004. +
  58005. + [m4_case([$1],
  58006. + [ustar],
  58007. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  58008. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  58009. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  58010. + # and bug#13588).
  58011. + am_max_uid=2097151 # 2^21 - 1
  58012. + am_max_gid=$am_max_uid
  58013. + # The $UID and $GID variables are not portable, so we need to resort
  58014. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  58015. + # below are definitely unexpected, so allow the users to see them
  58016. + # (that is, avoid stderr redirection).
  58017. + am_uid=`id -u || echo unknown`
  58018. + am_gid=`id -g || echo unknown`
  58019. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  58020. + if test $am_uid -le $am_max_uid; then
  58021. + AC_MSG_RESULT([yes])
  58022. + else
  58023. + AC_MSG_RESULT([no])
  58024. + _am_tools=none
  58025. + fi
  58026. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  58027. + if test $am_gid -le $am_max_gid; then
  58028. + AC_MSG_RESULT([yes])
  58029. + else
  58030. + AC_MSG_RESULT([no])
  58031. + _am_tools=none
  58032. + fi],
  58033. +
  58034. + [pax],
  58035. + [],
  58036. +
  58037. + [m4_fatal([Unknown tar format])])
  58038. +
  58039. + AC_MSG_CHECKING([how to create a $1 tar archive])
  58040. +
  58041. + # Go ahead even if we have the value already cached. We do so because we
  58042. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  58043. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  58044. +
  58045. + for _am_tool in $_am_tools; do
  58046. + case $_am_tool in
  58047. + gnutar)
  58048. + for _am_tar in tar gnutar gtar; do
  58049. + AM_RUN_LOG([$_am_tar --version]) && break
  58050. + done
  58051. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  58052. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  58053. + am__untar="$_am_tar -xf -"
  58054. + ;;
  58055. + plaintar)
  58056. + # Must skip GNU tar: if it does not support --format= it doesn't create
  58057. + # ustar tarball either.
  58058. + (tar --version) >/dev/null 2>&1 && continue
  58059. + am__tar='tar chf - "$$tardir"'
  58060. + am__tar_='tar chf - "$tardir"'
  58061. + am__untar='tar xf -'
  58062. + ;;
  58063. + pax)
  58064. + am__tar='pax -L -x $1 -w "$$tardir"'
  58065. + am__tar_='pax -L -x $1 -w "$tardir"'
  58066. + am__untar='pax -r'
  58067. + ;;
  58068. + cpio)
  58069. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  58070. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  58071. + am__untar='cpio -i -H $1 -d'
  58072. + ;;
  58073. + none)
  58074. + am__tar=false
  58075. + am__tar_=false
  58076. + am__untar=false
  58077. + ;;
  58078. + esac
  58079. +
  58080. + # If the value was cached, stop now. We just wanted to have am__tar
  58081. + # and am__untar set.
  58082. + test -n "${am_cv_prog_tar_$1}" && break
  58083. +
  58084. + # tar/untar a dummy directory, and stop if the command works.
  58085. + rm -rf conftest.dir
  58086. + mkdir conftest.dir
  58087. + echo GrepMe > conftest.dir/file
  58088. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  58089. + rm -rf conftest.dir
  58090. + if test -s conftest.tar; then
  58091. + AM_RUN_LOG([$am__untar <conftest.tar])
  58092. + AM_RUN_LOG([cat conftest.dir/file])
  58093. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  58094. + fi
  58095. + done
  58096. + rm -rf conftest.dir
  58097. +
  58098. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  58099. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  58100. +
  58101. +AC_SUBST([am__tar])
  58102. +AC_SUBST([am__untar])
  58103. +])
  58104. +m4trace:m4/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  58105. +AC_BEFORE([$0], [LT_LANG])dnl
  58106. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  58107. +AC_BEFORE([$0], [LTDL_INIT])dnl
  58108. +m4_require([_LT_CHECK_BUILDDIR])dnl
  58109. +
  58110. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  58111. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  58112. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  58113. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  58114. +dnl unless we require an AC_DEFUNed macro:
  58115. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  58116. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  58117. +AC_REQUIRE([LTVERSION_VERSION])dnl
  58118. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  58119. +m4_require([_LT_PROG_LTMAIN])dnl
  58120. +
  58121. +dnl Parse OPTIONS
  58122. +_LT_SET_OPTIONS([$0], [$1])
  58123. +
  58124. +# This can be used to rebuild libtool when needed
  58125. +LIBTOOL_DEPS="$ltmain"
  58126. +
  58127. +# Always use our own libtool.
  58128. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  58129. +AC_SUBST(LIBTOOL)dnl
  58130. +
  58131. +_LT_SETUP
  58132. +
  58133. +# Only expand once:
  58134. +m4_define([LT_INIT])
  58135. +])
  58136. +m4trace:m4/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58137. +m4trace:m4/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  58138. +You should run autoupdate.])dnl
  58139. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58140. +m4trace:m4/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58141. +m4trace:m4/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  58142. +You should run autoupdate.])dnl
  58143. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  58144. +m4trace:m4/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
  58145. +AC_MSG_NOTICE([creating $CONFIG_LT])
  58146. +cat >"$CONFIG_LT" <<_LTEOF
  58147. +#! $SHELL
  58148. +# Generated by $as_me.
  58149. +# Run this file to recreate a libtool stub with the current configuration.
  58150. +
  58151. +lt_cl_silent=false
  58152. +SHELL=\${CONFIG_SHELL-$SHELL}
  58153. +_LTEOF
  58154. +
  58155. +cat >>"$CONFIG_LT" <<\_LTEOF
  58156. +AS_SHELL_SANITIZE
  58157. +_AS_PREPARE
  58158. +
  58159. +exec AS_MESSAGE_FD>&1
  58160. +exec AS_MESSAGE_LOG_FD>>config.log
  58161. +{
  58162. + echo
  58163. + AS_BOX([Running $as_me.])
  58164. +} >&AS_MESSAGE_LOG_FD
  58165. +
  58166. +lt_cl_help="\
  58167. +\`$as_me' creates a local libtool stub from the current configuration,
  58168. +for use in further configure time tests before the real libtool is
  58169. +generated.
  58170. +
  58171. +Usage: $[0] [[OPTIONS]]
  58172. +
  58173. + -h, --help print this help, then exit
  58174. + -V, --version print version number, then exit
  58175. + -q, --quiet do not print progress messages
  58176. + -d, --debug don't remove temporary files
  58177. +
  58178. +Report bugs to <[email protected]>."
  58179. +
  58180. +lt_cl_version="\
  58181. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  58182. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  58183. +configured by $[0], generated by m4_PACKAGE_STRING.
  58184. +
  58185. +Copyright (C) 2008 Free Software Foundation, Inc.
  58186. +This config.lt script is free software; the Free Software Foundation
  58187. +gives unlimited permision to copy, distribute and modify it."
  58188. +
  58189. +while test $[#] != 0
  58190. +do
  58191. + case $[1] in
  58192. + --version | --v* | -V )
  58193. + echo "$lt_cl_version"; exit 0 ;;
  58194. + --help | --h* | -h )
  58195. + echo "$lt_cl_help"; exit 0 ;;
  58196. + --debug | --d* | -d )
  58197. + debug=: ;;
  58198. + --quiet | --q* | --silent | --s* | -q )
  58199. + lt_cl_silent=: ;;
  58200. +
  58201. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  58202. +Try \`$[0] --help' for more information.]) ;;
  58203. +
  58204. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  58205. +Try \`$[0] --help' for more information.]) ;;
  58206. + esac
  58207. + shift
  58208. +done
  58209. +
  58210. +if $lt_cl_silent; then
  58211. + exec AS_MESSAGE_FD>/dev/null
  58212. +fi
  58213. +_LTEOF
  58214. +
  58215. +cat >>"$CONFIG_LT" <<_LTEOF
  58216. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  58217. +_LTEOF
  58218. +
  58219. +cat >>"$CONFIG_LT" <<\_LTEOF
  58220. +AC_MSG_NOTICE([creating $ofile])
  58221. +_LT_OUTPUT_LIBTOOL_COMMANDS
  58222. +AS_EXIT(0)
  58223. +_LTEOF
  58224. +chmod +x "$CONFIG_LT"
  58225. +
  58226. +# configure is writing to config.log, but config.lt does its own redirection,
  58227. +# appending to config.log, which fails on DOS, as config.log is still kept
  58228. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  58229. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  58230. +if test "$no_create" != yes; then
  58231. + lt_cl_success=:
  58232. + test "$silent" = yes &&
  58233. + lt_config_lt_args="$lt_config_lt_args --quiet"
  58234. + exec AS_MESSAGE_LOG_FD>/dev/null
  58235. + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  58236. + exec AS_MESSAGE_LOG_FD>>config.log
  58237. + $lt_cl_success || AS_EXIT(1)
  58238. +fi
  58239. +])
  58240. +m4trace:m4/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
  58241. +m4trace:m4/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
  58242. +m4_case([$1],
  58243. + [C], [_LT_LANG(C)],
  58244. + [C++], [_LT_LANG(CXX)],
  58245. + [Java], [_LT_LANG(GCJ)],
  58246. + [Fortran 77], [_LT_LANG(F77)],
  58247. + [Fortran], [_LT_LANG(FC)],
  58248. + [Windows Resource], [_LT_LANG(RC)],
  58249. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  58250. + [_LT_LANG($1)],
  58251. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  58252. +])
  58253. +m4trace:m4/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  58254. +m4trace:m4/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
  58255. +You should run autoupdate.])dnl
  58256. +LT_LANG(C++)])
  58257. +m4trace:m4/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  58258. +m4trace:m4/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
  58259. +You should run autoupdate.])dnl
  58260. +LT_LANG(Fortran 77)])
  58261. +m4trace:m4/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  58262. +m4trace:m4/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
  58263. +You should run autoupdate.])dnl
  58264. +LT_LANG(Fortran)])
  58265. +m4trace:m4/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  58266. +m4trace:m4/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
  58267. +You should run autoupdate.])dnl
  58268. +LT_LANG(Java)])
  58269. +m4trace:m4/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58270. +m4_require([_LT_DECL_SED])dnl
  58271. +AC_CACHE_CHECK([$1], [$2],
  58272. + [$2=no
  58273. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  58274. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  58275. + lt_compiler_flag="$3"
  58276. + # Insert the option either (1) after the last *FLAGS variable, or
  58277. + # (2) before a word containing "conftest.", or (3) at the end.
  58278. + # Note that $ac_compile itself does not contain backslashes and begins
  58279. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  58280. + # The option is referenced via a variable to avoid confusing sed.
  58281. + lt_compile=`echo "$ac_compile" | $SED \
  58282. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  58283. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  58284. + -e 's:$: $lt_compiler_flag:'`
  58285. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  58286. + (eval "$lt_compile" 2>conftest.err)
  58287. + ac_status=$?
  58288. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58289. + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  58290. + if (exit $ac_status) && test -s "$ac_outfile"; then
  58291. + # The compiler can only warn and ignore the option if not recognized
  58292. + # So say no if there are warnings other than the usual output.
  58293. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  58294. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  58295. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  58296. + $2=yes
  58297. + fi
  58298. + fi
  58299. + $RM conftest*
  58300. +])
  58301. +
  58302. +if test x"[$]$2" = xyes; then
  58303. + m4_if([$5], , :, [$5])
  58304. +else
  58305. + m4_if([$6], , :, [$6])
  58306. +fi
  58307. +])
  58308. +m4trace:m4/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  58309. +m4trace:m4/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
  58310. +You should run autoupdate.])dnl
  58311. +m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  58312. +m4trace:m4/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58313. +m4_require([_LT_DECL_SED])dnl
  58314. +AC_CACHE_CHECK([$1], [$2],
  58315. + [$2=no
  58316. + save_LDFLAGS="$LDFLAGS"
  58317. + LDFLAGS="$LDFLAGS $3"
  58318. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  58319. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  58320. + # The linker can only warn and ignore the option if not recognized
  58321. + # So say no if there are warnings
  58322. + if test -s conftest.err; then
  58323. + # Append any errors to the config.log.
  58324. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  58325. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  58326. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  58327. + if diff conftest.exp conftest.er2 >/dev/null; then
  58328. + $2=yes
  58329. + fi
  58330. + else
  58331. + $2=yes
  58332. + fi
  58333. + fi
  58334. + $RM -r conftest*
  58335. + LDFLAGS="$save_LDFLAGS"
  58336. +])
  58337. +
  58338. +if test x"[$]$2" = xyes; then
  58339. + m4_if([$4], , :, [$4])
  58340. +else
  58341. + m4_if([$5], , :, [$5])
  58342. +fi
  58343. +])
  58344. +m4trace:m4/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  58345. +m4trace:m4/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
  58346. +You should run autoupdate.])dnl
  58347. +m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  58348. +m4trace:m4/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58349. +# find the maximum length of command line arguments
  58350. +AC_MSG_CHECKING([the maximum length of command line arguments])
  58351. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  58352. + i=0
  58353. + teststring="ABCD"
  58354. +
  58355. + case $build_os in
  58356. + msdosdjgpp*)
  58357. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  58358. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  58359. + # during glob expansion). Even if it were fixed, the result of this
  58360. + # check would be larger than it should be.
  58361. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  58362. + ;;
  58363. +
  58364. + gnu*)
  58365. + # Under GNU Hurd, this test is not required because there is
  58366. + # no limit to the length of command line arguments.
  58367. + # Libtool will interpret -1 as no limit whatsoever
  58368. + lt_cv_sys_max_cmd_len=-1;
  58369. + ;;
  58370. +
  58371. + cygwin* | mingw* | cegcc*)
  58372. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  58373. + # about 5 minutes as the teststring grows exponentially.
  58374. + # Worse, since 9x/ME are not pre-emptively multitasking,
  58375. + # you end up with a "frozen" computer, even though with patience
  58376. + # the test eventually succeeds (with a max line length of 256k).
  58377. + # Instead, let's just punt: use the minimum linelength reported by
  58378. + # all of the supported platforms: 8192 (on NT/2K/XP).
  58379. + lt_cv_sys_max_cmd_len=8192;
  58380. + ;;
  58381. +
  58382. + amigaos*)
  58383. + # On AmigaOS with pdksh, this test takes hours, literally.
  58384. + # So we just punt and use a minimum line length of 8192.
  58385. + lt_cv_sys_max_cmd_len=8192;
  58386. + ;;
  58387. +
  58388. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  58389. + # This has been around since 386BSD, at least. Likely further.
  58390. + if test -x /sbin/sysctl; then
  58391. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  58392. + elif test -x /usr/sbin/sysctl; then
  58393. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  58394. + else
  58395. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  58396. + fi
  58397. + # And add a safety zone
  58398. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  58399. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  58400. + ;;
  58401. +
  58402. + interix*)
  58403. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  58404. + lt_cv_sys_max_cmd_len=196608
  58405. + ;;
  58406. +
  58407. + osf*)
  58408. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  58409. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  58410. + # nice to cause kernel panics so lets avoid the loop below.
  58411. + # First set a reasonable default.
  58412. + lt_cv_sys_max_cmd_len=16384
  58413. + #
  58414. + if test -x /sbin/sysconfig; then
  58415. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  58416. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  58417. + esac
  58418. + fi
  58419. + ;;
  58420. + sco3.2v5*)
  58421. + lt_cv_sys_max_cmd_len=102400
  58422. + ;;
  58423. + sysv5* | sco5v6* | sysv4.2uw2*)
  58424. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  58425. + if test -n "$kargmax"; then
  58426. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  58427. + else
  58428. + lt_cv_sys_max_cmd_len=32768
  58429. + fi
  58430. + ;;
  58431. + *)
  58432. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  58433. + if test -n "$lt_cv_sys_max_cmd_len"; then
  58434. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  58435. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  58436. + else
  58437. + # Make teststring a little bigger before we do anything with it.
  58438. + # a 1K string should be a reasonable start.
  58439. + for i in 1 2 3 4 5 6 7 8 ; do
  58440. + teststring=$teststring$teststring
  58441. + done
  58442. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  58443. + # If test is not a shell built-in, we'll probably end up computing a
  58444. + # maximum length that is only half of the actual maximum length, but
  58445. + # we can't tell.
  58446. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  58447. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  58448. + test $i != 17 # 1/2 MB should be enough
  58449. + do
  58450. + i=`expr $i + 1`
  58451. + teststring=$teststring$teststring
  58452. + done
  58453. + # Only check the string length outside the loop.
  58454. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  58455. + teststring=
  58456. + # Add a significant safety factor because C++ compilers can tack on
  58457. + # massive amounts of additional arguments before passing them to the
  58458. + # linker. It appears as though 1/2 is a usable value.
  58459. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  58460. + fi
  58461. + ;;
  58462. + esac
  58463. +])
  58464. +if test -n $lt_cv_sys_max_cmd_len ; then
  58465. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  58466. +else
  58467. + AC_MSG_RESULT(none)
  58468. +fi
  58469. +max_cmd_len=$lt_cv_sys_max_cmd_len
  58470. +_LT_DECL([], [max_cmd_len], [0],
  58471. + [What is the maximum length of a command?])
  58472. +])
  58473. +m4trace:m4/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  58474. +m4trace:m4/libtool.m4:1623: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
  58475. +You should run autoupdate.])dnl
  58476. +m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  58477. +m4trace:m4/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
  58478. +if test "x$enable_dlopen" != xyes; then
  58479. + enable_dlopen=unknown
  58480. + enable_dlopen_self=unknown
  58481. + enable_dlopen_self_static=unknown
  58482. +else
  58483. + lt_cv_dlopen=no
  58484. + lt_cv_dlopen_libs=
  58485. +
  58486. + case $host_os in
  58487. + beos*)
  58488. + lt_cv_dlopen="load_add_on"
  58489. + lt_cv_dlopen_libs=
  58490. + lt_cv_dlopen_self=yes
  58491. + ;;
  58492. +
  58493. + mingw* | pw32* | cegcc*)
  58494. + lt_cv_dlopen="LoadLibrary"
  58495. + lt_cv_dlopen_libs=
  58496. + ;;
  58497. +
  58498. + cygwin*)
  58499. + lt_cv_dlopen="dlopen"
  58500. + lt_cv_dlopen_libs=
  58501. + ;;
  58502. +
  58503. + darwin*)
  58504. + # if libdl is installed we need to link against it
  58505. + AC_CHECK_LIB([dl], [dlopen],
  58506. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  58507. + lt_cv_dlopen="dyld"
  58508. + lt_cv_dlopen_libs=
  58509. + lt_cv_dlopen_self=yes
  58510. + ])
  58511. + ;;
  58512. +
  58513. + *)
  58514. + AC_CHECK_FUNC([shl_load],
  58515. + [lt_cv_dlopen="shl_load"],
  58516. + [AC_CHECK_LIB([dld], [shl_load],
  58517. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  58518. + [AC_CHECK_FUNC([dlopen],
  58519. + [lt_cv_dlopen="dlopen"],
  58520. + [AC_CHECK_LIB([dl], [dlopen],
  58521. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  58522. + [AC_CHECK_LIB([svld], [dlopen],
  58523. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  58524. + [AC_CHECK_LIB([dld], [dld_link],
  58525. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  58526. + ])
  58527. + ])
  58528. + ])
  58529. + ])
  58530. + ])
  58531. + ;;
  58532. + esac
  58533. +
  58534. + if test "x$lt_cv_dlopen" != xno; then
  58535. + enable_dlopen=yes
  58536. + else
  58537. + enable_dlopen=no
  58538. + fi
  58539. +
  58540. + case $lt_cv_dlopen in
  58541. + dlopen)
  58542. + save_CPPFLAGS="$CPPFLAGS"
  58543. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  58544. +
  58545. + save_LDFLAGS="$LDFLAGS"
  58546. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  58547. +
  58548. + save_LIBS="$LIBS"
  58549. + LIBS="$lt_cv_dlopen_libs $LIBS"
  58550. +
  58551. + AC_CACHE_CHECK([whether a program can dlopen itself],
  58552. + lt_cv_dlopen_self, [dnl
  58553. + _LT_TRY_DLOPEN_SELF(
  58554. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  58555. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  58556. + ])
  58557. +
  58558. + if test "x$lt_cv_dlopen_self" = xyes; then
  58559. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  58560. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  58561. + lt_cv_dlopen_self_static, [dnl
  58562. + _LT_TRY_DLOPEN_SELF(
  58563. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  58564. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  58565. + ])
  58566. + fi
  58567. +
  58568. + CPPFLAGS="$save_CPPFLAGS"
  58569. + LDFLAGS="$save_LDFLAGS"
  58570. + LIBS="$save_LIBS"
  58571. + ;;
  58572. + esac
  58573. +
  58574. + case $lt_cv_dlopen_self in
  58575. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  58576. + *) enable_dlopen_self=unknown ;;
  58577. + esac
  58578. +
  58579. + case $lt_cv_dlopen_self_static in
  58580. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  58581. + *) enable_dlopen_self_static=unknown ;;
  58582. + esac
  58583. +fi
  58584. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  58585. + [Whether dlopen is supported])
  58586. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  58587. + [Whether dlopen of programs is supported])
  58588. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  58589. + [Whether dlopen of statically linked programs is supported])
  58590. +])
  58591. +m4trace:m4/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  58592. +m4trace:m4/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
  58593. +You should run autoupdate.])dnl
  58594. +m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  58595. +m4trace:m4/libtool.m4:2741: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
  58596. +AC_MSG_CHECKING([for $1])
  58597. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  58598. +[case $MAGIC_CMD in
  58599. +[[\\/*] | ?:[\\/]*])
  58600. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  58601. + ;;
  58602. +*)
  58603. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  58604. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  58605. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  58606. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  58607. +dnl not every word. This closes a longstanding sh security hole.
  58608. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  58609. + for ac_dir in $ac_dummy; do
  58610. + IFS="$lt_save_ifs"
  58611. + test -z "$ac_dir" && ac_dir=.
  58612. + if test -f $ac_dir/$1; then
  58613. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  58614. + if test -n "$file_magic_test_file"; then
  58615. + case $deplibs_check_method in
  58616. + "file_magic "*)
  58617. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  58618. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  58619. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  58620. + $EGREP "$file_magic_regex" > /dev/null; then
  58621. + :
  58622. + else
  58623. + cat <<_LT_EOF 1>&2
  58624. +
  58625. +*** Warning: the command libtool uses to detect shared libraries,
  58626. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  58627. +*** The result is that libtool may fail to recognize shared libraries
  58628. +*** as such. This will affect the creation of libtool libraries that
  58629. +*** depend on shared libraries, but programs linked with such libtool
  58630. +*** libraries will work regardless of this problem. Nevertheless, you
  58631. +*** may want to report the problem to your system manager and/or to
  58632. +
  58633. +_LT_EOF
  58634. + fi ;;
  58635. + esac
  58636. + fi
  58637. + break
  58638. + fi
  58639. + done
  58640. + IFS="$lt_save_ifs"
  58641. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  58642. + ;;
  58643. +esac])
  58644. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  58645. +if test -n "$MAGIC_CMD"; then
  58646. + AC_MSG_RESULT($MAGIC_CMD)
  58647. +else
  58648. + AC_MSG_RESULT(no)
  58649. +fi
  58650. +_LT_DECL([], [MAGIC_CMD], [0],
  58651. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  58652. +])
  58653. +m4trace:m4/libtool.m4:2803: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  58654. +m4trace:m4/libtool.m4:2803: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
  58655. +You should run autoupdate.])dnl
  58656. +m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  58657. +m4trace:m4/libtool.m4:2826: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
  58658. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58659. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  58660. +m4_require([_LT_DECL_SED])dnl
  58661. +m4_require([_LT_DECL_EGREP])dnl
  58662. +
  58663. +AC_ARG_WITH([gnu-ld],
  58664. + [AS_HELP_STRING([--with-gnu-ld],
  58665. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  58666. + [test "$withval" = no || with_gnu_ld=yes],
  58667. + [with_gnu_ld=no])dnl
  58668. +
  58669. +ac_prog=ld
  58670. +if test "$GCC" = yes; then
  58671. + # Check if gcc -print-prog-name=ld gives a path.
  58672. + AC_MSG_CHECKING([for ld used by $CC])
  58673. + case $host in
  58674. + *-*-mingw*)
  58675. + # gcc leaves a trailing carriage return which upsets mingw
  58676. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  58677. + *)
  58678. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  58679. + esac
  58680. + case $ac_prog in
  58681. + # Accept absolute paths.
  58682. + [[\\/]]* | ?:[[\\/]]*)
  58683. + re_direlt='/[[^/]][[^/]]*/\.\./'
  58684. + # Canonicalize the pathname of ld
  58685. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  58686. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  58687. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  58688. + done
  58689. + test -z "$LD" && LD="$ac_prog"
  58690. + ;;
  58691. + "")
  58692. + # If it fails, then pretend we aren't using GCC.
  58693. + ac_prog=ld
  58694. + ;;
  58695. + *)
  58696. + # If it is relative, then search for the first ld in PATH.
  58697. + with_gnu_ld=unknown
  58698. + ;;
  58699. + esac
  58700. +elif test "$with_gnu_ld" = yes; then
  58701. + AC_MSG_CHECKING([for GNU ld])
  58702. +else
  58703. + AC_MSG_CHECKING([for non-GNU ld])
  58704. +fi
  58705. +AC_CACHE_VAL(lt_cv_path_LD,
  58706. +[if test -z "$LD"; then
  58707. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  58708. + for ac_dir in $PATH; do
  58709. + IFS="$lt_save_ifs"
  58710. + test -z "$ac_dir" && ac_dir=.
  58711. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  58712. + lt_cv_path_LD="$ac_dir/$ac_prog"
  58713. + # Check to see if the program is GNU ld. I'd rather use --version,
  58714. + # but apparently some variants of GNU ld only accept -v.
  58715. + # Break only if it was the GNU/non-GNU ld that we prefer.
  58716. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  58717. + *GNU* | *'with BFD'*)
  58718. + test "$with_gnu_ld" != no && break
  58719. + ;;
  58720. + *)
  58721. + test "$with_gnu_ld" != yes && break
  58722. + ;;
  58723. + esac
  58724. + fi
  58725. + done
  58726. + IFS="$lt_save_ifs"
  58727. +else
  58728. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  58729. +fi])
  58730. +LD="$lt_cv_path_LD"
  58731. +if test -n "$LD"; then
  58732. + AC_MSG_RESULT($LD)
  58733. +else
  58734. + AC_MSG_RESULT(no)
  58735. +fi
  58736. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  58737. +_LT_PATH_LD_GNU
  58738. +AC_SUBST([LD])
  58739. +
  58740. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  58741. +])
  58742. +m4trace:m4/libtool.m4:2914: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58743. +m4trace:m4/libtool.m4:2914: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
  58744. +You should run autoupdate.])dnl
  58745. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58746. +m4trace:m4/libtool.m4:2915: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58747. +m4trace:m4/libtool.m4:2915: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
  58748. +You should run autoupdate.])dnl
  58749. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  58750. +m4trace:m4/libtool.m4:3179: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
  58751. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  58752. +[if test -n "$NM"; then
  58753. + # Let the user override the test.
  58754. + lt_cv_path_NM="$NM"
  58755. +else
  58756. + lt_nm_to_check="${ac_tool_prefix}nm"
  58757. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  58758. + lt_nm_to_check="$lt_nm_to_check nm"
  58759. + fi
  58760. + for lt_tmp_nm in $lt_nm_to_check; do
  58761. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  58762. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  58763. + IFS="$lt_save_ifs"
  58764. + test -z "$ac_dir" && ac_dir=.
  58765. + tmp_nm="$ac_dir/$lt_tmp_nm"
  58766. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  58767. + # Check to see if the nm accepts a BSD-compat flag.
  58768. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  58769. + # nm: unknown option "B" ignored
  58770. + # Tru64's nm complains that /dev/null is an invalid object file
  58771. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  58772. + */dev/null* | *'Invalid file or object type'*)
  58773. + lt_cv_path_NM="$tmp_nm -B"
  58774. + break
  58775. + ;;
  58776. + *)
  58777. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  58778. + */dev/null*)
  58779. + lt_cv_path_NM="$tmp_nm -p"
  58780. + break
  58781. + ;;
  58782. + *)
  58783. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  58784. + continue # so that we can try to find one that supports BSD flags
  58785. + ;;
  58786. + esac
  58787. + ;;
  58788. + esac
  58789. + fi
  58790. + done
  58791. + IFS="$lt_save_ifs"
  58792. + done
  58793. + : ${lt_cv_path_NM=no}
  58794. +fi])
  58795. +if test "$lt_cv_path_NM" != "no"; then
  58796. + NM="$lt_cv_path_NM"
  58797. +else
  58798. + # Didn't find any BSD compatible name lister, look for dumpbin.
  58799. + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  58800. + AC_SUBST([DUMPBIN])
  58801. + if test "$DUMPBIN" != ":"; then
  58802. + NM="$DUMPBIN"
  58803. + fi
  58804. +fi
  58805. +test -z "$NM" && NM=nm
  58806. +AC_SUBST([NM])
  58807. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  58808. +
  58809. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  58810. + [lt_cv_nm_interface="BSD nm"
  58811. + echo "int some_variable = 0;" > conftest.$ac_ext
  58812. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  58813. + (eval "$ac_compile" 2>conftest.err)
  58814. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58815. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  58816. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  58817. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58818. + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  58819. + cat conftest.out >&AS_MESSAGE_LOG_FD
  58820. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  58821. + lt_cv_nm_interface="MS dumpbin"
  58822. + fi
  58823. + rm -f conftest*])
  58824. +])
  58825. +m4trace:m4/libtool.m4:3257: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58826. +m4trace:m4/libtool.m4:3257: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
  58827. +You should run autoupdate.])dnl
  58828. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58829. +m4trace:m4/libtool.m4:3258: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58830. +m4trace:m4/libtool.m4:3258: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
  58831. +You should run autoupdate.])dnl
  58832. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  58833. +m4trace:m4/libtool.m4:3267: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58834. +LIBM=
  58835. +case $host in
  58836. +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  58837. + # These system don't have libm, or don't need it
  58838. + ;;
  58839. +*-ncr-sysv4.3*)
  58840. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  58841. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  58842. + ;;
  58843. +*)
  58844. + AC_CHECK_LIB(m, cos, LIBM="-lm")
  58845. + ;;
  58846. +esac
  58847. +AC_SUBST([LIBM])
  58848. +])
  58849. +m4trace:m4/libtool.m4:3286: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  58850. +m4trace:m4/libtool.m4:3286: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
  58851. +You should run autoupdate.])dnl
  58852. +m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  58853. +m4trace:m4/libtool.m4:6987: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  58854. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  58855. + [AC_CHECK_TOOL(GCJ, gcj,)
  58856. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  58857. + AC_SUBST(GCJFLAGS)])])[]dnl
  58858. +])
  58859. +m4trace:m4/libtool.m4:6996: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  58860. +m4trace:m4/libtool.m4:6996: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
  58861. +You should run autoupdate.])dnl
  58862. +m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  58863. +m4trace:m4/libtool.m4:7003: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
  58864. +])
  58865. +m4trace:m4/libtool.m4:7008: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  58866. +m4trace:m4/libtool.m4:7008: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
  58867. +You should run autoupdate.])dnl
  58868. +m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  58869. +m4trace:m4/libtool.m4:7119: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  58870. +m4trace:m4/libtool.m4:7119: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
  58871. +You should run autoupdate.])dnl
  58872. +m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  58873. +m4trace:m4/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  58874. +m4trace:m4/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
  58875. +AC_DIAGNOSE([obsolete],
  58876. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58877. +put the `dlopen' option into LT_INIT's first parameter.])
  58878. +])
  58879. +m4trace:m4/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  58880. +You should run autoupdate.])dnl
  58881. +_LT_SET_OPTION([LT_INIT], [dlopen])
  58882. +AC_DIAGNOSE([obsolete],
  58883. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58884. +put the `dlopen' option into LT_INIT's first parameter.])
  58885. +])
  58886. +m4trace:m4/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58887. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  58888. +AC_DIAGNOSE([obsolete],
  58889. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58890. +put the `win32-dll' option into LT_INIT's first parameter.])
  58891. +])
  58892. +m4trace:m4/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
  58893. +You should run autoupdate.])dnl
  58894. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58895. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  58896. +AC_DIAGNOSE([obsolete],
  58897. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58898. +put the `win32-dll' option into LT_INIT's first parameter.])
  58899. +])
  58900. +m4trace:m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  58901. +])
  58902. +m4trace:m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
  58903. +])
  58904. +m4trace:m4/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  58905. +m4trace:m4/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
  58906. +You should run autoupdate.])dnl
  58907. +AC_ENABLE_SHARED($@)])
  58908. +m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  58909. +m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
  58910. +You should run autoupdate.])dnl
  58911. +AC_DISABLE_SHARED($@)])
  58912. +m4trace:m4/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  58913. +])
  58914. +m4trace:m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
  58915. +])
  58916. +m4trace:m4/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  58917. +m4trace:m4/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
  58918. +You should run autoupdate.])dnl
  58919. +AC_ENABLE_STATIC($@)])
  58920. +m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  58921. +m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
  58922. +You should run autoupdate.])dnl
  58923. +AC_DISABLE_STATIC($@)])
  58924. +m4trace:m4/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  58925. +AC_DIAGNOSE([obsolete],
  58926. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58927. +the `fast-install' option into LT_INIT's first parameter.])
  58928. +])
  58929. +m4trace:m4/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
  58930. +You should run autoupdate.])dnl
  58931. +_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  58932. +AC_DIAGNOSE([obsolete],
  58933. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58934. +the `fast-install' option into LT_INIT's first parameter.])
  58935. +])
  58936. +m4trace:m4/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  58937. +AC_DIAGNOSE([obsolete],
  58938. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58939. +the `disable-fast-install' option into LT_INIT's first parameter.])
  58940. +])
  58941. +m4trace:m4/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
  58942. +You should run autoupdate.])dnl
  58943. +_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  58944. +AC_DIAGNOSE([obsolete],
  58945. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  58946. +the `disable-fast-install' option into LT_INIT's first parameter.])
  58947. +])
  58948. +m4trace:m4/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
  58949. +AC_DIAGNOSE([obsolete],
  58950. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58951. +put the `pic-only' option into LT_INIT's first parameter.])
  58952. +])
  58953. +m4trace:m4/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
  58954. +You should run autoupdate.])dnl
  58955. +_LT_SET_OPTION([LT_INIT], [pic-only])
  58956. +AC_DIAGNOSE([obsolete],
  58957. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  58958. +put the `pic-only' option into LT_INIT's first parameter.])
  58959. +])
  58960. +m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  58961. +m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
  58962. +macro_revision='1.3017'
  58963. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  58964. +_LT_DECL(, macro_revision, 0)
  58965. +])
  58966. +m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  58967. +m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
  58968. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  58969. +m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
  58970. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  58971. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
  58972. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
  58973. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
  58974. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
  58975. +m4trace:configure.ac:9: -1- m4_pattern_allow([^SHELL$])
  58976. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  58977. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  58978. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  58979. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  58980. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  58981. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  58982. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  58983. +m4trace:configure.ac:9: -1- m4_pattern_allow([^exec_prefix$])
  58984. +m4trace:configure.ac:9: -1- m4_pattern_allow([^prefix$])
  58985. +m4trace:configure.ac:9: -1- m4_pattern_allow([^program_transform_name$])
  58986. +m4trace:configure.ac:9: -1- m4_pattern_allow([^bindir$])
  58987. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sbindir$])
  58988. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libexecdir$])
  58989. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datarootdir$])
  58990. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datadir$])
  58991. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sysconfdir$])
  58992. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sharedstatedir$])
  58993. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localstatedir$])
  58994. +m4trace:configure.ac:9: -1- m4_pattern_allow([^includedir$])
  58995. +m4trace:configure.ac:9: -1- m4_pattern_allow([^oldincludedir$])
  58996. +m4trace:configure.ac:9: -1- m4_pattern_allow([^docdir$])
  58997. +m4trace:configure.ac:9: -1- m4_pattern_allow([^infodir$])
  58998. +m4trace:configure.ac:9: -1- m4_pattern_allow([^htmldir$])
  58999. +m4trace:configure.ac:9: -1- m4_pattern_allow([^dvidir$])
  59000. +m4trace:configure.ac:9: -1- m4_pattern_allow([^pdfdir$])
  59001. +m4trace:configure.ac:9: -1- m4_pattern_allow([^psdir$])
  59002. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libdir$])
  59003. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localedir$])
  59004. +m4trace:configure.ac:9: -1- m4_pattern_allow([^mandir$])
  59005. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  59006. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  59007. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  59008. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  59009. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  59010. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  59011. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEFS$])
  59012. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_C$])
  59013. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_N$])
  59014. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_T$])
  59015. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  59016. +m4trace:configure.ac:9: -1- m4_pattern_allow([^build_alias$])
  59017. +m4trace:configure.ac:9: -1- m4_pattern_allow([^host_alias$])
  59018. +m4trace:configure.ac:9: -1- m4_pattern_allow([^target_alias$])
  59019. +m4trace:configure.ac:10: -1- AC_CONFIG_MACRO_DIR([m4])
  59020. +m4trace:configure.ac:11: -1- AM_INIT_AUTOMAKE([fiasco], [1.3])
  59021. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  59022. +m4trace:configure.ac:11: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  59023. +m4trace:configure.ac:11: -1- AM_AUTOMAKE_VERSION([1.16.1])
  59024. +m4trace:configure.ac:11: -1- _AM_AUTOCONF_VERSION([2.69])
  59025. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  59026. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  59027. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_DATA$])
  59028. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__isrc$])
  59029. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__isrc])
  59030. +m4trace:configure.ac:11: -1- m4_pattern_allow([^CYGPATH_W$])
  59031. +m4trace:configure.ac:11: -1- _m4_warn([obsolete], [AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.], [/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
  59032. +configure.ac:11: the top level])
  59033. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59034. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59035. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  59036. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  59037. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-define])
  59038. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59039. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59040. +m4trace:configure.ac:11: -1- AM_SANITY_CHECK
  59041. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  59042. +m4trace:configure.ac:11: -1- AM_MISSING_HAS_RUN
  59043. +m4trace:configure.ac:11: -1- AM_AUX_DIR_EXPAND
  59044. +m4trace:configure.ac:11: -1- m4_pattern_allow([^ACLOCAL$])
  59045. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  59046. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOCONF$])
  59047. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  59048. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOMAKE$])
  59049. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  59050. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOHEADER$])
  59051. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  59052. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MAKEINFO$])
  59053. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_SH
  59054. +m4trace:configure.ac:11: -1- m4_pattern_allow([^install_sh$])
  59055. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_STRIP
  59056. +m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
  59057. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  59058. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MKDIR_P$])
  59059. +m4trace:configure.ac:11: -1- m4_pattern_allow([^mkdir_p$])
  59060. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AWK$])
  59061. +m4trace:configure.ac:11: -1- m4_pattern_allow([^SET_MAKE$])
  59062. +m4trace:configure.ac:11: -1- AM_SET_LEADING_DOT
  59063. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__leading_dot$])
  59064. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  59065. + [_AM_PROG_TAR([v7])])])
  59066. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-ustar])
  59067. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  59068. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-pax])
  59069. +m4trace:configure.ac:11: -1- _AM_PROG_TAR([v7])
  59070. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AMTAR$])
  59071. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__tar$])
  59072. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__untar$])
  59073. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  59074. + [_AM_DEPENDENCIES([CC])],
  59075. + [m4_define([AC_PROG_CC],
  59076. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  59077. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  59078. + [_AM_DEPENDENCIES([CXX])],
  59079. + [m4_define([AC_PROG_CXX],
  59080. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  59081. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  59082. + [_AM_DEPENDENCIES([OBJC])],
  59083. + [m4_define([AC_PROG_OBJC],
  59084. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  59085. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  59086. + [_AM_DEPENDENCIES([OBJCXX])],
  59087. + [m4_define([AC_PROG_OBJCXX],
  59088. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  59089. +])
  59090. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-dependencies])
  59091. +m4trace:configure.ac:11: -1- AM_SILENT_RULES
  59092. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  59093. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_V])
  59094. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  59095. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  59096. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  59097. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  59098. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  59099. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  59100. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  59101. +m4trace:configure.ac:12: -1- AM_CONFIG_HEADER([config.h])
  59102. +m4trace:configure.ac:12: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
  59103. +You should use the 'AC_CONFIG_HEADERS' macro instead.], [/usr/share/aclocal-1.16/obsolete.m4:11: AM_CONFIG_HEADER is expanded from...
  59104. +configure.ac:12: the top level])
  59105. +m4trace:configure.ac:15: -1- AM_PROG_LIBTOOL
  59106. +m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  59107. +You should run autoupdate.], [m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59108. +configure.ac:15: the top level])
  59109. +m4trace:configure.ac:15: -1- LT_INIT
  59110. +m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  59111. +m4trace:configure.ac:15: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  59112. +m4trace:configure.ac:15: -1- LTOPTIONS_VERSION
  59113. +m4trace:configure.ac:15: -1- LTSUGAR_VERSION
  59114. +m4trace:configure.ac:15: -1- LTVERSION_VERSION
  59115. +m4trace:configure.ac:15: -1- LTOBSOLETE_VERSION
  59116. +m4trace:configure.ac:15: -1- _LT_PROG_LTMAIN
  59117. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBTOOL$])
  59118. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build$])
  59119. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_cpu$])
  59120. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_vendor$])
  59121. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_os$])
  59122. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host$])
  59123. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_cpu$])
  59124. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_vendor$])
  59125. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_os$])
  59126. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59127. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  59128. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  59129. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  59130. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59131. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59132. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59133. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59134. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59135. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  59136. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EXEEXT$])
  59137. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJEXT$])
  59138. +m4trace:configure.ac:15: -1- _AM_PROG_CC_C_O
  59139. +m4trace:configure.ac:15: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  59140. +m4trace:configure.ac:15: -1- _AM_DEPENDENCIES([CC])
  59141. +m4trace:configure.ac:15: -1- AM_SET_DEPDIR
  59142. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DEPDIR$])
  59143. +m4trace:configure.ac:15: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  59144. +m4trace:configure.ac:15: -1- AM_MAKE_INCLUDE
  59145. +m4trace:configure.ac:15: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  59146. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__include$])
  59147. +m4trace:configure.ac:15: -1- AM_DEP_TRACK
  59148. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  59149. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_TRUE$])
  59150. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_FALSE$])
  59151. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  59152. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  59153. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  59154. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  59155. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__nodep$])
  59156. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__nodep])
  59157. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  59158. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  59159. + test "x$enable_dependency_tracking" != xno \
  59160. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59161. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59162. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59163. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59164. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59165. +m4trace:configure.ac:15: -1- LT_PATH_LD
  59166. +m4trace:configure.ac:15: -1- m4_pattern_allow([^SED$])
  59167. +m4trace:configure.ac:15: -1- AC_PROG_EGREP
  59168. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59169. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EGREP$])
  59170. +m4trace:configure.ac:15: -1- m4_pattern_allow([^FGREP$])
  59171. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59172. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
  59173. +m4trace:configure.ac:15: -1- LT_PATH_NM
  59174. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59175. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  59176. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59177. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NM$])
  59178. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LN_S$])
  59179. +m4trace:configure.ac:15: -1- LT_CMD_MAX_LEN
  59180. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59181. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59182. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AR$])
  59183. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
  59184. +m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
  59185. +m4trace:configure.ac:15: -1- m4_pattern_allow([LT_OBJDIR])
  59186. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_OBJDIR$])
  59187. +m4trace:configure.ac:15: -1- _LT_PROG_ECHO_BACKSLASH
  59188. +m4trace:configure.ac:15: -1- m4_pattern_allow([^lt_ECHO$])
  59189. +m4trace:configure.ac:15: -1- _LT_CC_BASENAME([$compiler])
  59190. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
  59191. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
  59192. +m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CC])
  59193. +m4trace:configure.ac:15: -1- _LT_COMPILER_BOILERPLATE
  59194. +m4trace:configure.ac:15: -1- _LT_LINKER_BOILERPLATE
  59195. +m4trace:configure.ac:15: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
  59196. +m4trace:configure.ac:15: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
  59197. + "" | " "*) ;;
  59198. + *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
  59199. + esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
  59200. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
  59201. +m4trace:configure.ac:15: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
  59202. +m4trace:configure.ac:15: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  59203. +../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  59204. +../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  59205. +m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
  59206. +m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
  59207. +m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
  59208. +m4/libtool.m4:138: _LT_SETUP is expanded from...
  59209. +m4/libtool.m4:67: LT_INIT is expanded from...
  59210. +m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59211. +configure.ac:15: the top level])
  59212. +m4trace:configure.ac:15: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  59213. +../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  59214. +../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  59215. +m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
  59216. +m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
  59217. +m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
  59218. +m4/libtool.m4:138: _LT_SETUP is expanded from...
  59219. +m4/libtool.m4:67: LT_INIT is expanded from...
  59220. +m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59221. +configure.ac:15: the top level])
  59222. +m4trace:configure.ac:15: -1- _LT_REQUIRED_DARWIN_CHECKS
  59223. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DSYMUTIL$])
  59224. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NMEDIT$])
  59225. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIPO$])
  59226. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL$])
  59227. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL64$])
  59228. +m4trace:configure.ac:15: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
  59229. +../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
  59230. +../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
  59231. +m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
  59232. +m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
  59233. +m4/libtool.m4:138: _LT_SETUP is expanded from...
  59234. +m4/libtool.m4:67: LT_INIT is expanded from...
  59235. +m4/libtool.m4:103: AM_PROG_LIBTOOL is expanded from...
  59236. +configure.ac:15: the top level])
  59237. +m4trace:configure.ac:15: -1- LT_SYS_DLOPEN_SELF
  59238. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59239. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59240. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59241. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STDC_HEADERS$])
  59242. +m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  59243. +m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
  59244. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59245. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CFLAGS$])
  59246. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LDFLAGS$])
  59247. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LIBS$])
  59248. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CPPFLAGS$])
  59249. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59250. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59251. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59252. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59253. +m4trace:configure.ac:17: -1- m4_pattern_allow([^ac_ct_CC$])
  59254. +m4trace:configure.ac:17: -1- _AM_PROG_CC_C_O
  59255. +m4trace:configure.ac:17: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  59256. +m4trace:configure.ac:17: -1- _AM_DEPENDENCIES([CC])
  59257. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CCDEPMODE$])
  59258. +m4trace:configure.ac:17: -1- AM_CONDITIONAL([am__fastdepCC], [
  59259. + test "x$enable_dependency_tracking" != xno \
  59260. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59261. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59262. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59263. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59264. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59265. +m4trace:configure.ac:20: -1- m4_pattern_allow([^INCLUDES$])
  59266. +m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  59267. +You should run autoupdate.], [../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from...
  59268. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  59269. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  59270. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  59271. +configure.ac:25: the top level])
  59272. +m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_SIGNED_SHIFT$])
  59273. +m4trace:configure.ac:34: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  59274. +m4trace:configure.ac:34: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  59275. +m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_CHAR$])
  59276. +m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
  59277. +m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_INT$])
  59278. +m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_LIBM$])
  59279. +m4trace:configure.ac:55: -1- m4_pattern_allow([^xfig$])
  59280. +m4trace:configure.ac:57: -1- m4_pattern_allow([^XFIG$])
  59281. +m4trace:configure.ac:59: -1- m4_pattern_allow([^xmag$])
  59282. +m4trace:configure.ac:61: -1- m4_pattern_allow([^XMAG$])
  59283. +m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
  59284. +m4trace:configure.ac:69: -1- m4_pattern_allow([^const$])
  59285. +m4trace:configure.ac:70: -1- m4_pattern_allow([^size_t$])
  59286. +m4trace:configure.ac:71: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
  59287. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  59288. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  59289. +m4trace:configure.ac:77: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
  59290. +You should run autoupdate.], [])
  59291. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  59292. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LTLIBOBJS$])
  59293. +m4trace:configure.ac:77: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  59294. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  59295. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  59296. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  59297. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  59298. +m4trace:configure.ac:77: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  59299. +m4trace:configure.ac:77: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  59300. +m4trace:configure.ac:77: -1- AM_RUN_LOG([cd "$am_dirpart" \
  59301. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  59302. + | $MAKE -f - am--depfiles])
  59303. +m4trace:configure.ac:77: -1- _LT_PROG_LTMAIN
  59304. diff -Nru Fiasco-master/autom4te.cache/traces.1 Fiasco-master-pfiasco/autom4te.cache/traces.1
  59305. --- Fiasco-master/autom4te.cache/traces.1 1969-12-31 19:00:00.000000000 -0500
  59306. +++ Fiasco-master-pfiasco/autom4te.cache/traces.1 2019-06-17 21:04:51.877817574 -0400
  59307. @@ -0,0 +1,669 @@
  59308. +m4trace:aclocal.m4:679: -1- AC_SUBST([am__quote])
  59309. +m4trace:aclocal.m4:679: -1- AC_SUBST_TRACE([am__quote])
  59310. +m4trace:aclocal.m4:679: -1- m4_pattern_allow([^am__quote$])
  59311. +m4trace:aclocal.m4:1165: -1- m4_include([m4/libtool.m4])
  59312. +m4trace:aclocal.m4:1166: -1- m4_include([m4/ltoptions.m4])
  59313. +m4trace:aclocal.m4:1167: -1- m4_include([m4/ltsugar.m4])
  59314. +m4trace:aclocal.m4:1168: -1- m4_include([m4/ltversion.m4])
  59315. +m4trace:aclocal.m4:1169: -1- m4_include([m4/lt~obsolete.m4])
  59316. +m4trace:configure.ac:9: -1- AC_INIT([fiasco], [1.3])
  59317. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  59318. +m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
  59319. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  59320. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
  59321. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
  59322. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
  59323. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
  59324. +m4trace:configure.ac:9: -1- AC_SUBST([SHELL])
  59325. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([SHELL])
  59326. +m4trace:configure.ac:9: -1- m4_pattern_allow([^SHELL$])
  59327. +m4trace:configure.ac:9: -1- AC_SUBST([PATH_SEPARATOR])
  59328. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  59329. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  59330. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  59331. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  59332. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  59333. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  59334. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  59335. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  59336. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  59337. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  59338. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  59339. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  59340. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  59341. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  59342. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  59343. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  59344. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  59345. +m4trace:configure.ac:9: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  59346. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([PACKAGE_URL])
  59347. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  59348. +m4trace:configure.ac:9: -1- AC_SUBST([exec_prefix], [NONE])
  59349. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([exec_prefix])
  59350. +m4trace:configure.ac:9: -1- m4_pattern_allow([^exec_prefix$])
  59351. +m4trace:configure.ac:9: -1- AC_SUBST([prefix], [NONE])
  59352. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([prefix])
  59353. +m4trace:configure.ac:9: -1- m4_pattern_allow([^prefix$])
  59354. +m4trace:configure.ac:9: -1- AC_SUBST([program_transform_name], [s,x,x,])
  59355. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([program_transform_name])
  59356. +m4trace:configure.ac:9: -1- m4_pattern_allow([^program_transform_name$])
  59357. +m4trace:configure.ac:9: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  59358. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([bindir])
  59359. +m4trace:configure.ac:9: -1- m4_pattern_allow([^bindir$])
  59360. +m4trace:configure.ac:9: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  59361. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([sbindir])
  59362. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sbindir$])
  59363. +m4trace:configure.ac:9: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  59364. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([libexecdir])
  59365. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libexecdir$])
  59366. +m4trace:configure.ac:9: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  59367. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([datarootdir])
  59368. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datarootdir$])
  59369. +m4trace:configure.ac:9: -1- AC_SUBST([datadir], ['${datarootdir}'])
  59370. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([datadir])
  59371. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datadir$])
  59372. +m4trace:configure.ac:9: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  59373. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([sysconfdir])
  59374. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sysconfdir$])
  59375. +m4trace:configure.ac:9: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  59376. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([sharedstatedir])
  59377. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sharedstatedir$])
  59378. +m4trace:configure.ac:9: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  59379. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([localstatedir])
  59380. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localstatedir$])
  59381. +m4trace:configure.ac:9: -1- AC_SUBST([includedir], ['${prefix}/include'])
  59382. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([includedir])
  59383. +m4trace:configure.ac:9: -1- m4_pattern_allow([^includedir$])
  59384. +m4trace:configure.ac:9: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  59385. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([oldincludedir])
  59386. +m4trace:configure.ac:9: -1- m4_pattern_allow([^oldincludedir$])
  59387. +m4trace:configure.ac:9: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  59388. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  59389. + ['${datarootdir}/doc/${PACKAGE}'])])
  59390. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([docdir])
  59391. +m4trace:configure.ac:9: -1- m4_pattern_allow([^docdir$])
  59392. +m4trace:configure.ac:9: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  59393. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([infodir])
  59394. +m4trace:configure.ac:9: -1- m4_pattern_allow([^infodir$])
  59395. +m4trace:configure.ac:9: -1- AC_SUBST([htmldir], ['${docdir}'])
  59396. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([htmldir])
  59397. +m4trace:configure.ac:9: -1- m4_pattern_allow([^htmldir$])
  59398. +m4trace:configure.ac:9: -1- AC_SUBST([dvidir], ['${docdir}'])
  59399. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([dvidir])
  59400. +m4trace:configure.ac:9: -1- m4_pattern_allow([^dvidir$])
  59401. +m4trace:configure.ac:9: -1- AC_SUBST([pdfdir], ['${docdir}'])
  59402. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([pdfdir])
  59403. +m4trace:configure.ac:9: -1- m4_pattern_allow([^pdfdir$])
  59404. +m4trace:configure.ac:9: -1- AC_SUBST([psdir], ['${docdir}'])
  59405. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([psdir])
  59406. +m4trace:configure.ac:9: -1- m4_pattern_allow([^psdir$])
  59407. +m4trace:configure.ac:9: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  59408. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([libdir])
  59409. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libdir$])
  59410. +m4trace:configure.ac:9: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  59411. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([localedir])
  59412. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localedir$])
  59413. +m4trace:configure.ac:9: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  59414. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([mandir])
  59415. +m4trace:configure.ac:9: -1- m4_pattern_allow([^mandir$])
  59416. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  59417. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  59418. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  59419. +@%:@undef PACKAGE_NAME])
  59420. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  59421. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  59422. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  59423. +@%:@undef PACKAGE_TARNAME])
  59424. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  59425. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  59426. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  59427. +@%:@undef PACKAGE_VERSION])
  59428. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  59429. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  59430. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  59431. +@%:@undef PACKAGE_STRING])
  59432. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  59433. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  59434. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  59435. +@%:@undef PACKAGE_BUGREPORT])
  59436. +m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  59437. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  59438. +m4trace:configure.ac:9: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  59439. +@%:@undef PACKAGE_URL])
  59440. +m4trace:configure.ac:9: -1- AC_SUBST([DEFS])
  59441. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DEFS])
  59442. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEFS$])
  59443. +m4trace:configure.ac:9: -1- AC_SUBST([ECHO_C])
  59444. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ECHO_C])
  59445. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_C$])
  59446. +m4trace:configure.ac:9: -1- AC_SUBST([ECHO_N])
  59447. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ECHO_N])
  59448. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_N$])
  59449. +m4trace:configure.ac:9: -1- AC_SUBST([ECHO_T])
  59450. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ECHO_T])
  59451. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_T$])
  59452. +m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
  59453. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
  59454. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  59455. +m4trace:configure.ac:9: -1- AC_SUBST([build_alias])
  59456. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([build_alias])
  59457. +m4trace:configure.ac:9: -1- m4_pattern_allow([^build_alias$])
  59458. +m4trace:configure.ac:9: -1- AC_SUBST([host_alias])
  59459. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([host_alias])
  59460. +m4trace:configure.ac:9: -1- m4_pattern_allow([^host_alias$])
  59461. +m4trace:configure.ac:9: -1- AC_SUBST([target_alias])
  59462. +m4trace:configure.ac:9: -1- AC_SUBST_TRACE([target_alias])
  59463. +m4trace:configure.ac:9: -1- m4_pattern_allow([^target_alias$])
  59464. +m4trace:configure.ac:11: -1- AM_INIT_AUTOMAKE([])
  59465. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  59466. +m4trace:configure.ac:11: -1- AM_AUTOMAKE_VERSION([1.16.1])
  59467. +m4trace:configure.ac:11: -1- AC_REQUIRE_AUX_FILE([install-sh])
  59468. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_PROGRAM])
  59469. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  59470. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  59471. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_SCRIPT])
  59472. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  59473. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  59474. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_DATA])
  59475. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_DATA])
  59476. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_DATA$])
  59477. +m4trace:configure.ac:11: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  59478. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__isrc])
  59479. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__isrc$])
  59480. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__isrc])
  59481. +m4trace:configure.ac:11: -1- AC_SUBST([CYGPATH_W])
  59482. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([CYGPATH_W])
  59483. +m4trace:configure.ac:11: -1- m4_pattern_allow([^CYGPATH_W$])
  59484. +m4trace:configure.ac:11: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
  59485. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([PACKAGE])
  59486. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59487. +m4trace:configure.ac:11: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
  59488. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([VERSION])
  59489. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59490. +m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  59491. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  59492. +m4trace:configure.ac:11: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  59493. +@%:@undef PACKAGE])
  59494. +m4trace:configure.ac:11: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  59495. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  59496. +m4trace:configure.ac:11: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  59497. +@%:@undef VERSION])
  59498. +m4trace:configure.ac:11: -1- AC_REQUIRE_AUX_FILE([missing])
  59499. +m4trace:configure.ac:11: -1- AC_SUBST([ACLOCAL])
  59500. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([ACLOCAL])
  59501. +m4trace:configure.ac:11: -1- m4_pattern_allow([^ACLOCAL$])
  59502. +m4trace:configure.ac:11: -1- AC_SUBST([AUTOCONF])
  59503. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AUTOCONF])
  59504. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOCONF$])
  59505. +m4trace:configure.ac:11: -1- AC_SUBST([AUTOMAKE])
  59506. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AUTOMAKE])
  59507. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOMAKE$])
  59508. +m4trace:configure.ac:11: -1- AC_SUBST([AUTOHEADER])
  59509. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AUTOHEADER])
  59510. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOHEADER$])
  59511. +m4trace:configure.ac:11: -1- AC_SUBST([MAKEINFO])
  59512. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([MAKEINFO])
  59513. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MAKEINFO$])
  59514. +m4trace:configure.ac:11: -1- AC_SUBST([install_sh])
  59515. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([install_sh])
  59516. +m4trace:configure.ac:11: -1- m4_pattern_allow([^install_sh$])
  59517. +m4trace:configure.ac:11: -1- AC_SUBST([STRIP])
  59518. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([STRIP])
  59519. +m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
  59520. +m4trace:configure.ac:11: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  59521. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  59522. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  59523. +m4trace:configure.ac:11: -1- AC_REQUIRE_AUX_FILE([install-sh])
  59524. +m4trace:configure.ac:11: -1- AC_SUBST([MKDIR_P])
  59525. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([MKDIR_P])
  59526. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MKDIR_P$])
  59527. +m4trace:configure.ac:11: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  59528. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([mkdir_p])
  59529. +m4trace:configure.ac:11: -1- m4_pattern_allow([^mkdir_p$])
  59530. +m4trace:configure.ac:11: -1- AC_SUBST([AWK])
  59531. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AWK])
  59532. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AWK$])
  59533. +m4trace:configure.ac:11: -1- AC_SUBST([SET_MAKE])
  59534. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([SET_MAKE])
  59535. +m4trace:configure.ac:11: -1- m4_pattern_allow([^SET_MAKE$])
  59536. +m4trace:configure.ac:11: -1- AC_SUBST([am__leading_dot])
  59537. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__leading_dot])
  59538. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__leading_dot$])
  59539. +m4trace:configure.ac:11: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
  59540. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AMTAR])
  59541. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AMTAR$])
  59542. +m4trace:configure.ac:11: -1- AC_SUBST([am__tar])
  59543. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__tar])
  59544. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__tar$])
  59545. +m4trace:configure.ac:11: -1- AC_SUBST([am__untar])
  59546. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([am__untar])
  59547. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__untar$])
  59548. +m4trace:configure.ac:11: -1- AM_SILENT_RULES
  59549. +m4trace:configure.ac:11: -1- AC_SUBST([AM_V])
  59550. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_V])
  59551. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  59552. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  59553. +m4trace:configure.ac:11: -1- AC_SUBST([AM_DEFAULT_V])
  59554. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
  59555. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  59556. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  59557. +m4trace:configure.ac:11: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
  59558. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
  59559. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  59560. +m4trace:configure.ac:11: -1- AC_SUBST([AM_BACKSLASH])
  59561. +m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AM_BACKSLASH])
  59562. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  59563. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  59564. +m4trace:configure.ac:12: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
  59565. +You should use the 'AC_CONFIG_HEADERS' macro instead.], [aclocal.m4:730: AM_CONFIG_HEADER is expanded from...
  59566. +configure.ac:12: the top level])
  59567. +m4trace:configure.ac:12: -1- AC_CONFIG_HEADERS([config.h])
  59568. +m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  59569. +You should run autoupdate.], [m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
  59570. +configure.ac:15: the top level])
  59571. +m4trace:configure.ac:15: -1- LT_INIT
  59572. +m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  59573. +m4trace:configure.ac:15: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  59574. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  59575. +m4trace:configure.ac:15: -1- AC_SUBST([LIBTOOL])
  59576. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBTOOL])
  59577. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBTOOL$])
  59578. +m4trace:configure.ac:15: -1- AC_CANONICAL_HOST
  59579. +m4trace:configure.ac:15: -1- AC_CANONICAL_BUILD
  59580. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([config.sub])
  59581. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([config.guess])
  59582. +m4trace:configure.ac:15: -1- AC_SUBST([build], [$ac_cv_build])
  59583. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build])
  59584. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build$])
  59585. +m4trace:configure.ac:15: -1- AC_SUBST([build_cpu], [$[1]])
  59586. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build_cpu])
  59587. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_cpu$])
  59588. +m4trace:configure.ac:15: -1- AC_SUBST([build_vendor], [$[2]])
  59589. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build_vendor])
  59590. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_vendor$])
  59591. +m4trace:configure.ac:15: -1- AC_SUBST([build_os])
  59592. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([build_os])
  59593. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_os$])
  59594. +m4trace:configure.ac:15: -1- AC_SUBST([host], [$ac_cv_host])
  59595. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host])
  59596. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host$])
  59597. +m4trace:configure.ac:15: -1- AC_SUBST([host_cpu], [$[1]])
  59598. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host_cpu])
  59599. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_cpu$])
  59600. +m4trace:configure.ac:15: -1- AC_SUBST([host_vendor], [$[2]])
  59601. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host_vendor])
  59602. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_vendor$])
  59603. +m4trace:configure.ac:15: -1- AC_SUBST([host_os])
  59604. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([host_os])
  59605. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_os$])
  59606. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59607. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59608. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59609. +m4trace:configure.ac:15: -1- AC_SUBST([CFLAGS])
  59610. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CFLAGS])
  59611. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  59612. +m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
  59613. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
  59614. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  59615. +m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
  59616. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
  59617. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  59618. +m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
  59619. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
  59620. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59621. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59622. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59623. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59624. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59625. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59626. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59627. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59628. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59629. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59630. +m4trace:configure.ac:15: -1- AC_SUBST([CC])
  59631. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
  59632. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  59633. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CC])
  59634. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CC])
  59635. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  59636. +m4trace:configure.ac:15: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  59637. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([EXEEXT])
  59638. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EXEEXT$])
  59639. +m4trace:configure.ac:15: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  59640. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OBJEXT])
  59641. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJEXT$])
  59642. +m4trace:configure.ac:15: -1- AC_REQUIRE_AUX_FILE([compile])
  59643. +m4trace:configure.ac:15: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  59644. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DEPDIR])
  59645. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DEPDIR$])
  59646. +m4trace:configure.ac:15: -1- AC_SUBST([am__include])
  59647. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__include])
  59648. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__include$])
  59649. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  59650. +m4trace:configure.ac:15: -1- AC_SUBST([AMDEP_TRUE])
  59651. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  59652. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_TRUE$])
  59653. +m4trace:configure.ac:15: -1- AC_SUBST([AMDEP_FALSE])
  59654. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  59655. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_FALSE$])
  59656. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  59657. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  59658. +m4trace:configure.ac:15: -1- AC_SUBST([AMDEPBACKSLASH])
  59659. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  59660. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  59661. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  59662. +m4trace:configure.ac:15: -1- AC_SUBST([am__nodep])
  59663. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__nodep])
  59664. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__nodep$])
  59665. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__nodep])
  59666. +m4trace:configure.ac:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  59667. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CCDEPMODE])
  59668. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  59669. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  59670. + test "x$enable_dependency_tracking" != xno \
  59671. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59672. +m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_TRUE])
  59673. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  59674. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59675. +m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_FALSE])
  59676. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  59677. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59678. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59679. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59680. +m4trace:configure.ac:15: -1- AC_SUBST([SED])
  59681. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SED])
  59682. +m4trace:configure.ac:15: -1- m4_pattern_allow([^SED$])
  59683. +m4trace:configure.ac:15: -1- AC_SUBST([GREP])
  59684. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([GREP])
  59685. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59686. +m4trace:configure.ac:15: -1- AC_SUBST([EGREP])
  59687. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([EGREP])
  59688. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EGREP$])
  59689. +m4trace:configure.ac:15: -1- AC_SUBST([FGREP])
  59690. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([FGREP])
  59691. +m4trace:configure.ac:15: -1- m4_pattern_allow([^FGREP$])
  59692. +m4trace:configure.ac:15: -1- AC_SUBST([GREP])
  59693. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([GREP])
  59694. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  59695. +m4trace:configure.ac:15: -1- AC_SUBST([LD])
  59696. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LD])
  59697. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
  59698. +m4trace:configure.ac:15: -1- AC_SUBST([DUMPBIN])
  59699. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DUMPBIN])
  59700. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59701. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_DUMPBIN])
  59702. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
  59703. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  59704. +m4trace:configure.ac:15: -1- AC_SUBST([DUMPBIN])
  59705. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DUMPBIN])
  59706. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  59707. +m4trace:configure.ac:15: -1- AC_SUBST([NM])
  59708. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([NM])
  59709. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NM$])
  59710. +m4trace:configure.ac:15: -1- AC_SUBST([LN_S], [$as_ln_s])
  59711. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LN_S])
  59712. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LN_S$])
  59713. +m4trace:configure.ac:15: -1- AC_SUBST([OBJDUMP])
  59714. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OBJDUMP])
  59715. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59716. +m4trace:configure.ac:15: -1- AC_SUBST([OBJDUMP])
  59717. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OBJDUMP])
  59718. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  59719. +m4trace:configure.ac:15: -1- AC_SUBST([DLLTOOL])
  59720. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DLLTOOL])
  59721. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  59722. +m4trace:configure.ac:15: -1- AC_SUBST([DLLTOOL])
  59723. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DLLTOOL])
  59724. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  59725. +m4trace:configure.ac:15: -1- AC_SUBST([AR])
  59726. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([AR])
  59727. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AR$])
  59728. +m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_AR])
  59729. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_AR])
  59730. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_AR$])
  59731. +m4trace:configure.ac:15: -1- AC_SUBST([STRIP])
  59732. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([STRIP])
  59733. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
  59734. +m4trace:configure.ac:15: -1- AC_SUBST([RANLIB])
  59735. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([RANLIB])
  59736. +m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
  59737. +m4trace:configure.ac:15: -1- m4_pattern_allow([LT_OBJDIR])
  59738. +m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
  59739. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_OBJDIR$])
  59740. +m4trace:configure.ac:15: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */
  59741. +@%:@undef LT_OBJDIR])
  59742. +m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CC])
  59743. +m4trace:configure.ac:15: -1- AC_SUBST([MANIFEST_TOOL])
  59744. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
  59745. +m4trace:configure.ac:15: -1- m4_pattern_allow([^MANIFEST_TOOL$])
  59746. +m4trace:configure.ac:15: -1- AC_SUBST([DSYMUTIL])
  59747. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([DSYMUTIL])
  59748. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DSYMUTIL$])
  59749. +m4trace:configure.ac:15: -1- AC_SUBST([NMEDIT])
  59750. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([NMEDIT])
  59751. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NMEDIT$])
  59752. +m4trace:configure.ac:15: -1- AC_SUBST([LIPO])
  59753. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIPO])
  59754. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIPO$])
  59755. +m4trace:configure.ac:15: -1- AC_SUBST([OTOOL])
  59756. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OTOOL])
  59757. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL$])
  59758. +m4trace:configure.ac:15: -1- AC_SUBST([OTOOL64])
  59759. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([OTOOL64])
  59760. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL64$])
  59761. +m4trace:configure.ac:15: -1- AC_SUBST([LT_SYS_LIBRARY_PATH])
  59762. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LT_SYS_LIBRARY_PATH])
  59763. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
  59764. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
  59765. +@%:@undef HAVE_DLFCN_H])
  59766. +m4trace:configure.ac:15: -1- AC_SUBST([CPP])
  59767. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPP])
  59768. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59769. +m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
  59770. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
  59771. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  59772. +m4trace:configure.ac:15: -1- AC_SUBST([CPP])
  59773. +m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPP])
  59774. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  59775. +m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  59776. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STDC_HEADERS$])
  59777. +m4trace:configure.ac:15: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  59778. +@%:@undef STDC_HEADERS])
  59779. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  59780. +@%:@undef HAVE_SYS_TYPES_H])
  59781. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  59782. +@%:@undef HAVE_SYS_STAT_H])
  59783. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  59784. +@%:@undef HAVE_STDLIB_H])
  59785. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  59786. +@%:@undef HAVE_STRING_H])
  59787. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  59788. +@%:@undef HAVE_MEMORY_H])
  59789. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  59790. +@%:@undef HAVE_STRINGS_H])
  59791. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  59792. +@%:@undef HAVE_INTTYPES_H])
  59793. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  59794. +@%:@undef HAVE_STDINT_H])
  59795. +m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  59796. +@%:@undef HAVE_UNISTD_H])
  59797. +m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
  59798. +m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  59799. +m4trace:configure.ac:16: -1- AC_SUBST([LIBTOOL_DEPS])
  59800. +m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LIBTOOL_DEPS])
  59801. +m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
  59802. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59803. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59804. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59805. +m4trace:configure.ac:17: -1- AC_SUBST([CFLAGS])
  59806. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CFLAGS])
  59807. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CFLAGS$])
  59808. +m4trace:configure.ac:17: -1- AC_SUBST([LDFLAGS])
  59809. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([LDFLAGS])
  59810. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LDFLAGS$])
  59811. +m4trace:configure.ac:17: -1- AC_SUBST([LIBS])
  59812. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([LIBS])
  59813. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LIBS$])
  59814. +m4trace:configure.ac:17: -1- AC_SUBST([CPPFLAGS])
  59815. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CPPFLAGS])
  59816. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CPPFLAGS$])
  59817. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59818. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59819. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59820. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59821. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59822. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59823. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59824. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59825. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59826. +m4trace:configure.ac:17: -1- AC_SUBST([CC])
  59827. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CC])
  59828. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  59829. +m4trace:configure.ac:17: -1- AC_SUBST([ac_ct_CC])
  59830. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([ac_ct_CC])
  59831. +m4trace:configure.ac:17: -1- m4_pattern_allow([^ac_ct_CC$])
  59832. +m4trace:configure.ac:17: -1- AC_REQUIRE_AUX_FILE([compile])
  59833. +m4trace:configure.ac:17: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  59834. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([CCDEPMODE])
  59835. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CCDEPMODE$])
  59836. +m4trace:configure.ac:17: -1- AM_CONDITIONAL([am__fastdepCC], [
  59837. + test "x$enable_dependency_tracking" != xno \
  59838. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  59839. +m4trace:configure.ac:17: -1- AC_SUBST([am__fastdepCC_TRUE])
  59840. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  59841. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  59842. +m4trace:configure.ac:17: -1- AC_SUBST([am__fastdepCC_FALSE])
  59843. +m4trace:configure.ac:17: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  59844. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  59845. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  59846. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  59847. +m4trace:configure.ac:20: -1- AC_SUBST([AM_CPPFLAGS])
  59848. +m4trace:configure.ac:20: -1- AC_SUBST_TRACE([AM_CPPFLAGS])
  59849. +m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_CPPFLAGS$])
  59850. +m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  59851. +You should run autoupdate.], [../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from...
  59852. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  59853. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  59854. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  59855. +configure.ac:25: the top level])
  59856. +m4trace:configure.ac:31: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNED_SHIFT])
  59857. +m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_SIGNED_SHIFT$])
  59858. +m4trace:configure.ac:34: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  59859. + significant byte first (like Motorola and SPARC, unlike Intel). */
  59860. +#if defined AC_APPLE_UNIVERSAL_BUILD
  59861. +# if defined __BIG_ENDIAN__
  59862. +# define WORDS_BIGENDIAN 1
  59863. +# endif
  59864. +#else
  59865. +# ifndef WORDS_BIGENDIAN
  59866. +# undef WORDS_BIGENDIAN
  59867. +# endif
  59868. +#endif])
  59869. +m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
  59870. +m4trace:configure.ac:34: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  59871. +m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
  59872. +m4trace:configure.ac:34: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  59873. +m4trace:configure.ac:34: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
  59874. +@%:@undef AC_APPLE_UNIVERSAL_BUILD])
  59875. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR])
  59876. +m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_CHAR$])
  59877. +m4trace:configure.ac:35: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of `char\', as computed by sizeof. */
  59878. +@%:@undef SIZEOF_CHAR])
  59879. +m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT])
  59880. +m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
  59881. +m4trace:configure.ac:36: -1- AH_OUTPUT([SIZEOF_SHORT], [/* The size of `short\', as computed by sizeof. */
  59882. +@%:@undef SIZEOF_SHORT])
  59883. +m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
  59884. +m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_INT$])
  59885. +m4trace:configure.ac:37: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of `int\', as computed by sizeof. */
  59886. +@%:@undef SIZEOF_INT])
  59887. +m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */
  59888. +@%:@undef HAVE_LIBM])
  59889. +m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM])
  59890. +m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_LIBM$])
  59891. +m4trace:configure.ac:55: -1- AC_SUBST([xfig])
  59892. +m4trace:configure.ac:55: -1- AC_SUBST_TRACE([xfig])
  59893. +m4trace:configure.ac:55: -1- m4_pattern_allow([^xfig$])
  59894. +m4trace:configure.ac:57: -1- AC_DEFINE_TRACE_LITERAL([XFIG])
  59895. +m4trace:configure.ac:57: -1- m4_pattern_allow([^XFIG$])
  59896. +m4trace:configure.ac:57: -1- AH_OUTPUT([XFIG], [/* Define path of xfig utility */
  59897. +@%:@undef XFIG])
  59898. +m4trace:configure.ac:59: -1- AC_SUBST([xmag])
  59899. +m4trace:configure.ac:59: -1- AC_SUBST_TRACE([xmag])
  59900. +m4trace:configure.ac:59: -1- m4_pattern_allow([^xmag$])
  59901. +m4trace:configure.ac:61: -1- AC_DEFINE_TRACE_LITERAL([XMAG])
  59902. +m4trace:configure.ac:61: -1- m4_pattern_allow([^XMAG$])
  59903. +m4trace:configure.ac:61: -1- AH_OUTPUT([XMAG], [/* Define path of xmag utility */
  59904. +@%:@undef XMAG])
  59905. +m4trace:configure.ac:65: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  59906. +m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
  59907. +m4trace:configure.ac:65: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  59908. +@%:@undef STDC_HEADERS])
  59909. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_ASSERT_H], [/* Define to 1 if you have the <assert.h> header file. */
  59910. +@%:@undef HAVE_ASSERT_H])
  59911. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_FEATURES_H], [/* Define to 1 if you have the <features.h> header file. */
  59912. +@%:@undef HAVE_FEATURES_H])
  59913. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_SETJMP_H], [/* Define to 1 if you have the <setjmp.h> header file. */
  59914. +@%:@undef HAVE_SETJMP_H])
  59915. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  59916. +@%:@undef HAVE_STRING_H])
  59917. +m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  59918. +@%:@undef HAVE_UNISTD_H])
  59919. +m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([const])
  59920. +m4trace:configure.ac:69: -1- m4_pattern_allow([^const$])
  59921. +m4trace:configure.ac:69: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
  59922. +@%:@undef const])
  59923. +m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([size_t])
  59924. +m4trace:configure.ac:70: -1- m4_pattern_allow([^size_t$])
  59925. +m4trace:configure.ac:70: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
  59926. +@%:@undef size_t])
  59927. +m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
  59928. +m4trace:configure.ac:71: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
  59929. +m4trace:configure.ac:71: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  59930. +@%:@undef TIME_WITH_SYS_TIME])
  59931. +m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */
  59932. +@%:@undef HAVE_VPRINTF])
  59933. +m4trace:configure.ac:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VPRINTF])
  59934. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  59935. +m4trace:configure.ac:74: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT])
  59936. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  59937. +m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */
  59938. +@%:@undef HAVE_DOPRNT])
  59939. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_LOG2], [/* Define to 1 if you have the `log2\' function. */
  59940. +@%:@undef HAVE_LOG2])
  59941. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
  59942. +@%:@undef HAVE_MEMMOVE])
  59943. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
  59944. +@%:@undef HAVE_STRDUP])
  59945. +m4trace:configure.ac:75: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */
  59946. +@%:@undef HAVE_STRCASECMP])
  59947. +m4trace:configure.ac:77: -1- AC_CONFIG_FILES([Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile])
  59948. +m4trace:configure.ac:77: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
  59949. +You should run autoupdate.], [])
  59950. +m4trace:configure.ac:77: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  59951. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  59952. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  59953. +m4trace:configure.ac:77: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  59954. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([LTLIBOBJS])
  59955. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LTLIBOBJS$])
  59956. +m4trace:configure.ac:77: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  59957. +m4trace:configure.ac:77: -1- AC_SUBST([am__EXEEXT_TRUE])
  59958. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  59959. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  59960. +m4trace:configure.ac:77: -1- AC_SUBST([am__EXEEXT_FALSE])
  59961. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  59962. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  59963. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  59964. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  59965. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([top_builddir])
  59966. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([top_build_prefix])
  59967. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([srcdir])
  59968. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_srcdir])
  59969. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([top_srcdir])
  59970. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_top_srcdir])
  59971. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([builddir])
  59972. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_builddir])
  59973. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([abs_top_builddir])
  59974. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([INSTALL])
  59975. +m4trace:configure.ac:77: -1- AC_SUBST_TRACE([MKDIR_P])
  59976. +m4trace:configure.ac:77: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  59977. diff -Nru Fiasco-master/autom4te.cache/traces.2 Fiasco-master-pfiasco/autom4te.cache/traces.2
  59978. --- Fiasco-master/autom4te.cache/traces.2 1969-12-31 19:00:00.000000000 -0500
  59979. +++ Fiasco-master-pfiasco/autom4te.cache/traces.2 2019-06-17 21:04:56.799785252 -0400
  59980. @@ -0,0 +1,2752 @@
  59981. +m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
  59982. +AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
  59983. +
  59984. +AC_CHECK_TYPES([error_t],
  59985. + [],
  59986. + [AC_DEFINE([error_t], [int],
  59987. + [Define to a type to use for 'error_t' if it is not otherwise available.])
  59988. + AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
  59989. + does not typedef error_t.])],
  59990. + [#if defined(HAVE_ARGZ_H)
  59991. +# include <argz.h>
  59992. +#endif])
  59993. +
  59994. +LT_ARGZ_H=
  59995. +AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
  59996. + argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
  59997. +
  59998. +dnl if have system argz functions, allow forced use of
  59999. +dnl libltdl-supplied implementation (and default to do so
  60000. +dnl on "known bad" systems). Could use a runtime check, but
  60001. +dnl (a) detecting malloc issues is notoriously unreliable
  60002. +dnl (b) only known system that declares argz functions,
  60003. +dnl provides them, yet they are broken, is cygwin
  60004. +dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
  60005. +dnl So, it's more straightforward simply to special case
  60006. +dnl this for known bad systems.
  60007. +AS_IF([test -z "$LT_ARGZ_H"],
  60008. + [AC_CACHE_CHECK(
  60009. + [if argz actually works],
  60010. + [lt_cv_sys_argz_works],
  60011. + [[case $host_os in #(
  60012. + *cygwin*)
  60013. + lt_cv_sys_argz_works=no
  60014. + if test no != "$cross_compiling"; then
  60015. + lt_cv_sys_argz_works="guessing no"
  60016. + else
  60017. + lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  60018. + save_IFS=$IFS
  60019. + IFS=-.
  60020. + set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  60021. + IFS=$save_IFS
  60022. + lt_os_major=${2-0}
  60023. + lt_os_minor=${3-0}
  60024. + lt_os_micro=${4-0}
  60025. + if test 1 -lt "$lt_os_major" \
  60026. + || { test 1 -eq "$lt_os_major" \
  60027. + && { test 5 -lt "$lt_os_minor" \
  60028. + || { test 5 -eq "$lt_os_minor" \
  60029. + && test 24 -lt "$lt_os_micro"; }; }; }; then
  60030. + lt_cv_sys_argz_works=yes
  60031. + fi
  60032. + fi
  60033. + ;; #(
  60034. + *) lt_cv_sys_argz_works=yes ;;
  60035. + esac]])
  60036. + AS_IF([test yes = "$lt_cv_sys_argz_works"],
  60037. + [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
  60038. + [This value is set to 1 to indicate that the system argz facility works])],
  60039. + [LT_ARGZ_H=lt__argz.h
  60040. + AC_LIBOBJ([lt__argz])])])
  60041. +
  60042. +AC_SUBST([LT_ARGZ_H])
  60043. +])
  60044. +m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
  60045. +_$0($*)
  60046. +])
  60047. +m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  60048. +dnl Although the argument is deprecated and no longer documented,
  60049. +dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
  60050. +dnl here make sure it is the same as any other declaration of libltdl's
  60051. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  60052. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  60053. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  60054. +_$0()
  60055. +])
  60056. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60057. +_LTDL_CONVENIENCE])
  60058. +m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
  60059. +You should run autoupdate.])dnl
  60060. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60061. +_LTDL_CONVENIENCE])
  60062. +m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
  60063. +dnl Although the argument is deprecated and no longer documented,
  60064. +dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  60065. +dnl here make sure it is the same as any other declaration of libltdl's
  60066. +dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
  60067. +dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  60068. +m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
  60069. +_$0()
  60070. +])
  60071. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60072. +_LTDL_INSTALLABLE])
  60073. +m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
  60074. +You should run autoupdate.])dnl
  60075. +_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  60076. +_LTDL_INSTALLABLE])
  60077. +m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
  60078. + m4_pattern_allow([^_LT_LIBOBJS$])
  60079. + _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
  60080. +])
  60081. +m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
  60082. +_LT_SET_OPTIONS([$0], [$1])
  60083. +
  60084. +dnl We need to keep our own list of libobjs separate from our parent project,
  60085. +dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  60086. +dnl we look for our own LIBOBJs.
  60087. +m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  60088. +m4_pushdef([AC_LIBSOURCES])
  60089. +
  60090. +dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  60091. +m4_if(_LTDL_MODE, [],
  60092. + [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
  60093. + m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
  60094. + [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
  60095. +
  60096. +AC_ARG_WITH([included_ltdl],
  60097. + [AS_HELP_STRING([--with-included-ltdl],
  60098. + [use the GNU ltdl sources included here])])
  60099. +
  60100. +if test yes != "$with_included_ltdl"; then
  60101. + # We are not being forced to use the included libltdl sources, so
  60102. + # decide whether there is a useful installed version we can use.
  60103. + AC_CHECK_HEADER([ltdl.h],
  60104. + [AC_CHECK_DECL([lt_dlinterface_register],
  60105. + [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
  60106. + [with_included_ltdl=no],
  60107. + [with_included_ltdl=yes])],
  60108. + [with_included_ltdl=yes],
  60109. + [AC_INCLUDES_DEFAULT
  60110. + #include <ltdl.h>])],
  60111. + [with_included_ltdl=yes],
  60112. + [AC_INCLUDES_DEFAULT]
  60113. + )
  60114. +fi
  60115. +
  60116. +dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  60117. +dnl was called yet, then for old times' sake, we assume libltdl is in an
  60118. +dnl eponymous directory:
  60119. +AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  60120. +
  60121. +AC_ARG_WITH([ltdl_include],
  60122. + [AS_HELP_STRING([--with-ltdl-include=DIR],
  60123. + [use the ltdl headers installed in DIR])])
  60124. +
  60125. +if test -n "$with_ltdl_include"; then
  60126. + if test -f "$with_ltdl_include/ltdl.h"; then :
  60127. + else
  60128. + AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
  60129. + fi
  60130. +else
  60131. + with_ltdl_include=no
  60132. +fi
  60133. +
  60134. +AC_ARG_WITH([ltdl_lib],
  60135. + [AS_HELP_STRING([--with-ltdl-lib=DIR],
  60136. + [use the libltdl.la installed in DIR])])
  60137. +
  60138. +if test -n "$with_ltdl_lib"; then
  60139. + if test -f "$with_ltdl_lib/libltdl.la"; then :
  60140. + else
  60141. + AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
  60142. + fi
  60143. +else
  60144. + with_ltdl_lib=no
  60145. +fi
  60146. +
  60147. +case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
  60148. + ,yes,no,no,)
  60149. + m4_case(m4_default(_LTDL_TYPE, [convenience]),
  60150. + [convenience], [_LTDL_CONVENIENCE],
  60151. + [installable], [_LTDL_INSTALLABLE],
  60152. + [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
  60153. + ;;
  60154. + ,no,no,no,)
  60155. + # If the included ltdl is not to be used, then use the
  60156. + # preinstalled libltdl we found.
  60157. + AC_DEFINE([HAVE_LTDL], [1],
  60158. + [Define this if a modern libltdl is already installed])
  60159. + LIBLTDL=-lltdl
  60160. + LTDLDEPS=
  60161. + LTDLINCL=
  60162. + ;;
  60163. + ,no*,no,*)
  60164. + AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
  60165. + ;;
  60166. + *) with_included_ltdl=no
  60167. + LIBLTDL="-L$with_ltdl_lib -lltdl"
  60168. + LTDLDEPS=
  60169. + LTDLINCL=-I$with_ltdl_include
  60170. + ;;
  60171. +esac
  60172. +INCLTDL=$LTDLINCL
  60173. +
  60174. +# Report our decision...
  60175. +AC_MSG_CHECKING([where to find libltdl headers])
  60176. +AC_MSG_RESULT([$LTDLINCL])
  60177. +AC_MSG_CHECKING([where to find libltdl library])
  60178. +AC_MSG_RESULT([$LIBLTDL])
  60179. +
  60180. +_LTDL_SETUP
  60181. +
  60182. +dnl restore autoconf definition.
  60183. +m4_popdef([AC_LIBOBJ])
  60184. +m4_popdef([AC_LIBSOURCES])
  60185. +
  60186. +AC_CONFIG_COMMANDS_PRE([
  60187. + _ltdl_libobjs=
  60188. + _ltdl_ltlibobjs=
  60189. + if test -n "$_LT_LIBOBJS"; then
  60190. + # Remove the extension.
  60191. + _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
  60192. + for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
  60193. + _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
  60194. + _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
  60195. + done
  60196. + fi
  60197. + AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
  60198. + AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
  60199. +])
  60200. +
  60201. +# Only expand once:
  60202. +m4_define([LTDL_INIT])
  60203. +])
  60204. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  60205. +m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
  60206. +You should run autoupdate.])dnl
  60207. +LTDL_INIT($@)])
  60208. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  60209. +m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
  60210. +You should run autoupdate.])dnl
  60211. +LTDL_INIT($@)])
  60212. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  60213. +m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
  60214. +You should run autoupdate.])dnl
  60215. +LTDL_INIT($@)])
  60216. +m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
  60217. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  60218. +AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  60219. +AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  60220. +AC_REQUIRE([LT_LIB_DLLOAD])dnl
  60221. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  60222. +AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  60223. +AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  60224. +AC_REQUIRE([LT_FUNC_ARGZ])dnl
  60225. +
  60226. +m4_require([_LT_CHECK_OBJDIR])dnl
  60227. +m4_require([_LT_HEADER_DLFCN])dnl
  60228. +m4_require([_LT_CHECK_DLPREOPEN])dnl
  60229. +m4_require([_LT_DECL_SED])dnl
  60230. +
  60231. +dnl Don't require this, or it will be expanded earlier than the code
  60232. +dnl that sets the variables it relies on:
  60233. +_LT_ENABLE_INSTALL
  60234. +
  60235. +dnl _LTDL_MODE specific code must be called at least once:
  60236. +_LTDL_MODE_DISPATCH
  60237. +
  60238. +# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  60239. +# the user used. This is so that ltdl.h can pick up the parent projects
  60240. +# config.h file, The first file in AC_CONFIG_HEADERS must contain the
  60241. +# definitions required by ltdl.c.
  60242. +# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  60243. +AC_CONFIG_COMMANDS_PRE([dnl
  60244. +m4_pattern_allow([^LT_CONFIG_H$])dnl
  60245. +m4_ifset([AH_HEADER],
  60246. + [LT_CONFIG_H=AH_HEADER],
  60247. + [m4_ifset([AC_LIST_HEADERS],
  60248. + [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
  60249. + [])])])
  60250. +AC_SUBST([LT_CONFIG_H])
  60251. +
  60252. +AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  60253. + [], [], [AC_INCLUDES_DEFAULT])
  60254. +
  60255. +AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  60256. +AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  60257. +
  60258. +m4_pattern_allow([LT_LIBEXT])dnl
  60259. +AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  60260. +
  60261. +name=
  60262. +eval "lt_libprefix=\"$libname_spec\""
  60263. +m4_pattern_allow([LT_LIBPREFIX])dnl
  60264. +AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
  60265. +
  60266. +name=ltdl
  60267. +eval "LTDLOPEN=\"$libname_spec\""
  60268. +AC_SUBST([LTDLOPEN])
  60269. +])
  60270. +m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  60271. +AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
  60272. + [lt_cv_sys_dlopen_deplibs],
  60273. + [# PORTME does your system automatically load deplibs for dlopen?
  60274. + # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  60275. + # For now, we just catch OSes we know something about -- in the
  60276. + # future, we'll try test this programmatically.
  60277. + lt_cv_sys_dlopen_deplibs=unknown
  60278. + case $host_os in
  60279. + aix3*|aix4.1.*|aix4.2.*)
  60280. + # Unknown whether this is true for these versions of AIX, but
  60281. + # we want this 'case' here to explicitly catch those versions.
  60282. + lt_cv_sys_dlopen_deplibs=unknown
  60283. + ;;
  60284. + aix[[4-9]]*)
  60285. + lt_cv_sys_dlopen_deplibs=yes
  60286. + ;;
  60287. + amigaos*)
  60288. + case $host_cpu in
  60289. + powerpc)
  60290. + lt_cv_sys_dlopen_deplibs=no
  60291. + ;;
  60292. + esac
  60293. + ;;
  60294. + bitrig*)
  60295. + lt_cv_sys_dlopen_deplibs=yes
  60296. + ;;
  60297. + darwin*)
  60298. + # Assuming the user has installed a libdl from somewhere, this is true
  60299. + # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  60300. + lt_cv_sys_dlopen_deplibs=yes
  60301. + ;;
  60302. + freebsd* | dragonfly*)
  60303. + lt_cv_sys_dlopen_deplibs=yes
  60304. + ;;
  60305. + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  60306. + # GNU and its variants, using gnu ld.so (Glibc)
  60307. + lt_cv_sys_dlopen_deplibs=yes
  60308. + ;;
  60309. + hpux10*|hpux11*)
  60310. + lt_cv_sys_dlopen_deplibs=yes
  60311. + ;;
  60312. + interix*)
  60313. + lt_cv_sys_dlopen_deplibs=yes
  60314. + ;;
  60315. + irix[[12345]]*|irix6.[[01]]*)
  60316. + # Catch all versions of IRIX before 6.2, and indicate that we don't
  60317. + # know how it worked for any of those versions.
  60318. + lt_cv_sys_dlopen_deplibs=unknown
  60319. + ;;
  60320. + irix*)
  60321. + # The case above catches anything before 6.2, and it's known that
  60322. + # at 6.2 and later dlopen does load deplibs.
  60323. + lt_cv_sys_dlopen_deplibs=yes
  60324. + ;;
  60325. + netbsd*)
  60326. + lt_cv_sys_dlopen_deplibs=yes
  60327. + ;;
  60328. + openbsd*)
  60329. + lt_cv_sys_dlopen_deplibs=yes
  60330. + ;;
  60331. + osf[[1234]]*)
  60332. + # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  60333. + # it did *not* use an RPATH in a shared library to find objects the
  60334. + # library depends on, so we explicitly say 'no'.
  60335. + lt_cv_sys_dlopen_deplibs=no
  60336. + ;;
  60337. + osf5.0|osf5.0a|osf5.1)
  60338. + # dlopen *does* load deplibs and with the right loader patch applied
  60339. + # it even uses RPATH in a shared library to search for shared objects
  60340. + # that the library depends on, but there's no easy way to know if that
  60341. + # patch is installed. Since this is the case, all we can really
  60342. + # say is unknown -- it depends on the patch being installed. If
  60343. + # it is, this changes to 'yes'. Without it, it would be 'no'.
  60344. + lt_cv_sys_dlopen_deplibs=unknown
  60345. + ;;
  60346. + osf*)
  60347. + # the two cases above should catch all versions of osf <= 5.1. Read
  60348. + # the comments above for what we know about them.
  60349. + # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  60350. + # is used to find them so we can finally say 'yes'.
  60351. + lt_cv_sys_dlopen_deplibs=yes
  60352. + ;;
  60353. + qnx*)
  60354. + lt_cv_sys_dlopen_deplibs=yes
  60355. + ;;
  60356. + solaris*)
  60357. + lt_cv_sys_dlopen_deplibs=yes
  60358. + ;;
  60359. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  60360. + libltdl_cv_sys_dlopen_deplibs=yes
  60361. + ;;
  60362. + esac
  60363. + ])
  60364. +if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  60365. + AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  60366. + [Define if the OS needs help to load dependent libraries for dlopen().])
  60367. +fi
  60368. +])
  60369. +m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  60370. +m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
  60371. +You should run autoupdate.])dnl
  60372. +m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
  60373. +m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  60374. +AC_CACHE_CHECK([what extension is used for runtime loadable modules],
  60375. + [libltdl_cv_shlibext],
  60376. +[
  60377. +module=yes
  60378. +eval libltdl_cv_shlibext=$shrext_cmds
  60379. +module=no
  60380. +eval libltdl_cv_shrext=$shrext_cmds
  60381. + ])
  60382. +if test -n "$libltdl_cv_shlibext"; then
  60383. + m4_pattern_allow([LT_MODULE_EXT])dnl
  60384. + AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  60385. + [Define to the extension used for runtime loadable modules, say, ".so".])
  60386. +fi
  60387. +if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  60388. + m4_pattern_allow([LT_SHARED_EXT])dnl
  60389. + AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
  60390. + [Define to the shared library suffix, say, ".dylib".])
  60391. +fi
  60392. +if test -n "$shared_archive_member_spec"; then
  60393. + m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
  60394. + AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
  60395. + [Define to the shared archive member specification, say "(shr.o)".])
  60396. +fi
  60397. +])
  60398. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  60399. +m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
  60400. +You should run autoupdate.])dnl
  60401. +m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
  60402. +m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  60403. +AC_CACHE_CHECK([what variable specifies run-time module search path],
  60404. + [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
  60405. +if test -n "$lt_cv_module_path_var"; then
  60406. + m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  60407. + AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  60408. + [Define to the name of the environment variable that determines the run-time module search path.])
  60409. +fi
  60410. +])
  60411. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  60412. +m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
  60413. +You should run autoupdate.])dnl
  60414. +m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
  60415. +m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  60416. +AC_CACHE_CHECK([for the default library search path],
  60417. + [lt_cv_sys_dlsearch_path],
  60418. + [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
  60419. +if test -n "$lt_cv_sys_dlsearch_path"; then
  60420. + sys_dlsearch_path=
  60421. + for dir in $lt_cv_sys_dlsearch_path; do
  60422. + if test -z "$sys_dlsearch_path"; then
  60423. + sys_dlsearch_path=$dir
  60424. + else
  60425. + sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  60426. + fi
  60427. + done
  60428. + m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  60429. + AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  60430. + [Define to the system default library search path.])
  60431. +fi
  60432. +])
  60433. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  60434. +m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
  60435. +You should run autoupdate.])dnl
  60436. +m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
  60437. +m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
  60438. +LT_DLLOADERS=
  60439. +AC_SUBST([LT_DLLOADERS])
  60440. +
  60441. +AC_LANG_PUSH([C])
  60442. +lt_dlload_save_LIBS=$LIBS
  60443. +
  60444. +LIBADD_DLOPEN=
  60445. +AC_SEARCH_LIBS([dlopen], [dl],
  60446. + [AC_DEFINE([HAVE_LIBDL], [1],
  60447. + [Define if you have the libdl library or equivalent.])
  60448. + if test "$ac_cv_search_dlopen" != "none required"; then
  60449. + LIBADD_DLOPEN=-ldl
  60450. + fi
  60451. + libltdl_cv_lib_dl_dlopen=yes
  60452. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  60453. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  60454. +# include <dlfcn.h>
  60455. +#endif
  60456. + ]], [[dlopen(0, 0);]])],
  60457. + [AC_DEFINE([HAVE_LIBDL], [1],
  60458. + [Define if you have the libdl library or equivalent.])
  60459. + libltdl_cv_func_dlopen=yes
  60460. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  60461. + [AC_CHECK_LIB([svld], [dlopen],
  60462. + [AC_DEFINE([HAVE_LIBDL], [1],
  60463. + [Define if you have the libdl library or equivalent.])
  60464. + LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  60465. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  60466. +if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  60467. +then
  60468. + lt_save_LIBS=$LIBS
  60469. + LIBS="$LIBS $LIBADD_DLOPEN"
  60470. + AC_CHECK_FUNCS([dlerror])
  60471. + LIBS=$lt_save_LIBS
  60472. +fi
  60473. +AC_SUBST([LIBADD_DLOPEN])
  60474. +
  60475. +LIBADD_SHL_LOAD=
  60476. +AC_CHECK_FUNC([shl_load],
  60477. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  60478. + [Define if you have the shl_load function.])
  60479. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  60480. + [AC_CHECK_LIB([dld], [shl_load],
  60481. + [AC_DEFINE([HAVE_SHL_LOAD], [1],
  60482. + [Define if you have the shl_load function.])
  60483. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  60484. + LIBADD_SHL_LOAD=-ldld])])
  60485. +AC_SUBST([LIBADD_SHL_LOAD])
  60486. +
  60487. +case $host_os in
  60488. +darwin[[1567]].*)
  60489. +# We only want this for pre-Mac OS X 10.4.
  60490. + AC_CHECK_FUNC([_dyld_func_lookup],
  60491. + [AC_DEFINE([HAVE_DYLD], [1],
  60492. + [Define if you have the _dyld_func_lookup function.])
  60493. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  60494. + ;;
  60495. +beos*)
  60496. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  60497. + ;;
  60498. +cygwin* | mingw* | pw32*)
  60499. + AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  60500. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  60501. + ;;
  60502. +esac
  60503. +
  60504. +AC_CHECK_LIB([dld], [dld_link],
  60505. + [AC_DEFINE([HAVE_DLD], [1],
  60506. + [Define if you have the GNU dld library.])
  60507. + LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  60508. +AC_SUBST([LIBADD_DLD_LINK])
  60509. +
  60510. +m4_pattern_allow([^LT_DLPREOPEN$])
  60511. +LT_DLPREOPEN=
  60512. +if test -n "$LT_DLLOADERS"
  60513. +then
  60514. + for lt_loader in $LT_DLLOADERS; do
  60515. + LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  60516. + done
  60517. + AC_DEFINE([HAVE_LIBDLLOADER], [1],
  60518. + [Define if libdlloader will be built on this platform])
  60519. +fi
  60520. +AC_SUBST([LT_DLPREOPEN])
  60521. +
  60522. +dnl This isn't used anymore, but set it for backwards compatibility
  60523. +LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  60524. +AC_SUBST([LIBADD_DL])
  60525. +
  60526. +LIBS=$lt_dlload_save_LIBS
  60527. +AC_LANG_POP
  60528. +])
  60529. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  60530. +m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
  60531. +You should run autoupdate.])dnl
  60532. +m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
  60533. +m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  60534. +AC_CACHE_CHECK([for _ prefix in compiled symbols],
  60535. + [lt_cv_sys_symbol_underscore],
  60536. + [lt_cv_sys_symbol_underscore=no
  60537. + cat > conftest.$ac_ext <<_LT_EOF
  60538. +void nm_test_func(){}
  60539. +int main(){nm_test_func;return 0;}
  60540. +_LT_EOF
  60541. + if AC_TRY_EVAL(ac_compile); then
  60542. + # Now try to grab the symbols.
  60543. + ac_nlist=conftest.nm
  60544. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  60545. + # See whether the symbols have a leading underscore.
  60546. + if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  60547. + lt_cv_sys_symbol_underscore=yes
  60548. + else
  60549. + if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  60550. + :
  60551. + else
  60552. + echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  60553. + fi
  60554. + fi
  60555. + else
  60556. + echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  60557. + fi
  60558. + else
  60559. + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  60560. + cat conftest.c >&AS_MESSAGE_LOG_FD
  60561. + fi
  60562. + rm -rf conftest*
  60563. + ])
  60564. + sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  60565. + AC_SUBST([sys_symbol_underscore])
  60566. +])
  60567. +m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  60568. +m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
  60569. +You should run autoupdate.])dnl
  60570. +m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
  60571. +m4trace:/usr/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
  60572. +AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
  60573. +AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
  60574. +if test yes = "$lt_cv_sys_symbol_underscore"; then
  60575. + if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  60576. + AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  60577. + [libltdl_cv_need_uscore],
  60578. + [libltdl_cv_need_uscore=unknown
  60579. + dlsym_uscore_save_LIBS=$LIBS
  60580. + LIBS="$LIBS $LIBADD_DLOPEN"
  60581. + libname=conftmod # stay within 8.3 filename limits!
  60582. + cat >$libname.$ac_ext <<_LT_EOF
  60583. +[#line $LINENO "configure"
  60584. +#include "confdefs.h"
  60585. +/* When -fvisibility=hidden is used, assume the code has been annotated
  60586. + correspondingly for the symbols needed. */
  60587. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  60588. +int fnord () __attribute__((visibility("default")));
  60589. +#endif
  60590. +int fnord () { return 42; }]
  60591. +_LT_EOF
  60592. +
  60593. + # ltfn_module_cmds module_cmds
  60594. + # Execute tilde-delimited MODULE_CMDS with environment primed for
  60595. + # $module_cmds or $archive_cmds type content.
  60596. + ltfn_module_cmds ()
  60597. + {( # subshell avoids polluting parent global environment
  60598. + module_cmds_save_ifs=$IFS; IFS='~'
  60599. + for cmd in @S|@1; do
  60600. + IFS=$module_cmds_save_ifs
  60601. + libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  60602. + rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  60603. + major=; versuffix=; verstring=; deplibs=
  60604. + ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  60605. + eval $cmd
  60606. + done
  60607. + IFS=$module_cmds_save_ifs
  60608. + )}
  60609. +
  60610. + # Compile a loadable module using libtool macro expansion results.
  60611. + $CC $pic_flag -c $libname.$ac_ext
  60612. + ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  60613. +
  60614. + # Try to fetch fnord with dlsym().
  60615. + libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  60616. + cat >conftest.$ac_ext <<_LT_EOF
  60617. +[#line $LINENO "configure"
  60618. +#include "confdefs.h"
  60619. +#if HAVE_DLFCN_H
  60620. +#include <dlfcn.h>
  60621. +#endif
  60622. +#include <stdio.h>
  60623. +#ifndef RTLD_GLOBAL
  60624. +# ifdef DL_GLOBAL
  60625. +# define RTLD_GLOBAL DL_GLOBAL
  60626. +# else
  60627. +# define RTLD_GLOBAL 0
  60628. +# endif
  60629. +#endif
  60630. +#ifndef RTLD_NOW
  60631. +# ifdef DL_NOW
  60632. +# define RTLD_NOW DL_NOW
  60633. +# else
  60634. +# define RTLD_NOW 0
  60635. +# endif
  60636. +#endif
  60637. +int main () {
  60638. + void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  60639. + int status = $libltdl_dlunknown;
  60640. + if (handle) {
  60641. + if (dlsym (handle, "fnord"))
  60642. + status = $libltdl_dlnouscore;
  60643. + else {
  60644. + if (dlsym (handle, "_fnord"))
  60645. + status = $libltdl_dluscore;
  60646. + else
  60647. + puts (dlerror ());
  60648. + }
  60649. + dlclose (handle);
  60650. + } else
  60651. + puts (dlerror ());
  60652. + return status;
  60653. +}]
  60654. +_LT_EOF
  60655. + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  60656. + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  60657. + libltdl_status=$?
  60658. + case x$libltdl_status in
  60659. + x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  60660. + x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  60661. + x*) libltdl_cv_need_uscore=unknown ;;
  60662. + esac
  60663. + fi
  60664. + rm -rf conftest* $libname*
  60665. + LIBS=$dlsym_uscore_save_LIBS
  60666. + ])
  60667. + fi
  60668. +fi
  60669. +
  60670. +if test yes = "$libltdl_cv_need_uscore"; then
  60671. + AC_DEFINE([NEED_USCORE], [1],
  60672. + [Define if dlsym() requires a leading underscore in symbol names.])
  60673. +fi
  60674. +])
  60675. +m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  60676. +m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
  60677. +You should run autoupdate.])dnl
  60678. +m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
  60679. +m4trace:/usr/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
  60680. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  60681. +dnl require some minimum version. Point them to the right macro.
  60682. +m4_if([$1], [1.16.1], [],
  60683. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  60684. +])
  60685. +m4trace:/usr/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl
  60686. +m4_ifndef([AC_AUTOCONF_VERSION],
  60687. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  60688. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  60689. +m4trace:/usr/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  60690. +# Expand $ac_aux_dir to an absolute path.
  60691. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  60692. +])
  60693. +m4trace:/usr/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  60694. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  60695. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  60696. +AC_SUBST([$1_TRUE])dnl
  60697. +AC_SUBST([$1_FALSE])dnl
  60698. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  60699. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  60700. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  60701. +if $2; then
  60702. + $1_TRUE=
  60703. + $1_FALSE='#'
  60704. +else
  60705. + $1_TRUE='#'
  60706. + $1_FALSE=
  60707. +fi
  60708. +AC_CONFIG_COMMANDS_PRE(
  60709. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  60710. + AC_MSG_ERROR([[conditional "$1" was never defined.
  60711. +Usually this means the macro was only invoked conditionally.]])
  60712. +fi])])
  60713. +m4trace:/usr/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  60714. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  60715. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  60716. +AC_REQUIRE([AM_DEP_TRACK])dnl
  60717. +
  60718. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  60719. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  60720. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  60721. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  60722. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  60723. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  60724. + [depcc="$$1" am_compiler_list=])
  60725. +
  60726. +AC_CACHE_CHECK([dependency style of $depcc],
  60727. + [am_cv_$1_dependencies_compiler_type],
  60728. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  60729. + # We make a subdir and do the tests there. Otherwise we can end up
  60730. + # making bogus files that we don't know about and never remove. For
  60731. + # instance it was reported that on HP-UX the gcc test will end up
  60732. + # making a dummy file named 'D' -- because '-MD' means "put the output
  60733. + # in D".
  60734. + rm -rf conftest.dir
  60735. + mkdir conftest.dir
  60736. + # Copy depcomp to subdir because otherwise we won't find it if we're
  60737. + # using a relative directory.
  60738. + cp "$am_depcomp" conftest.dir
  60739. + cd conftest.dir
  60740. + # We will build objects and dependencies in a subdirectory because
  60741. + # it helps to detect inapplicable dependency modes. For instance
  60742. + # both Tru64's cc and ICC support -MD to output dependencies as a
  60743. + # side effect of compilation, but ICC will put the dependencies in
  60744. + # the current directory while Tru64 will put them in the object
  60745. + # directory.
  60746. + mkdir sub
  60747. +
  60748. + am_cv_$1_dependencies_compiler_type=none
  60749. + if test "$am_compiler_list" = ""; then
  60750. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  60751. + fi
  60752. + am__universal=false
  60753. + m4_case([$1], [CC],
  60754. + [case " $depcc " in #(
  60755. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  60756. + esac],
  60757. + [CXX],
  60758. + [case " $depcc " in #(
  60759. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  60760. + esac])
  60761. +
  60762. + for depmode in $am_compiler_list; do
  60763. + # Setup a source with many dependencies, because some compilers
  60764. + # like to wrap large dependency lists on column 80 (with \), and
  60765. + # we should not choose a depcomp mode which is confused by this.
  60766. + #
  60767. + # We need to recreate these files for each test, as the compiler may
  60768. + # overwrite some of them when testing with obscure command lines.
  60769. + # This happens at least with the AIX C compiler.
  60770. + : > sub/conftest.c
  60771. + for i in 1 2 3 4 5 6; do
  60772. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  60773. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  60774. + # Solaris 10 /bin/sh.
  60775. + echo '/* dummy */' > sub/conftst$i.h
  60776. + done
  60777. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  60778. +
  60779. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  60780. + # mode. It turns out that the SunPro C++ compiler does not properly
  60781. + # handle '-M -o', and we need to detect this. Also, some Intel
  60782. + # versions had trouble with output in subdirs.
  60783. + am__obj=sub/conftest.${OBJEXT-o}
  60784. + am__minus_obj="-o $am__obj"
  60785. + case $depmode in
  60786. + gcc)
  60787. + # This depmode causes a compiler race in universal mode.
  60788. + test "$am__universal" = false || continue
  60789. + ;;
  60790. + nosideeffect)
  60791. + # After this tag, mechanisms are not by side-effect, so they'll
  60792. + # only be used when explicitly requested.
  60793. + if test "x$enable_dependency_tracking" = xyes; then
  60794. + continue
  60795. + else
  60796. + break
  60797. + fi
  60798. + ;;
  60799. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  60800. + # This compiler won't grok '-c -o', but also, the minuso test has
  60801. + # not run yet. These depmodes are late enough in the game, and
  60802. + # so weak that their functioning should not be impacted.
  60803. + am__obj=conftest.${OBJEXT-o}
  60804. + am__minus_obj=
  60805. + ;;
  60806. + none) break ;;
  60807. + esac
  60808. + if depmode=$depmode \
  60809. + source=sub/conftest.c object=$am__obj \
  60810. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  60811. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  60812. + >/dev/null 2>conftest.err &&
  60813. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  60814. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  60815. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  60816. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  60817. + # icc doesn't choke on unknown options, it will just issue warnings
  60818. + # or remarks (even with -Werror). So we grep stderr for any message
  60819. + # that says an option was ignored or not supported.
  60820. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  60821. + # icc: Command line warning: ignoring option '-M'; no argument required
  60822. + # The diagnosis changed in icc 8.0:
  60823. + # icc: Command line remark: option '-MP' not supported
  60824. + if (grep 'ignoring option' conftest.err ||
  60825. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  60826. + am_cv_$1_dependencies_compiler_type=$depmode
  60827. + break
  60828. + fi
  60829. + fi
  60830. + done
  60831. +
  60832. + cd ..
  60833. + rm -rf conftest.dir
  60834. +else
  60835. + am_cv_$1_dependencies_compiler_type=none
  60836. +fi
  60837. +])
  60838. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  60839. +AM_CONDITIONAL([am__fastdep$1], [
  60840. + test "x$enable_dependency_tracking" != xno \
  60841. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  60842. +])
  60843. +m4trace:/usr/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  60844. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  60845. +])
  60846. +m4trace:/usr/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  60847. +AS_HELP_STRING(
  60848. + [--enable-dependency-tracking],
  60849. + [do not reject slow dependency extractors])
  60850. +AS_HELP_STRING(
  60851. + [--disable-dependency-tracking],
  60852. + [speeds up one-time build])])
  60853. +if test "x$enable_dependency_tracking" != xno; then
  60854. + am_depcomp="$ac_aux_dir/depcomp"
  60855. + AMDEPBACKSLASH='\'
  60856. + am__nodep='_no'
  60857. +fi
  60858. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  60859. +AC_SUBST([AMDEPBACKSLASH])dnl
  60860. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  60861. +AC_SUBST([am__nodep])dnl
  60862. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  60863. +])
  60864. +m4trace:/usr/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  60865. + # Older Autoconf quotes --file arguments for eval, but not when files
  60866. + # are listed without --file. Let's play safe and only enable the eval
  60867. + # if we detect the quoting.
  60868. + # TODO: see whether this extra hack can be removed once we start
  60869. + # requiring Autoconf 2.70 or later.
  60870. + AS_CASE([$CONFIG_FILES],
  60871. + [*\'*], [eval set x "$CONFIG_FILES"],
  60872. + [*], [set x $CONFIG_FILES])
  60873. + shift
  60874. + # Used to flag and report bootstrapping failures.
  60875. + am_rc=0
  60876. + for am_mf
  60877. + do
  60878. + # Strip MF so we end up with the name of the file.
  60879. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  60880. + # Check whether this is an Automake generated Makefile which includes
  60881. + # dependency-tracking related rules and includes.
  60882. + # Grep'ing the whole file directly is not great: AIX grep has a line
  60883. + # limit of 2048, but all sed's we know have understand at least 4000.
  60884. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  60885. + || continue
  60886. + am_dirpart=`AS_DIRNAME(["$am_mf"])`
  60887. + am_filepart=`AS_BASENAME(["$am_mf"])`
  60888. + AM_RUN_LOG([cd "$am_dirpart" \
  60889. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  60890. + | $MAKE -f - am--depfiles]) || am_rc=$?
  60891. + done
  60892. + if test $am_rc -ne 0; then
  60893. + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  60894. + for automatic dependency tracking. Try re-running configure with the
  60895. + '--disable-dependency-tracking' option to at least be able to build
  60896. + the package (albeit without support for automatic dependency tracking).])
  60897. + fi
  60898. + AS_UNSET([am_dirpart])
  60899. + AS_UNSET([am_filepart])
  60900. + AS_UNSET([am_mf])
  60901. + AS_UNSET([am_rc])
  60902. + rm -f conftest-deps.mk
  60903. +}
  60904. +])
  60905. +m4trace:/usr/share/aclocal-1.16/depout.m4:62: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  60906. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  60907. + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  60908. +m4trace:/usr/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
  60909. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  60910. +dnl the ones we care about.
  60911. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  60912. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  60913. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  60914. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  60915. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  60916. + # is not polluted with repeated "-I."
  60917. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  60918. + # test to see if srcdir already configured
  60919. + if test -f $srcdir/config.status; then
  60920. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  60921. + fi
  60922. +fi
  60923. +
  60924. +# test whether we have cygpath
  60925. +if test -z "$CYGPATH_W"; then
  60926. + if (cygpath --version) >/dev/null 2>/dev/null; then
  60927. + CYGPATH_W='cygpath -w'
  60928. + else
  60929. + CYGPATH_W=echo
  60930. + fi
  60931. +fi
  60932. +AC_SUBST([CYGPATH_W])
  60933. +
  60934. +# Define the identity of the package.
  60935. +dnl Distinguish between old-style and new-style calls.
  60936. +m4_ifval([$2],
  60937. +[AC_DIAGNOSE([obsolete],
  60938. + [$0: two- and three-arguments forms are deprecated.])
  60939. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  60940. + AC_SUBST([PACKAGE], [$1])dnl
  60941. + AC_SUBST([VERSION], [$2])],
  60942. +[_AM_SET_OPTIONS([$1])dnl
  60943. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  60944. +m4_if(
  60945. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  60946. + [ok:ok],,
  60947. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  60948. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  60949. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  60950. +
  60951. +_AM_IF_OPTION([no-define],,
  60952. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  60953. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  60954. +
  60955. +# Some tools Automake needs.
  60956. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  60957. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  60958. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  60959. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  60960. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  60961. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  60962. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  60963. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  60964. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  60965. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  60966. +# For better backward compatibility. To be removed once Automake 1.9.x
  60967. +# dies out for good. For more background, see:
  60968. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  60969. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  60970. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  60971. +# We need awk for the "check" target (and possibly the TAP driver). The
  60972. +# system "awk" is bad on some platforms.
  60973. +AC_REQUIRE([AC_PROG_AWK])dnl
  60974. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  60975. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  60976. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  60977. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  60978. + [_AM_PROG_TAR([v7])])])
  60979. +_AM_IF_OPTION([no-dependencies],,
  60980. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  60981. + [_AM_DEPENDENCIES([CC])],
  60982. + [m4_define([AC_PROG_CC],
  60983. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  60984. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  60985. + [_AM_DEPENDENCIES([CXX])],
  60986. + [m4_define([AC_PROG_CXX],
  60987. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  60988. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  60989. + [_AM_DEPENDENCIES([OBJC])],
  60990. + [m4_define([AC_PROG_OBJC],
  60991. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  60992. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  60993. + [_AM_DEPENDENCIES([OBJCXX])],
  60994. + [m4_define([AC_PROG_OBJCXX],
  60995. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  60996. +])
  60997. +AC_REQUIRE([AM_SILENT_RULES])dnl
  60998. +dnl The testsuite driver may need to know about EXEEXT, so add the
  60999. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  61000. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  61001. +AC_CONFIG_COMMANDS_PRE(dnl
  61002. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  61003. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  61004. +
  61005. +# POSIX will say in a future version that running "rm -f" with no argument
  61006. +# is OK; and we want to be able to make that assumption in our Makefile
  61007. +# recipes. So use an aggressive probe to check that the usage we want is
  61008. +# actually supported "in the wild" to an acceptable degree.
  61009. +# See automake bug#10828.
  61010. +# To make any issue more visible, cause the running configure to be aborted
  61011. +# by default if the 'rm' program in use doesn't match our expectations; the
  61012. +# user can still override this though.
  61013. +if rm -f && rm -fr && rm -rf; then : OK; else
  61014. + cat >&2 <<'END'
  61015. +Oops!
  61016. +
  61017. +Your 'rm' program seems unable to run without file operands specified
  61018. +on the command line, even when the '-f' option is present. This is contrary
  61019. +to the behaviour of most rm programs out there, and not conforming with
  61020. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  61021. +
  61022. +Please tell [email protected] about your system, including the value
  61023. +of your $PATH and any error possibly output before this message. This
  61024. +can help us improve future automake versions.
  61025. +
  61026. +END
  61027. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  61028. + echo 'Configuration will proceed anyway, since you have set the' >&2
  61029. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  61030. + echo >&2
  61031. + else
  61032. + cat >&2 <<'END'
  61033. +Aborting the configuration process, to ensure you take notice of the issue.
  61034. +
  61035. +You can download and install GNU coreutils to get an 'rm' implementation
  61036. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  61037. +
  61038. +If you want to complete the configuration process using your problematic
  61039. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  61040. +to "yes", and re-run configure.
  61041. +
  61042. +END
  61043. + AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  61044. + fi
  61045. +fi
  61046. +dnl The trailing newline in this macro's definition is deliberate, for
  61047. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  61048. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  61049. +])
  61050. +m4trace:/usr/share/aclocal-1.16/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  61051. +_am_arg=$1
  61052. +_am_stamp_count=1
  61053. +for _am_header in $config_headers :; do
  61054. + case $_am_header in
  61055. + $_am_arg | $_am_arg:* )
  61056. + break ;;
  61057. + * )
  61058. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  61059. + esac
  61060. +done
  61061. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  61062. +m4trace:/usr/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  61063. +if test x"${install_sh+set}" != xset; then
  61064. + case $am_aux_dir in
  61065. + *\ * | *\ *)
  61066. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  61067. + *)
  61068. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  61069. + esac
  61070. +fi
  61071. +AC_SUBST([install_sh])])
  61072. +m4trace:/usr/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  61073. +mkdir .tst 2>/dev/null
  61074. +if test -d .tst; then
  61075. + am__leading_dot=.
  61076. +else
  61077. + am__leading_dot=_
  61078. +fi
  61079. +rmdir .tst 2>/dev/null
  61080. +AC_SUBST([am__leading_dot])])
  61081. +m4trace:/usr/share/aclocal-1.16/make.m4:13: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
  61082. +cat > confinc.mk << 'END'
  61083. +am__doit:
  61084. + @echo this is the am__doit target >confinc.out
  61085. +.PHONY: am__doit
  61086. +END
  61087. +am__include="#"
  61088. +am__quote=
  61089. +# BSD make does it like this.
  61090. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  61091. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  61092. +echo 'include confinc.mk # ignored' > confmf.GNU
  61093. +_am_result=no
  61094. +for s in GNU BSD; do
  61095. + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  61096. + AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  61097. + ['0:this is the am__doit target'],
  61098. + [AS_CASE([$s],
  61099. + [BSD], [am__include='.include' am__quote='"'],
  61100. + [am__include='include' am__quote=''])])
  61101. + if test "$am__include" != "#"; then
  61102. + _am_result="yes ($s style)"
  61103. + break
  61104. + fi
  61105. +done
  61106. +rm -f confinc.* confmf.*
  61107. +AC_MSG_RESULT([${_am_result}])
  61108. +AC_SUBST([am__include])])
  61109. +m4trace:/usr/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
  61110. +m4trace:/usr/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  61111. +$1=${$1-"${am_missing_run}$2"}
  61112. +AC_SUBST($1)])
  61113. +m4trace:/usr/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  61114. +AC_REQUIRE_AUX_FILE([missing])dnl
  61115. +if test x"${MISSING+set}" != xset; then
  61116. + case $am_aux_dir in
  61117. + *\ * | *\ *)
  61118. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  61119. + *)
  61120. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  61121. + esac
  61122. +fi
  61123. +# Use eval to expand $SHELL
  61124. +if eval "$MISSING --is-lightweight"; then
  61125. + am_missing_run="$MISSING "
  61126. +else
  61127. + am_missing_run=
  61128. + AC_MSG_WARN(['missing' script is too old or missing])
  61129. +fi
  61130. +])
  61131. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
  61132. +['$0': this macro is obsolete.
  61133. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  61134. +AC_CONFIG_HEADERS($@)])
  61135. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
  61136. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  61137. +AC_DIAGNOSE([obsolete],
  61138. +['$0': this macro is obsolete.
  61139. +You should simply use the 'AC][_PROG_CC' macro instead.
  61140. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  61141. +but upon 'ac_cv_prog_cc_stdc'.])])
  61142. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:26: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])])
  61143. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  61144. +m4trace:/usr/share/aclocal-1.16/obsolete.m4:28: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete.
  61145. +You should run autoupdate.])dnl
  61146. +AM_C_PROTOTYPES])
  61147. +m4trace:/usr/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  61148. +m4trace:/usr/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  61149. +m4trace:/usr/share/aclocal-1.16/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  61150. +m4trace:/usr/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  61151. +m4trace:/usr/share/aclocal-1.16/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  61152. +AC_REQUIRE_AUX_FILE([compile])dnl
  61153. +AC_LANG_PUSH([C])dnl
  61154. +AC_CACHE_CHECK(
  61155. + [whether $CC understands -c and -o together],
  61156. + [am_cv_prog_cc_c_o],
  61157. + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  61158. + # Make sure it works both with $CC and with simple cc.
  61159. + # Following AC_PROG_CC_C_O, we do the test twice because some
  61160. + # compilers refuse to overwrite an existing .o file with -o,
  61161. + # though they will create one.
  61162. + am_cv_prog_cc_c_o=yes
  61163. + for am_i in 1 2; do
  61164. + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  61165. + && test -f conftest2.$ac_objext; then
  61166. + : OK
  61167. + else
  61168. + am_cv_prog_cc_c_o=no
  61169. + break
  61170. + fi
  61171. + done
  61172. + rm -f core conftest*
  61173. + unset am_i])
  61174. +if test "$am_cv_prog_cc_c_o" != yes; then
  61175. + # Losing compiler, so override with the script.
  61176. + # FIXME: It is wrong to rewrite CC.
  61177. + # But if we don't then we get into trouble of one sort or another.
  61178. + # A longer-term fix would be to have automake use am__CC in this case,
  61179. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  61180. + CC="$am_aux_dir/compile $CC"
  61181. +fi
  61182. +AC_LANG_POP([C])])
  61183. +m4trace:/usr/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  61184. +m4trace:/usr/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  61185. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  61186. + ac_status=$?
  61187. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  61188. + (exit $ac_status); }])
  61189. +m4trace:/usr/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  61190. +# Reject unsafe characters in $srcdir or the absolute working directory
  61191. +# name. Accept space and tab only in the latter.
  61192. +am_lf='
  61193. +'
  61194. +case `pwd` in
  61195. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  61196. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  61197. +esac
  61198. +case $srcdir in
  61199. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  61200. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  61201. +esac
  61202. +
  61203. +# Do 'set' in a subshell so we don't clobber the current shell's
  61204. +# arguments. Must try -L first in case configure is actually a
  61205. +# symlink; some systems play weird games with the mod time of symlinks
  61206. +# (eg FreeBSD returns the mod time of the symlink's containing
  61207. +# directory).
  61208. +if (
  61209. + am_has_slept=no
  61210. + for am_try in 1 2; do
  61211. + echo "timestamp, slept: $am_has_slept" > conftest.file
  61212. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  61213. + if test "$[*]" = "X"; then
  61214. + # -L didn't work.
  61215. + set X `ls -t "$srcdir/configure" conftest.file`
  61216. + fi
  61217. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  61218. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  61219. +
  61220. + # If neither matched, then we have a broken ls. This can happen
  61221. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  61222. + # broken ls alias from the environment. This has actually
  61223. + # happened. Such a system could not be considered "sane".
  61224. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  61225. + alias in your environment])
  61226. + fi
  61227. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  61228. + break
  61229. + fi
  61230. + # Just in case.
  61231. + sleep 1
  61232. + am_has_slept=yes
  61233. + done
  61234. + test "$[2]" = conftest.file
  61235. + )
  61236. +then
  61237. + # Ok.
  61238. + :
  61239. +else
  61240. + AC_MSG_ERROR([newly created file is older than distributed files!
  61241. +Check your system clock])
  61242. +fi
  61243. +AC_MSG_RESULT([yes])
  61244. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  61245. +# generated files are strictly newer.
  61246. +am_sleep_pid=
  61247. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  61248. + ( sleep 1 ) &
  61249. + am_sleep_pid=$!
  61250. +fi
  61251. +AC_CONFIG_COMMANDS_PRE(
  61252. + [AC_MSG_CHECKING([that generated files are newer than configure])
  61253. + if test -n "$am_sleep_pid"; then
  61254. + # Hide warnings about reused PIDs.
  61255. + wait $am_sleep_pid 2>/dev/null
  61256. + fi
  61257. + AC_MSG_RESULT([done])])
  61258. +rm -f conftest.file
  61259. +])
  61260. +m4trace:/usr/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  61261. +AS_HELP_STRING(
  61262. + [--enable-silent-rules],
  61263. + [less verbose build output (undo: "make V=1")])
  61264. +AS_HELP_STRING(
  61265. + [--disable-silent-rules],
  61266. + [verbose build output (undo: "make V=0")])dnl
  61267. +])
  61268. +case $enable_silent_rules in @%:@ (((
  61269. + yes) AM_DEFAULT_VERBOSITY=0;;
  61270. + no) AM_DEFAULT_VERBOSITY=1;;
  61271. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  61272. +esac
  61273. +dnl
  61274. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  61275. +dnl do not support nested variable expansions.
  61276. +dnl See automake bug#9928 and bug#10237.
  61277. +am_make=${MAKE-make}
  61278. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  61279. + [am_cv_make_support_nested_variables],
  61280. + [if AS_ECHO([['TRUE=$(BAR$(V))
  61281. +BAR0=false
  61282. +BAR1=true
  61283. +V=1
  61284. +am__doit:
  61285. + @$(TRUE)
  61286. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  61287. + am_cv_make_support_nested_variables=yes
  61288. +else
  61289. + am_cv_make_support_nested_variables=no
  61290. +fi])
  61291. +if test $am_cv_make_support_nested_variables = yes; then
  61292. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  61293. + AM_V='$(V)'
  61294. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  61295. +else
  61296. + AM_V=$AM_DEFAULT_VERBOSITY
  61297. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  61298. +fi
  61299. +AC_SUBST([AM_V])dnl
  61300. +AM_SUBST_NOTMAKE([AM_V])dnl
  61301. +AC_SUBST([AM_DEFAULT_V])dnl
  61302. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  61303. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  61304. +AM_BACKSLASH='\'
  61305. +AC_SUBST([AM_BACKSLASH])dnl
  61306. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  61307. +])
  61308. +m4trace:/usr/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  61309. +# Installed binaries are usually stripped using 'strip' when the user
  61310. +# run "make install-strip". However 'strip' might not be the right
  61311. +# tool to use in cross-compilation environments, therefore Automake
  61312. +# will honor the 'STRIP' environment variable to overrule this program.
  61313. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  61314. +if test "$cross_compiling" != no; then
  61315. + AC_CHECK_TOOL([STRIP], [strip], :)
  61316. +fi
  61317. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  61318. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  61319. +m4trace:/usr/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  61320. +m4trace:/usr/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  61321. +m4trace:/usr/share/aclocal-1.16/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  61322. +# in the wild :-( We should find a proper way to deprecate it ...
  61323. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  61324. +
  61325. +# We'll loop over all known methods to create a tar archive until one works.
  61326. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  61327. +
  61328. +m4_if([$1], [v7],
  61329. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  61330. +
  61331. + [m4_case([$1],
  61332. + [ustar],
  61333. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  61334. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  61335. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  61336. + # and bug#13588).
  61337. + am_max_uid=2097151 # 2^21 - 1
  61338. + am_max_gid=$am_max_uid
  61339. + # The $UID and $GID variables are not portable, so we need to resort
  61340. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  61341. + # below are definitely unexpected, so allow the users to see them
  61342. + # (that is, avoid stderr redirection).
  61343. + am_uid=`id -u || echo unknown`
  61344. + am_gid=`id -g || echo unknown`
  61345. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  61346. + if test $am_uid -le $am_max_uid; then
  61347. + AC_MSG_RESULT([yes])
  61348. + else
  61349. + AC_MSG_RESULT([no])
  61350. + _am_tools=none
  61351. + fi
  61352. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  61353. + if test $am_gid -le $am_max_gid; then
  61354. + AC_MSG_RESULT([yes])
  61355. + else
  61356. + AC_MSG_RESULT([no])
  61357. + _am_tools=none
  61358. + fi],
  61359. +
  61360. + [pax],
  61361. + [],
  61362. +
  61363. + [m4_fatal([Unknown tar format])])
  61364. +
  61365. + AC_MSG_CHECKING([how to create a $1 tar archive])
  61366. +
  61367. + # Go ahead even if we have the value already cached. We do so because we
  61368. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  61369. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  61370. +
  61371. + for _am_tool in $_am_tools; do
  61372. + case $_am_tool in
  61373. + gnutar)
  61374. + for _am_tar in tar gnutar gtar; do
  61375. + AM_RUN_LOG([$_am_tar --version]) && break
  61376. + done
  61377. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  61378. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  61379. + am__untar="$_am_tar -xf -"
  61380. + ;;
  61381. + plaintar)
  61382. + # Must skip GNU tar: if it does not support --format= it doesn't create
  61383. + # ustar tarball either.
  61384. + (tar --version) >/dev/null 2>&1 && continue
  61385. + am__tar='tar chf - "$$tardir"'
  61386. + am__tar_='tar chf - "$tardir"'
  61387. + am__untar='tar xf -'
  61388. + ;;
  61389. + pax)
  61390. + am__tar='pax -L -x $1 -w "$$tardir"'
  61391. + am__tar_='pax -L -x $1 -w "$tardir"'
  61392. + am__untar='pax -r'
  61393. + ;;
  61394. + cpio)
  61395. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  61396. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  61397. + am__untar='cpio -i -H $1 -d'
  61398. + ;;
  61399. + none)
  61400. + am__tar=false
  61401. + am__tar_=false
  61402. + am__untar=false
  61403. + ;;
  61404. + esac
  61405. +
  61406. + # If the value was cached, stop now. We just wanted to have am__tar
  61407. + # and am__untar set.
  61408. + test -n "${am_cv_prog_tar_$1}" && break
  61409. +
  61410. + # tar/untar a dummy directory, and stop if the command works.
  61411. + rm -rf conftest.dir
  61412. + mkdir conftest.dir
  61413. + echo GrepMe > conftest.dir/file
  61414. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  61415. + rm -rf conftest.dir
  61416. + if test -s conftest.tar; then
  61417. + AM_RUN_LOG([$am__untar <conftest.tar])
  61418. + AM_RUN_LOG([cat conftest.dir/file])
  61419. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  61420. + fi
  61421. + done
  61422. + rm -rf conftest.dir
  61423. +
  61424. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  61425. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  61426. +
  61427. +AC_SUBST([am__tar])
  61428. +AC_SUBST([am__untar])
  61429. +])
  61430. +m4trace:m4/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
  61431. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  61432. +AC_BEFORE([$0], [LT_LANG])dnl
  61433. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  61434. +AC_BEFORE([$0], [LTDL_INIT])dnl
  61435. +m4_require([_LT_CHECK_BUILDDIR])dnl
  61436. +
  61437. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  61438. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  61439. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  61440. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  61441. +dnl unless we require an AC_DEFUNed macro:
  61442. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  61443. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  61444. +AC_REQUIRE([LTVERSION_VERSION])dnl
  61445. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  61446. +m4_require([_LT_PROG_LTMAIN])dnl
  61447. +
  61448. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  61449. +
  61450. +dnl Parse OPTIONS
  61451. +_LT_SET_OPTIONS([$0], [$1])
  61452. +
  61453. +# This can be used to rebuild libtool when needed
  61454. +LIBTOOL_DEPS=$ltmain
  61455. +
  61456. +# Always use our own libtool.
  61457. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  61458. +AC_SUBST(LIBTOOL)dnl
  61459. +
  61460. +_LT_SETUP
  61461. +
  61462. +# Only expand once:
  61463. +m4_define([LT_INIT])
  61464. +])
  61465. +m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61466. +m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
  61467. +You should run autoupdate.])dnl
  61468. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61469. +m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61470. +m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  61471. +You should run autoupdate.])dnl
  61472. +m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
  61473. +m4trace:m4/libtool.m4:619: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
  61474. +AC_MSG_NOTICE([creating $CONFIG_LT])
  61475. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  61476. +[# Run this file to recreate a libtool stub with the current configuration.])
  61477. +
  61478. +cat >>"$CONFIG_LT" <<\_LTEOF
  61479. +lt_cl_silent=false
  61480. +exec AS_MESSAGE_LOG_FD>>config.log
  61481. +{
  61482. + echo
  61483. + AS_BOX([Running $as_me.])
  61484. +} >&AS_MESSAGE_LOG_FD
  61485. +
  61486. +lt_cl_help="\
  61487. +'$as_me' creates a local libtool stub from the current configuration,
  61488. +for use in further configure time tests before the real libtool is
  61489. +generated.
  61490. +
  61491. +Usage: $[0] [[OPTIONS]]
  61492. +
  61493. + -h, --help print this help, then exit
  61494. + -V, --version print version number, then exit
  61495. + -q, --quiet do not print progress messages
  61496. + -d, --debug don't remove temporary files
  61497. +
  61498. +Report bugs to <[email protected]>."
  61499. +
  61500. +lt_cl_version="\
  61501. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  61502. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  61503. +configured by $[0], generated by m4_PACKAGE_STRING.
  61504. +
  61505. +Copyright (C) 2011 Free Software Foundation, Inc.
  61506. +This config.lt script is free software; the Free Software Foundation
  61507. +gives unlimited permision to copy, distribute and modify it."
  61508. +
  61509. +while test 0 != $[#]
  61510. +do
  61511. + case $[1] in
  61512. + --version | --v* | -V )
  61513. + echo "$lt_cl_version"; exit 0 ;;
  61514. + --help | --h* | -h )
  61515. + echo "$lt_cl_help"; exit 0 ;;
  61516. + --debug | --d* | -d )
  61517. + debug=: ;;
  61518. + --quiet | --q* | --silent | --s* | -q )
  61519. + lt_cl_silent=: ;;
  61520. +
  61521. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  61522. +Try '$[0] --help' for more information.]) ;;
  61523. +
  61524. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  61525. +Try '$[0] --help' for more information.]) ;;
  61526. + esac
  61527. + shift
  61528. +done
  61529. +
  61530. +if $lt_cl_silent; then
  61531. + exec AS_MESSAGE_FD>/dev/null
  61532. +fi
  61533. +_LTEOF
  61534. +
  61535. +cat >>"$CONFIG_LT" <<_LTEOF
  61536. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  61537. +_LTEOF
  61538. +
  61539. +cat >>"$CONFIG_LT" <<\_LTEOF
  61540. +AC_MSG_NOTICE([creating $ofile])
  61541. +_LT_OUTPUT_LIBTOOL_COMMANDS
  61542. +AS_EXIT(0)
  61543. +_LTEOF
  61544. +chmod +x "$CONFIG_LT"
  61545. +
  61546. +# configure is writing to config.log, but config.lt does its own redirection,
  61547. +# appending to config.log, which fails on DOS, as config.log is still kept
  61548. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  61549. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  61550. +lt_cl_success=:
  61551. +test yes = "$silent" &&
  61552. + lt_config_lt_args="$lt_config_lt_args --quiet"
  61553. +exec AS_MESSAGE_LOG_FD>/dev/null
  61554. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  61555. +exec AS_MESSAGE_LOG_FD>>config.log
  61556. +$lt_cl_success || AS_EXIT(1)
  61557. +])
  61558. +m4trace:m4/libtool.m4:812: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
  61559. +m4trace:m4/libtool.m4:823: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
  61560. +m4_case([$1],
  61561. + [C], [_LT_LANG(C)],
  61562. + [C++], [_LT_LANG(CXX)],
  61563. + [Go], [_LT_LANG(GO)],
  61564. + [Java], [_LT_LANG(GCJ)],
  61565. + [Fortran 77], [_LT_LANG(F77)],
  61566. + [Fortran], [_LT_LANG(FC)],
  61567. + [Windows Resource], [_LT_LANG(RC)],
  61568. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  61569. + [_LT_LANG($1)],
  61570. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  61571. +])
  61572. +m4trace:m4/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  61573. +m4trace:m4/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
  61574. +You should run autoupdate.])dnl
  61575. +LT_LANG(C++)])
  61576. +m4trace:m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  61577. +m4trace:m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
  61578. +You should run autoupdate.])dnl
  61579. +LT_LANG(Fortran 77)])
  61580. +m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  61581. +m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
  61582. +You should run autoupdate.])dnl
  61583. +LT_LANG(Fortran)])
  61584. +m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  61585. +m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
  61586. +You should run autoupdate.])dnl
  61587. +LT_LANG(Java)])
  61588. +m4trace:m4/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  61589. +m4trace:m4/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
  61590. +You should run autoupdate.])dnl
  61591. +LT_LANG(Windows Resource)])
  61592. +m4trace:m4/libtool.m4:1247: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
  61593. +AC_ARG_WITH([sysroot],
  61594. +[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
  61595. + [Search for dependent libraries within DIR (or the compiler's sysroot
  61596. + if not specified).])],
  61597. +[], [with_sysroot=no])
  61598. +
  61599. +dnl lt_sysroot will always be passed unquoted. We quote it here
  61600. +dnl in case the user passed a directory name.
  61601. +lt_sysroot=
  61602. +case $with_sysroot in #(
  61603. + yes)
  61604. + if test yes = "$GCC"; then
  61605. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  61606. + fi
  61607. + ;; #(
  61608. + /*)
  61609. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  61610. + ;; #(
  61611. + no|'')
  61612. + ;; #(
  61613. + *)
  61614. + AC_MSG_RESULT([$with_sysroot])
  61615. + AC_MSG_ERROR([The sysroot must be an absolute path.])
  61616. + ;;
  61617. +esac
  61618. +
  61619. + AC_MSG_RESULT([${lt_sysroot:-no}])
  61620. +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
  61621. +[dependent libraries, and where our libraries should be installed.])])
  61622. +m4trace:m4/libtool.m4:1578: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  61623. +m4_require([_LT_DECL_SED])dnl
  61624. +AC_CACHE_CHECK([$1], [$2],
  61625. + [$2=no
  61626. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  61627. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  61628. + lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
  61629. + # Insert the option either (1) after the last *FLAGS variable, or
  61630. + # (2) before a word containing "conftest.", or (3) at the end.
  61631. + # Note that $ac_compile itself does not contain backslashes and begins
  61632. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  61633. + # The option is referenced via a variable to avoid confusing sed.
  61634. + lt_compile=`echo "$ac_compile" | $SED \
  61635. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  61636. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  61637. + -e 's:$: $lt_compiler_flag:'`
  61638. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  61639. + (eval "$lt_compile" 2>conftest.err)
  61640. + ac_status=$?
  61641. + cat conftest.err >&AS_MESSAGE_LOG_FD
  61642. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  61643. + if (exit $ac_status) && test -s "$ac_outfile"; then
  61644. + # The compiler can only warn and ignore the option if not recognized
  61645. + # So say no if there are warnings other than the usual output.
  61646. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  61647. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  61648. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  61649. + $2=yes
  61650. + fi
  61651. + fi
  61652. + $RM conftest*
  61653. +])
  61654. +
  61655. +if test yes = "[$]$2"; then
  61656. + m4_if([$5], , :, [$5])
  61657. +else
  61658. + m4_if([$6], , :, [$6])
  61659. +fi
  61660. +])
  61661. +m4trace:m4/libtool.m4:1620: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  61662. +m4trace:m4/libtool.m4:1620: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
  61663. +You should run autoupdate.])dnl
  61664. +m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
  61665. +m4trace:m4/libtool.m4:1629: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  61666. +m4_require([_LT_DECL_SED])dnl
  61667. +AC_CACHE_CHECK([$1], [$2],
  61668. + [$2=no
  61669. + save_LDFLAGS=$LDFLAGS
  61670. + LDFLAGS="$LDFLAGS $3"
  61671. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  61672. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  61673. + # The linker can only warn and ignore the option if not recognized
  61674. + # So say no if there are warnings
  61675. + if test -s conftest.err; then
  61676. + # Append any errors to the config.log.
  61677. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  61678. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  61679. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  61680. + if diff conftest.exp conftest.er2 >/dev/null; then
  61681. + $2=yes
  61682. + fi
  61683. + else
  61684. + $2=yes
  61685. + fi
  61686. + fi
  61687. + $RM -r conftest*
  61688. + LDFLAGS=$save_LDFLAGS
  61689. +])
  61690. +
  61691. +if test yes = "[$]$2"; then
  61692. + m4_if([$4], , :, [$4])
  61693. +else
  61694. + m4_if([$5], , :, [$5])
  61695. +fi
  61696. +])
  61697. +m4trace:m4/libtool.m4:1664: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  61698. +m4trace:m4/libtool.m4:1664: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
  61699. +You should run autoupdate.])dnl
  61700. +m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
  61701. +m4trace:m4/libtool.m4:1671: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  61702. +# find the maximum length of command line arguments
  61703. +AC_MSG_CHECKING([the maximum length of command line arguments])
  61704. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  61705. + i=0
  61706. + teststring=ABCD
  61707. +
  61708. + case $build_os in
  61709. + msdosdjgpp*)
  61710. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  61711. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  61712. + # during glob expansion). Even if it were fixed, the result of this
  61713. + # check would be larger than it should be.
  61714. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  61715. + ;;
  61716. +
  61717. + gnu*)
  61718. + # Under GNU Hurd, this test is not required because there is
  61719. + # no limit to the length of command line arguments.
  61720. + # Libtool will interpret -1 as no limit whatsoever
  61721. + lt_cv_sys_max_cmd_len=-1;
  61722. + ;;
  61723. +
  61724. + cygwin* | mingw* | cegcc*)
  61725. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  61726. + # about 5 minutes as the teststring grows exponentially.
  61727. + # Worse, since 9x/ME are not pre-emptively multitasking,
  61728. + # you end up with a "frozen" computer, even though with patience
  61729. + # the test eventually succeeds (with a max line length of 256k).
  61730. + # Instead, let's just punt: use the minimum linelength reported by
  61731. + # all of the supported platforms: 8192 (on NT/2K/XP).
  61732. + lt_cv_sys_max_cmd_len=8192;
  61733. + ;;
  61734. +
  61735. + mint*)
  61736. + # On MiNT this can take a long time and run out of memory.
  61737. + lt_cv_sys_max_cmd_len=8192;
  61738. + ;;
  61739. +
  61740. + amigaos*)
  61741. + # On AmigaOS with pdksh, this test takes hours, literally.
  61742. + # So we just punt and use a minimum line length of 8192.
  61743. + lt_cv_sys_max_cmd_len=8192;
  61744. + ;;
  61745. +
  61746. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  61747. + # This has been around since 386BSD, at least. Likely further.
  61748. + if test -x /sbin/sysctl; then
  61749. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  61750. + elif test -x /usr/sbin/sysctl; then
  61751. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  61752. + else
  61753. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  61754. + fi
  61755. + # And add a safety zone
  61756. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  61757. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  61758. + ;;
  61759. +
  61760. + interix*)
  61761. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  61762. + lt_cv_sys_max_cmd_len=196608
  61763. + ;;
  61764. +
  61765. + os2*)
  61766. + # The test takes a long time on OS/2.
  61767. + lt_cv_sys_max_cmd_len=8192
  61768. + ;;
  61769. +
  61770. + osf*)
  61771. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  61772. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  61773. + # nice to cause kernel panics so lets avoid the loop below.
  61774. + # First set a reasonable default.
  61775. + lt_cv_sys_max_cmd_len=16384
  61776. + #
  61777. + if test -x /sbin/sysconfig; then
  61778. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  61779. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  61780. + esac
  61781. + fi
  61782. + ;;
  61783. + sco3.2v5*)
  61784. + lt_cv_sys_max_cmd_len=102400
  61785. + ;;
  61786. + sysv5* | sco5v6* | sysv4.2uw2*)
  61787. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  61788. + if test -n "$kargmax"; then
  61789. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  61790. + else
  61791. + lt_cv_sys_max_cmd_len=32768
  61792. + fi
  61793. + ;;
  61794. + *)
  61795. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  61796. + if test -n "$lt_cv_sys_max_cmd_len" && \
  61797. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  61798. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  61799. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  61800. + else
  61801. + # Make teststring a little bigger before we do anything with it.
  61802. + # a 1K string should be a reasonable start.
  61803. + for i in 1 2 3 4 5 6 7 8; do
  61804. + teststring=$teststring$teststring
  61805. + done
  61806. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  61807. + # If test is not a shell built-in, we'll probably end up computing a
  61808. + # maximum length that is only half of the actual maximum length, but
  61809. + # we can't tell.
  61810. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  61811. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  61812. + test 17 != "$i" # 1/2 MB should be enough
  61813. + do
  61814. + i=`expr $i + 1`
  61815. + teststring=$teststring$teststring
  61816. + done
  61817. + # Only check the string length outside the loop.
  61818. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  61819. + teststring=
  61820. + # Add a significant safety factor because C++ compilers can tack on
  61821. + # massive amounts of additional arguments before passing them to the
  61822. + # linker. It appears as though 1/2 is a usable value.
  61823. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  61824. + fi
  61825. + ;;
  61826. + esac
  61827. +])
  61828. +if test -n "$lt_cv_sys_max_cmd_len"; then
  61829. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  61830. +else
  61831. + AC_MSG_RESULT(none)
  61832. +fi
  61833. +max_cmd_len=$lt_cv_sys_max_cmd_len
  61834. +_LT_DECL([], [max_cmd_len], [0],
  61835. + [What is the maximum length of a command?])
  61836. +])
  61837. +m4trace:m4/libtool.m4:1810: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  61838. +m4trace:m4/libtool.m4:1810: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
  61839. +You should run autoupdate.])dnl
  61840. +m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
  61841. +m4trace:m4/libtool.m4:1921: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
  61842. +if test yes != "$enable_dlopen"; then
  61843. + enable_dlopen=unknown
  61844. + enable_dlopen_self=unknown
  61845. + enable_dlopen_self_static=unknown
  61846. +else
  61847. + lt_cv_dlopen=no
  61848. + lt_cv_dlopen_libs=
  61849. +
  61850. + case $host_os in
  61851. + beos*)
  61852. + lt_cv_dlopen=load_add_on
  61853. + lt_cv_dlopen_libs=
  61854. + lt_cv_dlopen_self=yes
  61855. + ;;
  61856. +
  61857. + mingw* | pw32* | cegcc*)
  61858. + lt_cv_dlopen=LoadLibrary
  61859. + lt_cv_dlopen_libs=
  61860. + ;;
  61861. +
  61862. + cygwin*)
  61863. + lt_cv_dlopen=dlopen
  61864. + lt_cv_dlopen_libs=
  61865. + ;;
  61866. +
  61867. + darwin*)
  61868. + # if libdl is installed we need to link against it
  61869. + AC_CHECK_LIB([dl], [dlopen],
  61870. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
  61871. + lt_cv_dlopen=dyld
  61872. + lt_cv_dlopen_libs=
  61873. + lt_cv_dlopen_self=yes
  61874. + ])
  61875. + ;;
  61876. +
  61877. + tpf*)
  61878. + # Don't try to run any link tests for TPF. We know it's impossible
  61879. + # because TPF is a cross-compiler, and we know how we open DSOs.
  61880. + lt_cv_dlopen=dlopen
  61881. + lt_cv_dlopen_libs=
  61882. + lt_cv_dlopen_self=no
  61883. + ;;
  61884. +
  61885. + *)
  61886. + AC_CHECK_FUNC([shl_load],
  61887. + [lt_cv_dlopen=shl_load],
  61888. + [AC_CHECK_LIB([dld], [shl_load],
  61889. + [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
  61890. + [AC_CHECK_FUNC([dlopen],
  61891. + [lt_cv_dlopen=dlopen],
  61892. + [AC_CHECK_LIB([dl], [dlopen],
  61893. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
  61894. + [AC_CHECK_LIB([svld], [dlopen],
  61895. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
  61896. + [AC_CHECK_LIB([dld], [dld_link],
  61897. + [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
  61898. + ])
  61899. + ])
  61900. + ])
  61901. + ])
  61902. + ])
  61903. + ;;
  61904. + esac
  61905. +
  61906. + if test no = "$lt_cv_dlopen"; then
  61907. + enable_dlopen=no
  61908. + else
  61909. + enable_dlopen=yes
  61910. + fi
  61911. +
  61912. + case $lt_cv_dlopen in
  61913. + dlopen)
  61914. + save_CPPFLAGS=$CPPFLAGS
  61915. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  61916. +
  61917. + save_LDFLAGS=$LDFLAGS
  61918. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  61919. +
  61920. + save_LIBS=$LIBS
  61921. + LIBS="$lt_cv_dlopen_libs $LIBS"
  61922. +
  61923. + AC_CACHE_CHECK([whether a program can dlopen itself],
  61924. + lt_cv_dlopen_self, [dnl
  61925. + _LT_TRY_DLOPEN_SELF(
  61926. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  61927. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  61928. + ])
  61929. +
  61930. + if test yes = "$lt_cv_dlopen_self"; then
  61931. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  61932. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  61933. + lt_cv_dlopen_self_static, [dnl
  61934. + _LT_TRY_DLOPEN_SELF(
  61935. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  61936. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  61937. + ])
  61938. + fi
  61939. +
  61940. + CPPFLAGS=$save_CPPFLAGS
  61941. + LDFLAGS=$save_LDFLAGS
  61942. + LIBS=$save_LIBS
  61943. + ;;
  61944. + esac
  61945. +
  61946. + case $lt_cv_dlopen_self in
  61947. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  61948. + *) enable_dlopen_self=unknown ;;
  61949. + esac
  61950. +
  61951. + case $lt_cv_dlopen_self_static in
  61952. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  61953. + *) enable_dlopen_self_static=unknown ;;
  61954. + esac
  61955. +fi
  61956. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  61957. + [Whether dlopen is supported])
  61958. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  61959. + [Whether dlopen of programs is supported])
  61960. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  61961. + [Whether dlopen of statically linked programs is supported])
  61962. +])
  61963. +m4trace:m4/libtool.m4:2046: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  61964. +m4trace:m4/libtool.m4:2046: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
  61965. +You should run autoupdate.])dnl
  61966. +m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
  61967. +m4trace:m4/libtool.m4:3158: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
  61968. +AC_MSG_CHECKING([for $1])
  61969. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  61970. +[case $MAGIC_CMD in
  61971. +[[\\/*] | ?:[\\/]*])
  61972. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  61973. + ;;
  61974. +*)
  61975. + lt_save_MAGIC_CMD=$MAGIC_CMD
  61976. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  61977. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  61978. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  61979. +dnl not every word. This closes a longstanding sh security hole.
  61980. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  61981. + for ac_dir in $ac_dummy; do
  61982. + IFS=$lt_save_ifs
  61983. + test -z "$ac_dir" && ac_dir=.
  61984. + if test -f "$ac_dir/$1"; then
  61985. + lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
  61986. + if test -n "$file_magic_test_file"; then
  61987. + case $deplibs_check_method in
  61988. + "file_magic "*)
  61989. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  61990. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  61991. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  61992. + $EGREP "$file_magic_regex" > /dev/null; then
  61993. + :
  61994. + else
  61995. + cat <<_LT_EOF 1>&2
  61996. +
  61997. +*** Warning: the command libtool uses to detect shared libraries,
  61998. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  61999. +*** The result is that libtool may fail to recognize shared libraries
  62000. +*** as such. This will affect the creation of libtool libraries that
  62001. +*** depend on shared libraries, but programs linked with such libtool
  62002. +*** libraries will work regardless of this problem. Nevertheless, you
  62003. +*** may want to report the problem to your system manager and/or to
  62004. +
  62005. +_LT_EOF
  62006. + fi ;;
  62007. + esac
  62008. + fi
  62009. + break
  62010. + fi
  62011. + done
  62012. + IFS=$lt_save_ifs
  62013. + MAGIC_CMD=$lt_save_MAGIC_CMD
  62014. + ;;
  62015. +esac])
  62016. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  62017. +if test -n "$MAGIC_CMD"; then
  62018. + AC_MSG_RESULT($MAGIC_CMD)
  62019. +else
  62020. + AC_MSG_RESULT(no)
  62021. +fi
  62022. +_LT_DECL([], [MAGIC_CMD], [0],
  62023. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  62024. +])
  62025. +m4trace:m4/libtool.m4:3220: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  62026. +m4trace:m4/libtool.m4:3220: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
  62027. +You should run autoupdate.])dnl
  62028. +m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
  62029. +m4trace:m4/libtool.m4:3243: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
  62030. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62031. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  62032. +m4_require([_LT_DECL_SED])dnl
  62033. +m4_require([_LT_DECL_EGREP])dnl
  62034. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  62035. +
  62036. +AC_ARG_WITH([gnu-ld],
  62037. + [AS_HELP_STRING([--with-gnu-ld],
  62038. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  62039. + [test no = "$withval" || with_gnu_ld=yes],
  62040. + [with_gnu_ld=no])dnl
  62041. +
  62042. +ac_prog=ld
  62043. +if test yes = "$GCC"; then
  62044. + # Check if gcc -print-prog-name=ld gives a path.
  62045. + AC_MSG_CHECKING([for ld used by $CC])
  62046. + case $host in
  62047. + *-*-mingw*)
  62048. + # gcc leaves a trailing carriage return, which upsets mingw
  62049. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  62050. + *)
  62051. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  62052. + esac
  62053. + case $ac_prog in
  62054. + # Accept absolute paths.
  62055. + [[\\/]]* | ?:[[\\/]]*)
  62056. + re_direlt='/[[^/]][[^/]]*/\.\./'
  62057. + # Canonicalize the pathname of ld
  62058. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  62059. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  62060. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  62061. + done
  62062. + test -z "$LD" && LD=$ac_prog
  62063. + ;;
  62064. + "")
  62065. + # If it fails, then pretend we aren't using GCC.
  62066. + ac_prog=ld
  62067. + ;;
  62068. + *)
  62069. + # If it is relative, then search for the first ld in PATH.
  62070. + with_gnu_ld=unknown
  62071. + ;;
  62072. + esac
  62073. +elif test yes = "$with_gnu_ld"; then
  62074. + AC_MSG_CHECKING([for GNU ld])
  62075. +else
  62076. + AC_MSG_CHECKING([for non-GNU ld])
  62077. +fi
  62078. +AC_CACHE_VAL(lt_cv_path_LD,
  62079. +[if test -z "$LD"; then
  62080. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  62081. + for ac_dir in $PATH; do
  62082. + IFS=$lt_save_ifs
  62083. + test -z "$ac_dir" && ac_dir=.
  62084. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  62085. + lt_cv_path_LD=$ac_dir/$ac_prog
  62086. + # Check to see if the program is GNU ld. I'd rather use --version,
  62087. + # but apparently some variants of GNU ld only accept -v.
  62088. + # Break only if it was the GNU/non-GNU ld that we prefer.
  62089. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  62090. + *GNU* | *'with BFD'*)
  62091. + test no != "$with_gnu_ld" && break
  62092. + ;;
  62093. + *)
  62094. + test yes != "$with_gnu_ld" && break
  62095. + ;;
  62096. + esac
  62097. + fi
  62098. + done
  62099. + IFS=$lt_save_ifs
  62100. +else
  62101. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  62102. +fi])
  62103. +LD=$lt_cv_path_LD
  62104. +if test -n "$LD"; then
  62105. + AC_MSG_RESULT($LD)
  62106. +else
  62107. + AC_MSG_RESULT(no)
  62108. +fi
  62109. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  62110. +_LT_PATH_LD_GNU
  62111. +AC_SUBST([LD])
  62112. +
  62113. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  62114. +])
  62115. +m4trace:m4/libtool.m4:3332: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62116. +m4trace:m4/libtool.m4:3332: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
  62117. +You should run autoupdate.])dnl
  62118. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62119. +m4trace:m4/libtool.m4:3333: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62120. +m4trace:m4/libtool.m4:3333: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
  62121. +You should run autoupdate.])dnl
  62122. +m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
  62123. +m4trace:m4/libtool.m4:3662: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
  62124. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  62125. +[if test -n "$NM"; then
  62126. + # Let the user override the test.
  62127. + lt_cv_path_NM=$NM
  62128. +else
  62129. + lt_nm_to_check=${ac_tool_prefix}nm
  62130. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  62131. + lt_nm_to_check="$lt_nm_to_check nm"
  62132. + fi
  62133. + for lt_tmp_nm in $lt_nm_to_check; do
  62134. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  62135. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  62136. + IFS=$lt_save_ifs
  62137. + test -z "$ac_dir" && ac_dir=.
  62138. + tmp_nm=$ac_dir/$lt_tmp_nm
  62139. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  62140. + # Check to see if the nm accepts a BSD-compat flag.
  62141. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  62142. + # nm: unknown option "B" ignored
  62143. + # Tru64's nm complains that /dev/null is an invalid object file
  62144. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  62145. + case $build_os in
  62146. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  62147. + *) lt_bad_file=/dev/null ;;
  62148. + esac
  62149. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  62150. + *$lt_bad_file* | *'Invalid file or object type'*)
  62151. + lt_cv_path_NM="$tmp_nm -B"
  62152. + break 2
  62153. + ;;
  62154. + *)
  62155. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  62156. + */dev/null*)
  62157. + lt_cv_path_NM="$tmp_nm -p"
  62158. + break 2
  62159. + ;;
  62160. + *)
  62161. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  62162. + continue # so that we can try to find one that supports BSD flags
  62163. + ;;
  62164. + esac
  62165. + ;;
  62166. + esac
  62167. + fi
  62168. + done
  62169. + IFS=$lt_save_ifs
  62170. + done
  62171. + : ${lt_cv_path_NM=no}
  62172. +fi])
  62173. +if test no != "$lt_cv_path_NM"; then
  62174. + NM=$lt_cv_path_NM
  62175. +else
  62176. + # Didn't find any BSD compatible name lister, look for dumpbin.
  62177. + if test -n "$DUMPBIN"; then :
  62178. + # Let the user override the test.
  62179. + else
  62180. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  62181. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  62182. + *COFF*)
  62183. + DUMPBIN="$DUMPBIN -symbols -headers"
  62184. + ;;
  62185. + *)
  62186. + DUMPBIN=:
  62187. + ;;
  62188. + esac
  62189. + fi
  62190. + AC_SUBST([DUMPBIN])
  62191. + if test : != "$DUMPBIN"; then
  62192. + NM=$DUMPBIN
  62193. + fi
  62194. +fi
  62195. +test -z "$NM" && NM=nm
  62196. +AC_SUBST([NM])
  62197. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  62198. +
  62199. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  62200. + [lt_cv_nm_interface="BSD nm"
  62201. + echo "int some_variable = 0;" > conftest.$ac_ext
  62202. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  62203. + (eval "$ac_compile" 2>conftest.err)
  62204. + cat conftest.err >&AS_MESSAGE_LOG_FD
  62205. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  62206. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  62207. + cat conftest.err >&AS_MESSAGE_LOG_FD
  62208. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  62209. + cat conftest.out >&AS_MESSAGE_LOG_FD
  62210. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  62211. + lt_cv_nm_interface="MS dumpbin"
  62212. + fi
  62213. + rm -f conftest*])
  62214. +])
  62215. +m4trace:m4/libtool.m4:3757: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62216. +m4trace:m4/libtool.m4:3757: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
  62217. +You should run autoupdate.])dnl
  62218. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62219. +m4trace:m4/libtool.m4:3758: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62220. +m4trace:m4/libtool.m4:3758: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
  62221. +You should run autoupdate.])dnl
  62222. +m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
  62223. +m4trace:m4/libtool.m4:3829: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
  62224. + test DEF = "`$SED -n dnl
  62225. + -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
  62226. + -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
  62227. + -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
  62228. + -e q dnl Only consider the first "real" line
  62229. + $1`" dnl
  62230. +])
  62231. +m4trace:m4/libtool.m4:3843: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62232. +LIBM=
  62233. +case $host in
  62234. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  62235. + # These system don't have libm, or don't need it
  62236. + ;;
  62237. +*-ncr-sysv4.3*)
  62238. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
  62239. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  62240. + ;;
  62241. +*)
  62242. + AC_CHECK_LIB(m, cos, LIBM=-lm)
  62243. + ;;
  62244. +esac
  62245. +AC_SUBST([LIBM])
  62246. +])
  62247. +m4trace:m4/libtool.m4:3862: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  62248. +m4trace:m4/libtool.m4:3862: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
  62249. +You should run autoupdate.])dnl
  62250. +m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
  62251. +m4trace:m4/libtool.m4:8125: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  62252. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  62253. + [AC_CHECK_TOOL(GCJ, gcj,)
  62254. + test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
  62255. + AC_SUBST(GCJFLAGS)])])[]dnl
  62256. +])
  62257. +m4trace:m4/libtool.m4:8134: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  62258. +m4trace:m4/libtool.m4:8134: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
  62259. +You should run autoupdate.])dnl
  62260. +m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
  62261. +m4trace:m4/libtool.m4:8141: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
  62262. +])
  62263. +m4trace:m4/libtool.m4:8148: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
  62264. +])
  62265. +m4trace:m4/libtool.m4:8153: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  62266. +m4trace:m4/libtool.m4:8153: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
  62267. +You should run autoupdate.])dnl
  62268. +m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
  62269. +m4trace:m4/libtool.m4:8273: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  62270. +m4trace:m4/libtool.m4:8273: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
  62271. +You should run autoupdate.])dnl
  62272. +m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
  62273. +m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  62274. +m4trace:m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
  62275. +AC_DIAGNOSE([obsolete],
  62276. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62277. +put the 'dlopen' option into LT_INIT's first parameter.])
  62278. +])
  62279. +m4trace:m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
  62280. +You should run autoupdate.])dnl
  62281. +_LT_SET_OPTION([LT_INIT], [dlopen])
  62282. +AC_DIAGNOSE([obsolete],
  62283. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62284. +put the 'dlopen' option into LT_INIT's first parameter.])
  62285. +])
  62286. +m4trace:m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62287. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  62288. +AC_DIAGNOSE([obsolete],
  62289. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62290. +put the 'win32-dll' option into LT_INIT's first parameter.])
  62291. +])
  62292. +m4trace:m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
  62293. +You should run autoupdate.])dnl
  62294. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  62295. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  62296. +AC_DIAGNOSE([obsolete],
  62297. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62298. +put the 'win32-dll' option into LT_INIT's first parameter.])
  62299. +])
  62300. +m4trace:m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  62301. +])
  62302. +m4trace:m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
  62303. +])
  62304. +m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  62305. +m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
  62306. +You should run autoupdate.])dnl
  62307. +AC_ENABLE_SHARED($@)])
  62308. +m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  62309. +m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
  62310. +You should run autoupdate.])dnl
  62311. +AC_DISABLE_SHARED($@)])
  62312. +m4trace:m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  62313. +])
  62314. +m4trace:m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
  62315. +])
  62316. +m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  62317. +m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
  62318. +You should run autoupdate.])dnl
  62319. +AC_ENABLE_STATIC($@)])
  62320. +m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  62321. +m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
  62322. +You should run autoupdate.])dnl
  62323. +AC_DISABLE_STATIC($@)])
  62324. +m4trace:m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  62325. +AC_DIAGNOSE([obsolete],
  62326. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62327. +the 'fast-install' option into LT_INIT's first parameter.])
  62328. +])
  62329. +m4trace:m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
  62330. +You should run autoupdate.])dnl
  62331. +_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  62332. +AC_DIAGNOSE([obsolete],
  62333. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62334. +the 'fast-install' option into LT_INIT's first parameter.])
  62335. +])
  62336. +m4trace:m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  62337. +AC_DIAGNOSE([obsolete],
  62338. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62339. +the 'disable-fast-install' option into LT_INIT's first parameter.])
  62340. +])
  62341. +m4trace:m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
  62342. +You should run autoupdate.])dnl
  62343. +_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  62344. +AC_DIAGNOSE([obsolete],
  62345. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  62346. +the 'disable-fast-install' option into LT_INIT's first parameter.])
  62347. +])
  62348. +m4trace:m4/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
  62349. +AC_DIAGNOSE([obsolete],
  62350. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62351. +put the 'pic-only' option into LT_INIT's first parameter.])
  62352. +])
  62353. +m4trace:m4/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
  62354. +You should run autoupdate.])dnl
  62355. +_LT_SET_OPTION([LT_INIT], [pic-only])
  62356. +AC_DIAGNOSE([obsolete],
  62357. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  62358. +put the 'pic-only' option into LT_INIT's first parameter.])
  62359. +])
  62360. +m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  62361. +m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6'
  62362. +macro_revision='2.4.6'
  62363. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  62364. +_LT_DECL(, macro_revision, 0)
  62365. +])
  62366. +m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  62367. +m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
  62368. +m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
  62369. +m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
  62370. +m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
  62371. +m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
  62372. +m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
  62373. +m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
  62374. +m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
  62375. +m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
  62376. +m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
  62377. +m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
  62378. +m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
  62379. +m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
  62380. +m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
  62381. +m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
  62382. +m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
  62383. +m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
  62384. +m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
  62385. +m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
  62386. +m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
  62387. +m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
  62388. +m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
  62389. +m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
  62390. +m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
  62391. +m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
  62392. +m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
  62393. +m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
  62394. +m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
  62395. +m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
  62396. +m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
  62397. +m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
  62398. +m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
  62399. +m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
  62400. +m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
  62401. +m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
  62402. +m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
  62403. +m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
  62404. +m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
  62405. +m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
  62406. +m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
  62407. +m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
  62408. +m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
  62409. +m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
  62410. +m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
  62411. +m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
  62412. +m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
  62413. +m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
  62414. +m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
  62415. +m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
  62416. +m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
  62417. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  62418. +m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
  62419. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  62420. +m4trace:configure.ac:9: -1- m4_pattern_allow([^AS_FLAGS$])
  62421. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?m4_])
  62422. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^dnl$])
  62423. +m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?AS_])
  62424. +m4trace:configure.ac:9: -1- m4_pattern_allow([^SHELL$])
  62425. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  62426. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  62427. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  62428. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  62429. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  62430. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  62431. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  62432. +m4trace:configure.ac:9: -1- m4_pattern_allow([^exec_prefix$])
  62433. +m4trace:configure.ac:9: -1- m4_pattern_allow([^prefix$])
  62434. +m4trace:configure.ac:9: -1- m4_pattern_allow([^program_transform_name$])
  62435. +m4trace:configure.ac:9: -1- m4_pattern_allow([^bindir$])
  62436. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sbindir$])
  62437. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libexecdir$])
  62438. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datarootdir$])
  62439. +m4trace:configure.ac:9: -1- m4_pattern_allow([^datadir$])
  62440. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sysconfdir$])
  62441. +m4trace:configure.ac:9: -1- m4_pattern_allow([^sharedstatedir$])
  62442. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localstatedir$])
  62443. +m4trace:configure.ac:9: -1- m4_pattern_allow([^includedir$])
  62444. +m4trace:configure.ac:9: -1- m4_pattern_allow([^oldincludedir$])
  62445. +m4trace:configure.ac:9: -1- m4_pattern_allow([^docdir$])
  62446. +m4trace:configure.ac:9: -1- m4_pattern_allow([^infodir$])
  62447. +m4trace:configure.ac:9: -1- m4_pattern_allow([^htmldir$])
  62448. +m4trace:configure.ac:9: -1- m4_pattern_allow([^dvidir$])
  62449. +m4trace:configure.ac:9: -1- m4_pattern_allow([^pdfdir$])
  62450. +m4trace:configure.ac:9: -1- m4_pattern_allow([^psdir$])
  62451. +m4trace:configure.ac:9: -1- m4_pattern_allow([^libdir$])
  62452. +m4trace:configure.ac:9: -1- m4_pattern_allow([^localedir$])
  62453. +m4trace:configure.ac:9: -1- m4_pattern_allow([^mandir$])
  62454. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  62455. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  62456. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  62457. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  62458. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  62459. +m4trace:configure.ac:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  62460. +m4trace:configure.ac:9: -1- m4_pattern_allow([^DEFS$])
  62461. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_C$])
  62462. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_N$])
  62463. +m4trace:configure.ac:9: -1- m4_pattern_allow([^ECHO_T$])
  62464. +m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
  62465. +m4trace:configure.ac:9: -1- m4_pattern_allow([^build_alias$])
  62466. +m4trace:configure.ac:9: -1- m4_pattern_allow([^host_alias$])
  62467. +m4trace:configure.ac:9: -1- m4_pattern_allow([^target_alias$])
  62468. +m4trace:configure.ac:10: -1- AC_CONFIG_MACRO_DIR([m4])
  62469. +m4trace:configure.ac:11: -1- AM_INIT_AUTOMAKE([])
  62470. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  62471. +m4trace:configure.ac:11: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  62472. +m4trace:configure.ac:11: -1- AM_AUTOMAKE_VERSION([1.16.1])
  62473. +m4trace:configure.ac:11: -1- _AM_AUTOCONF_VERSION([2.69])
  62474. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  62475. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  62476. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_DATA$])
  62477. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__isrc$])
  62478. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__isrc])
  62479. +m4trace:configure.ac:11: -1- m4_pattern_allow([^CYGPATH_W$])
  62480. +m4trace:configure.ac:11: -1- _AM_SET_OPTIONS([])
  62481. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  62482. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  62483. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  62484. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  62485. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-define])
  62486. +m4trace:configure.ac:11: -1- m4_pattern_allow([^PACKAGE$])
  62487. +m4trace:configure.ac:11: -1- m4_pattern_allow([^VERSION$])
  62488. +m4trace:configure.ac:11: -1- AM_SANITY_CHECK
  62489. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  62490. +m4trace:configure.ac:11: -1- AM_MISSING_HAS_RUN
  62491. +m4trace:configure.ac:11: -1- AM_AUX_DIR_EXPAND
  62492. +m4trace:configure.ac:11: -1- m4_pattern_allow([^ACLOCAL$])
  62493. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  62494. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOCONF$])
  62495. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  62496. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOMAKE$])
  62497. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  62498. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AUTOHEADER$])
  62499. +m4trace:configure.ac:11: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  62500. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MAKEINFO$])
  62501. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_SH
  62502. +m4trace:configure.ac:11: -1- m4_pattern_allow([^install_sh$])
  62503. +m4trace:configure.ac:11: -1- AM_PROG_INSTALL_STRIP
  62504. +m4trace:configure.ac:11: -1- m4_pattern_allow([^STRIP$])
  62505. +m4trace:configure.ac:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  62506. +m4trace:configure.ac:11: -1- m4_pattern_allow([^MKDIR_P$])
  62507. +m4trace:configure.ac:11: -1- m4_pattern_allow([^mkdir_p$])
  62508. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AWK$])
  62509. +m4trace:configure.ac:11: -1- m4_pattern_allow([^SET_MAKE$])
  62510. +m4trace:configure.ac:11: -1- AM_SET_LEADING_DOT
  62511. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__leading_dot$])
  62512. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  62513. + [_AM_PROG_TAR([v7])])])
  62514. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-ustar])
  62515. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  62516. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([tar-pax])
  62517. +m4trace:configure.ac:11: -1- _AM_PROG_TAR([v7])
  62518. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AMTAR$])
  62519. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__tar$])
  62520. +m4trace:configure.ac:11: -1- m4_pattern_allow([^am__untar$])
  62521. +m4trace:configure.ac:11: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  62522. + [_AM_DEPENDENCIES([CC])],
  62523. + [m4_define([AC_PROG_CC],
  62524. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  62525. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  62526. + [_AM_DEPENDENCIES([CXX])],
  62527. + [m4_define([AC_PROG_CXX],
  62528. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  62529. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  62530. + [_AM_DEPENDENCIES([OBJC])],
  62531. + [m4_define([AC_PROG_OBJC],
  62532. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  62533. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  62534. + [_AM_DEPENDENCIES([OBJCXX])],
  62535. + [m4_define([AC_PROG_OBJCXX],
  62536. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  62537. +])
  62538. +m4trace:configure.ac:11: -2- _AM_MANGLE_OPTION([no-dependencies])
  62539. +m4trace:configure.ac:11: -1- AM_SILENT_RULES
  62540. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_V$])
  62541. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_V])
  62542. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_V])
  62543. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  62544. +m4trace:configure.ac:11: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  62545. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  62546. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  62547. +m4trace:configure.ac:11: -1- m4_pattern_allow([^AM_BACKSLASH$])
  62548. +m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  62549. +m4trace:configure.ac:12: -1- AM_CONFIG_HEADER([config.h])
  62550. +m4trace:configure.ac:12: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete.
  62551. +You should use the 'AC_CONFIG_HEADERS' macro instead.], [/usr/share/aclocal-1.16/obsolete.m4:11: AM_CONFIG_HEADER is expanded from...
  62552. +configure.ac:12: the top level])
  62553. +m4trace:configure.ac:15: -1- AM_PROG_LIBTOOL
  62554. +m4trace:configure.ac:15: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
  62555. +You should run autoupdate.], [m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
  62556. +configure.ac:15: the top level])
  62557. +m4trace:configure.ac:15: -1- LT_INIT
  62558. +m4trace:configure.ac:15: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  62559. +m4trace:configure.ac:15: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  62560. +m4trace:configure.ac:15: -1- LTOPTIONS_VERSION
  62561. +m4trace:configure.ac:15: -1- LTSUGAR_VERSION
  62562. +m4trace:configure.ac:15: -1- LTVERSION_VERSION
  62563. +m4trace:configure.ac:15: -1- LTOBSOLETE_VERSION
  62564. +m4trace:configure.ac:15: -1- _LT_PROG_LTMAIN
  62565. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBTOOL$])
  62566. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build$])
  62567. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_cpu$])
  62568. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_vendor$])
  62569. +m4trace:configure.ac:15: -1- m4_pattern_allow([^build_os$])
  62570. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host$])
  62571. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_cpu$])
  62572. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_vendor$])
  62573. +m4trace:configure.ac:15: -1- m4_pattern_allow([^host_os$])
  62574. +m4trace:configure.ac:15: -1- _LT_PREPARE_SED_QUOTE_VARS
  62575. +m4trace:configure.ac:15: -1- _LT_PROG_ECHO_BACKSLASH
  62576. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62577. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
  62578. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
  62579. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
  62580. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  62581. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62582. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62583. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62584. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
  62585. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
  62586. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EXEEXT$])
  62587. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJEXT$])
  62588. +m4trace:configure.ac:15: -1- _AM_PROG_CC_C_O
  62589. +m4trace:configure.ac:15: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  62590. +m4trace:configure.ac:15: -1- _AM_DEPENDENCIES([CC])
  62591. +m4trace:configure.ac:15: -1- AM_SET_DEPDIR
  62592. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DEPDIR$])
  62593. +m4trace:configure.ac:15: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  62594. +m4trace:configure.ac:15: -1- AM_MAKE_INCLUDE
  62595. +m4trace:configure.ac:15: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  62596. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__include$])
  62597. +m4trace:configure.ac:15: -1- AM_DEP_TRACK
  62598. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  62599. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_TRUE$])
  62600. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEP_FALSE$])
  62601. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  62602. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  62603. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  62604. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  62605. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__nodep$])
  62606. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__nodep])
  62607. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
  62608. +m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
  62609. + test "x$enable_dependency_tracking" != xno \
  62610. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  62611. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  62612. +m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  62613. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  62614. +m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  62615. +m4trace:configure.ac:15: -1- LT_PATH_LD
  62616. +m4trace:configure.ac:15: -1- m4_pattern_allow([^SED$])
  62617. +m4trace:configure.ac:15: -1- AC_PROG_EGREP
  62618. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  62619. +m4trace:configure.ac:15: -1- m4_pattern_allow([^EGREP$])
  62620. +m4trace:configure.ac:15: -1- m4_pattern_allow([^FGREP$])
  62621. +m4trace:configure.ac:15: -1- m4_pattern_allow([^GREP$])
  62622. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
  62623. +m4trace:configure.ac:15: -1- LT_PATH_NM
  62624. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  62625. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  62626. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DUMPBIN$])
  62627. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NM$])
  62628. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LN_S$])
  62629. +m4trace:configure.ac:15: -1- LT_CMD_MAX_LEN
  62630. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  62631. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OBJDUMP$])
  62632. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  62633. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DLLTOOL$])
  62634. +m4trace:configure.ac:15: -1- m4_pattern_allow([^AR$])
  62635. +m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_AR$])
  62636. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
  62637. +m4trace:configure.ac:15: -1- m4_pattern_allow([^RANLIB$])
  62638. +m4trace:configure.ac:15: -1- _LT_WITH_SYSROOT
  62639. +m4trace:configure.ac:15: -1- m4_pattern_allow([LT_OBJDIR])
  62640. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_OBJDIR$])
  62641. +m4trace:configure.ac:15: -1- _LT_CC_BASENAME([$compiler])
  62642. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
  62643. +m4trace:configure.ac:15: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
  62644. +m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CC])
  62645. +m4trace:configure.ac:15: -1- _LT_COMPILER_BOILERPLATE
  62646. +m4trace:configure.ac:15: -1- _LT_LINKER_BOILERPLATE
  62647. +m4trace:configure.ac:15: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
  62648. +m4trace:configure.ac:15: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
  62649. + "" | " "*) ;;
  62650. + *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
  62651. + esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
  62652. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
  62653. +m4trace:configure.ac:15: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
  62654. +m4trace:configure.ac:15: -1- m4_pattern_allow([^MANIFEST_TOOL$])
  62655. +m4trace:configure.ac:15: -1- _LT_DLL_DEF_P([$export_symbols])
  62656. +m4trace:configure.ac:15: -1- _LT_DLL_DEF_P([$export_symbols])
  62657. +m4trace:configure.ac:15: -1- _LT_REQUIRED_DARWIN_CHECKS
  62658. +m4trace:configure.ac:15: -1- m4_pattern_allow([^DSYMUTIL$])
  62659. +m4trace:configure.ac:15: -1- m4_pattern_allow([^NMEDIT$])
  62660. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LIPO$])
  62661. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL$])
  62662. +m4trace:configure.ac:15: -1- m4_pattern_allow([^OTOOL64$])
  62663. +m4trace:configure.ac:15: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
  62664. +m4trace:configure.ac:15: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
  62665. +m4trace:configure.ac:15: -1- LT_SYS_DLOPEN_SELF
  62666. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  62667. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
  62668. +m4trace:configure.ac:15: -1- m4_pattern_allow([^CPP$])
  62669. +m4trace:configure.ac:15: -1- m4_pattern_allow([^STDC_HEADERS$])
  62670. +m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  62671. +m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
  62672. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62673. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CFLAGS$])
  62674. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LDFLAGS$])
  62675. +m4trace:configure.ac:17: -1- m4_pattern_allow([^LIBS$])
  62676. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CPPFLAGS$])
  62677. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62678. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62679. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62680. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CC$])
  62681. +m4trace:configure.ac:17: -1- m4_pattern_allow([^ac_ct_CC$])
  62682. +m4trace:configure.ac:17: -1- _AM_PROG_CC_C_O
  62683. +m4trace:configure.ac:17: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
  62684. +m4trace:configure.ac:17: -1- _AM_DEPENDENCIES([CC])
  62685. +m4trace:configure.ac:17: -1- m4_pattern_allow([^CCDEPMODE$])
  62686. +m4trace:configure.ac:17: -1- AM_CONDITIONAL([am__fastdepCC], [
  62687. + test "x$enable_dependency_tracking" != xno \
  62688. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  62689. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  62690. +m4trace:configure.ac:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  62691. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  62692. +m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  62693. +m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_CPPFLAGS$])
  62694. +m4trace:configure.ac:25: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  62695. +You should run autoupdate.], [../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from...
  62696. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  62697. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  62698. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  62699. +configure.ac:25: the top level])
  62700. +m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_SIGNED_SHIFT$])
  62701. +m4trace:configure.ac:34: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  62702. +m4trace:configure.ac:34: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  62703. +m4trace:configure.ac:35: -1- m4_pattern_allow([^SIZEOF_CHAR$])
  62704. +m4trace:configure.ac:36: -1- m4_pattern_allow([^SIZEOF_SHORT$])
  62705. +m4trace:configure.ac:37: -1- m4_pattern_allow([^SIZEOF_INT$])
  62706. +m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_LIBM$])
  62707. +m4trace:configure.ac:55: -1- m4_pattern_allow([^xfig$])
  62708. +m4trace:configure.ac:57: -1- m4_pattern_allow([^XFIG$])
  62709. +m4trace:configure.ac:59: -1- m4_pattern_allow([^xmag$])
  62710. +m4trace:configure.ac:61: -1- m4_pattern_allow([^XMAG$])
  62711. +m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
  62712. +m4trace:configure.ac:69: -1- m4_pattern_allow([^const$])
  62713. +m4trace:configure.ac:70: -1- m4_pattern_allow([^size_t$])
  62714. +m4trace:configure.ac:71: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
  62715. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_VPRINTF$])
  62716. +m4trace:configure.ac:74: -1- m4_pattern_allow([^HAVE_DOPRNT$])
  62717. +m4trace:configure.ac:77: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
  62718. +You should run autoupdate.], [])
  62719. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  62720. +m4trace:configure.ac:77: -1- m4_pattern_allow([^LTLIBOBJS$])
  62721. +m4trace:configure.ac:77: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  62722. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  62723. +m4trace:configure.ac:77: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  62724. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  62725. +m4trace:configure.ac:77: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  62726. +m4trace:configure.ac:77: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  62727. +m4trace:configure.ac:77: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  62728. +m4trace:configure.ac:77: -1- AM_RUN_LOG([cd "$am_dirpart" \
  62729. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  62730. + | $MAKE -f - am--depfiles])
  62731. +m4trace:configure.ac:77: -1- _LT_PROG_LTMAIN
  62732. diff -Nru Fiasco-master/bin/binerror.h Fiasco-master-pfiasco/bin/binerror.h
  62733. --- Fiasco-master/bin/binerror.h 2013-06-06 22:56:44.000000000 -0400
  62734. +++ Fiasco-master-pfiasco/bin/binerror.h 2019-06-17 18:51:09.000000000 -0400
  62735. @@ -15,8 +15,8 @@
  62736. * $State: Exp $
  62737. */
  62738.  
  62739. -#ifndef _ERROR_H
  62740. -#define _ERROR_H
  62741. +#ifndef _BINERROR_H
  62742. +#define _BINERROR_H
  62743.  
  62744. #define error error_line=__LINE__,error_file=__FILE__,_error
  62745. #define warning error_line=__LINE__,error_file=__FILE__,_warning
  62746. @@ -33,10 +33,13 @@
  62747.  
  62748. void
  62749. init_error_handling (const char *name);
  62750. +
  62751. void
  62752. _error (const char *format, ...);
  62753. +
  62754. void
  62755. _warning (const char *format, ...);
  62756. +
  62757. void
  62758. _file_error (const char *filename);
  62759.  
  62760. diff -Nru Fiasco-master/bin/Makefile.am Fiasco-master-pfiasco/bin/Makefile.am
  62761. --- Fiasco-master/bin/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  62762. +++ Fiasco-master-pfiasco/bin/Makefile.am 2019-06-17 21:00:25.152547898 -0400
  62763. @@ -10,7 +10,7 @@
  62764. ## $Revision: 5.3 $
  62765. ##
  62766.  
  62767. -bin_PROGRAMS = bfiasco cfiasco dfiasco efiasco pnmpsnr
  62768. +bin_PROGRAMS = bfiasco cfiasco dfiasco efiasco pfiasco
  62769.  
  62770. bfiasco_SOURCES = binerror.c fig.c getopt.c getopt1.c lctree.c \
  62771. params.c tlist.c twfa.c
  62772. @@ -33,12 +33,12 @@
  62773. efiasco_DEPENDENCIES = ../codec/libfiasco.la
  62774. efiasco_LDFLAGS = -static
  62775.  
  62776. -pnmpsnr_SOURCES = pnmpsnr.c binerror.c
  62777. -pnmpsnr_LDADD = ../codec/libfiasco.la
  62778. -pnmpsnr_DEPENDENCIES = ../codec/libfiasco.la
  62779. -pnmpsnr_LDFLAGS = -static
  62780. +pfiasco_SOURCES = pfiasco.c binerror.c
  62781. +pfiasco_LDADD = ../codec/libfiasco.la
  62782. +pfiasco_DEPENDENCIES = ../codec/libfiasco.la
  62783. +pfiasco_LDFLAGS = -static
  62784.  
  62785. noinst_HEADERS = getopt.h params.h binerror.h fig.h tlist.h twfa.h /
  62786. lctree.h ttypes.h
  62787. EXTRA_DIST = MANIFEST
  62788. -INCLUDES = @INCLUDES@
  62789. +AM_CPPFLAGS = @AM_CPPFLAGS@
  62790. diff -Nru Fiasco-master/bin/Makefile.in Fiasco-master-pfiasco/bin/Makefile.in
  62791. --- Fiasco-master/bin/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  62792. +++ Fiasco-master-pfiasco/bin/Makefile.in 2019-06-17 21:04:59.286768921 -0400
  62793. @@ -1,9 +1,8 @@
  62794. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  62795. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  62796. # @configure_input@
  62797.  
  62798. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  62799. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  62800. -# Inc.
  62801. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  62802. +
  62803. # This Makefile.in is free software; the Free Software Foundation
  62804. # gives unlimited permission to copy and/or distribute it,
  62805. # with or without modifications, as long as this notice is preserved.
  62806. @@ -17,6 +16,61 @@
  62807.  
  62808.  
  62809. VPATH = @srcdir@
  62810. +am__is_gnu_make = { \
  62811. + if test -z '$(MAKELEVEL)'; then \
  62812. + false; \
  62813. + elif test -n '$(MAKE_HOST)'; then \
  62814. + true; \
  62815. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  62816. + true; \
  62817. + else \
  62818. + false; \
  62819. + fi; \
  62820. +}
  62821. +am__make_running_with_option = \
  62822. + case $${target_option-} in \
  62823. + ?) ;; \
  62824. + *) echo "am__make_running_with_option: internal error: invalid" \
  62825. + "target option '$${target_option-}' specified" >&2; \
  62826. + exit 1;; \
  62827. + esac; \
  62828. + has_opt=no; \
  62829. + sane_makeflags=$$MAKEFLAGS; \
  62830. + if $(am__is_gnu_make); then \
  62831. + sane_makeflags=$$MFLAGS; \
  62832. + else \
  62833. + case $$MAKEFLAGS in \
  62834. + *\\[\ \ ]*) \
  62835. + bs=\\; \
  62836. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  62837. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  62838. + esac; \
  62839. + fi; \
  62840. + skip_next=no; \
  62841. + strip_trailopt () \
  62842. + { \
  62843. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  62844. + }; \
  62845. + for flg in $$sane_makeflags; do \
  62846. + test $$skip_next = yes && { skip_next=no; continue; }; \
  62847. + case $$flg in \
  62848. + *=*|--*) continue;; \
  62849. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  62850. + -*I?*) strip_trailopt 'I';; \
  62851. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  62852. + -*O?*) strip_trailopt 'O';; \
  62853. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  62854. + -*l?*) strip_trailopt 'l';; \
  62855. + -[dEDm]) skip_next=yes;; \
  62856. + -[JT]) skip_next=yes;; \
  62857. + esac; \
  62858. + case $$flg in \
  62859. + *$$target_option*) has_opt=yes; break;; \
  62860. + esac; \
  62861. + done; \
  62862. + test $$has_opt = yes
  62863. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  62864. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  62865. pkgdatadir = $(datadir)/@PACKAGE@
  62866. pkgincludedir = $(includedir)/@PACKAGE@
  62867. pkglibdir = $(libdir)/@PACKAGE@
  62868. @@ -36,14 +90,17 @@
  62869. build_triplet = @build@
  62870. host_triplet = @host@
  62871. bin_PROGRAMS = bfiasco$(EXEEXT) cfiasco$(EXEEXT) dfiasco$(EXEEXT) \
  62872. - efiasco$(EXEEXT) pnmpsnr$(EXEEXT)
  62873. + efiasco$(EXEEXT) pfiasco$(EXEEXT)
  62874. subdir = bin
  62875. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  62876. - $(srcdir)/Makefile.in ChangeLog
  62877. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  62878. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  62879. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  62880. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  62881. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  62882. + $(top_srcdir)/configure.ac
  62883. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  62884. $(ACLOCAL_M4)
  62885. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  62886. + $(am__DIST_COMMON)
  62887. mkinstalldirs = $(install_sh) -d
  62888. CONFIG_HEADER = $(top_builddir)/config.h
  62889. CONFIG_CLEAN_FILES =
  62890. @@ -54,55 +111,112 @@
  62891. getopt1.$(OBJEXT) lctree.$(OBJEXT) params.$(OBJEXT) \
  62892. tlist.$(OBJEXT) twfa.$(OBJEXT)
  62893. bfiasco_OBJECTS = $(am_bfiasco_OBJECTS)
  62894. -bfiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62895. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(bfiasco_LDFLAGS) \
  62896. - $(LDFLAGS) -o $@
  62897. +AM_V_lt = $(am__v_lt_@AM_V@)
  62898. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  62899. +am__v_lt_0 = --silent
  62900. +am__v_lt_1 =
  62901. +bfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62902. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62903. + $(bfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62904. am_cfiasco_OBJECTS = binerror.$(OBJEXT) cwfa.$(OBJEXT) \
  62905. getopt.$(OBJEXT) getopt1.$(OBJEXT) params.$(OBJEXT)
  62906. cfiasco_OBJECTS = $(am_cfiasco_OBJECTS)
  62907. -cfiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62908. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(cfiasco_LDFLAGS) \
  62909. - $(LDFLAGS) -o $@
  62910. +cfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62911. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62912. + $(cfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62913. am_dfiasco_OBJECTS = binerror.$(OBJEXT) dwfa.$(OBJEXT) \
  62914. getopt.$(OBJEXT) getopt1.$(OBJEXT) params.$(OBJEXT)
  62915. dfiasco_OBJECTS = $(am_dfiasco_OBJECTS)
  62916. -dfiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62917. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(dfiasco_LDFLAGS) \
  62918. - $(LDFLAGS) -o $@
  62919. +dfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62920. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62921. + $(dfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62922. am_efiasco_OBJECTS = binerror.$(OBJEXT) fiasco2fiasco.$(OBJEXT) \
  62923. getopt.$(OBJEXT) getopt1.$(OBJEXT) params.$(OBJEXT)
  62924. efiasco_OBJECTS = $(am_efiasco_OBJECTS)
  62925. -efiasco_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62926. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(efiasco_LDFLAGS) \
  62927. - $(LDFLAGS) -o $@
  62928. -am_pnmpsnr_OBJECTS = pnmpsnr.$(OBJEXT) binerror.$(OBJEXT)
  62929. -pnmpsnr_OBJECTS = $(am_pnmpsnr_OBJECTS)
  62930. -pnmpsnr_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62931. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(pnmpsnr_LDFLAGS) \
  62932. - $(LDFLAGS) -o $@
  62933. +efiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62934. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62935. + $(efiasco_LDFLAGS) $(LDFLAGS) -o $@
  62936. +am_pfiasco_OBJECTS = pfiasco.$(OBJEXT) binerror.$(OBJEXT)
  62937. +pfiasco_OBJECTS = $(am_pfiasco_OBJECTS)
  62938. +pfiasco_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62939. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62940. + $(pfiasco_LDFLAGS) $(LDFLAGS) -o $@
  62941. +AM_V_P = $(am__v_P_@AM_V@)
  62942. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  62943. +am__v_P_0 = false
  62944. +am__v_P_1 = :
  62945. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  62946. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  62947. +am__v_GEN_0 = @echo " GEN " $@;
  62948. +am__v_GEN_1 =
  62949. +AM_V_at = $(am__v_at_@AM_V@)
  62950. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  62951. +am__v_at_0 = @
  62952. +am__v_at_1 =
  62953. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  62954. depcomp = $(SHELL) $(top_srcdir)/depcomp
  62955. -am__depfiles_maybe = depfiles
  62956. +am__maybe_remake_depfiles = depfiles
  62957. +am__depfiles_remade = ./$(DEPDIR)/binerror.Po ./$(DEPDIR)/cwfa.Po \
  62958. + ./$(DEPDIR)/dwfa.Po ./$(DEPDIR)/fiasco2fiasco.Po \
  62959. + ./$(DEPDIR)/fig.Po ./$(DEPDIR)/getopt.Po \
  62960. + ./$(DEPDIR)/getopt1.Po ./$(DEPDIR)/lctree.Po \
  62961. + ./$(DEPDIR)/params.Po ./$(DEPDIR)/pfiasco.Po \
  62962. + ./$(DEPDIR)/tlist.Po ./$(DEPDIR)/twfa.Po
  62963. am__mv = mv -f
  62964. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  62965. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  62966. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62967. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  62968. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  62969. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62970. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  62971. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  62972. + $(AM_CFLAGS) $(CFLAGS)
  62973. +AM_V_CC = $(am__v_CC_@AM_V@)
  62974. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  62975. +am__v_CC_0 = @echo " CC " $@;
  62976. +am__v_CC_1 =
  62977. CCLD = $(CC)
  62978. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62979. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  62980. - $(LDFLAGS) -o $@
  62981. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  62982. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62983. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  62984. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  62985. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  62986. +am__v_CCLD_0 = @echo " CCLD " $@;
  62987. +am__v_CCLD_1 =
  62988. SOURCES = $(bfiasco_SOURCES) $(cfiasco_SOURCES) $(dfiasco_SOURCES) \
  62989. - $(efiasco_SOURCES) $(pnmpsnr_SOURCES)
  62990. + $(efiasco_SOURCES) $(pfiasco_SOURCES)
  62991. DIST_SOURCES = $(bfiasco_SOURCES) $(cfiasco_SOURCES) \
  62992. - $(dfiasco_SOURCES) $(efiasco_SOURCES) $(pnmpsnr_SOURCES)
  62993. + $(dfiasco_SOURCES) $(efiasco_SOURCES) $(pfiasco_SOURCES)
  62994. +am__can_run_installinfo = \
  62995. + case $$AM_UPDATE_INFO_DIR in \
  62996. + n|no|NO) false;; \
  62997. + *) (install-info --version) >/dev/null 2>&1;; \
  62998. + esac
  62999. HEADERS = $(noinst_HEADERS)
  63000. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  63001. +# Read a list of newline-separated strings from the standard input,
  63002. +# and print each of them once, without duplicates. Input order is
  63003. +# *not* preserved.
  63004. +am__uniquify_input = $(AWK) '\
  63005. + BEGIN { nonempty = 0; } \
  63006. + { items[$$0] = 1; nonempty = 1; } \
  63007. + END { if (nonempty) { for (i in items) print i; }; } \
  63008. +'
  63009. +# Make sure the list of sources is unique. This is necessary because,
  63010. +# e.g., the same source file might be shared among _SOURCES variables
  63011. +# for different programs/libraries.
  63012. +am__define_uniq_tagged_files = \
  63013. + list='$(am__tagged_files)'; \
  63014. + unique=`for i in $$list; do \
  63015. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63016. + done | $(am__uniquify_input)`
  63017. ETAGS = etags
  63018. CTAGS = ctags
  63019. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  63020. + ChangeLog
  63021. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  63022. ACLOCAL = @ACLOCAL@
  63023. AMTAR = @AMTAR@
  63024. +AM_CPPFLAGS = @AM_CPPFLAGS@
  63025. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  63026. AR = @AR@
  63027. AUTOCONF = @AUTOCONF@
  63028. AUTOHEADER = @AUTOHEADER@
  63029. @@ -116,6 +230,7 @@
  63030. CYGPATH_W = @CYGPATH_W@
  63031. DEFS = @DEFS@
  63032. DEPDIR = @DEPDIR@
  63033. +DLLTOOL = @DLLTOOL@
  63034. DSYMUTIL = @DSYMUTIL@
  63035. DUMPBIN = @DUMPBIN@
  63036. ECHO_C = @ECHO_C@
  63037. @@ -125,7 +240,6 @@
  63038. EXEEXT = @EXEEXT@
  63039. FGREP = @FGREP@
  63040. GREP = @GREP@
  63041. -INCLUDES = @INCLUDES@
  63042. INSTALL = @INSTALL@
  63043. INSTALL_DATA = @INSTALL_DATA@
  63044. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  63045. @@ -140,7 +254,9 @@
  63046. LIPO = @LIPO@
  63047. LN_S = @LN_S@
  63048. LTLIBOBJS = @LTLIBOBJS@
  63049. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  63050. MAKEINFO = @MAKEINFO@
  63051. +MANIFEST_TOOL = @MANIFEST_TOOL@
  63052. MKDIR_P = @MKDIR_P@
  63053. NM = @NM@
  63054. NMEDIT = @NMEDIT@
  63055. @@ -166,6 +282,7 @@
  63056. abs_srcdir = @abs_srcdir@
  63057. abs_top_builddir = @abs_top_builddir@
  63058. abs_top_srcdir = @abs_top_srcdir@
  63059. +ac_ct_AR = @ac_ct_AR@
  63060. ac_ct_CC = @ac_ct_CC@
  63061. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  63062. am__include = @am__include@
  63063. @@ -198,7 +315,6 @@
  63064. libexecdir = @libexecdir@
  63065. localedir = @localedir@
  63066. localstatedir = @localstatedir@
  63067. -lt_ECHO = @lt_ECHO@
  63068. mandir = @mandir@
  63069. mkdir_p = @mkdir_p@
  63070. oldincludedir = @oldincludedir@
  63071. @@ -234,10 +350,10 @@
  63072. efiasco_LDADD = ../codec/libfiasco.la
  63073. efiasco_DEPENDENCIES = ../codec/libfiasco.la
  63074. efiasco_LDFLAGS = -static
  63075. -pnmpsnr_SOURCES = pnmpsnr.c binerror.c
  63076. -pnmpsnr_LDADD = ../codec/libfiasco.la
  63077. -pnmpsnr_DEPENDENCIES = ../codec/libfiasco.la
  63078. -pnmpsnr_LDFLAGS = -static
  63079. +pfiasco_SOURCES = pfiasco.c binerror.c
  63080. +pfiasco_LDADD = ../codec/libfiasco.la
  63081. +pfiasco_DEPENDENCIES = ../codec/libfiasco.la
  63082. +pfiasco_LDFLAGS = -static
  63083. noinst_HEADERS = getopt.h params.h binerror.h fig.h tlist.h twfa.h /
  63084. EXTRA_DIST = MANIFEST
  63085. all: all-am
  63086. @@ -256,14 +372,13 @@
  63087. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \
  63088. $(am__cd) $(top_srcdir) && \
  63089. $(AUTOMAKE) --gnu bin/Makefile
  63090. -.PRECIOUS: Makefile
  63091. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  63092. @case '$?' in \
  63093. *config.status*) \
  63094. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  63095. *) \
  63096. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  63097. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  63098. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  63099. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  63100. esac;
  63101.  
  63102. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  63103. @@ -276,14 +391,19 @@
  63104. $(am__aclocal_m4_deps):
  63105. install-binPROGRAMS: $(bin_PROGRAMS)
  63106. @$(NORMAL_INSTALL)
  63107. - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  63108. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  63109. + if test -n "$$list"; then \
  63110. + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
  63111. + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
  63112. + fi; \
  63113. for p in $$list; do echo "$$p $$p"; done | \
  63114. sed 's/$(EXEEXT)$$//' | \
  63115. - while read p p1; do if test -f $$p || test -f $$p1; \
  63116. - then echo "$$p"; echo "$$p"; else :; fi; \
  63117. + while read p p1; do if test -f $$p \
  63118. + || test -f $$p1 \
  63119. + ; then echo "$$p"; echo "$$p"; else :; fi; \
  63120. done | \
  63121. - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  63122. + sed -e 'p;s,.*/,,;n;h' \
  63123. + -e 's|.*|.|' \
  63124. -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  63125. sed 'N;N;N;s,\n, ,g' | \
  63126. $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  63127. @@ -304,7 +424,8 @@
  63128. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  63129. files=`for p in $$list; do echo "$$p"; done | \
  63130. sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  63131. - -e 's/$$/$(EXEEXT)/' `; \
  63132. + -e 's/$$/$(EXEEXT)/' \
  63133. + `; \
  63134. test -n "$$list" || exit 0; \
  63135. echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  63136. cd "$(DESTDIR)$(bindir)" && rm -f $$files
  63137. @@ -317,21 +438,26 @@
  63138. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  63139. echo " rm -f" $$list; \
  63140. rm -f $$list
  63141. -bfiasco$(EXEEXT): $(bfiasco_OBJECTS) $(bfiasco_DEPENDENCIES)
  63142. +
  63143. +bfiasco$(EXEEXT): $(bfiasco_OBJECTS) $(bfiasco_DEPENDENCIES) $(EXTRA_bfiasco_DEPENDENCIES)
  63144. @rm -f bfiasco$(EXEEXT)
  63145. - $(bfiasco_LINK) $(bfiasco_OBJECTS) $(bfiasco_LDADD) $(LIBS)
  63146. -cfiasco$(EXEEXT): $(cfiasco_OBJECTS) $(cfiasco_DEPENDENCIES)
  63147. + $(AM_V_CCLD)$(bfiasco_LINK) $(bfiasco_OBJECTS) $(bfiasco_LDADD) $(LIBS)
  63148. +
  63149. +cfiasco$(EXEEXT): $(cfiasco_OBJECTS) $(cfiasco_DEPENDENCIES) $(EXTRA_cfiasco_DEPENDENCIES)
  63150. @rm -f cfiasco$(EXEEXT)
  63151. - $(cfiasco_LINK) $(cfiasco_OBJECTS) $(cfiasco_LDADD) $(LIBS)
  63152. -dfiasco$(EXEEXT): $(dfiasco_OBJECTS) $(dfiasco_DEPENDENCIES)
  63153. + $(AM_V_CCLD)$(cfiasco_LINK) $(cfiasco_OBJECTS) $(cfiasco_LDADD) $(LIBS)
  63154. +
  63155. +dfiasco$(EXEEXT): $(dfiasco_OBJECTS) $(dfiasco_DEPENDENCIES) $(EXTRA_dfiasco_DEPENDENCIES)
  63156. @rm -f dfiasco$(EXEEXT)
  63157. - $(dfiasco_LINK) $(dfiasco_OBJECTS) $(dfiasco_LDADD) $(LIBS)
  63158. -efiasco$(EXEEXT): $(efiasco_OBJECTS) $(efiasco_DEPENDENCIES)
  63159. + $(AM_V_CCLD)$(dfiasco_LINK) $(dfiasco_OBJECTS) $(dfiasco_LDADD) $(LIBS)
  63160. +
  63161. +efiasco$(EXEEXT): $(efiasco_OBJECTS) $(efiasco_DEPENDENCIES) $(EXTRA_efiasco_DEPENDENCIES)
  63162. @rm -f efiasco$(EXEEXT)
  63163. - $(efiasco_LINK) $(efiasco_OBJECTS) $(efiasco_LDADD) $(LIBS)
  63164. -pnmpsnr$(EXEEXT): $(pnmpsnr_OBJECTS) $(pnmpsnr_DEPENDENCIES)
  63165. - @rm -f pnmpsnr$(EXEEXT)
  63166. - $(pnmpsnr_LINK) $(pnmpsnr_OBJECTS) $(pnmpsnr_LDADD) $(LIBS)
  63167. + $(AM_V_CCLD)$(efiasco_LINK) $(efiasco_OBJECTS) $(efiasco_LDADD) $(LIBS)
  63168. +
  63169. +pfiasco$(EXEEXT): $(pfiasco_OBJECTS) $(pfiasco_DEPENDENCIES) $(EXTRA_pfiasco_DEPENDENCIES)
  63170. + @rm -f pfiasco$(EXEEXT)
  63171. + $(AM_V_CCLD)$(pfiasco_LINK) $(pfiasco_OBJECTS) $(pfiasco_LDADD) $(LIBS)
  63172.  
  63173. mostlyclean-compile:
  63174. -rm -f *.$(OBJEXT)
  63175. @@ -339,39 +465,45 @@
  63176. distclean-compile:
  63177. -rm -f *.tab.c
  63178.  
  63179. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binerror.Po@am__quote@
  63180. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwfa.Po@am__quote@
  63181. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwfa.Po@am__quote@
  63182. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fiasco2fiasco.Po@am__quote@
  63183. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fig.Po@am__quote@
  63184. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
  63185. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
  63186. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lctree.Po@am__quote@
  63187. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/params.Po@am__quote@
  63188. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pnmpsnr.Po@am__quote@
  63189. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tlist.Po@am__quote@
  63190. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twfa.Po@am__quote@
  63191. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binerror.Po@am__quote@ # am--include-marker
  63192. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cwfa.Po@am__quote@ # am--include-marker
  63193. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwfa.Po@am__quote@ # am--include-marker
  63194. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fiasco2fiasco.Po@am__quote@ # am--include-marker
  63195. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fig.Po@am__quote@ # am--include-marker
  63196. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ # am--include-marker
  63197. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ # am--include-marker
  63198. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lctree.Po@am__quote@ # am--include-marker
  63199. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/params.Po@am__quote@ # am--include-marker
  63200. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pfiasco.Po@am__quote@ # am--include-marker
  63201. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tlist.Po@am__quote@ # am--include-marker
  63202. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twfa.Po@am__quote@ # am--include-marker
  63203. +
  63204. +$(am__depfiles_remade):
  63205. + @$(MKDIR_P) $(@D)
  63206. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  63207. +
  63208. +am--depfiles: $(am__depfiles_remade)
  63209.  
  63210. .c.o:
  63211. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63212. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63213. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63214. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63215. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63216. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63217. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63218. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  63219. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  63220.  
  63221. .c.obj:
  63222. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  63223. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63224. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63225. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  63226. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63227. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63228. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63229. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  63230. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  63231.  
  63232. .c.lo:
  63233. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63234. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  63235. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  63236. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63237. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  63238. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  63239. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63240. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  63241. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  63242.  
  63243. mostlyclean-libtool:
  63244. -rm -f *.lo
  63245. @@ -379,26 +511,15 @@
  63246. clean-libtool:
  63247. -rm -rf .libs _libs
  63248.  
  63249. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  63250. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63251. - unique=`for i in $$list; do \
  63252. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63253. - done | \
  63254. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63255. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  63256. - mkid -fID $$unique
  63257. -tags: TAGS
  63258. +ID: $(am__tagged_files)
  63259. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  63260. +tags: tags-am
  63261. +TAGS: tags
  63262.  
  63263. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  63264. - $(TAGS_FILES) $(LISP)
  63265. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  63266. set x; \
  63267. here=`pwd`; \
  63268. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63269. - unique=`for i in $$list; do \
  63270. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63271. - done | \
  63272. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63273. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  63274. + $(am__define_uniq_tagged_files); \
  63275. shift; \
  63276. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  63277. test -n "$$unique" || unique=$$empty_fix; \
  63278. @@ -410,15 +531,11 @@
  63279. $$unique; \
  63280. fi; \
  63281. fi
  63282. -ctags: CTAGS
  63283. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  63284. - $(TAGS_FILES) $(LISP)
  63285. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63286. - unique=`for i in $$list; do \
  63287. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63288. - done | \
  63289. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63290. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  63291. +ctags: ctags-am
  63292. +
  63293. +CTAGS: ctags
  63294. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  63295. + $(am__define_uniq_tagged_files); \
  63296. test -z "$(CTAGS_ARGS)$$unique" \
  63297. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  63298. $$unique
  63299. @@ -427,11 +544,29 @@
  63300. here=`$(am__cd) $(top_builddir) && pwd` \
  63301. && $(am__cd) $(top_srcdir) \
  63302. && gtags -i $(GTAGS_ARGS) "$$here"
  63303. +cscopelist: cscopelist-am
  63304. +
  63305. +cscopelist-am: $(am__tagged_files)
  63306. + list='$(am__tagged_files)'; \
  63307. + case "$(srcdir)" in \
  63308. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  63309. + *) sdir=$(subdir)/$(srcdir) ;; \
  63310. + esac; \
  63311. + for i in $$list; do \
  63312. + if test -f "$$i"; then \
  63313. + echo "$(subdir)/$$i"; \
  63314. + else \
  63315. + echo "$$sdir/$$i"; \
  63316. + fi; \
  63317. + done >> $(top_builddir)/cscope.files
  63318.  
  63319. distclean-tags:
  63320. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  63321.  
  63322. -distdir: $(DISTFILES)
  63323. +distdir: $(BUILT_SOURCES)
  63324. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  63325. +
  63326. +distdir-am: $(DISTFILES)
  63327. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63328. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63329. list='$(DISTFILES)'; \
  63330. @@ -478,10 +613,15 @@
  63331.  
  63332. installcheck: installcheck-am
  63333. install-strip:
  63334. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  63335. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  63336. - `test -z '$(STRIP)' || \
  63337. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  63338. + if test -z '$(STRIP)'; then \
  63339. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  63340. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  63341. + install; \
  63342. + else \
  63343. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  63344. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  63345. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  63346. + fi
  63347. mostlyclean-generic:
  63348.  
  63349. clean-generic:
  63350. @@ -498,7 +638,18 @@
  63351. clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
  63352.  
  63353. distclean: distclean-am
  63354. - -rm -rf ./$(DEPDIR)
  63355. + -rm -f ./$(DEPDIR)/binerror.Po
  63356. + -rm -f ./$(DEPDIR)/cwfa.Po
  63357. + -rm -f ./$(DEPDIR)/dwfa.Po
  63358. + -rm -f ./$(DEPDIR)/fiasco2fiasco.Po
  63359. + -rm -f ./$(DEPDIR)/fig.Po
  63360. + -rm -f ./$(DEPDIR)/getopt.Po
  63361. + -rm -f ./$(DEPDIR)/getopt1.Po
  63362. + -rm -f ./$(DEPDIR)/lctree.Po
  63363. + -rm -f ./$(DEPDIR)/params.Po
  63364. + -rm -f ./$(DEPDIR)/pfiasco.Po
  63365. + -rm -f ./$(DEPDIR)/tlist.Po
  63366. + -rm -f ./$(DEPDIR)/twfa.Po
  63367. -rm -f Makefile
  63368. distclean-am: clean-am distclean-compile distclean-generic \
  63369. distclean-tags
  63370. @@ -544,7 +695,18 @@
  63371. installcheck-am:
  63372.  
  63373. maintainer-clean: maintainer-clean-am
  63374. - -rm -rf ./$(DEPDIR)
  63375. + -rm -f ./$(DEPDIR)/binerror.Po
  63376. + -rm -f ./$(DEPDIR)/cwfa.Po
  63377. + -rm -f ./$(DEPDIR)/dwfa.Po
  63378. + -rm -f ./$(DEPDIR)/fiasco2fiasco.Po
  63379. + -rm -f ./$(DEPDIR)/fig.Po
  63380. + -rm -f ./$(DEPDIR)/getopt.Po
  63381. + -rm -f ./$(DEPDIR)/getopt1.Po
  63382. + -rm -f ./$(DEPDIR)/lctree.Po
  63383. + -rm -f ./$(DEPDIR)/params.Po
  63384. + -rm -f ./$(DEPDIR)/pfiasco.Po
  63385. + -rm -f ./$(DEPDIR)/tlist.Po
  63386. + -rm -f ./$(DEPDIR)/twfa.Po
  63387. -rm -f Makefile
  63388. maintainer-clean-am: distclean-am maintainer-clean-generic
  63389.  
  63390. @@ -565,19 +727,21 @@
  63391.  
  63392. .MAKE: install-am install-strip
  63393.  
  63394. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
  63395. - clean-generic clean-libtool ctags distclean distclean-compile \
  63396. - distclean-generic distclean-libtool distclean-tags distdir dvi \
  63397. - dvi-am html html-am info info-am install install-am \
  63398. - install-binPROGRAMS install-data install-data-am install-dvi \
  63399. - install-dvi-am install-exec install-exec-am install-html \
  63400. - install-html-am install-info install-info-am install-man \
  63401. - install-pdf install-pdf-am install-ps install-ps-am \
  63402. - install-strip installcheck installcheck-am installdirs \
  63403. - maintainer-clean maintainer-clean-generic mostlyclean \
  63404. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  63405. - pdf pdf-am ps ps-am tags uninstall uninstall-am \
  63406. - uninstall-binPROGRAMS
  63407. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  63408. + clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
  63409. + ctags ctags-am distclean distclean-compile distclean-generic \
  63410. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  63411. + html-am info info-am install install-am install-binPROGRAMS \
  63412. + install-data install-data-am install-dvi install-dvi-am \
  63413. + install-exec install-exec-am install-html install-html-am \
  63414. + install-info install-info-am install-man install-pdf \
  63415. + install-pdf-am install-ps install-ps-am install-strip \
  63416. + installcheck installcheck-am installdirs maintainer-clean \
  63417. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  63418. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  63419. + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS
  63420. +
  63421. +.PRECIOUS: Makefile
  63422.  
  63423. lctree.h ttypes.h
  63424.  
  63425. diff -Nru Fiasco-master/bin/pfiasco.c Fiasco-master-pfiasco/bin/pfiasco.c
  63426. --- Fiasco-master/bin/pfiasco.c 1969-12-31 19:00:00.000000000 -0500
  63427. +++ Fiasco-master-pfiasco/bin/pfiasco.c 2013-06-06 22:56:44.000000000 -0400
  63428. @@ -0,0 +1,163 @@
  63429. +/*
  63430. + * pnmerr.c: Compute error (RMSE, PSNR) between images
  63431. + *
  63432. + * Written by: Ullrich Hafner
  63433. + *
  63434. + * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  63435. + * Copyright (C) 1994-2000 Ullrich Hafner <[email protected]>
  63436. + */
  63437. +
  63438. +/*
  63439. + * $Date: 2000/06/14 20:51:17 $
  63440. + * $Author: hafner $
  63441. + * $Revision: 5.1 $
  63442. + * $State: Exp $
  63443. + */
  63444. +
  63445. +#include "config.h"
  63446. +
  63447. +#include <stdlib.h>
  63448. +#include <stdio.h>
  63449. +#include <math.h>
  63450. +
  63451. +#include "types.h"
  63452. +#include "misc.h"
  63453. +#include "macros.h"
  63454. +#include "binerror.h"
  63455. +
  63456. +#include "fiasco.h"
  63457. +
  63458. +#define MAXFILES 16
  63459. +
  63460. +/*****************************************************************************
  63461. +
  63462. + public code
  63463. +
  63464. +*****************************************************************************/
  63465. +
  63466. +int
  63467. +main (int argc, char **argv)
  63468. +{
  63469. + fiasco_image_t *img1, *img2;
  63470. + fiasco_renderer_t *renderer;
  63471. + real_t norm, y_norm, cb_norm, cr_norm;
  63472. + unsigned char *buffer1, *buffer2, *b1, *b2;
  63473. +
  63474. + init_error_handling (argv[0]);
  63475. +
  63476. + if (argc < 3)
  63477. + {
  63478. + fprintf (stderr, "%s: usage: %s original-image regenerated-image\n",
  63479. + argv[0], argv[0]);
  63480. + exit (1);
  63481. + }
  63482. +
  63483. + /*
  63484. + * Load both images and convert pixel values to RGB format
  63485. + */
  63486. + if (!(img1 = fiasco_image_new (argv [1])))
  63487. + error (fiasco_get_error_message ());
  63488. + if (!(img2 = fiasco_image_new (argv [2])))
  63489. + error (fiasco_get_error_message ());
  63490. + if (img1->get_width (img1) != img2->get_width (img2)
  63491. + || img1->get_height (img1) != img2->get_height (img2)
  63492. + || img1->is_color (img1) != img2->is_color (img2))
  63493. + error ("Images have to be of same size and format.");
  63494. + if (!(img1->get_width (img1) * img2->get_height (img2)))
  63495. + error ("Image width and height have to be positive.");
  63496. + if (!(renderer = fiasco_renderer_new (0xff0000L, 0xff00L, 0xffL, 24, 0)))
  63497. + error (fiasco_get_error_message ());
  63498. + b1 = buffer1 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63499. + sizeof (char));
  63500. + b2 = buffer2 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63501. + sizeof (char));
  63502. + if (!renderer->render (renderer, buffer1, img1))
  63503. + error (fiasco_get_error_message ());
  63504. + if (!renderer->render (renderer, buffer2, img2))
  63505. + error (fiasco_get_error_message ());
  63506. +
  63507. + y_norm = cb_norm = cr_norm = norm = 0;
  63508. +
  63509. + /*
  63510. + * Compute errors
  63511. + */
  63512. + if (!img1->is_color (img1)) /* grayscale image */
  63513. + {
  63514. + unsigned n;
  63515. +
  63516. + for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63517. + {
  63518. + norm += square (*buffer1 - *buffer2);
  63519. + buffer1++;
  63520. + buffer1++;
  63521. + buffer1++;
  63522. + buffer2++;
  63523. + buffer2++;
  63524. + buffer2++;
  63525. + }
  63526. + norm /= img1->get_width (img1) * img1->get_height (img1);
  63527. + if (norm > 1e-4)
  63528. + fprintf (stderr, "PSNR between %s and %s: %.2f dB\n",
  63529. + argv [1], argv [2],
  63530. + 10 * log ( 255.0 * 255.0 / norm) / log (10.0));
  63531. + else
  63532. + fprintf (stderr, "Images %s and %s don't differ.\n",
  63533. + argv [1], argv [2]);
  63534. + }
  63535. + else
  63536. + {
  63537. + unsigned n;
  63538. +
  63539. + for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63540. + {
  63541. + byte_t red1, red2, green1, green2, blue1, blue2;
  63542. + real_t y1, y2, cb1, cb2, cr1, cr2;
  63543. +
  63544. + red1 = *buffer1++;
  63545. + green1 = *buffer1++;
  63546. + blue1 = *buffer1++;
  63547. + red2 = *buffer2++;
  63548. + green2 = *buffer2++;
  63549. + blue2 = *buffer2++;
  63550. + y1 = (+ 0.2989 * red1 + 0.5866 * green1 + 0.1145 * blue1);
  63551. + cb1 = (- 0.1687 * red1 - 0.3312 * green1 + 0.5000 * blue1);
  63552. + cr1 = (+ 0.5000 * red1 - 0.4183 * green1 - 0.0816 * blue1);
  63553. + y2 = (+ 0.2989 * red2 + 0.5866 * green2 + 0.1145 * blue2);
  63554. + cb2 = (- 0.1687 * red2 - 0.3312 * green2 + 0.5000 * blue2);
  63555. + cr2 = (+ 0.5000 * red2 - 0.4183 * green2 - 0.0816 * blue2);
  63556. +
  63557. + y_norm += square (y1 - y2);
  63558. + cb_norm += square (cb1 - cb2);
  63559. + cr_norm += square (cr1 - cr2);
  63560. + }
  63561. + y_norm /= img1->get_width (img1) * img1->get_height (img1);
  63562. + cb_norm /= img1->get_width (img1) * img1->get_height (img1);
  63563. + cr_norm /= img1->get_width (img1) * img1->get_height (img1);
  63564. + fprintf (stderr, "PSNR between %s and %s:\n", argv [1], argv [2]);
  63565. + if (y_norm > 1e-4)
  63566. + fprintf (stderr, "Y color component: %.2f dB\n",
  63567. + 10 * log ( 255.0 * 255.0 / y_norm) / log (10.0));
  63568. + else
  63569. + fprintf (stderr, "Y color component doesn't differ.\n");
  63570. + if (cb_norm > 1e-4)
  63571. + fprintf (stderr, "Cb color component: %.2f dB\n",
  63572. + 10 * log ( 255.0 * 255.0 / cb_norm) / log (10.0));
  63573. + else
  63574. + fprintf (stderr, "Cb color component doesn't differ.\n");
  63575. + if (cr_norm > 1e-4)
  63576. + fprintf (stderr, "Cr color component: %.2f dB\n",
  63577. + 10 * log ( 255.0 * 255.0 / cr_norm) / log (10.0));
  63578. + else
  63579. + fprintf (stderr, "Cr color component doesn't differ.\n");
  63580. + }
  63581. +
  63582. + free (b1);
  63583. + free (b2);
  63584. + img1->delete (img1);
  63585. + img2->delete (img2);
  63586. + renderer->delete (renderer);
  63587. +
  63588. + return 0;
  63589. +}
  63590. +
  63591. +
  63592. diff -Nru Fiasco-master/bin/pnmpsnr.c Fiasco-master-pfiasco/bin/pnmpsnr.c
  63593. --- Fiasco-master/bin/pnmpsnr.c 2013-06-06 22:56:44.000000000 -0400
  63594. +++ Fiasco-master-pfiasco/bin/pnmpsnr.c 1969-12-31 19:00:00.000000000 -0500
  63595. @@ -1,163 +0,0 @@
  63596. -/*
  63597. - * pnmerr.c: Compute error (RMSE, PSNR) between images
  63598. - *
  63599. - * Written by: Ullrich Hafner
  63600. - *
  63601. - * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  63602. - * Copyright (C) 1994-2000 Ullrich Hafner <[email protected]>
  63603. - */
  63604. -
  63605. -/*
  63606. - * $Date: 2000/06/14 20:51:17 $
  63607. - * $Author: hafner $
  63608. - * $Revision: 5.1 $
  63609. - * $State: Exp $
  63610. - */
  63611. -
  63612. -#include "config.h"
  63613. -
  63614. -#include <stdlib.h>
  63615. -#include <stdio.h>
  63616. -#include <math.h>
  63617. -
  63618. -#include "types.h"
  63619. -#include "misc.h"
  63620. -#include "macros.h"
  63621. -#include "binerror.h"
  63622. -
  63623. -#include "fiasco.h"
  63624. -
  63625. -#define MAXFILES 16
  63626. -
  63627. -/*****************************************************************************
  63628. -
  63629. - public code
  63630. -
  63631. -*****************************************************************************/
  63632. -
  63633. -int
  63634. -main (int argc, char **argv)
  63635. -{
  63636. - fiasco_image_t *img1, *img2;
  63637. - fiasco_renderer_t *renderer;
  63638. - real_t norm, y_norm, cb_norm, cr_norm;
  63639. - unsigned char *buffer1, *buffer2, *b1, *b2;
  63640. -
  63641. - init_error_handling (argv[0]);
  63642. -
  63643. - if (argc < 3)
  63644. - {
  63645. - fprintf (stderr, "%s: usage: %s original-image regenerated-image\n",
  63646. - argv[0], argv[0]);
  63647. - exit (1);
  63648. - }
  63649. -
  63650. - /*
  63651. - * Load both images and convert pixel values to RGB format
  63652. - */
  63653. - if (!(img1 = fiasco_image_new (argv [1])))
  63654. - error (fiasco_get_error_message ());
  63655. - if (!(img2 = fiasco_image_new (argv [2])))
  63656. - error (fiasco_get_error_message ());
  63657. - if (img1->get_width (img1) != img2->get_width (img2)
  63658. - || img1->get_height (img1) != img2->get_height (img2)
  63659. - || img1->is_color (img1) != img2->is_color (img2))
  63660. - error ("Images have to be of same size and format.");
  63661. - if (!(img1->get_width (img1) * img2->get_height (img2)))
  63662. - error ("Image width and height have to be positive.");
  63663. - if (!(renderer = fiasco_renderer_new (0xff0000L, 0xff00L, 0xffL, 24, 0)))
  63664. - error (fiasco_get_error_message ());
  63665. - b1 = buffer1 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63666. - sizeof (char));
  63667. - b2 = buffer2 = fiasco_calloc (img1->get_width (img1) * img1->get_height (img1) * 3,
  63668. - sizeof (char));
  63669. - if (!renderer->render (renderer, buffer1, img1))
  63670. - error (fiasco_get_error_message ());
  63671. - if (!renderer->render (renderer, buffer2, img2))
  63672. - error (fiasco_get_error_message ());
  63673. -
  63674. - y_norm = cb_norm = cr_norm = norm = 0;
  63675. -
  63676. - /*
  63677. - * Compute errors
  63678. - */
  63679. - if (!img1->is_color (img1)) /* grayscale image */
  63680. - {
  63681. - unsigned n;
  63682. -
  63683. - for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63684. - {
  63685. - norm += square (*buffer1 - *buffer2);
  63686. - buffer1++;
  63687. - buffer1++;
  63688. - buffer1++;
  63689. - buffer2++;
  63690. - buffer2++;
  63691. - buffer2++;
  63692. - }
  63693. - norm /= img1->get_width (img1) * img1->get_height (img1);
  63694. - if (norm > 1e-4)
  63695. - fprintf (stderr, "PSNR between %s and %s: %.2f dB\n",
  63696. - argv [1], argv [2],
  63697. - 10 * log ( 255.0 * 255.0 / norm) / log (10.0));
  63698. - else
  63699. - fprintf (stderr, "Images %s and %s don't differ.\n",
  63700. - argv [1], argv [2]);
  63701. - }
  63702. - else
  63703. - {
  63704. - unsigned n;
  63705. -
  63706. - for (n = img1->get_width (img1) * img1->get_height (img1); n; n--)
  63707. - {
  63708. - byte_t red1, red2, green1, green2, blue1, blue2;
  63709. - real_t y1, y2, cb1, cb2, cr1, cr2;
  63710. -
  63711. - red1 = *buffer1++;
  63712. - green1 = *buffer1++;
  63713. - blue1 = *buffer1++;
  63714. - red2 = *buffer2++;
  63715. - green2 = *buffer2++;
  63716. - blue2 = *buffer2++;
  63717. - y1 = (+ 0.2989 * red1 + 0.5866 * green1 + 0.1145 * blue1);
  63718. - cb1 = (- 0.1687 * red1 - 0.3312 * green1 + 0.5000 * blue1);
  63719. - cr1 = (+ 0.5000 * red1 - 0.4183 * green1 - 0.0816 * blue1);
  63720. - y2 = (+ 0.2989 * red2 + 0.5866 * green2 + 0.1145 * blue2);
  63721. - cb2 = (- 0.1687 * red2 - 0.3312 * green2 + 0.5000 * blue2);
  63722. - cr2 = (+ 0.5000 * red2 - 0.4183 * green2 - 0.0816 * blue2);
  63723. -
  63724. - y_norm += square (y1 - y2);
  63725. - cb_norm += square (cb1 - cb2);
  63726. - cr_norm += square (cr1 - cr2);
  63727. - }
  63728. - y_norm /= img1->get_width (img1) * img1->get_height (img1);
  63729. - cb_norm /= img1->get_width (img1) * img1->get_height (img1);
  63730. - cr_norm /= img1->get_width (img1) * img1->get_height (img1);
  63731. - fprintf (stderr, "PSNR between %s and %s:\n", argv [1], argv [2]);
  63732. - if (y_norm > 1e-4)
  63733. - fprintf (stderr, "Y color component: %.2f dB\n",
  63734. - 10 * log ( 255.0 * 255.0 / y_norm) / log (10.0));
  63735. - else
  63736. - fprintf (stderr, "Y color component doesn't differ.\n");
  63737. - if (cb_norm > 1e-4)
  63738. - fprintf (stderr, "Cb color component: %.2f dB\n",
  63739. - 10 * log ( 255.0 * 255.0 / cb_norm) / log (10.0));
  63740. - else
  63741. - fprintf (stderr, "Cb color component doesn't differ.\n");
  63742. - if (cr_norm > 1e-4)
  63743. - fprintf (stderr, "Cr color component: %.2f dB\n",
  63744. - 10 * log ( 255.0 * 255.0 / cr_norm) / log (10.0));
  63745. - else
  63746. - fprintf (stderr, "Cr color component doesn't differ.\n");
  63747. - }
  63748. -
  63749. - free (b1);
  63750. - free (b2);
  63751. - img1->delete (img1);
  63752. - img2->delete (img2);
  63753. - renderer->delete (renderer);
  63754. -
  63755. - return 0;
  63756. -}
  63757. -
  63758. -
  63759. diff -Nru Fiasco-master/bin/twfa.c Fiasco-master-pfiasco/bin/twfa.c
  63760. --- Fiasco-master/bin/twfa.c 2013-06-06 22:56:44.000000000 -0400
  63761. +++ Fiasco-master-pfiasco/bin/twfa.c 2019-06-17 19:18:25.271149763 -0400
  63762. @@ -38,6 +38,7 @@
  63763. #include "fig.h"
  63764. #include "lctree.h"
  63765. #include "error.h"
  63766. +#include "binerror.h"
  63767.  
  63768. /*****************************************************************************
  63769.  
  63770. diff -Nru Fiasco-master/codec/Makefile.am Fiasco-master-pfiasco/codec/Makefile.am
  63771. --- Fiasco-master/codec/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  63772. +++ Fiasco-master-pfiasco/codec/Makefile.am 2019-06-17 21:00:33.639493452 -0400
  63773. @@ -24,4 +24,4 @@
  63774. motion.h mwfa.h options.h prediction.h subdivide.h \
  63775. tiling.h wfalib.h wfa.h
  63776. EXTRA_DIST = MANIFEST
  63777. -INCLUDES = @INCLUDES@
  63778. +AM_CPPFLAGS = @AM_CPPFLAGS@
  63779. diff -Nru Fiasco-master/codec/Makefile.in Fiasco-master-pfiasco/codec/Makefile.in
  63780. --- Fiasco-master/codec/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  63781. +++ Fiasco-master-pfiasco/codec/Makefile.in 2019-06-17 21:04:59.374768343 -0400
  63782. @@ -1,9 +1,8 @@
  63783. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  63784. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  63785. # @configure_input@
  63786.  
  63787. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  63788. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  63789. -# Inc.
  63790. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  63791. +
  63792. # This Makefile.in is free software; the Free Software Foundation
  63793. # gives unlimited permission to copy and/or distribute it,
  63794. # with or without modifications, as long as this notice is preserved.
  63795. @@ -17,6 +16,61 @@
  63796.  
  63797.  
  63798. VPATH = @srcdir@
  63799. +am__is_gnu_make = { \
  63800. + if test -z '$(MAKELEVEL)'; then \
  63801. + false; \
  63802. + elif test -n '$(MAKE_HOST)'; then \
  63803. + true; \
  63804. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  63805. + true; \
  63806. + else \
  63807. + false; \
  63808. + fi; \
  63809. +}
  63810. +am__make_running_with_option = \
  63811. + case $${target_option-} in \
  63812. + ?) ;; \
  63813. + *) echo "am__make_running_with_option: internal error: invalid" \
  63814. + "target option '$${target_option-}' specified" >&2; \
  63815. + exit 1;; \
  63816. + esac; \
  63817. + has_opt=no; \
  63818. + sane_makeflags=$$MAKEFLAGS; \
  63819. + if $(am__is_gnu_make); then \
  63820. + sane_makeflags=$$MFLAGS; \
  63821. + else \
  63822. + case $$MAKEFLAGS in \
  63823. + *\\[\ \ ]*) \
  63824. + bs=\\; \
  63825. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  63826. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  63827. + esac; \
  63828. + fi; \
  63829. + skip_next=no; \
  63830. + strip_trailopt () \
  63831. + { \
  63832. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  63833. + }; \
  63834. + for flg in $$sane_makeflags; do \
  63835. + test $$skip_next = yes && { skip_next=no; continue; }; \
  63836. + case $$flg in \
  63837. + *=*|--*) continue;; \
  63838. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  63839. + -*I?*) strip_trailopt 'I';; \
  63840. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  63841. + -*O?*) strip_trailopt 'O';; \
  63842. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  63843. + -*l?*) strip_trailopt 'l';; \
  63844. + -[dEDm]) skip_next=yes;; \
  63845. + -[JT]) skip_next=yes;; \
  63846. + esac; \
  63847. + case $$flg in \
  63848. + *$$target_option*) has_opt=yes; break;; \
  63849. + esac; \
  63850. + done; \
  63851. + test $$has_opt = yes
  63852. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  63853. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  63854. pkgdatadir = $(datadir)/@PACKAGE@
  63855. pkgincludedir = $(includedir)/@PACKAGE@
  63856. pkglibdir = $(libdir)/@PACKAGE@
  63857. @@ -36,12 +90,15 @@
  63858. build_triplet = @build@
  63859. host_triplet = @host@
  63860. subdir = codec
  63861. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  63862. - $(srcdir)/Makefile.in ChangeLog
  63863. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  63864. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  63865. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  63866. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  63867. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  63868. + $(top_srcdir)/configure.ac
  63869. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  63870. $(ACLOCAL_M4)
  63871. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  63872. + $(am__DIST_COMMON)
  63873. mkinstalldirs = $(install_sh) -d
  63874. CONFIG_HEADER = $(top_builddir)/config.h
  63875. CONFIG_CLEAN_FILES =
  63876. @@ -67,6 +124,12 @@
  63877. am__base_list = \
  63878. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  63879. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  63880. +am__uninstall_files_from_dir = { \
  63881. + test -z "$$files" \
  63882. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  63883. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  63884. + $(am__cd) "$$dir" && rm -f $$files; }; \
  63885. + }
  63886. am__installdirs = "$(DESTDIR)$(libdir)"
  63887. LTLIBRARIES = $(lib_LTLIBRARIES)
  63888. libfiasco_la_DEPENDENCIES = ../lib/libfiasco-lib.la \
  63889. @@ -76,30 +139,89 @@
  63890. motion.lo mwfa.lo options.lo prediction.lo subdivide.lo \
  63891. tiling.lo wfalib.lo
  63892. libfiasco_la_OBJECTS = $(am_libfiasco_la_OBJECTS)
  63893. -libfiasco_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  63894. +AM_V_lt = $(am__v_lt_@AM_V@)
  63895. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  63896. +am__v_lt_0 = --silent
  63897. +am__v_lt_1 =
  63898. +libfiasco_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  63899. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  63900. $(libfiasco_la_LDFLAGS) $(LDFLAGS) -o $@
  63901. +AM_V_P = $(am__v_P_@AM_V@)
  63902. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  63903. +am__v_P_0 = false
  63904. +am__v_P_1 = :
  63905. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  63906. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  63907. +am__v_GEN_0 = @echo " GEN " $@;
  63908. +am__v_GEN_1 =
  63909. +AM_V_at = $(am__v_at_@AM_V@)
  63910. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  63911. +am__v_at_0 = @
  63912. +am__v_at_1 =
  63913. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  63914. depcomp = $(SHELL) $(top_srcdir)/depcomp
  63915. -am__depfiles_maybe = depfiles
  63916. +am__maybe_remake_depfiles = depfiles
  63917. +am__depfiles_remade = ./$(DEPDIR)/approx.Plo ./$(DEPDIR)/bintree.Plo \
  63918. + ./$(DEPDIR)/coder.Plo ./$(DEPDIR)/coeff.Plo \
  63919. + ./$(DEPDIR)/control.Plo ./$(DEPDIR)/decoder.Plo \
  63920. + ./$(DEPDIR)/dfiasco.Plo ./$(DEPDIR)/domain-pool.Plo \
  63921. + ./$(DEPDIR)/ip.Plo ./$(DEPDIR)/motion.Plo ./$(DEPDIR)/mwfa.Plo \
  63922. + ./$(DEPDIR)/options.Plo ./$(DEPDIR)/prediction.Plo \
  63923. + ./$(DEPDIR)/subdivide.Plo ./$(DEPDIR)/tiling.Plo \
  63924. + ./$(DEPDIR)/wfalib.Plo
  63925. am__mv = mv -f
  63926. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  63927. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  63928. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  63929. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  63930. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  63931. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  63932. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  63933. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  63934. + $(AM_CFLAGS) $(CFLAGS)
  63935. +AM_V_CC = $(am__v_CC_@AM_V@)
  63936. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  63937. +am__v_CC_0 = @echo " CC " $@;
  63938. +am__v_CC_1 =
  63939. CCLD = $(CC)
  63940. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  63941. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  63942. - $(LDFLAGS) -o $@
  63943. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  63944. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  63945. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  63946. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  63947. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  63948. +am__v_CCLD_0 = @echo " CCLD " $@;
  63949. +am__v_CCLD_1 =
  63950. SOURCES = $(libfiasco_la_SOURCES)
  63951. DIST_SOURCES = $(libfiasco_la_SOURCES)
  63952. +am__can_run_installinfo = \
  63953. + case $$AM_UPDATE_INFO_DIR in \
  63954. + n|no|NO) false;; \
  63955. + *) (install-info --version) >/dev/null 2>&1;; \
  63956. + esac
  63957. HEADERS = $(noinst_HEADERS)
  63958. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  63959. +# Read a list of newline-separated strings from the standard input,
  63960. +# and print each of them once, without duplicates. Input order is
  63961. +# *not* preserved.
  63962. +am__uniquify_input = $(AWK) '\
  63963. + BEGIN { nonempty = 0; } \
  63964. + { items[$$0] = 1; nonempty = 1; } \
  63965. + END { if (nonempty) { for (i in items) print i; }; } \
  63966. +'
  63967. +# Make sure the list of sources is unique. This is necessary because,
  63968. +# e.g., the same source file might be shared among _SOURCES variables
  63969. +# for different programs/libraries.
  63970. +am__define_uniq_tagged_files = \
  63971. + list='$(am__tagged_files)'; \
  63972. + unique=`for i in $$list; do \
  63973. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63974. + done | $(am__uniquify_input)`
  63975. ETAGS = etags
  63976. CTAGS = ctags
  63977. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  63978. + ChangeLog
  63979. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  63980. ACLOCAL = @ACLOCAL@
  63981. AMTAR = @AMTAR@
  63982. +AM_CPPFLAGS = @AM_CPPFLAGS@
  63983. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  63984. AR = @AR@
  63985. AUTOCONF = @AUTOCONF@
  63986. AUTOHEADER = @AUTOHEADER@
  63987. @@ -113,6 +235,7 @@
  63988. CYGPATH_W = @CYGPATH_W@
  63989. DEFS = @DEFS@
  63990. DEPDIR = @DEPDIR@
  63991. +DLLTOOL = @DLLTOOL@
  63992. DSYMUTIL = @DSYMUTIL@
  63993. DUMPBIN = @DUMPBIN@
  63994. ECHO_C = @ECHO_C@
  63995. @@ -122,7 +245,6 @@
  63996. EXEEXT = @EXEEXT@
  63997. FGREP = @FGREP@
  63998. GREP = @GREP@
  63999. -INCLUDES = @INCLUDES@
  64000. INSTALL = @INSTALL@
  64001. INSTALL_DATA = @INSTALL_DATA@
  64002. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  64003. @@ -137,7 +259,9 @@
  64004. LIPO = @LIPO@
  64005. LN_S = @LN_S@
  64006. LTLIBOBJS = @LTLIBOBJS@
  64007. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  64008. MAKEINFO = @MAKEINFO@
  64009. +MANIFEST_TOOL = @MANIFEST_TOOL@
  64010. MKDIR_P = @MKDIR_P@
  64011. NM = @NM@
  64012. NMEDIT = @NMEDIT@
  64013. @@ -163,6 +287,7 @@
  64014. abs_srcdir = @abs_srcdir@
  64015. abs_top_builddir = @abs_top_builddir@
  64016. abs_top_srcdir = @abs_top_srcdir@
  64017. +ac_ct_AR = @ac_ct_AR@
  64018. ac_ct_CC = @ac_ct_CC@
  64019. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  64020. am__include = @am__include@
  64021. @@ -195,7 +320,6 @@
  64022. libexecdir = @libexecdir@
  64023. localedir = @localedir@
  64024. localstatedir = @localstatedir@
  64025. -lt_ECHO = @lt_ECHO@
  64026. mandir = @mandir@
  64027. mkdir_p = @mkdir_p@
  64028. oldincludedir = @oldincludedir@
  64029. @@ -246,14 +370,13 @@
  64030. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu codec/Makefile'; \
  64031. $(am__cd) $(top_srcdir) && \
  64032. $(AUTOMAKE) --gnu codec/Makefile
  64033. -.PRECIOUS: Makefile
  64034. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  64035. @case '$?' in \
  64036. *config.status*) \
  64037. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  64038. *) \
  64039. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  64040. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  64041. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  64042. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  64043. esac;
  64044.  
  64045. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  64046. @@ -264,9 +387,9 @@
  64047. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  64048. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64049. $(am__aclocal_m4_deps):
  64050. +
  64051. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  64052. @$(NORMAL_INSTALL)
  64053. - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  64054. @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  64055. list2=; for p in $$list; do \
  64056. if test -f $$p; then \
  64057. @@ -274,6 +397,8 @@
  64058. else :; fi; \
  64059. done; \
  64060. test -z "$$list2" || { \
  64061. + echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
  64062. + $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
  64063. echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  64064. $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  64065. }
  64066. @@ -289,14 +414,17 @@
  64067.  
  64068. clean-libLTLIBRARIES:
  64069. -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  64070. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  64071. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  64072. - test "$$dir" != "$$p" || dir=.; \
  64073. - echo "rm -f \"$${dir}/so_locations\""; \
  64074. - rm -f "$${dir}/so_locations"; \
  64075. - done
  64076. -libfiasco.la: $(libfiasco_la_OBJECTS) $(libfiasco_la_DEPENDENCIES)
  64077. - $(libfiasco_la_LINK) -rpath $(libdir) $(libfiasco_la_OBJECTS) $(libfiasco_la_LIBADD) $(LIBS)
  64078. + @list='$(lib_LTLIBRARIES)'; \
  64079. + locs=`for p in $$list; do echo $$p; done | \
  64080. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  64081. + sort -u`; \
  64082. + test -z "$$locs" || { \
  64083. + echo rm -f $${locs}; \
  64084. + rm -f $${locs}; \
  64085. + }
  64086. +
  64087. +libfiasco.la: $(libfiasco_la_OBJECTS) $(libfiasco_la_DEPENDENCIES) $(EXTRA_libfiasco_la_DEPENDENCIES)
  64088. + $(AM_V_CCLD)$(libfiasco_la_LINK) -rpath $(libdir) $(libfiasco_la_OBJECTS) $(libfiasco_la_LIBADD) $(LIBS)
  64089.  
  64090. mostlyclean-compile:
  64091. -rm -f *.$(OBJEXT)
  64092. @@ -304,43 +432,49 @@
  64093. distclean-compile:
  64094. -rm -f *.tab.c
  64095.  
  64096. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/approx.Plo@am__quote@
  64097. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bintree.Plo@am__quote@
  64098. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coder.Plo@am__quote@
  64099. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coeff.Plo@am__quote@
  64100. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/control.Plo@am__quote@
  64101. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decoder.Plo@am__quote@
  64102. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfiasco.Plo@am__quote@
  64103. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/domain-pool.Plo@am__quote@
  64104. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ip.Plo@am__quote@
  64105. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/motion.Plo@am__quote@
  64106. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mwfa.Plo@am__quote@
  64107. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Plo@am__quote@
  64108. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prediction.Plo@am__quote@
  64109. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subdivide.Plo@am__quote@
  64110. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tiling.Plo@am__quote@
  64111. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wfalib.Plo@am__quote@
  64112. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/approx.Plo@am__quote@ # am--include-marker
  64113. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bintree.Plo@am__quote@ # am--include-marker
  64114. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coder.Plo@am__quote@ # am--include-marker
  64115. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coeff.Plo@am__quote@ # am--include-marker
  64116. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/control.Plo@am__quote@ # am--include-marker
  64117. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/decoder.Plo@am__quote@ # am--include-marker
  64118. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dfiasco.Plo@am__quote@ # am--include-marker
  64119. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/domain-pool.Plo@am__quote@ # am--include-marker
  64120. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ip.Plo@am__quote@ # am--include-marker
  64121. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/motion.Plo@am__quote@ # am--include-marker
  64122. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mwfa.Plo@am__quote@ # am--include-marker
  64123. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Plo@am__quote@ # am--include-marker
  64124. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prediction.Plo@am__quote@ # am--include-marker
  64125. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subdivide.Plo@am__quote@ # am--include-marker
  64126. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tiling.Plo@am__quote@ # am--include-marker
  64127. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wfalib.Plo@am__quote@ # am--include-marker
  64128. +
  64129. +$(am__depfiles_remade):
  64130. + @$(MKDIR_P) $(@D)
  64131. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  64132. +
  64133. +am--depfiles: $(am__depfiles_remade)
  64134.  
  64135. .c.o:
  64136. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64137. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64138. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64139. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64140. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64141. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64142. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  64143. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  64144. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  64145.  
  64146. .c.obj:
  64147. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  64148. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64149. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64150. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  64151. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  64152. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  64153. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  64154. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  64155. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  64156.  
  64157. .c.lo:
  64158. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64159. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  64160. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  64161. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  64162. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  64163. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  64164. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  64165. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  64166. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  64167.  
  64168. mostlyclean-libtool:
  64169. -rm -f *.lo
  64170. @@ -348,26 +482,15 @@
  64171. clean-libtool:
  64172. -rm -rf .libs _libs
  64173.  
  64174. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  64175. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64176. - unique=`for i in $$list; do \
  64177. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64178. - done | \
  64179. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64180. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  64181. - mkid -fID $$unique
  64182. -tags: TAGS
  64183. +ID: $(am__tagged_files)
  64184. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  64185. +tags: tags-am
  64186. +TAGS: tags
  64187.  
  64188. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  64189. - $(TAGS_FILES) $(LISP)
  64190. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  64191. set x; \
  64192. here=`pwd`; \
  64193. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64194. - unique=`for i in $$list; do \
  64195. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64196. - done | \
  64197. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64198. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  64199. + $(am__define_uniq_tagged_files); \
  64200. shift; \
  64201. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  64202. test -n "$$unique" || unique=$$empty_fix; \
  64203. @@ -379,15 +502,11 @@
  64204. $$unique; \
  64205. fi; \
  64206. fi
  64207. -ctags: CTAGS
  64208. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  64209. - $(TAGS_FILES) $(LISP)
  64210. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64211. - unique=`for i in $$list; do \
  64212. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64213. - done | \
  64214. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64215. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  64216. +ctags: ctags-am
  64217. +
  64218. +CTAGS: ctags
  64219. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  64220. + $(am__define_uniq_tagged_files); \
  64221. test -z "$(CTAGS_ARGS)$$unique" \
  64222. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  64223. $$unique
  64224. @@ -396,11 +515,29 @@
  64225. here=`$(am__cd) $(top_builddir) && pwd` \
  64226. && $(am__cd) $(top_srcdir) \
  64227. && gtags -i $(GTAGS_ARGS) "$$here"
  64228. +cscopelist: cscopelist-am
  64229. +
  64230. +cscopelist-am: $(am__tagged_files)
  64231. + list='$(am__tagged_files)'; \
  64232. + case "$(srcdir)" in \
  64233. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  64234. + *) sdir=$(subdir)/$(srcdir) ;; \
  64235. + esac; \
  64236. + for i in $$list; do \
  64237. + if test -f "$$i"; then \
  64238. + echo "$(subdir)/$$i"; \
  64239. + else \
  64240. + echo "$$sdir/$$i"; \
  64241. + fi; \
  64242. + done >> $(top_builddir)/cscope.files
  64243.  
  64244. distclean-tags:
  64245. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  64246.  
  64247. -distdir: $(DISTFILES)
  64248. +distdir: $(BUILT_SOURCES)
  64249. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  64250. +
  64251. +distdir-am: $(DISTFILES)
  64252. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64253. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64254. list='$(DISTFILES)'; \
  64255. @@ -447,10 +584,15 @@
  64256.  
  64257. installcheck: installcheck-am
  64258. install-strip:
  64259. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  64260. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  64261. - `test -z '$(STRIP)' || \
  64262. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  64263. + if test -z '$(STRIP)'; then \
  64264. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  64265. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  64266. + install; \
  64267. + else \
  64268. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  64269. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  64270. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  64271. + fi
  64272. mostlyclean-generic:
  64273.  
  64274. clean-generic:
  64275. @@ -468,7 +610,22 @@
  64276. mostlyclean-am
  64277.  
  64278. distclean: distclean-am
  64279. - -rm -rf ./$(DEPDIR)
  64280. + -rm -f ./$(DEPDIR)/approx.Plo
  64281. + -rm -f ./$(DEPDIR)/bintree.Plo
  64282. + -rm -f ./$(DEPDIR)/coder.Plo
  64283. + -rm -f ./$(DEPDIR)/coeff.Plo
  64284. + -rm -f ./$(DEPDIR)/control.Plo
  64285. + -rm -f ./$(DEPDIR)/decoder.Plo
  64286. + -rm -f ./$(DEPDIR)/dfiasco.Plo
  64287. + -rm -f ./$(DEPDIR)/domain-pool.Plo
  64288. + -rm -f ./$(DEPDIR)/ip.Plo
  64289. + -rm -f ./$(DEPDIR)/motion.Plo
  64290. + -rm -f ./$(DEPDIR)/mwfa.Plo
  64291. + -rm -f ./$(DEPDIR)/options.Plo
  64292. + -rm -f ./$(DEPDIR)/prediction.Plo
  64293. + -rm -f ./$(DEPDIR)/subdivide.Plo
  64294. + -rm -f ./$(DEPDIR)/tiling.Plo
  64295. + -rm -f ./$(DEPDIR)/wfalib.Plo
  64296. -rm -f Makefile
  64297. distclean-am: clean-am distclean-compile distclean-generic \
  64298. distclean-tags
  64299. @@ -514,7 +671,22 @@
  64300. installcheck-am:
  64301.  
  64302. maintainer-clean: maintainer-clean-am
  64303. - -rm -rf ./$(DEPDIR)
  64304. + -rm -f ./$(DEPDIR)/approx.Plo
  64305. + -rm -f ./$(DEPDIR)/bintree.Plo
  64306. + -rm -f ./$(DEPDIR)/coder.Plo
  64307. + -rm -f ./$(DEPDIR)/coeff.Plo
  64308. + -rm -f ./$(DEPDIR)/control.Plo
  64309. + -rm -f ./$(DEPDIR)/decoder.Plo
  64310. + -rm -f ./$(DEPDIR)/dfiasco.Plo
  64311. + -rm -f ./$(DEPDIR)/domain-pool.Plo
  64312. + -rm -f ./$(DEPDIR)/ip.Plo
  64313. + -rm -f ./$(DEPDIR)/motion.Plo
  64314. + -rm -f ./$(DEPDIR)/mwfa.Plo
  64315. + -rm -f ./$(DEPDIR)/options.Plo
  64316. + -rm -f ./$(DEPDIR)/prediction.Plo
  64317. + -rm -f ./$(DEPDIR)/subdivide.Plo
  64318. + -rm -f ./$(DEPDIR)/tiling.Plo
  64319. + -rm -f ./$(DEPDIR)/wfalib.Plo
  64320. -rm -f Makefile
  64321. maintainer-clean-am: distclean-am maintainer-clean-generic
  64322.  
  64323. @@ -535,19 +707,21 @@
  64324.  
  64325. .MAKE: install-am install-strip
  64326.  
  64327. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  64328. - clean-libLTLIBRARIES clean-libtool ctags distclean \
  64329. - distclean-compile distclean-generic distclean-libtool \
  64330. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  64331. - install install-am install-data install-data-am install-dvi \
  64332. - install-dvi-am install-exec install-exec-am install-html \
  64333. - install-html-am install-info install-info-am \
  64334. - install-libLTLIBRARIES install-man install-pdf install-pdf-am \
  64335. - install-ps install-ps-am install-strip installcheck \
  64336. - installcheck-am installdirs maintainer-clean \
  64337. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  64338. + clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \
  64339. + ctags ctags-am distclean distclean-compile distclean-generic \
  64340. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  64341. + html-am info info-am install install-am install-data \
  64342. + install-data-am install-dvi install-dvi-am install-exec \
  64343. + install-exec-am install-html install-html-am install-info \
  64344. + install-info-am install-libLTLIBRARIES install-man install-pdf \
  64345. + install-pdf-am install-ps install-ps-am install-strip \
  64346. + installcheck installcheck-am installdirs maintainer-clean \
  64347. maintainer-clean-generic mostlyclean mostlyclean-compile \
  64348. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  64349. - tags uninstall uninstall-am uninstall-libLTLIBRARIES
  64350. + tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES
  64351. +
  64352. +.PRECIOUS: Makefile
  64353.  
  64354.  
  64355. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  64356. diff -Nru Fiasco-master/codec/wfa.h Fiasco-master-pfiasco/codec/wfa.h
  64357. --- Fiasco-master/codec/wfa.h 2013-06-06 22:56:44.000000000 -0400
  64358. +++ Fiasco-master-pfiasco/codec/wfa.h 2019-06-17 18:56:53.000000000 -0400
  64359. @@ -18,7 +18,7 @@
  64360. #define _WFA_H
  64361.  
  64362. #define MAXEDGES 5
  64363. -#define MAXSTATES 6000
  64364. +#define MAXSTATES 60000
  64365. #define MAXLABELS 2 /* only bintree supported anymore */
  64366. #define MAXLEVEL 22
  64367.  
  64368. diff -Nru Fiasco-master/compile Fiasco-master-pfiasco/compile
  64369. --- Fiasco-master/compile 1969-12-31 19:00:00.000000000 -0500
  64370. +++ Fiasco-master-pfiasco/compile 2019-06-17 20:58:51.167150829 -0400
  64371. @@ -0,0 +1,348 @@
  64372. +#! /bin/sh
  64373. +# Wrapper for compilers which do not understand '-c -o'.
  64374. +
  64375. +scriptversion=2018-03-07.03; # UTC
  64376. +
  64377. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  64378. +# Written by Tom Tromey <[email protected]>.
  64379. +#
  64380. +# This program is free software; you can redistribute it and/or modify
  64381. +# it under the terms of the GNU General Public License as published by
  64382. +# the Free Software Foundation; either version 2, or (at your option)
  64383. +# any later version.
  64384. +#
  64385. +# This program is distributed in the hope that it will be useful,
  64386. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  64387. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  64388. +# GNU General Public License for more details.
  64389. +#
  64390. +# You should have received a copy of the GNU General Public License
  64391. +# along with this program. If not, see <https://www.gnu.org/licenses/>.
  64392. +
  64393. +# As a special exception to the GNU General Public License, if you
  64394. +# distribute this file as part of a program that contains a
  64395. +# configuration script generated by Autoconf, you may include it under
  64396. +# the same distribution terms that you use for the rest of that program.
  64397. +
  64398. +# This file is maintained in Automake, please report
  64399. +# bugs to <[email protected]> or send patches to
  64400. +
  64401. +nl='
  64402. +'
  64403. +
  64404. +# We need space, tab and new line, in precisely that order. Quoting is
  64405. +# there to prevent tools from complaining about whitespace usage.
  64406. +IFS=" "" $nl"
  64407. +
  64408. +file_conv=
  64409. +
  64410. +# func_file_conv build_file lazy
  64411. +# Convert a $build file to $host form and store it in $file
  64412. +# Currently only supports Windows hosts. If the determined conversion
  64413. +# type is listed in (the comma separated) LAZY, no conversion will
  64414. +# take place.
  64415. +func_file_conv ()
  64416. +{
  64417. + file=$1
  64418. + case $file in
  64419. + / | /[!/]*) # absolute file, and not a UNC file
  64420. + if test -z "$file_conv"; then
  64421. + # lazily determine how to convert abs files
  64422. + case `uname -s` in
  64423. + MINGW*)
  64424. + file_conv=mingw
  64425. + ;;
  64426. + CYGWIN*)
  64427. + file_conv=cygwin
  64428. + ;;
  64429. + *)
  64430. + file_conv=wine
  64431. + ;;
  64432. + esac
  64433. + fi
  64434. + case $file_conv/,$2, in
  64435. + *,$file_conv,*)
  64436. + ;;
  64437. + mingw/*)
  64438. + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
  64439. + ;;
  64440. + cygwin/*)
  64441. + file=`cygpath -m "$file" || echo "$file"`
  64442. + ;;
  64443. + wine/*)
  64444. + file=`winepath -w "$file" || echo "$file"`
  64445. + ;;
  64446. + esac
  64447. + ;;
  64448. + esac
  64449. +}
  64450. +
  64451. +# func_cl_dashL linkdir
  64452. +# Make cl look for libraries in LINKDIR
  64453. +func_cl_dashL ()
  64454. +{
  64455. + func_file_conv "$1"
  64456. + if test -z "$lib_path"; then
  64457. + lib_path=$file
  64458. + else
  64459. + lib_path="$lib_path;$file"
  64460. + fi
  64461. + linker_opts="$linker_opts -LIBPATH:$file"
  64462. +}
  64463. +
  64464. +# func_cl_dashl library
  64465. +# Do a library search-path lookup for cl
  64466. +func_cl_dashl ()
  64467. +{
  64468. + lib=$1
  64469. + found=no
  64470. + save_IFS=$IFS
  64471. + IFS=';'
  64472. + for dir in $lib_path $LIB
  64473. + do
  64474. + IFS=$save_IFS
  64475. + if $shared && test -f "$dir/$lib.dll.lib"; then
  64476. + found=yes
  64477. + lib=$dir/$lib.dll.lib
  64478. + break
  64479. + fi
  64480. + if test -f "$dir/$lib.lib"; then
  64481. + found=yes
  64482. + lib=$dir/$lib.lib
  64483. + break
  64484. + fi
  64485. + if test -f "$dir/lib$lib.a"; then
  64486. + found=yes
  64487. + lib=$dir/lib$lib.a
  64488. + break
  64489. + fi
  64490. + done
  64491. + IFS=$save_IFS
  64492. +
  64493. + if test "$found" != yes; then
  64494. + lib=$lib.lib
  64495. + fi
  64496. +}
  64497. +
  64498. +# func_cl_wrapper cl arg...
  64499. +# Adjust compile command to suit cl
  64500. +func_cl_wrapper ()
  64501. +{
  64502. + # Assume a capable shell
  64503. + lib_path=
  64504. + shared=:
  64505. + linker_opts=
  64506. + for arg
  64507. + do
  64508. + if test -n "$eat"; then
  64509. + eat=
  64510. + else
  64511. + case $1 in
  64512. + -o)
  64513. + # configure might choose to run compile as 'compile cc -o foo foo.c'.
  64514. + eat=1
  64515. + case $2 in
  64516. + *.o | *.[oO][bB][jJ])
  64517. + func_file_conv "$2"
  64518. + set x "$@" -Fo"$file"
  64519. + shift
  64520. + ;;
  64521. + *)
  64522. + func_file_conv "$2"
  64523. + set x "$@" -Fe"$file"
  64524. + shift
  64525. + ;;
  64526. + esac
  64527. + ;;
  64528. + -I)
  64529. + eat=1
  64530. + func_file_conv "$2" mingw
  64531. + set x "$@" -I"$file"
  64532. + shift
  64533. + ;;
  64534. + -I*)
  64535. + func_file_conv "${1#-I}" mingw
  64536. + set x "$@" -I"$file"
  64537. + shift
  64538. + ;;
  64539. + -l)
  64540. + eat=1
  64541. + func_cl_dashl "$2"
  64542. + set x "$@" "$lib"
  64543. + shift
  64544. + ;;
  64545. + -l*)
  64546. + func_cl_dashl "${1#-l}"
  64547. + set x "$@" "$lib"
  64548. + shift
  64549. + ;;
  64550. + -L)
  64551. + eat=1
  64552. + func_cl_dashL "$2"
  64553. + ;;
  64554. + -L*)
  64555. + func_cl_dashL "${1#-L}"
  64556. + ;;
  64557. + -static)
  64558. + shared=false
  64559. + ;;
  64560. + -Wl,*)
  64561. + arg=${1#-Wl,}
  64562. + save_ifs="$IFS"; IFS=','
  64563. + for flag in $arg; do
  64564. + IFS="$save_ifs"
  64565. + linker_opts="$linker_opts $flag"
  64566. + done
  64567. + IFS="$save_ifs"
  64568. + ;;
  64569. + -Xlinker)
  64570. + eat=1
  64571. + linker_opts="$linker_opts $2"
  64572. + ;;
  64573. + -*)
  64574. + set x "$@" "$1"
  64575. + shift
  64576. + ;;
  64577. + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
  64578. + func_file_conv "$1"
  64579. + set x "$@" -Tp"$file"
  64580. + shift
  64581. + ;;
  64582. + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
  64583. + func_file_conv "$1" mingw
  64584. + set x "$@" "$file"
  64585. + shift
  64586. + ;;
  64587. + *)
  64588. + set x "$@" "$1"
  64589. + shift
  64590. + ;;
  64591. + esac
  64592. + fi
  64593. + shift
  64594. + done
  64595. + if test -n "$linker_opts"; then
  64596. + linker_opts="-link$linker_opts"
  64597. + fi
  64598. + exec "$@" $linker_opts
  64599. + exit 1
  64600. +}
  64601. +
  64602. +eat=
  64603. +
  64604. +case $1 in
  64605. + '')
  64606. + echo "$0: No command. Try '$0 --help' for more information." 1>&2
  64607. + exit 1;
  64608. + ;;
  64609. + -h | --h*)
  64610. + cat <<\EOF
  64611. +Usage: compile [--help] [--version] PROGRAM [ARGS]
  64612. +
  64613. +Wrapper for compilers which do not understand '-c -o'.
  64614. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
  64615. +arguments, and rename the output as expected.
  64616. +
  64617. +If you are trying to build a whole package this is not the
  64618. +right script to run: please start by reading the file 'INSTALL'.
  64619. +
  64620. +Report bugs to <[email protected]>.
  64621. +EOF
  64622. + exit $?
  64623. + ;;
  64624. + -v | --v*)
  64625. + echo "compile $scriptversion"
  64626. + exit $?
  64627. + ;;
  64628. + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
  64629. + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
  64630. + func_cl_wrapper "$@" # Doesn't return...
  64631. + ;;
  64632. +esac
  64633. +
  64634. +ofile=
  64635. +cfile=
  64636. +
  64637. +for arg
  64638. +do
  64639. + if test -n "$eat"; then
  64640. + eat=
  64641. + else
  64642. + case $1 in
  64643. + -o)
  64644. + # configure might choose to run compile as 'compile cc -o foo foo.c'.
  64645. + # So we strip '-o arg' only if arg is an object.
  64646. + eat=1
  64647. + case $2 in
  64648. + *.o | *.obj)
  64649. + ofile=$2
  64650. + ;;
  64651. + *)
  64652. + set x "$@" -o "$2"
  64653. + shift
  64654. + ;;
  64655. + esac
  64656. + ;;
  64657. + *.c)
  64658. + cfile=$1
  64659. + set x "$@" "$1"
  64660. + shift
  64661. + ;;
  64662. + *)
  64663. + set x "$@" "$1"
  64664. + shift
  64665. + ;;
  64666. + esac
  64667. + fi
  64668. + shift
  64669. +done
  64670. +
  64671. +if test -z "$ofile" || test -z "$cfile"; then
  64672. + # If no '-o' option was seen then we might have been invoked from a
  64673. + # pattern rule where we don't need one. That is ok -- this is a
  64674. + # normal compilation that the losing compiler can handle. If no
  64675. + # '.c' file was seen then we are probably linking. That is also
  64676. + # ok.
  64677. + exec "$@"
  64678. +fi
  64679. +
  64680. +# Name of file we expect compiler to create.
  64681. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
  64682. +
  64683. +# Create the lock directory.
  64684. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name
  64685. +# that we are using for the .o file. Also, base the name on the expected
  64686. +# object file name, since that is what matters with a parallel build.
  64687. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
  64688. +while true; do
  64689. + if mkdir "$lockdir" >/dev/null 2>&1; then
  64690. + break
  64691. + fi
  64692. + sleep 1
  64693. +done
  64694. +# FIXME: race condition here if user kills between mkdir and trap.
  64695. +trap "rmdir '$lockdir'; exit 1" 1 2 15
  64696. +
  64697. +# Run the compile.
  64698. +"$@"
  64699. +ret=$?
  64700. +
  64701. +if test -f "$cofile"; then
  64702. + test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
  64703. +elif test -f "${cofile}bj"; then
  64704. + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
  64705. +fi
  64706. +
  64707. +rmdir "$lockdir"
  64708. +exit $ret
  64709. +
  64710. +# Local Variables:
  64711. +# mode: shell-script
  64712. +# sh-indentation: 2
  64713. +# eval: (add-hook 'before-save-hook 'time-stamp)
  64714. +# time-stamp-start: "scriptversion="
  64715. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  64716. +# time-stamp-time-zone: "UTC0"
  64717. +# time-stamp-end: "; # UTC"
  64718. +# End:
  64719. diff -Nru Fiasco-master/config.h.in Fiasco-master-pfiasco/config.h.in
  64720. --- Fiasco-master/config.h.in 2013-06-06 22:56:44.000000000 -0400
  64721. +++ Fiasco-master-pfiasco/config.h.in 2019-06-17 21:06:38.941114512 -0400
  64722. @@ -1,81 +1,144 @@
  64723. -/* config.h.in. Generated automatically from configure.in by autoheader. */
  64724. +/* config.h.in. Generated from configure.ac by autoheader. */
  64725. +/* Package name */
  64726. +#undef PACKAGE
  64727.  
  64728. -/* Define to empty if the keyword does not work. */
  64729. -#undef const
  64730. +/* Version number */
  64731. +#undef VERSION
  64732.  
  64733. -/* Define if you don't have vprintf but do have _doprnt. */
  64734. -#undef HAVE_DOPRNT
  64735. +/* Define if shifting of signed integers works */
  64736. +#undef HAVE_SIGNED_SHIFT
  64737.  
  64738. -/* Define if you have the vprintf function. */
  64739. -#undef HAVE_VPRINTF
  64740. +/* Define path of WFA datafiles (automata, resource files) */
  64741. +#undef FIASCO_SHARE
  64742.  
  64743. -/* Define to `unsigned' if <sys/types.h> doesn't define. */
  64744. -#undef size_t
  64745. +/* Define if you don't have the CLOCKS_PER_SEC define in <time.h>. */
  64746. +#undef CLOCKS_PER_SEC
  64747.  
  64748. -/* Define if you have the ANSI C header files. */
  64749. -#undef STDC_HEADERS
  64750. +/* Define if building universal (internal helper macro) */
  64751. +#undef AC_APPLE_UNIVERSAL_BUILD
  64752.  
  64753. -/* Define if your processor stores words with the most significant
  64754. - byte first (like Motorola and SPARC, unlike Intel and VAX). */
  64755. -#undef WORDS_BIGENDIAN
  64756. +/* Define to 1 if you have the <assert.h> header file. */
  64757. +#undef HAVE_ASSERT_H
  64758.  
  64759. -/* Define if the X Window System is missing or not being used. */
  64760. -#undef X_DISPLAY_MISSING
  64761. +/* Define to 1 if you have the <dlfcn.h> header file. */
  64762. +#undef HAVE_DLFCN_H
  64763.  
  64764. -/* Define if shifting of signed integers works */
  64765. -#undef HAVE_SIGNED_SHIFT
  64766. +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
  64767. +#undef HAVE_DOPRNT
  64768.  
  64769. -/* The number of bytes in a char. */
  64770. -#undef SIZEOF_CHAR
  64771. +/* Define to 1 if you have the <features.h> header file. */
  64772. +#undef HAVE_FEATURES_H
  64773.  
  64774. -/* The number of bytes in a int. */
  64775. -#undef SIZEOF_INT
  64776. +/* Define to 1 if you have the <inttypes.h> header file. */
  64777. +#undef HAVE_INTTYPES_H
  64778.  
  64779. -/* The number of bytes in a short. */
  64780. -#undef SIZEOF_SHORT
  64781. +/* Define to 1 if you have the `m' library (-lm). */
  64782. +#undef HAVE_LIBM
  64783.  
  64784. -/* Define if you have the log2 function. */
  64785. +/* Define to 1 if you have the `log2' function. */
  64786. #undef HAVE_LOG2
  64787.  
  64788. -/* Define if you have the memmove function. */
  64789. +/* Define to 1 if you have the `memmove' function. */
  64790. #undef HAVE_MEMMOVE
  64791.  
  64792. -/* Define if you have the strcasecmp function. */
  64793. -#undef HAVE_STRCASECMP
  64794. +/* Define to 1 if you have the <memory.h> header file. */
  64795. +#undef HAVE_MEMORY_H
  64796.  
  64797. -/* Define if you have the strdup function. */
  64798. -#undef HAVE_STRDUP
  64799. +/* Define to 1 if you have the <setjmp.h> header file. */
  64800. +#undef HAVE_SETJMP_H
  64801.  
  64802. -/* Define if you have the <X11/extensions/XShm.h> header file. */
  64803. -#undef HAVE_X11_EXTENSIONS_XSHM_H
  64804. +/* Define to 1 if you have the <stdint.h> header file. */
  64805. +#undef HAVE_STDINT_H
  64806.  
  64807. -/* Define if you have the <assert.h> header file. */
  64808. -#undef HAVE_ASSERT_H
  64809. +/* Define to 1 if you have the <stdlib.h> header file. */
  64810. +#undef HAVE_STDLIB_H
  64811.  
  64812. -/* Define if you have the <features.h> header file. */
  64813. -#undef HAVE_FEATURES_H
  64814. +/* Define to 1 if you have the `strcasecmp' function. */
  64815. +#undef HAVE_STRCASECMP
  64816.  
  64817. -/* Define if you have the <setjmp.h> header file. */
  64818. -#undef HAVE_SETJMP_H
  64819. +/* Define to 1 if you have the `strdup' function. */
  64820. +#undef HAVE_STRDUP
  64821.  
  64822. -/* Define if you have the <string.h> header file. */
  64823. +/* Define to 1 if you have the <strings.h> header file. */
  64824. +#undef HAVE_STRINGS_H
  64825. +
  64826. +/* Define to 1 if you have the <string.h> header file. */
  64827. #undef HAVE_STRING_H
  64828.  
  64829. -/* Define if you have the <unistd.h> header file. */
  64830. +/* Define to 1 if you have the <sys/stat.h> header file. */
  64831. +#undef HAVE_SYS_STAT_H
  64832. +
  64833. +/* Define to 1 if you have the <sys/types.h> header file. */
  64834. +#undef HAVE_SYS_TYPES_H
  64835. +
  64836. +/* Define to 1 if you have the <unistd.h> header file. */
  64837. #undef HAVE_UNISTD_H
  64838.  
  64839. -/* Define if you have the m library (-lm). */
  64840. -#undef HAVE_LIBM
  64841. +/* Define to 1 if you have the `vprintf' function. */
  64842. +#undef HAVE_VPRINTF
  64843. +
  64844. +/* Define to the sub-directory where libtool stores uninstalled libraries. */
  64845. +#undef LT_OBJDIR
  64846.  
  64847. /* Name of package */
  64848. #undef PACKAGE
  64849.  
  64850. +/* Define to the address where bug reports for this package should be sent. */
  64851. +#undef PACKAGE_BUGREPORT
  64852. +
  64853. +/* Define to the full name of this package. */
  64854. +#undef PACKAGE_NAME
  64855. +
  64856. +/* Define to the full name and version of this package. */
  64857. +#undef PACKAGE_STRING
  64858. +
  64859. +/* Define to the one symbol short name of this package. */
  64860. +#undef PACKAGE_TARNAME
  64861. +
  64862. +/* Define to the home page for this package. */
  64863. +#undef PACKAGE_URL
  64864. +
  64865. +/* Define to the version of this package. */
  64866. +#undef PACKAGE_VERSION
  64867. +
  64868. +/* The size of `char', as computed by sizeof. */
  64869. +#undef SIZEOF_CHAR
  64870. +
  64871. +/* The size of `int', as computed by sizeof. */
  64872. +#undef SIZEOF_INT
  64873. +
  64874. +/* The size of `short', as computed by sizeof. */
  64875. +#undef SIZEOF_SHORT
  64876. +
  64877. +/* Define to 1 if you have the ANSI C header files. */
  64878. +#undef STDC_HEADERS
  64879. +
  64880. +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  64881. +#undef TIME_WITH_SYS_TIME
  64882. +
  64883. /* Version number of package */
  64884. #undef VERSION
  64885.  
  64886. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  64887. + significant byte first (like Motorola and SPARC, unlike Intel). */
  64888. +#if defined AC_APPLE_UNIVERSAL_BUILD
  64889. +# if defined __BIG_ENDIAN__
  64890. +# define WORDS_BIGENDIAN 1
  64891. +# endif
  64892. +#else
  64893. +# ifndef WORDS_BIGENDIAN
  64894. +# undef WORDS_BIGENDIAN
  64895. +# endif
  64896. +#endif
  64897. +
  64898. /* Define path of xfig utility */
  64899. #undef XFIG
  64900.  
  64901. /* Define path of xmag utility */
  64902. #undef XMAG
  64903.  
  64904. +/* Define to empty if `const' does not conform to ANSI C. */
  64905. +#undef const
  64906. +
  64907. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  64908. +#undef size_t
  64909. diff -Nru Fiasco-master/configure Fiasco-master-pfiasco/configure
  64910. --- Fiasco-master/configure 2013-06-06 22:56:44.000000000 -0400
  64911. +++ Fiasco-master-pfiasco/configure 2019-06-17 21:04:57.670779533 -0400
  64912. @@ -1,11 +1,9 @@
  64913. #! /bin/sh
  64914. # Guess values for system-dependent variables and create Makefiles.
  64915. -# Generated by GNU Autoconf 2.68.
  64916. +# Generated by GNU Autoconf 2.69 for fiasco 1.3.
  64917. #
  64918. #
  64919. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  64920. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  64921. -# Foundation, Inc.
  64922. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  64923. #
  64924. #
  64925. # This configure script is free software; the Free Software Foundation
  64926. @@ -134,6 +132,31 @@
  64927. # CDPATH.
  64928. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  64929.  
  64930. +# Use a proper internal environment variable to ensure we don't fall
  64931. + # into an infinite loop, continuously re-executing ourselves.
  64932. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  64933. + _as_can_reexec=no; export _as_can_reexec;
  64934. + # We cannot yet assume a decent shell, so we have to provide a
  64935. +# neutralization value for shells without unset; and this also
  64936. +# works around shells that cannot unset nonexistent variables.
  64937. +# Preserve -v and -x to the replacement shell.
  64938. +BASH_ENV=/dev/null
  64939. +ENV=/dev/null
  64940. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  64941. +case $- in # ((((
  64942. + *v*x* | *x*v* ) as_opts=-vx ;;
  64943. + *v* ) as_opts=-v ;;
  64944. + *x* ) as_opts=-x ;;
  64945. + * ) as_opts= ;;
  64946. +esac
  64947. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  64948. +# Admittedly, this is quite paranoid, since all the known shells bail
  64949. +# out after a failed `exec'.
  64950. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  64951. +as_fn_exit 255
  64952. + fi
  64953. + # We don't want this to propagate to other subprocesses.
  64954. + { _as_can_reexec=; unset _as_can_reexec;}
  64955. if test "x$CONFIG_SHELL" = x; then
  64956. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  64957. emulate sh
  64958. @@ -167,11 +190,20 @@
  64959. else
  64960. exitcode=1; echo positional parameters were not saved.
  64961. fi
  64962. -test x\$exitcode = x0 || exit 1"
  64963. +test x\$exitcode = x0 || exit 1
  64964. +test -x / || exit 1"
  64965. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  64966. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  64967. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  64968. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  64969. +
  64970. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  64971. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  64972. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  64973. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  64974. + PATH=/empty FPATH=/empty; export PATH FPATH
  64975. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  64976. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  64977. test \$(( 1 + 1 )) = 2 || exit 1"
  64978. if (eval "$as_required") 2>/dev/null; then :
  64979. as_have_required=yes
  64980. @@ -212,21 +244,25 @@
  64981.  
  64982.  
  64983. if test "x$CONFIG_SHELL" != x; then :
  64984. - # We cannot yet assume a decent shell, so we have to provide a
  64985. - # neutralization value for shells without unset; and this also
  64986. - # works around shells that cannot unset nonexistent variables.
  64987. - # Preserve -v and -x to the replacement shell.
  64988. - BASH_ENV=/dev/null
  64989. - ENV=/dev/null
  64990. - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  64991. - export CONFIG_SHELL
  64992. - case $- in # ((((
  64993. - *v*x* | *x*v* ) as_opts=-vx ;;
  64994. - *v* ) as_opts=-v ;;
  64995. - *x* ) as_opts=-x ;;
  64996. - * ) as_opts= ;;
  64997. - esac
  64998. - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  64999. + export CONFIG_SHELL
  65000. + # We cannot yet assume a decent shell, so we have to provide a
  65001. +# neutralization value for shells without unset; and this also
  65002. +# works around shells that cannot unset nonexistent variables.
  65003. +# Preserve -v and -x to the replacement shell.
  65004. +BASH_ENV=/dev/null
  65005. +ENV=/dev/null
  65006. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  65007. +case $- in # ((((
  65008. + *v*x* | *x*v* ) as_opts=-vx ;;
  65009. + *v* ) as_opts=-v ;;
  65010. + *x* ) as_opts=-x ;;
  65011. + * ) as_opts= ;;
  65012. +esac
  65013. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  65014. +# Admittedly, this is quite paranoid, since all the known shells bail
  65015. +# out after a failed `exec'.
  65016. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  65017. +exit 255
  65018. fi
  65019.  
  65020. if test x$as_have_required = xno; then :
  65021. @@ -328,6 +364,14 @@
  65022.  
  65023.  
  65024. } # as_fn_mkdir_p
  65025. +
  65026. +# as_fn_executable_p FILE
  65027. +# -----------------------
  65028. +# Test if FILE is an executable regular file.
  65029. +as_fn_executable_p ()
  65030. +{
  65031. + test -f "$1" && test -x "$1"
  65032. +} # as_fn_executable_p
  65033. # as_fn_append VAR VALUE
  65034. # ----------------------
  65035. # Append the text in VALUE to the end of the definition contained in VAR. Take
  65036. @@ -449,6 +493,10 @@
  65037. chmod +x "$as_me.lineno" ||
  65038. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  65039.  
  65040. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  65041. + # already done that, so ensure we don't try to do so again and fall
  65042. + # in an infinite loop. This has already happened in practice.
  65043. + _as_can_reexec=no; export _as_can_reexec
  65044. # Don't try to exec as it changes $[0], causing all sort of problems
  65045. # (the dirname of $[0] is not the place where we might find the
  65046. # original and so on. Autoconf is especially sensitive to this).
  65047. @@ -483,16 +531,16 @@
  65048. # ... but there are two gotchas:
  65049. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  65050. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  65051. - # In both cases, we have to default to `cp -p'.
  65052. + # In both cases, we have to default to `cp -pR'.
  65053. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  65054. - as_ln_s='cp -p'
  65055. + as_ln_s='cp -pR'
  65056. elif ln conf$$.file conf$$ 2>/dev/null; then
  65057. as_ln_s=ln
  65058. else
  65059. - as_ln_s='cp -p'
  65060. + as_ln_s='cp -pR'
  65061. fi
  65062. else
  65063. - as_ln_s='cp -p'
  65064. + as_ln_s='cp -pR'
  65065. fi
  65066. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  65067. rmdir conf$$.dir 2>/dev/null
  65068. @@ -504,28 +552,8 @@
  65069. as_mkdir_p=false
  65070. fi
  65071.  
  65072. -if test -x / >/dev/null 2>&1; then
  65073. - as_test_x='test -x'
  65074. -else
  65075. - if ls -dL / >/dev/null 2>&1; then
  65076. - as_ls_L_option=L
  65077. - else
  65078. - as_ls_L_option=
  65079. - fi
  65080. - as_test_x='
  65081. - eval sh -c '\''
  65082. - if test -d "$1"; then
  65083. - test -d "$1/.";
  65084. - else
  65085. - case $1 in #(
  65086. - -*)set "./$1";;
  65087. - esac;
  65088. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  65089. - ???[sx]*):;;*)false;;esac;fi
  65090. - '\'' sh
  65091. - '
  65092. -fi
  65093. -as_executable_p=$as_test_x
  65094. +as_test_x='test -x'
  65095. +as_executable_p=as_fn_executable_p
  65096.  
  65097. # Sed expression to map a string onto a valid CPP name.
  65098. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  65099. @@ -533,155 +561,8 @@
  65100. # Sed expression to map a string onto a valid variable name.
  65101. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  65102.  
  65103. -
  65104. -
  65105. -# Check that we are running under the correct shell.
  65106. SHELL=${CONFIG_SHELL-/bin/sh}
  65107.  
  65108. -case X$lt_ECHO in
  65109. -X*--fallback-echo)
  65110. - # Remove one level of quotation (which was required for Make).
  65111. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  65112. - ;;
  65113. -esac
  65114. -
  65115. -ECHO=${lt_ECHO-echo}
  65116. -if test "X$1" = X--no-reexec; then
  65117. - # Discard the --no-reexec flag, and continue.
  65118. - shift
  65119. -elif test "X$1" = X--fallback-echo; then
  65120. - # Avoid inline document here, it may be left over
  65121. - :
  65122. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  65123. - # Yippee, $ECHO works!
  65124. - :
  65125. -else
  65126. - # Restart under the correct shell.
  65127. - exec $SHELL "$0" --no-reexec ${1+"$@"}
  65128. -fi
  65129. -
  65130. -if test "X$1" = X--fallback-echo; then
  65131. - # used as fallback echo
  65132. - shift
  65133. - cat <<_LT_EOF
  65134. -$*
  65135. -_LT_EOF
  65136. - exit 0
  65137. -fi
  65138. -
  65139. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  65140. -# if CDPATH is set.
  65141. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  65142. -
  65143. -if test -z "$lt_ECHO"; then
  65144. - if test "X${echo_test_string+set}" != Xset; then
  65145. - # find a string as large as possible, as long as the shell can cope with it
  65146. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  65147. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  65148. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  65149. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  65150. - then
  65151. - break
  65152. - fi
  65153. - done
  65154. - fi
  65155. -
  65156. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  65157. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  65158. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65159. - :
  65160. - else
  65161. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  65162. - # backslashes. This makes it impossible to quote backslashes using
  65163. - # echo "$something" | sed 's/\\/\\\\/g'
  65164. - #
  65165. - # So, first we look for a working echo in the user's PATH.
  65166. -
  65167. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  65168. - for dir in $PATH /usr/ucb; do
  65169. - IFS="$lt_save_ifs"
  65170. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  65171. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  65172. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  65173. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65174. - ECHO="$dir/echo"
  65175. - break
  65176. - fi
  65177. - done
  65178. - IFS="$lt_save_ifs"
  65179. -
  65180. - if test "X$ECHO" = Xecho; then
  65181. - # We didn't find a better echo, so look for alternatives.
  65182. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  65183. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  65184. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65185. - # This shell has a builtin print -r that does the trick.
  65186. - ECHO='print -r'
  65187. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  65188. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  65189. - # If we have ksh, try running configure again with it.
  65190. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  65191. - export ORIGINAL_CONFIG_SHELL
  65192. - CONFIG_SHELL=/bin/ksh
  65193. - export CONFIG_SHELL
  65194. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  65195. - else
  65196. - # Try using printf.
  65197. - ECHO='printf %s\n'
  65198. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  65199. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  65200. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65201. - # Cool, printf works
  65202. - :
  65203. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  65204. - test "X$echo_testing_string" = 'X\t' &&
  65205. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  65206. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65207. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  65208. - export CONFIG_SHELL
  65209. - SHELL="$CONFIG_SHELL"
  65210. - export SHELL
  65211. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  65212. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  65213. - test "X$echo_testing_string" = 'X\t' &&
  65214. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  65215. - test "X$echo_testing_string" = "X$echo_test_string"; then
  65216. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  65217. - else
  65218. - # maybe with a smaller string...
  65219. - prev=:
  65220. -
  65221. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  65222. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  65223. - then
  65224. - break
  65225. - fi
  65226. - prev="$cmd"
  65227. - done
  65228. -
  65229. - if test "$prev" != 'sed 50q "$0"'; then
  65230. - echo_test_string=`eval $prev`
  65231. - export echo_test_string
  65232. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  65233. - else
  65234. - # Oops. We lost completely, so just stick with echo.
  65235. - ECHO=echo
  65236. - fi
  65237. - fi
  65238. - fi
  65239. - fi
  65240. - fi
  65241. -fi
  65242. -
  65243. -# Copy echo and quote the copy suitably for passing to libtool from
  65244. -# the Makefile, instead of quoting the original, which is used later.
  65245. -lt_ECHO=$ECHO
  65246. -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  65247. - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  65248. -fi
  65249. -
  65250. -
  65251. -
  65252.  
  65253. test -n "$DJDIR" || exec 7<&0 </dev/null
  65254. exec 6>&1
  65255. @@ -704,14 +585,13 @@
  65256. MAKEFLAGS=
  65257.  
  65258. # Identity of this package.
  65259. -PACKAGE_NAME=
  65260. -PACKAGE_TARNAME=
  65261. -PACKAGE_VERSION=
  65262. -PACKAGE_STRING=
  65263. -PACKAGE_BUGREPORT=
  65264. -PACKAGE_URL=
  65265. +PACKAGE_NAME='fiasco'
  65266. +PACKAGE_TARNAME='fiasco'
  65267. +PACKAGE_VERSION='1.3'
  65268. +PACKAGE_STRING='fiasco 1.3'
  65269. +PACKAGE_BUGREPORT=''
  65270. +PACKAGE_URL=''
  65271.  
  65272. -ac_unique_file="system.fiascorc"
  65273. # Factoring default headers for most tests.
  65274. ac_includes_default="\
  65275. #include <stdio.h>
  65276. @@ -754,17 +634,20 @@
  65277. LIBOBJS
  65278. xmag
  65279. xfig
  65280. -INCLUDES
  65281. +AM_CPPFLAGS
  65282. LIBTOOL_DEPS
  65283. CPP
  65284. +LT_SYS_LIBRARY_PATH
  65285. OTOOL64
  65286. OTOOL
  65287. LIPO
  65288. NMEDIT
  65289. DSYMUTIL
  65290. -lt_ECHO
  65291. +MANIFEST_TOOL
  65292. RANLIB
  65293. +ac_ct_AR
  65294. AR
  65295. +DLLTOOL
  65296. OBJDUMP
  65297. LN_S
  65298. NM
  65299. @@ -778,10 +661,10 @@
  65300. am__fastdepCC_FALSE
  65301. am__fastdepCC_TRUE
  65302. CCDEPMODE
  65303. +am__nodep
  65304. AMDEPBACKSLASH
  65305. AMDEP_FALSE
  65306. AMDEP_TRUE
  65307. -am__quote
  65308. am__include
  65309. DEPDIR
  65310. OBJEXT
  65311. @@ -800,6 +683,10 @@
  65312. build_cpu
  65313. build
  65314. LIBTOOL
  65315. +AM_BACKSLASH
  65316. +AM_DEFAULT_VERBOSITY
  65317. +AM_DEFAULT_V
  65318. +AM_V
  65319. am__untar
  65320. am__tar
  65321. AMTAR
  65322. @@ -860,16 +747,20 @@
  65323. PACKAGE_TARNAME
  65324. PACKAGE_NAME
  65325. PATH_SEPARATOR
  65326. -SHELL'
  65327. +SHELL
  65328. +am__quote'
  65329. ac_subst_files=''
  65330. ac_user_opts='
  65331. enable_option_checking
  65332. +enable_silent_rules
  65333. enable_shared
  65334. enable_static
  65335. with_pic
  65336. enable_fast_install
  65337. +with_aix_soname
  65338. enable_dependency_tracking
  65339. with_gnu_ld
  65340. +with_sysroot
  65341. enable_libtool_lock
  65342. '
  65343. ac_precious_vars='build_alias
  65344. @@ -880,6 +771,7 @@
  65345. LDFLAGS
  65346. LIBS
  65347. CPPFLAGS
  65348. +LT_SYS_LIBRARY_PATH
  65349. CPP'
  65350.  
  65351.  
  65352. @@ -921,7 +813,7 @@
  65353. localstatedir='${prefix}/var'
  65354. includedir='${prefix}/include'
  65355. oldincludedir='/usr/include'
  65356. -docdir='${datarootdir}/doc/${PACKAGE}'
  65357. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  65358. infodir='${datarootdir}/info'
  65359. htmldir='${docdir}'
  65360. dvidir='${docdir}'
  65361. @@ -1336,8 +1228,6 @@
  65362. if test "x$host_alias" != x; then
  65363. if test "x$build_alias" = x; then
  65364. cross_compiling=maybe
  65365. - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  65366. - If a cross compiler is detected then cross compile mode will be used" >&2
  65367. elif test "x$build_alias" != "x$host_alias"; then
  65368. cross_compiling=yes
  65369. fi
  65370. @@ -1423,7 +1313,7 @@
  65371. # Omit some internal or obsolete options to make the list less imposing.
  65372. # This message is too long to be a string in the A/UX 3.1 sh.
  65373. cat <<_ACEOF
  65374. -\`configure' configures this package to adapt to many kinds of systems.
  65375. +\`configure' configures fiasco 1.3 to adapt to many kinds of systems.
  65376.  
  65377. Usage: $0 [OPTION]... [VAR=VALUE]...
  65378.  
  65379. @@ -1471,7 +1361,7 @@
  65380. --infodir=DIR info documentation [DATAROOTDIR/info]
  65381. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  65382. --mandir=DIR man documentation [DATAROOTDIR/man]
  65383. - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  65384. + --docdir=DIR documentation root [DATAROOTDIR/doc/fiasco]
  65385. --htmldir=DIR html documentation [DOCDIR]
  65386. --dvidir=DIR dvi documentation [DOCDIR]
  65387. --pdfdir=DIR pdf documentation [DOCDIR]
  65388. @@ -1492,27 +1382,38 @@
  65389. fi
  65390.  
  65391. if test -n "$ac_init_help"; then
  65392. -
  65393. + case $ac_init_help in
  65394. + short | recursive ) echo "Configuration of fiasco 1.3:";;
  65395. + esac
  65396. cat <<\_ACEOF
  65397.  
  65398. Optional Features:
  65399. --disable-option-checking ignore unrecognized --enable/--with options
  65400. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  65401. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  65402. + --enable-silent-rules less verbose build output (undo: "make V=1")
  65403. + --disable-silent-rules verbose build output (undo: "make V=0")
  65404. --enable-shared[=PKGS] build shared libraries [default=yes]
  65405. --enable-static[=PKGS] build static libraries [default=yes]
  65406. --enable-fast-install[=PKGS]
  65407. optimize for fast installation [default=yes]
  65408. - --disable-dependency-tracking speeds up one-time build
  65409. - --enable-dependency-tracking do not reject slow dependency extractors
  65410. + --enable-dependency-tracking
  65411. + do not reject slow dependency extractors
  65412. + --disable-dependency-tracking
  65413. + speeds up one-time build
  65414. --disable-libtool-lock avoid locking (might break parallel builds)
  65415.  
  65416. Optional Packages:
  65417. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  65418. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  65419. - --with-pic try to use only PIC/non-PIC objects [default=use
  65420. + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
  65421. both]
  65422. + --with-aix-soname=aix|svr4|both
  65423. + shared library versioning (aka "SONAME") variant to
  65424. + provide on AIX, [default=aix].
  65425. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  65426. + --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
  65427. + compiler's sysroot if not specified).
  65428.  
  65429. Some influential environment variables:
  65430. CC C compiler command
  65431. @@ -1522,6 +1423,8 @@
  65432. LIBS libraries to pass to the linker, e.g. -l<library>
  65433. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  65434. you have headers in a nonstandard directory <include dir>
  65435. + LT_SYS_LIBRARY_PATH
  65436. + User-defined run-time library search path.
  65437. CPP C preprocessor
  65438.  
  65439. Use these variables to override the choices made by `configure' or to help
  65440. @@ -1590,10 +1493,10 @@
  65441. test -n "$ac_init_help" && exit $ac_status
  65442. if $ac_init_version; then
  65443. cat <<\_ACEOF
  65444. -configure
  65445. -generated by GNU Autoconf 2.68
  65446. +fiasco configure 1.3
  65447. +generated by GNU Autoconf 2.69
  65448.  
  65449. -Copyright (C) 2010 Free Software Foundation, Inc.
  65450. +Copyright (C) 2012 Free Software Foundation, Inc.
  65451. This configure script is free software; the Free Software Foundation
  65452. gives unlimited permission to copy, distribute and modify it.
  65453. _ACEOF
  65454. @@ -1669,7 +1572,7 @@
  65455. test ! -s conftest.err
  65456. } && test -s conftest$ac_exeext && {
  65457. test "$cross_compiling" = yes ||
  65458. - $as_test_x conftest$ac_exeext
  65459. + test -x conftest$ac_exeext
  65460. }; then :
  65461. ac_retval=0
  65462. else
  65463. @@ -1882,7 +1785,8 @@
  65464. main ()
  65465. {
  65466. static int test_array [1 - 2 * !(($2) >= 0)];
  65467. -test_array [0] = 0
  65468. +test_array [0] = 0;
  65469. +return test_array [0];
  65470.  
  65471. ;
  65472. return 0;
  65473. @@ -1898,7 +1802,8 @@
  65474. main ()
  65475. {
  65476. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  65477. -test_array [0] = 0
  65478. +test_array [0] = 0;
  65479. +return test_array [0];
  65480.  
  65481. ;
  65482. return 0;
  65483. @@ -1924,7 +1829,8 @@
  65484. main ()
  65485. {
  65486. static int test_array [1 - 2 * !(($2) < 0)];
  65487. -test_array [0] = 0
  65488. +test_array [0] = 0;
  65489. +return test_array [0];
  65490.  
  65491. ;
  65492. return 0;
  65493. @@ -1940,7 +1846,8 @@
  65494. main ()
  65495. {
  65496. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  65497. -test_array [0] = 0
  65498. +test_array [0] = 0;
  65499. +return test_array [0];
  65500.  
  65501. ;
  65502. return 0;
  65503. @@ -1974,7 +1881,8 @@
  65504. main ()
  65505. {
  65506. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  65507. -test_array [0] = 0
  65508. +test_array [0] = 0;
  65509. +return test_array [0];
  65510.  
  65511. ;
  65512. return 0;
  65513. @@ -2187,8 +2095,8 @@
  65514. This file contains any messages produced by compilers while
  65515. running configure, to aid debugging if configure makes a mistake.
  65516.  
  65517. -It was created by $as_me, which was
  65518. -generated by GNU Autoconf 2.68. Invocation command line was
  65519. +It was created by fiasco $as_me 1.3, which was
  65520. +generated by GNU Autoconf 2.69. Invocation command line was
  65521.  
  65522. $ $0 $@
  65523.  
  65524. @@ -2536,7 +2444,7 @@
  65525.  
  65526.  
  65527.  
  65528. -am__api_version='1.11'
  65529. +am__api_version='1.16'
  65530.  
  65531. ac_aux_dir=
  65532. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  65533. @@ -2604,7 +2512,7 @@
  65534. # by default.
  65535. for ac_prog in ginstall scoinst install; do
  65536. for ac_exec_ext in '' $ac_executable_extensions; do
  65537. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  65538. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  65539. if test $ac_prog = install &&
  65540. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  65541. # AIX install. It has an incompatible calling convention.
  65542. @@ -2662,9 +2570,6 @@
  65543.  
  65544. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  65545. $as_echo_n "checking whether build environment is sane... " >&6; }
  65546. -# Just in case
  65547. -sleep 1
  65548. -echo timestamp > conftest.file
  65549. # Reject unsafe characters in $srcdir or the absolute working directory
  65550. # name. Accept space and tab only in the latter.
  65551. am_lf='
  65552. @@ -2675,32 +2580,40 @@
  65553. esac
  65554. case $srcdir in
  65555. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  65556. - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  65557. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  65558. esac
  65559.  
  65560. -# Do `set' in a subshell so we don't clobber the current shell's
  65561. +# Do 'set' in a subshell so we don't clobber the current shell's
  65562. # arguments. Must try -L first in case configure is actually a
  65563. # symlink; some systems play weird games with the mod time of symlinks
  65564. # (eg FreeBSD returns the mod time of the symlink's containing
  65565. # directory).
  65566. if (
  65567. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  65568. - if test "$*" = "X"; then
  65569. - # -L didn't work.
  65570. - set X `ls -t "$srcdir/configure" conftest.file`
  65571. - fi
  65572. - rm -f conftest.file
  65573. - if test "$*" != "X $srcdir/configure conftest.file" \
  65574. - && test "$*" != "X conftest.file $srcdir/configure"; then
  65575. -
  65576. - # If neither matched, then we have a broken ls. This can happen
  65577. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  65578. - # broken ls alias from the environment. This has actually
  65579. - # happened. Such a system could not be considered "sane".
  65580. - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  65581. -alias in your environment" "$LINENO" 5
  65582. - fi
  65583. + am_has_slept=no
  65584. + for am_try in 1 2; do
  65585. + echo "timestamp, slept: $am_has_slept" > conftest.file
  65586. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  65587. + if test "$*" = "X"; then
  65588. + # -L didn't work.
  65589. + set X `ls -t "$srcdir/configure" conftest.file`
  65590. + fi
  65591. + if test "$*" != "X $srcdir/configure conftest.file" \
  65592. + && test "$*" != "X conftest.file $srcdir/configure"; then
  65593.  
  65594. + # If neither matched, then we have a broken ls. This can happen
  65595. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  65596. + # broken ls alias from the environment. This has actually
  65597. + # happened. Such a system could not be considered "sane".
  65598. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  65599. + alias in your environment" "$LINENO" 5
  65600. + fi
  65601. + if test "$2" = conftest.file || test $am_try -eq 2; then
  65602. + break
  65603. + fi
  65604. + # Just in case.
  65605. + sleep 1
  65606. + am_has_slept=yes
  65607. + done
  65608. test "$2" = conftest.file
  65609. )
  65610. then
  65611. @@ -2712,6 +2625,16 @@
  65612. fi
  65613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  65614. $as_echo "yes" >&6; }
  65615. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  65616. +# generated files are strictly newer.
  65617. +am_sleep_pid=
  65618. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  65619. + ( sleep 1 ) &
  65620. + am_sleep_pid=$!
  65621. +fi
  65622. +
  65623. +rm -f conftest.file
  65624. +
  65625. test "$program_prefix" != NONE &&
  65626. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  65627. # Use a double $ so make ignores it.
  65628. @@ -2722,8 +2645,8 @@
  65629. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  65630. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  65631.  
  65632. -# expand $ac_aux_dir to an absolute path
  65633. -am_aux_dir=`cd $ac_aux_dir && pwd`
  65634. +# Expand $ac_aux_dir to an absolute path.
  65635. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  65636.  
  65637. if test x"${MISSING+set}" != xset; then
  65638. case $am_aux_dir in
  65639. @@ -2734,15 +2657,15 @@
  65640. esac
  65641. fi
  65642. # Use eval to expand $SHELL
  65643. -if eval "$MISSING --run true"; then
  65644. - am_missing_run="$MISSING --run "
  65645. +if eval "$MISSING --is-lightweight"; then
  65646. + am_missing_run="$MISSING "
  65647. else
  65648. am_missing_run=
  65649. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  65650. -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  65651. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  65652. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  65653. fi
  65654.  
  65655. -if test x"${install_sh}" != xset; then
  65656. +if test x"${install_sh+set}" != xset; then
  65657. case $am_aux_dir in
  65658. *\ * | *\ *)
  65659. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  65660. @@ -2751,10 +2674,10 @@
  65661. esac
  65662. fi
  65663.  
  65664. -# Installed binaries are usually stripped using `strip' when the user
  65665. -# run `make install-strip'. However `strip' might not be the right
  65666. +# Installed binaries are usually stripped using 'strip' when the user
  65667. +# run "make install-strip". However 'strip' might not be the right
  65668. # tool to use in cross-compilation environments, therefore Automake
  65669. -# will honor the `STRIP' environment variable to overrule this program.
  65670. +# will honor the 'STRIP' environment variable to overrule this program.
  65671. if test "$cross_compiling" != no; then
  65672. if test -n "$ac_tool_prefix"; then
  65673. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  65674. @@ -2773,7 +2696,7 @@
  65675. IFS=$as_save_IFS
  65676. test -z "$as_dir" && as_dir=.
  65677. for ac_exec_ext in '' $ac_executable_extensions; do
  65678. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  65679. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  65680. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  65681. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  65682. break 2
  65683. @@ -2813,7 +2736,7 @@
  65684. IFS=$as_save_IFS
  65685. test -z "$as_dir" && as_dir=.
  65686. for ac_exec_ext in '' $ac_executable_extensions; do
  65687. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  65688. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  65689. ac_cv_prog_ac_ct_STRIP="strip"
  65690. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  65691. break 2
  65692. @@ -2864,7 +2787,7 @@
  65693. test -z "$as_dir" && as_dir=.
  65694. for ac_prog in mkdir gmkdir; do
  65695. for ac_exec_ext in '' $ac_executable_extensions; do
  65696. - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  65697. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  65698. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  65699. 'mkdir (GNU coreutils) '* | \
  65700. 'mkdir (coreutils) '* | \
  65701. @@ -2893,12 +2816,6 @@
  65702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  65703. $as_echo "$MKDIR_P" >&6; }
  65704.  
  65705. -mkdir_p="$MKDIR_P"
  65706. -case $mkdir_p in
  65707. - [\\/$]* | ?:[\\/]*) ;;
  65708. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  65709. -esac
  65710. -
  65711. for ac_prog in gawk mawk nawk awk
  65712. do
  65713. # Extract the first word of "$ac_prog", so it can be a program name with args.
  65714. @@ -2917,7 +2834,7 @@
  65715. IFS=$as_save_IFS
  65716. test -z "$as_dir" && as_dir=.
  65717. for ac_exec_ext in '' $ac_executable_extensions; do
  65718. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  65719. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  65720. ac_cv_prog_AWK="$ac_prog"
  65721. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  65722. break 2
  65723. @@ -2981,6 +2898,45 @@
  65724. fi
  65725. rmdir .tst 2>/dev/null
  65726.  
  65727. +# Check whether --enable-silent-rules was given.
  65728. +if test "${enable_silent_rules+set}" = set; then :
  65729. + enableval=$enable_silent_rules;
  65730. +fi
  65731. +
  65732. +case $enable_silent_rules in # (((
  65733. + yes) AM_DEFAULT_VERBOSITY=0;;
  65734. + no) AM_DEFAULT_VERBOSITY=1;;
  65735. + *) AM_DEFAULT_VERBOSITY=1;;
  65736. +esac
  65737. +am_make=${MAKE-make}
  65738. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  65739. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  65740. +if ${am_cv_make_support_nested_variables+:} false; then :
  65741. + $as_echo_n "(cached) " >&6
  65742. +else
  65743. + if $as_echo 'TRUE=$(BAR$(V))
  65744. +BAR0=false
  65745. +BAR1=true
  65746. +V=1
  65747. +am__doit:
  65748. + @$(TRUE)
  65749. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  65750. + am_cv_make_support_nested_variables=yes
  65751. +else
  65752. + am_cv_make_support_nested_variables=no
  65753. +fi
  65754. +fi
  65755. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  65756. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  65757. +if test $am_cv_make_support_nested_variables = yes; then
  65758. + AM_V='$(V)'
  65759. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  65760. +else
  65761. + AM_V=$AM_DEFAULT_VERBOSITY
  65762. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  65763. +fi
  65764. +AM_BACKSLASH='\'
  65765. +
  65766. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  65767. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  65768. # is not polluted with repeated "-I."
  65769. @@ -3002,8 +2958,8 @@
  65770.  
  65771.  
  65772. # Define the identity of the package.
  65773. - PACKAGE=fiasco
  65774. - VERSION=1.3
  65775. + PACKAGE='fiasco'
  65776. + VERSION='1.3'
  65777.  
  65778.  
  65779. cat >>confdefs.h <<_ACEOF
  65780. @@ -3031,17 +2987,70 @@
  65781.  
  65782. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  65783.  
  65784. -# We need awk for the "check" target. The system "awk" is bad on
  65785. -# some platforms.
  65786. -# Always define AMTAR for backward compatibility.
  65787. +# For better backward compatibility. To be removed once Automake 1.9.x
  65788. +# dies out for good. For more background, see:
  65789. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  65790. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  65791. +mkdir_p='$(MKDIR_P)'
  65792. +
  65793. +# We need awk for the "check" target (and possibly the TAP driver). The
  65794. +# system "awk" is bad on some platforms.
  65795. +# Always define AMTAR for backward compatibility. Yes, it's still used
  65796. +# in the wild :-( We should find a proper way to deprecate it ...
  65797. +AMTAR='$${TAR-tar}'
  65798. +
  65799. +
  65800. +# We'll loop over all known methods to create a tar archive until one works.
  65801. +_am_tools='gnutar pax cpio none'
  65802. +
  65803. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  65804.  
  65805. -AMTAR=${AMTAR-"${am_missing_run}tar"}
  65806.  
  65807. -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  65808.  
  65809.  
  65810.  
  65811.  
  65812. +# POSIX will say in a future version that running "rm -f" with no argument
  65813. +# is OK; and we want to be able to make that assumption in our Makefile
  65814. +# recipes. So use an aggressive probe to check that the usage we want is
  65815. +# actually supported "in the wild" to an acceptable degree.
  65816. +# See automake bug#10828.
  65817. +# To make any issue more visible, cause the running configure to be aborted
  65818. +# by default if the 'rm' program in use doesn't match our expectations; the
  65819. +# user can still override this though.
  65820. +if rm -f && rm -fr && rm -rf; then : OK; else
  65821. + cat >&2 <<'END'
  65822. +Oops!
  65823. +
  65824. +Your 'rm' program seems unable to run without file operands specified
  65825. +on the command line, even when the '-f' option is present. This is contrary
  65826. +to the behaviour of most rm programs out there, and not conforming with
  65827. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  65828. +
  65829. +Please tell [email protected] about your system, including the value
  65830. +of your $PATH and any error possibly output before this message. This
  65831. +can help us improve future automake versions.
  65832. +
  65833. +END
  65834. + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  65835. + echo 'Configuration will proceed anyway, since you have set the' >&2
  65836. + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  65837. + echo >&2
  65838. + else
  65839. + cat >&2 <<'END'
  65840. +Aborting the configuration process, to ensure you take notice of the issue.
  65841. +
  65842. +You can download and install GNU coreutils to get an 'rm' implementation
  65843. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  65844. +
  65845. +If you want to complete the configuration process using your problematic
  65846. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  65847. +to "yes", and re-run configure.
  65848. +
  65849. +END
  65850. + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  65851. + fi
  65852. +fi
  65853.  
  65854. ac_config_headers="$ac_config_headers config.h"
  65855.  
  65856. @@ -3055,8 +3064,8 @@
  65857.  
  65858.  
  65859.  
  65860. -macro_version='2.2.6b'
  65861. -macro_revision='1.3017'
  65862. +macro_version='2.4.6'
  65863. +macro_revision='2.4.6'
  65864.  
  65865.  
  65866.  
  65867. @@ -3070,7 +3079,7 @@
  65868.  
  65869.  
  65870.  
  65871. -ltmain="$ac_aux_dir/ltmain.sh"
  65872. +ltmain=$ac_aux_dir/ltmain.sh
  65873.  
  65874. # Make sure we can run config.sub.
  65875. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  65876. @@ -3143,49 +3152,118 @@
  65877. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  65878.  
  65879.  
  65880. +# Backslashify metacharacters that are still active within
  65881. +# double-quoted strings.
  65882. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  65883. +
  65884. +# Same as above, but do not quote variable references.
  65885. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  65886. +
  65887. +# Sed substitution to delay expansion of an escaped shell variable in a
  65888. +# double_quote_subst'ed string.
  65889. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  65890. +
  65891. +# Sed substitution to delay expansion of an escaped single quote.
  65892. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  65893. +
  65894. +# Sed substitution to avoid accidental globbing in evaled expressions
  65895. +no_glob_subst='s/\*/\\\*/g'
  65896. +
  65897. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  65898. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  65899. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  65900. +
  65901. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  65902. +$as_echo_n "checking how to print strings... " >&6; }
  65903. +# Test print first, because it will be a builtin if present.
  65904. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  65905. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  65906. + ECHO='print -r --'
  65907. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  65908. + ECHO='printf %s\n'
  65909. +else
  65910. + # Use this function as a fallback that always works.
  65911. + func_fallback_echo ()
  65912. + {
  65913. + eval 'cat <<_LTECHO_EOF
  65914. +$1
  65915. +_LTECHO_EOF'
  65916. + }
  65917. + ECHO='func_fallback_echo'
  65918. +fi
  65919. +
  65920. +# func_echo_all arg...
  65921. +# Invoke $ECHO with all args, space-separated.
  65922. +func_echo_all ()
  65923. +{
  65924. + $ECHO ""
  65925. +}
  65926. +
  65927. +case $ECHO in
  65928. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  65929. +$as_echo "printf" >&6; } ;;
  65930. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  65931. +$as_echo "print -r" >&6; } ;;
  65932. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  65933. +$as_echo "cat" >&6; } ;;
  65934. +esac
  65935. +
  65936. +
  65937. +
  65938. +
  65939. +
  65940. +
  65941. +
  65942. +
  65943. +
  65944. +
  65945. +
  65946. +
  65947. +
  65948. +
  65949. DEPDIR="${am__leading_dot}deps"
  65950.  
  65951. ac_config_commands="$ac_config_commands depfiles"
  65952.  
  65953. -
  65954. -am_make=${MAKE-make}
  65955. -cat > confinc << 'END'
  65956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  65957. +$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  65958. +cat > confinc.mk << 'END'
  65959. am__doit:
  65960. - @echo this is the am__doit target
  65961. + @echo this is the am__doit target >confinc.out
  65962. .PHONY: am__doit
  65963. END
  65964. -# If we don't find an include directive, just comment out the code.
  65965. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  65966. -$as_echo_n "checking for style of include used by $am_make... " >&6; }
  65967. am__include="#"
  65968. am__quote=
  65969. -_am_result=none
  65970. -# First try GNU make style include.
  65971. -echo "include confinc" > confmf
  65972. -# Ignore all kinds of additional output from `make'.
  65973. -case `$am_make -s -f confmf 2> /dev/null` in #(
  65974. -*the\ am__doit\ target*)
  65975. - am__include=include
  65976. - am__quote=
  65977. - _am_result=GNU
  65978. - ;;
  65979. -esac
  65980. -# Now try BSD make style include.
  65981. -if test "$am__include" = "#"; then
  65982. - echo '.include "confinc"' > confmf
  65983. - case `$am_make -s -f confmf 2> /dev/null` in #(
  65984. - *the\ am__doit\ target*)
  65985. - am__include=.include
  65986. - am__quote="\""
  65987. - _am_result=BSD
  65988. +# BSD make does it like this.
  65989. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  65990. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  65991. +echo 'include confinc.mk # ignored' > confmf.GNU
  65992. +_am_result=no
  65993. +for s in GNU BSD; do
  65994. + { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  65995. + (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  65996. + ac_status=$?
  65997. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  65998. + (exit $ac_status); }
  65999. + case $?:`cat confinc.out 2>/dev/null` in #(
  66000. + '0:this is the am__doit target') :
  66001. + case $s in #(
  66002. + BSD) :
  66003. + am__include='.include' am__quote='"' ;; #(
  66004. + *) :
  66005. + am__include='include' am__quote='' ;;
  66006. +esac ;; #(
  66007. + *) :
  66008. ;;
  66009. - esac
  66010. -fi
  66011. -
  66012. -
  66013. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  66014. -$as_echo "$_am_result" >&6; }
  66015. -rm -f confinc confmf
  66016. +esac
  66017. + if test "$am__include" != "#"; then
  66018. + _am_result="yes ($s style)"
  66019. + break
  66020. + fi
  66021. +done
  66022. +rm -f confinc.* confmf.*
  66023. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  66024. +$as_echo "${_am_result}" >&6; }
  66025.  
  66026. # Check whether --enable-dependency-tracking was given.
  66027. if test "${enable_dependency_tracking+set}" = set; then :
  66028. @@ -3195,6 +3273,7 @@
  66029. if test "x$enable_dependency_tracking" != xno; then
  66030. am_depcomp="$ac_aux_dir/depcomp"
  66031. AMDEPBACKSLASH='\'
  66032. + am__nodep='_no'
  66033. fi
  66034. if test "x$enable_dependency_tracking" != xno; then
  66035. AMDEP_TRUE=
  66036. @@ -3227,7 +3306,7 @@
  66037. IFS=$as_save_IFS
  66038. test -z "$as_dir" && as_dir=.
  66039. for ac_exec_ext in '' $ac_executable_extensions; do
  66040. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66041. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66042. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  66043. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66044. break 2
  66045. @@ -3267,7 +3346,7 @@
  66046. IFS=$as_save_IFS
  66047. test -z "$as_dir" && as_dir=.
  66048. for ac_exec_ext in '' $ac_executable_extensions; do
  66049. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66050. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66051. ac_cv_prog_ac_ct_CC="gcc"
  66052. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66053. break 2
  66054. @@ -3320,7 +3399,7 @@
  66055. IFS=$as_save_IFS
  66056. test -z "$as_dir" && as_dir=.
  66057. for ac_exec_ext in '' $ac_executable_extensions; do
  66058. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66059. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66060. ac_cv_prog_CC="${ac_tool_prefix}cc"
  66061. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66062. break 2
  66063. @@ -3361,7 +3440,7 @@
  66064. IFS=$as_save_IFS
  66065. test -z "$as_dir" && as_dir=.
  66066. for ac_exec_ext in '' $ac_executable_extensions; do
  66067. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66068. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66069. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  66070. ac_prog_rejected=yes
  66071. continue
  66072. @@ -3419,7 +3498,7 @@
  66073. IFS=$as_save_IFS
  66074. test -z "$as_dir" && as_dir=.
  66075. for ac_exec_ext in '' $ac_executable_extensions; do
  66076. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66077. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66078. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  66079. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66080. break 2
  66081. @@ -3463,7 +3542,7 @@
  66082. IFS=$as_save_IFS
  66083. test -z "$as_dir" && as_dir=.
  66084. for ac_exec_ext in '' $ac_executable_extensions; do
  66085. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66086. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66087. ac_cv_prog_ac_ct_CC="$ac_prog"
  66088. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66089. break 2
  66090. @@ -3909,8 +3988,7 @@
  66091. /* end confdefs.h. */
  66092. #include <stdarg.h>
  66093. #include <stdio.h>
  66094. -#include <sys/types.h>
  66095. -#include <sys/stat.h>
  66096. +struct stat;
  66097. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  66098. struct buf { int x; };
  66099. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  66100. @@ -3995,6 +4073,65 @@
  66101. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66102. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66103.  
  66104. +ac_ext=c
  66105. +ac_cpp='$CPP $CPPFLAGS'
  66106. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66107. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66108. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66109. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  66110. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  66111. +if ${am_cv_prog_cc_c_o+:} false; then :
  66112. + $as_echo_n "(cached) " >&6
  66113. +else
  66114. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66115. +/* end confdefs.h. */
  66116. +
  66117. +int
  66118. +main ()
  66119. +{
  66120. +
  66121. + ;
  66122. + return 0;
  66123. +}
  66124. +_ACEOF
  66125. + # Make sure it works both with $CC and with simple cc.
  66126. + # Following AC_PROG_CC_C_O, we do the test twice because some
  66127. + # compilers refuse to overwrite an existing .o file with -o,
  66128. + # though they will create one.
  66129. + am_cv_prog_cc_c_o=yes
  66130. + for am_i in 1 2; do
  66131. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  66132. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  66133. + ac_status=$?
  66134. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  66135. + (exit $ac_status); } \
  66136. + && test -f conftest2.$ac_objext; then
  66137. + : OK
  66138. + else
  66139. + am_cv_prog_cc_c_o=no
  66140. + break
  66141. + fi
  66142. + done
  66143. + rm -f core conftest*
  66144. + unset am_i
  66145. +fi
  66146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  66147. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  66148. +if test "$am_cv_prog_cc_c_o" != yes; then
  66149. + # Losing compiler, so override with the script.
  66150. + # FIXME: It is wrong to rewrite CC.
  66151. + # But if we don't then we get into trouble of one sort or another.
  66152. + # A longer-term fix would be to have automake use am__CC in this case,
  66153. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  66154. + CC="$am_aux_dir/compile $CC"
  66155. +fi
  66156. +ac_ext=c
  66157. +ac_cpp='$CPP $CPPFLAGS'
  66158. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66159. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66160. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66161. +
  66162. +
  66163. depcc="$CC" am_compiler_list=
  66164.  
  66165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  66166. @@ -4006,8 +4143,9 @@
  66167. # We make a subdir and do the tests there. Otherwise we can end up
  66168. # making bogus files that we don't know about and never remove. For
  66169. # instance it was reported that on HP-UX the gcc test will end up
  66170. - # making a dummy file named `D' -- because `-MD' means `put the output
  66171. - # in D'.
  66172. + # making a dummy file named 'D' -- because '-MD' means "put the output
  66173. + # in D".
  66174. + rm -rf conftest.dir
  66175. mkdir conftest.dir
  66176. # Copy depcomp to subdir because otherwise we won't find it if we're
  66177. # using a relative directory.
  66178. @@ -4041,16 +4179,16 @@
  66179. : > sub/conftest.c
  66180. for i in 1 2 3 4 5 6; do
  66181. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  66182. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  66183. - # Solaris 8's {/usr,}/bin/sh.
  66184. - touch sub/conftst$i.h
  66185. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  66186. + # Solaris 10 /bin/sh.
  66187. + echo '/* dummy */' > sub/conftst$i.h
  66188. done
  66189. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  66190.  
  66191. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  66192. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  66193. # mode. It turns out that the SunPro C++ compiler does not properly
  66194. - # handle `-M -o', and we need to detect this. Also, some Intel
  66195. - # versions had trouble with output in subdirs
  66196. + # handle '-M -o', and we need to detect this. Also, some Intel
  66197. + # versions had trouble with output in subdirs.
  66198. am__obj=sub/conftest.${OBJEXT-o}
  66199. am__minus_obj="-o $am__obj"
  66200. case $depmode in
  66201. @@ -4059,16 +4197,16 @@
  66202. test "$am__universal" = false || continue
  66203. ;;
  66204. nosideeffect)
  66205. - # after this tag, mechanisms are not by side-effect, so they'll
  66206. - # only be used when explicitly requested
  66207. + # After this tag, mechanisms are not by side-effect, so they'll
  66208. + # only be used when explicitly requested.
  66209. if test "x$enable_dependency_tracking" = xyes; then
  66210. continue
  66211. else
  66212. break
  66213. fi
  66214. ;;
  66215. - msvisualcpp | msvcmsys)
  66216. - # This compiler won't grok `-c -o', but also, the minuso test has
  66217. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  66218. + # This compiler won't grok '-c -o', but also, the minuso test has
  66219. # not run yet. These depmodes are late enough in the game, and
  66220. # so weak that their functioning should not be impacted.
  66221. am__obj=conftest.${OBJEXT-o}
  66222. @@ -4144,7 +4282,7 @@
  66223. for ac_prog in sed gsed; do
  66224. for ac_exec_ext in '' $ac_executable_extensions; do
  66225. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  66226. - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  66227. + as_fn_executable_p "$ac_path_SED" || continue
  66228. # Check for GNU ac_path_SED and select it if it is found.
  66229. # Check for GNU $ac_path_SED
  66230. case `"$ac_path_SED" --version 2>&1` in
  66231. @@ -4220,7 +4358,7 @@
  66232. for ac_prog in grep ggrep; do
  66233. for ac_exec_ext in '' $ac_executable_extensions; do
  66234. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  66235. - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  66236. + as_fn_executable_p "$ac_path_GREP" || continue
  66237. # Check for GNU ac_path_GREP and select it if it is found.
  66238. # Check for GNU $ac_path_GREP
  66239. case `"$ac_path_GREP" --version 2>&1` in
  66240. @@ -4286,7 +4424,7 @@
  66241. for ac_prog in egrep; do
  66242. for ac_exec_ext in '' $ac_executable_extensions; do
  66243. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  66244. - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  66245. + as_fn_executable_p "$ac_path_EGREP" || continue
  66246. # Check for GNU ac_path_EGREP and select it if it is found.
  66247. # Check for GNU $ac_path_EGREP
  66248. case `"$ac_path_EGREP" --version 2>&1` in
  66249. @@ -4353,7 +4491,7 @@
  66250. for ac_prog in fgrep; do
  66251. for ac_exec_ext in '' $ac_executable_extensions; do
  66252. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  66253. - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  66254. + as_fn_executable_p "$ac_path_FGREP" || continue
  66255. # Check for GNU ac_path_FGREP and select it if it is found.
  66256. # Check for GNU $ac_path_FGREP
  66257. case `"$ac_path_FGREP" --version 2>&1` in
  66258. @@ -4423,19 +4561,19 @@
  66259.  
  66260. # Check whether --with-gnu-ld was given.
  66261. if test "${with_gnu_ld+set}" = set; then :
  66262. - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  66263. + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  66264. else
  66265. with_gnu_ld=no
  66266. fi
  66267.  
  66268. ac_prog=ld
  66269. -if test "$GCC" = yes; then
  66270. +if test yes = "$GCC"; then
  66271. # Check if gcc -print-prog-name=ld gives a path.
  66272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  66273. $as_echo_n "checking for ld used by $CC... " >&6; }
  66274. case $host in
  66275. *-*-mingw*)
  66276. - # gcc leaves a trailing carriage return which upsets mingw
  66277. + # gcc leaves a trailing carriage return, which upsets mingw
  66278. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  66279. *)
  66280. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  66281. @@ -4449,7 +4587,7 @@
  66282. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  66283. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  66284. done
  66285. - test -z "$LD" && LD="$ac_prog"
  66286. + test -z "$LD" && LD=$ac_prog
  66287. ;;
  66288. "")
  66289. # If it fails, then pretend we aren't using GCC.
  66290. @@ -4460,7 +4598,7 @@
  66291. with_gnu_ld=unknown
  66292. ;;
  66293. esac
  66294. -elif test "$with_gnu_ld" = yes; then
  66295. +elif test yes = "$with_gnu_ld"; then
  66296. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  66297. $as_echo_n "checking for GNU ld... " >&6; }
  66298. else
  66299. @@ -4471,32 +4609,32 @@
  66300. $as_echo_n "(cached) " >&6
  66301. else
  66302. if test -z "$LD"; then
  66303. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  66304. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  66305. for ac_dir in $PATH; do
  66306. - IFS="$lt_save_ifs"
  66307. + IFS=$lt_save_ifs
  66308. test -z "$ac_dir" && ac_dir=.
  66309. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  66310. - lt_cv_path_LD="$ac_dir/$ac_prog"
  66311. + lt_cv_path_LD=$ac_dir/$ac_prog
  66312. # Check to see if the program is GNU ld. I'd rather use --version,
  66313. # but apparently some variants of GNU ld only accept -v.
  66314. # Break only if it was the GNU/non-GNU ld that we prefer.
  66315. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  66316. *GNU* | *'with BFD'*)
  66317. - test "$with_gnu_ld" != no && break
  66318. + test no != "$with_gnu_ld" && break
  66319. ;;
  66320. *)
  66321. - test "$with_gnu_ld" != yes && break
  66322. + test yes != "$with_gnu_ld" && break
  66323. ;;
  66324. esac
  66325. fi
  66326. done
  66327. - IFS="$lt_save_ifs"
  66328. + IFS=$lt_save_ifs
  66329. else
  66330. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  66331. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  66332. fi
  66333. fi
  66334.  
  66335. -LD="$lt_cv_path_LD"
  66336. +LD=$lt_cv_path_LD
  66337. if test -n "$LD"; then
  66338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  66339. $as_echo "$LD" >&6; }
  66340. @@ -4539,33 +4677,38 @@
  66341. else
  66342. if test -n "$NM"; then
  66343. # Let the user override the test.
  66344. - lt_cv_path_NM="$NM"
  66345. + lt_cv_path_NM=$NM
  66346. else
  66347. - lt_nm_to_check="${ac_tool_prefix}nm"
  66348. + lt_nm_to_check=${ac_tool_prefix}nm
  66349. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  66350. lt_nm_to_check="$lt_nm_to_check nm"
  66351. fi
  66352. for lt_tmp_nm in $lt_nm_to_check; do
  66353. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  66354. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  66355. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  66356. - IFS="$lt_save_ifs"
  66357. + IFS=$lt_save_ifs
  66358. test -z "$ac_dir" && ac_dir=.
  66359. - tmp_nm="$ac_dir/$lt_tmp_nm"
  66360. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  66361. + tmp_nm=$ac_dir/$lt_tmp_nm
  66362. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  66363. # Check to see if the nm accepts a BSD-compat flag.
  66364. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  66365. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  66366. # nm: unknown option "B" ignored
  66367. # Tru64's nm complains that /dev/null is an invalid object file
  66368. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  66369. - */dev/null* | *'Invalid file or object type'*)
  66370. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  66371. + case $build_os in
  66372. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  66373. + *) lt_bad_file=/dev/null ;;
  66374. + esac
  66375. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  66376. + *$lt_bad_file* | *'Invalid file or object type'*)
  66377. lt_cv_path_NM="$tmp_nm -B"
  66378. - break
  66379. + break 2
  66380. ;;
  66381. *)
  66382. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  66383. */dev/null*)
  66384. lt_cv_path_NM="$tmp_nm -p"
  66385. - break
  66386. + break 2
  66387. ;;
  66388. *)
  66389. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  66390. @@ -4576,19 +4719,22 @@
  66391. esac
  66392. fi
  66393. done
  66394. - IFS="$lt_save_ifs"
  66395. + IFS=$lt_save_ifs
  66396. done
  66397. : ${lt_cv_path_NM=no}
  66398. fi
  66399. fi
  66400. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  66401. $as_echo "$lt_cv_path_NM" >&6; }
  66402. -if test "$lt_cv_path_NM" != "no"; then
  66403. - NM="$lt_cv_path_NM"
  66404. +if test no != "$lt_cv_path_NM"; then
  66405. + NM=$lt_cv_path_NM
  66406. else
  66407. # Didn't find any BSD compatible name lister, look for dumpbin.
  66408. - if test -n "$ac_tool_prefix"; then
  66409. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  66410. + if test -n "$DUMPBIN"; then :
  66411. + # Let the user override the test.
  66412. + else
  66413. + if test -n "$ac_tool_prefix"; then
  66414. + for ac_prog in dumpbin "link -dump"
  66415. do
  66416. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  66417. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  66418. @@ -4606,7 +4752,7 @@
  66419. IFS=$as_save_IFS
  66420. test -z "$as_dir" && as_dir=.
  66421. for ac_exec_ext in '' $ac_executable_extensions; do
  66422. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66423. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66424. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  66425. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66426. break 2
  66427. @@ -4632,7 +4778,7 @@
  66428. fi
  66429. if test -z "$DUMPBIN"; then
  66430. ac_ct_DUMPBIN=$DUMPBIN
  66431. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  66432. + for ac_prog in dumpbin "link -dump"
  66433. do
  66434. # Extract the first word of "$ac_prog", so it can be a program name with args.
  66435. set dummy $ac_prog; ac_word=$2
  66436. @@ -4650,7 +4796,7 @@
  66437. IFS=$as_save_IFS
  66438. test -z "$as_dir" && as_dir=.
  66439. for ac_exec_ext in '' $ac_executable_extensions; do
  66440. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66441. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66442. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  66443. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66444. break 2
  66445. @@ -4687,9 +4833,18 @@
  66446. fi
  66447. fi
  66448.  
  66449. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  66450. + *COFF*)
  66451. + DUMPBIN="$DUMPBIN -symbols -headers"
  66452. + ;;
  66453. + *)
  66454. + DUMPBIN=:
  66455. + ;;
  66456. + esac
  66457. + fi
  66458.  
  66459. - if test "$DUMPBIN" != ":"; then
  66460. - NM="$DUMPBIN"
  66461. + if test : != "$DUMPBIN"; then
  66462. + NM=$DUMPBIN
  66463. fi
  66464. fi
  66465. test -z "$NM" && NM=nm
  66466. @@ -4706,13 +4861,13 @@
  66467. else
  66468. lt_cv_nm_interface="BSD nm"
  66469. echo "int some_variable = 0;" > conftest.$ac_ext
  66470. - (eval echo "\"\$as_me:4709: $ac_compile\"" >&5)
  66471. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  66472. (eval "$ac_compile" 2>conftest.err)
  66473. cat conftest.err >&5
  66474. - (eval echo "\"\$as_me:4712: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  66475. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  66476. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  66477. cat conftest.err >&5
  66478. - (eval echo "\"\$as_me:4715: output\"" >&5)
  66479. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  66480. cat conftest.out >&5
  66481. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  66482. lt_cv_nm_interface="MS dumpbin"
  66483. @@ -4740,7 +4895,7 @@
  66484. $as_echo_n "(cached) " >&6
  66485. else
  66486. i=0
  66487. - teststring="ABCD"
  66488. + teststring=ABCD
  66489.  
  66490. case $build_os in
  66491. msdosdjgpp*)
  66492. @@ -4769,13 +4924,18 @@
  66493. lt_cv_sys_max_cmd_len=8192;
  66494. ;;
  66495.  
  66496. + mint*)
  66497. + # On MiNT this can take a long time and run out of memory.
  66498. + lt_cv_sys_max_cmd_len=8192;
  66499. + ;;
  66500. +
  66501. amigaos*)
  66502. # On AmigaOS with pdksh, this test takes hours, literally.
  66503. # So we just punt and use a minimum line length of 8192.
  66504. lt_cv_sys_max_cmd_len=8192;
  66505. ;;
  66506.  
  66507. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  66508. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  66509. # This has been around since 386BSD, at least. Likely further.
  66510. if test -x /sbin/sysctl; then
  66511. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  66512. @@ -4794,6 +4954,11 @@
  66513. lt_cv_sys_max_cmd_len=196608
  66514. ;;
  66515.  
  66516. + os2*)
  66517. + # The test takes a long time on OS/2.
  66518. + lt_cv_sys_max_cmd_len=8192
  66519. + ;;
  66520. +
  66521. osf*)
  66522. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  66523. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  66524. @@ -4820,22 +4985,23 @@
  66525. ;;
  66526. *)
  66527. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  66528. - if test -n "$lt_cv_sys_max_cmd_len"; then
  66529. + if test -n "$lt_cv_sys_max_cmd_len" && \
  66530. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  66531. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  66532. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  66533. else
  66534. # Make teststring a little bigger before we do anything with it.
  66535. # a 1K string should be a reasonable start.
  66536. - for i in 1 2 3 4 5 6 7 8 ; do
  66537. + for i in 1 2 3 4 5 6 7 8; do
  66538. teststring=$teststring$teststring
  66539. done
  66540. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  66541. # If test is not a shell built-in, we'll probably end up computing a
  66542. # maximum length that is only half of the actual maximum length, but
  66543. # we can't tell.
  66544. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  66545. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  66546. - test $i != 17 # 1/2 MB should be enough
  66547. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  66548. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  66549. + test 17 != "$i" # 1/2 MB should be enough
  66550. do
  66551. i=`expr $i + 1`
  66552. teststring=$teststring$teststring
  66553. @@ -4853,7 +5019,7 @@
  66554.  
  66555. fi
  66556.  
  66557. -if test -n $lt_cv_sys_max_cmd_len ; then
  66558. +if test -n "$lt_cv_sys_max_cmd_len"; then
  66559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  66560. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  66561. else
  66562. @@ -4871,30 +5037,6 @@
  66563. : ${MV="mv -f"}
  66564. : ${RM="rm -f"}
  66565.  
  66566. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  66567. -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  66568. -# Try some XSI features
  66569. -xsi_shell=no
  66570. -( _lt_dummy="a/b/c"
  66571. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  66572. - = c,a/b,, \
  66573. - && eval 'test $(( 1 + 1 )) -eq 2 \
  66574. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  66575. - && xsi_shell=yes
  66576. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  66577. -$as_echo "$xsi_shell" >&6; }
  66578. -
  66579. -
  66580. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  66581. -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  66582. -lt_shell_append=no
  66583. -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  66584. - >/dev/null 2>&1 \
  66585. - && lt_shell_append=yes
  66586. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  66587. -$as_echo "$lt_shell_append" >&6; }
  66588. -
  66589. -
  66590. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  66591. lt_unset=unset
  66592. else
  66593. @@ -4926,6 +5068,80 @@
  66594.  
  66595.  
  66596.  
  66597. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  66598. +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  66599. +if ${lt_cv_to_host_file_cmd+:} false; then :
  66600. + $as_echo_n "(cached) " >&6
  66601. +else
  66602. + case $host in
  66603. + *-*-mingw* )
  66604. + case $build in
  66605. + *-*-mingw* ) # actually msys
  66606. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  66607. + ;;
  66608. + *-*-cygwin* )
  66609. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  66610. + ;;
  66611. + * ) # otherwise, assume *nix
  66612. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  66613. + ;;
  66614. + esac
  66615. + ;;
  66616. + *-*-cygwin* )
  66617. + case $build in
  66618. + *-*-mingw* ) # actually msys
  66619. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  66620. + ;;
  66621. + *-*-cygwin* )
  66622. + lt_cv_to_host_file_cmd=func_convert_file_noop
  66623. + ;;
  66624. + * ) # otherwise, assume *nix
  66625. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  66626. + ;;
  66627. + esac
  66628. + ;;
  66629. + * ) # unhandled hosts (and "normal" native builds)
  66630. + lt_cv_to_host_file_cmd=func_convert_file_noop
  66631. + ;;
  66632. +esac
  66633. +
  66634. +fi
  66635. +
  66636. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  66637. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  66638. +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  66639. +
  66640. +
  66641. +
  66642. +
  66643. +
  66644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  66645. +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  66646. +if ${lt_cv_to_tool_file_cmd+:} false; then :
  66647. + $as_echo_n "(cached) " >&6
  66648. +else
  66649. + #assume ordinary cross tools, or native build.
  66650. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  66651. +case $host in
  66652. + *-*-mingw* )
  66653. + case $build in
  66654. + *-*-mingw* ) # actually msys
  66655. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  66656. + ;;
  66657. + esac
  66658. + ;;
  66659. +esac
  66660. +
  66661. +fi
  66662. +
  66663. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  66664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  66665. +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  66666. +
  66667. +
  66668. +
  66669. +
  66670. +
  66671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  66672. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  66673. if ${lt_cv_ld_reload_flag+:} false; then :
  66674. @@ -4942,9 +5158,14 @@
  66675. esac
  66676. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  66677. case $host_os in
  66678. + cygwin* | mingw* | pw32* | cegcc*)
  66679. + if test yes != "$GCC"; then
  66680. + reload_cmds=false
  66681. + fi
  66682. + ;;
  66683. darwin*)
  66684. - if test "$GCC" = yes; then
  66685. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  66686. + if test yes = "$GCC"; then
  66687. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  66688. else
  66689. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  66690. fi
  66691. @@ -4976,7 +5197,7 @@
  66692. IFS=$as_save_IFS
  66693. test -z "$as_dir" && as_dir=.
  66694. for ac_exec_ext in '' $ac_executable_extensions; do
  66695. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66696. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66697. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  66698. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66699. break 2
  66700. @@ -5016,7 +5237,7 @@
  66701. IFS=$as_save_IFS
  66702. test -z "$as_dir" && as_dir=.
  66703. for ac_exec_ext in '' $ac_executable_extensions; do
  66704. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66705. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66706. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  66707. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66708. break 2
  66709. @@ -5072,13 +5293,13 @@
  66710. # Need to set the preceding variable on all platforms that support
  66711. # interlibrary dependencies.
  66712. # 'none' -- dependencies not supported.
  66713. -# `unknown' -- same as none, but documents that we really don't know.
  66714. +# 'unknown' -- same as none, but documents that we really don't know.
  66715. # 'pass_all' -- all dependencies passed with no checks.
  66716. # 'test_compile' -- check by making test program.
  66717. # 'file_magic [[regex]]' -- check by looking for files in library path
  66718. -# which responds to the $file_magic_cmd with a given extended regex.
  66719. -# If you have `file' or equivalent on your system and you're not sure
  66720. -# whether `pass_all' will *always* work, you probably want this one.
  66721. +# that responds to the $file_magic_cmd with a given extended regex.
  66722. +# If you have 'file' or equivalent on your system and you're not sure
  66723. +# whether 'pass_all' will *always* work, you probably want this one.
  66724.  
  66725. case $host_os in
  66726. aix[4-9]*)
  66727. @@ -5109,12 +5330,13 @@
  66728. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  66729. lt_cv_file_magic_cmd='func_win32_libid'
  66730. else
  66731. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  66732. + # Keep this pattern in sync with the one in func_win32_libid.
  66733. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  66734. lt_cv_file_magic_cmd='$OBJDUMP -f'
  66735. fi
  66736. ;;
  66737.  
  66738. -cegcc)
  66739. +cegcc*)
  66740. # use the weaker test based on 'objdump'. See mingw*.
  66741. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  66742. lt_cv_file_magic_cmd='$OBJDUMP -f'
  66743. @@ -5140,7 +5362,7 @@
  66744. fi
  66745. ;;
  66746.  
  66747. -gnu*)
  66748. +haiku*)
  66749. lt_cv_deplibs_check_method=pass_all
  66750. ;;
  66751.  
  66752. @@ -5152,11 +5374,11 @@
  66753. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  66754. ;;
  66755. hppa*64*)
  66756. - 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]'
  66757. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  66758. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  66759. ;;
  66760. *)
  66761. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  66762. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  66763. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  66764. ;;
  66765. esac
  66766. @@ -5177,12 +5399,12 @@
  66767. lt_cv_deplibs_check_method=pass_all
  66768. ;;
  66769.  
  66770. -# This must be Linux ELF.
  66771. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  66772. +# This must be glibc/ELF.
  66773. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  66774. lt_cv_deplibs_check_method=pass_all
  66775. ;;
  66776.  
  66777. -netbsd* | netbsdelf*-gnu)
  66778. +netbsd*)
  66779. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  66780. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  66781. else
  66782. @@ -5200,8 +5422,8 @@
  66783. lt_cv_deplibs_check_method=pass_all
  66784. ;;
  66785.  
  66786. -openbsd*)
  66787. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  66788. +openbsd* | bitrig*)
  66789. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  66790. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  66791. else
  66792. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  66793. @@ -5254,11 +5476,29 @@
  66794. tpf*)
  66795. lt_cv_deplibs_check_method=pass_all
  66796. ;;
  66797. +os2*)
  66798. + lt_cv_deplibs_check_method=pass_all
  66799. + ;;
  66800. esac
  66801.  
  66802. fi
  66803. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  66804. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  66805. +
  66806. +file_magic_glob=
  66807. +want_nocaseglob=no
  66808. +if test "$build" = "$host"; then
  66809. + case $host_os in
  66810. + mingw* | pw32*)
  66811. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  66812. + want_nocaseglob=yes
  66813. + else
  66814. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  66815. + fi
  66816. + ;;
  66817. + esac
  66818. +fi
  66819. +
  66820. file_magic_cmd=$lt_cv_file_magic_cmd
  66821. deplibs_check_method=$lt_cv_deplibs_check_method
  66822. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  66823. @@ -5274,9 +5514,163 @@
  66824.  
  66825.  
  66826.  
  66827. +
  66828. +
  66829. +
  66830. +
  66831. +
  66832. +
  66833. +
  66834. +
  66835. +
  66836. +
  66837. if test -n "$ac_tool_prefix"; then
  66838. - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  66839. -set dummy ${ac_tool_prefix}ar; ac_word=$2
  66840. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  66841. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  66842. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66843. +$as_echo_n "checking for $ac_word... " >&6; }
  66844. +if ${ac_cv_prog_DLLTOOL+:} false; then :
  66845. + $as_echo_n "(cached) " >&6
  66846. +else
  66847. + if test -n "$DLLTOOL"; then
  66848. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  66849. +else
  66850. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  66851. +for as_dir in $PATH
  66852. +do
  66853. + IFS=$as_save_IFS
  66854. + test -z "$as_dir" && as_dir=.
  66855. + for ac_exec_ext in '' $ac_executable_extensions; do
  66856. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66857. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  66858. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66859. + break 2
  66860. + fi
  66861. +done
  66862. + done
  66863. +IFS=$as_save_IFS
  66864. +
  66865. +fi
  66866. +fi
  66867. +DLLTOOL=$ac_cv_prog_DLLTOOL
  66868. +if test -n "$DLLTOOL"; then
  66869. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  66870. +$as_echo "$DLLTOOL" >&6; }
  66871. +else
  66872. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  66873. +$as_echo "no" >&6; }
  66874. +fi
  66875. +
  66876. +
  66877. +fi
  66878. +if test -z "$ac_cv_prog_DLLTOOL"; then
  66879. + ac_ct_DLLTOOL=$DLLTOOL
  66880. + # Extract the first word of "dlltool", so it can be a program name with args.
  66881. +set dummy dlltool; ac_word=$2
  66882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66883. +$as_echo_n "checking for $ac_word... " >&6; }
  66884. +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  66885. + $as_echo_n "(cached) " >&6
  66886. +else
  66887. + if test -n "$ac_ct_DLLTOOL"; then
  66888. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  66889. +else
  66890. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  66891. +for as_dir in $PATH
  66892. +do
  66893. + IFS=$as_save_IFS
  66894. + test -z "$as_dir" && as_dir=.
  66895. + for ac_exec_ext in '' $ac_executable_extensions; do
  66896. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66897. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  66898. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66899. + break 2
  66900. + fi
  66901. +done
  66902. + done
  66903. +IFS=$as_save_IFS
  66904. +
  66905. +fi
  66906. +fi
  66907. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  66908. +if test -n "$ac_ct_DLLTOOL"; then
  66909. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  66910. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  66911. +else
  66912. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  66913. +$as_echo "no" >&6; }
  66914. +fi
  66915. +
  66916. + if test "x$ac_ct_DLLTOOL" = x; then
  66917. + DLLTOOL="false"
  66918. + else
  66919. + case $cross_compiling:$ac_tool_warned in
  66920. +yes:)
  66921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  66922. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  66923. +ac_tool_warned=yes ;;
  66924. +esac
  66925. + DLLTOOL=$ac_ct_DLLTOOL
  66926. + fi
  66927. +else
  66928. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  66929. +fi
  66930. +
  66931. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  66932. +
  66933. +
  66934. +
  66935. +
  66936. +
  66937. +
  66938. +
  66939. +
  66940. +
  66941. +
  66942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  66943. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  66944. +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  66945. + $as_echo_n "(cached) " >&6
  66946. +else
  66947. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  66948. +
  66949. +case $host_os in
  66950. +cygwin* | mingw* | pw32* | cegcc*)
  66951. + # two different shell functions defined in ltmain.sh;
  66952. + # decide which one to use based on capabilities of $DLLTOOL
  66953. + case `$DLLTOOL --help 2>&1` in
  66954. + *--identify-strict*)
  66955. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  66956. + ;;
  66957. + *)
  66958. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  66959. + ;;
  66960. + esac
  66961. + ;;
  66962. +*)
  66963. + # fallback: assume linklib IS sharedlib
  66964. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  66965. + ;;
  66966. +esac
  66967. +
  66968. +fi
  66969. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  66970. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  66971. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  66972. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  66973. +
  66974. +
  66975. +
  66976. +
  66977. +
  66978. +
  66979. +
  66980. +
  66981. +if test -n "$ac_tool_prefix"; then
  66982. + for ac_prog in ar
  66983. + do
  66984. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  66985. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  66986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66987. $as_echo_n "checking for $ac_word... " >&6; }
  66988. if ${ac_cv_prog_AR+:} false; then :
  66989. @@ -5291,8 +5685,8 @@
  66990. IFS=$as_save_IFS
  66991. test -z "$as_dir" && as_dir=.
  66992. for ac_exec_ext in '' $ac_executable_extensions; do
  66993. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  66994. - ac_cv_prog_AR="${ac_tool_prefix}ar"
  66995. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66996. + ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  66997. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66998. break 2
  66999. fi
  67000. @@ -5312,11 +5706,15 @@
  67001. fi
  67002.  
  67003.  
  67004. + test -n "$AR" && break
  67005. + done
  67006. fi
  67007. -if test -z "$ac_cv_prog_AR"; then
  67008. +if test -z "$AR"; then
  67009. ac_ct_AR=$AR
  67010. - # Extract the first word of "ar", so it can be a program name with args.
  67011. -set dummy ar; ac_word=$2
  67012. + for ac_prog in ar
  67013. +do
  67014. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  67015. +set dummy $ac_prog; ac_word=$2
  67016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  67017. $as_echo_n "checking for $ac_word... " >&6; }
  67018. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  67019. @@ -5331,8 +5729,8 @@
  67020. IFS=$as_save_IFS
  67021. test -z "$as_dir" && as_dir=.
  67022. for ac_exec_ext in '' $ac_executable_extensions; do
  67023. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67024. - ac_cv_prog_ac_ct_AR="ar"
  67025. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67026. + ac_cv_prog_ac_ct_AR="$ac_prog"
  67027. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67028. break 2
  67029. fi
  67030. @@ -5351,6 +5749,10 @@
  67031. $as_echo "no" >&6; }
  67032. fi
  67033.  
  67034. +
  67035. + test -n "$ac_ct_AR" && break
  67036. +done
  67037. +
  67038. if test "x$ac_ct_AR" = x; then
  67039. AR="false"
  67040. else
  67041. @@ -5362,12 +5764,10 @@
  67042. esac
  67043. AR=$ac_ct_AR
  67044. fi
  67045. -else
  67046. - AR="$ac_cv_prog_AR"
  67047. fi
  67048.  
  67049. -test -z "$AR" && AR=ar
  67050. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  67051. +: ${AR=ar}
  67052. +: ${AR_FLAGS=cru}
  67053.  
  67054.  
  67055.  
  67056. @@ -5379,6 +5779,64 @@
  67057.  
  67058.  
  67059.  
  67060. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  67061. +$as_echo_n "checking for archiver @FILE support... " >&6; }
  67062. +if ${lt_cv_ar_at_file+:} false; then :
  67063. + $as_echo_n "(cached) " >&6
  67064. +else
  67065. + lt_cv_ar_at_file=no
  67066. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67067. +/* end confdefs.h. */
  67068. +
  67069. +int
  67070. +main ()
  67071. +{
  67072. +
  67073. + ;
  67074. + return 0;
  67075. +}
  67076. +_ACEOF
  67077. +if ac_fn_c_try_compile "$LINENO"; then :
  67078. + echo conftest.$ac_objext > conftest.lst
  67079. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  67080. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  67081. + (eval $lt_ar_try) 2>&5
  67082. + ac_status=$?
  67083. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67084. + test $ac_status = 0; }
  67085. + if test 0 -eq "$ac_status"; then
  67086. + # Ensure the archiver fails upon bogus file names.
  67087. + rm -f conftest.$ac_objext libconftest.a
  67088. + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  67089. + (eval $lt_ar_try) 2>&5
  67090. + ac_status=$?
  67091. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67092. + test $ac_status = 0; }
  67093. + if test 0 -ne "$ac_status"; then
  67094. + lt_cv_ar_at_file=@
  67095. + fi
  67096. + fi
  67097. + rm -f conftest.* libconftest.a
  67098. +
  67099. +fi
  67100. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67101. +
  67102. +fi
  67103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  67104. +$as_echo "$lt_cv_ar_at_file" >&6; }
  67105. +
  67106. +if test no = "$lt_cv_ar_at_file"; then
  67107. + archiver_list_spec=
  67108. +else
  67109. + archiver_list_spec=$lt_cv_ar_at_file
  67110. +fi
  67111. +
  67112. +
  67113. +
  67114. +
  67115. +
  67116. +
  67117. +
  67118. if test -n "$ac_tool_prefix"; then
  67119. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  67120. set dummy ${ac_tool_prefix}strip; ac_word=$2
  67121. @@ -5396,7 +5854,7 @@
  67122. IFS=$as_save_IFS
  67123. test -z "$as_dir" && as_dir=.
  67124. for ac_exec_ext in '' $ac_executable_extensions; do
  67125. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67126. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67127. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  67128. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67129. break 2
  67130. @@ -5436,7 +5894,7 @@
  67131. IFS=$as_save_IFS
  67132. test -z "$as_dir" && as_dir=.
  67133. for ac_exec_ext in '' $ac_executable_extensions; do
  67134. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67135. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67136. ac_cv_prog_ac_ct_STRIP="strip"
  67137. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67138. break 2
  67139. @@ -5495,7 +5953,7 @@
  67140. IFS=$as_save_IFS
  67141. test -z "$as_dir" && as_dir=.
  67142. for ac_exec_ext in '' $ac_executable_extensions; do
  67143. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67144. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67145. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  67146. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67147. break 2
  67148. @@ -5535,7 +5993,7 @@
  67149. IFS=$as_save_IFS
  67150. test -z "$as_dir" && as_dir=.
  67151. for ac_exec_ext in '' $ac_executable_extensions; do
  67152. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67153. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67154. ac_cv_prog_ac_ct_RANLIB="ranlib"
  67155. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67156. break 2
  67157. @@ -5584,16 +6042,28 @@
  67158.  
  67159. if test -n "$RANLIB"; then
  67160. case $host_os in
  67161. - openbsd*)
  67162. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  67163. + bitrig* | openbsd*)
  67164. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  67165. ;;
  67166. *)
  67167. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  67168. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  67169. ;;
  67170. esac
  67171. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  67172. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  67173. fi
  67174.  
  67175. +case $host_os in
  67176. + darwin*)
  67177. + lock_old_archive_extraction=yes ;;
  67178. + *)
  67179. + lock_old_archive_extraction=no ;;
  67180. +esac
  67181. +
  67182. +
  67183. +
  67184. +
  67185. +
  67186. +
  67187.  
  67188.  
  67189.  
  67190. @@ -5662,7 +6132,7 @@
  67191. symcode='[ABCDGISTW]'
  67192. ;;
  67193. hpux*)
  67194. - if test "$host_cpu" = ia64; then
  67195. + if test ia64 = "$host_cpu"; then
  67196. symcode='[ABCDEGRST]'
  67197. fi
  67198. ;;
  67199. @@ -5695,14 +6165,44 @@
  67200. symcode='[ABCDGIRSTW]' ;;
  67201. esac
  67202.  
  67203. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  67204. + # Gets list of data symbols to import.
  67205. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  67206. + # Adjust the below global symbol transforms to fixup imported variables.
  67207. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  67208. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  67209. + lt_c_name_lib_hook="\
  67210. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  67211. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  67212. +else
  67213. + # Disable hooks by default.
  67214. + lt_cv_sys_global_symbol_to_import=
  67215. + lt_cdecl_hook=
  67216. + lt_c_name_hook=
  67217. + lt_c_name_lib_hook=
  67218. +fi
  67219. +
  67220. # Transform an extracted symbol line into a proper C declaration.
  67221. # Some systems (esp. on ia64) link data and code symbols differently,
  67222. # so use this general approach.
  67223. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  67224. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  67225. +$lt_cdecl_hook\
  67226. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  67227. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  67228.  
  67229. # Transform an extracted symbol line into symbol name and symbol address
  67230. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  67231. -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'"
  67232. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  67233. +$lt_c_name_hook\
  67234. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  67235. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  67236. +
  67237. +# Transform an extracted symbol line into symbol name with lib prefix and
  67238. +# symbol address.
  67239. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  67240. +$lt_c_name_lib_hook\
  67241. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  67242. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  67243. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  67244.  
  67245. # Handle CRLF in mingw tool chain
  67246. opt_cr=
  67247. @@ -5720,24 +6220,29 @@
  67248.  
  67249. # Write the raw and C identifiers.
  67250. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  67251. - # Fake it for dumpbin and say T for any non-static function
  67252. - # and D for any global variable.
  67253. + # Fake it for dumpbin and say T for any non-static function,
  67254. + # D for any global variable and I for any imported variable.
  67255. # Also find C++ and __fastcall symbols from MSVC++,
  67256. # which start with @ or ?.
  67257. lt_cv_sys_global_symbol_pipe="$AWK '"\
  67258. " {last_section=section; section=\$ 3};"\
  67259. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  67260. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  67261. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  67262. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  67263. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  67264. " \$ 0!~/External *\|/{next};"\
  67265. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  67266. " {if(hide[section]) next};"\
  67267. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  67268. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  67269. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  67270. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  67271. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  67272. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  67273. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  67274. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  67275. " ' prfx=^$ac_symprfx"
  67276. else
  67277. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  67278. fi
  67279. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  67280.  
  67281. # Check to see that the pipe works correctly.
  67282. pipe_works=no
  67283. @@ -5763,8 +6268,8 @@
  67284. test $ac_status = 0; }; then
  67285. # Now try to grab the symbols.
  67286. nlist=conftest.nm
  67287. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  67288. - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  67289. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  67290. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  67291. ac_status=$?
  67292. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67293. test $ac_status = 0; } && test -s "$nlist"; then
  67294. @@ -5779,6 +6284,18 @@
  67295. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  67296. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  67297. cat <<_LT_EOF > conftest.$ac_ext
  67298. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  67299. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  67300. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  67301. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  67302. +# define LT_DLSYM_CONST
  67303. +#elif defined __osf__
  67304. +/* This system does not cope well with relocations in const data. */
  67305. +# define LT_DLSYM_CONST
  67306. +#else
  67307. +# define LT_DLSYM_CONST const
  67308. +#endif
  67309. +
  67310. #ifdef __cplusplus
  67311. extern "C" {
  67312. #endif
  67313. @@ -5790,7 +6307,7 @@
  67314. cat <<_LT_EOF >> conftest.$ac_ext
  67315.  
  67316. /* The mapping between symbol names and symbols. */
  67317. -const struct {
  67318. +LT_DLSYM_CONST struct {
  67319. const char *name;
  67320. void *address;
  67321. }
  67322. @@ -5798,7 +6315,7 @@
  67323. {
  67324. { "@PROGRAM@", (void *) 0 },
  67325. _LT_EOF
  67326. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  67327. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  67328. cat <<\_LT_EOF >> conftest.$ac_ext
  67329. {0, (void *) 0}
  67330. };
  67331. @@ -5816,19 +6333,19 @@
  67332. _LT_EOF
  67333. # Now try linking the two files.
  67334. mv conftest.$ac_objext conftstm.$ac_objext
  67335. - lt_save_LIBS="$LIBS"
  67336. - lt_save_CFLAGS="$CFLAGS"
  67337. - LIBS="conftstm.$ac_objext"
  67338. + lt_globsym_save_LIBS=$LIBS
  67339. + lt_globsym_save_CFLAGS=$CFLAGS
  67340. + LIBS=conftstm.$ac_objext
  67341. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  67342. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  67343. (eval $ac_link) 2>&5
  67344. ac_status=$?
  67345. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67346. - test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  67347. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  67348. pipe_works=yes
  67349. fi
  67350. - LIBS="$lt_save_LIBS"
  67351. - CFLAGS="$lt_save_CFLAGS"
  67352. + LIBS=$lt_globsym_save_LIBS
  67353. + CFLAGS=$lt_globsym_save_CFLAGS
  67354. else
  67355. echo "cannot find nm_test_func in $nlist" >&5
  67356. fi
  67357. @@ -5845,7 +6362,7 @@
  67358. rm -rf conftest* conftst*
  67359.  
  67360. # Do not use the global_symbol_pipe unless it works.
  67361. - if test "$pipe_works" = yes; then
  67362. + if test yes = "$pipe_works"; then
  67363. break
  67364. else
  67365. lt_cv_sys_global_symbol_pipe=
  67366. @@ -5865,6 +6382,17 @@
  67367. $as_echo "ok" >&6; }
  67368. fi
  67369.  
  67370. +# Response file support.
  67371. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  67372. + nm_file_list_spec='@'
  67373. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  67374. + nm_file_list_spec='@'
  67375. +fi
  67376. +
  67377. +
  67378. +
  67379. +
  67380. +
  67381.  
  67382.  
  67383.  
  67384. @@ -5887,18 +6415,146 @@
  67385.  
  67386.  
  67387.  
  67388. +
  67389. +
  67390. +
  67391. +
  67392. +
  67393. +
  67394. +
  67395. +
  67396. +
  67397. +
  67398. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  67399. +$as_echo_n "checking for sysroot... " >&6; }
  67400. +
  67401. +# Check whether --with-sysroot was given.
  67402. +if test "${with_sysroot+set}" = set; then :
  67403. + withval=$with_sysroot;
  67404. +else
  67405. + with_sysroot=no
  67406. +fi
  67407. +
  67408. +
  67409. +lt_sysroot=
  67410. +case $with_sysroot in #(
  67411. + yes)
  67412. + if test yes = "$GCC"; then
  67413. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  67414. + fi
  67415. + ;; #(
  67416. + /*)
  67417. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  67418. + ;; #(
  67419. + no|'')
  67420. + ;; #(
  67421. + *)
  67422. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  67423. +$as_echo "$with_sysroot" >&6; }
  67424. + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  67425. + ;;
  67426. +esac
  67427. +
  67428. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  67429. +$as_echo "${lt_sysroot:-no}" >&6; }
  67430. +
  67431. +
  67432. +
  67433. +
  67434. +
  67435. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  67436. +$as_echo_n "checking for a working dd... " >&6; }
  67437. +if ${ac_cv_path_lt_DD+:} false; then :
  67438. + $as_echo_n "(cached) " >&6
  67439. +else
  67440. + printf 0123456789abcdef0123456789abcdef >conftest.i
  67441. +cat conftest.i conftest.i >conftest2.i
  67442. +: ${lt_DD:=$DD}
  67443. +if test -z "$lt_DD"; then
  67444. + ac_path_lt_DD_found=false
  67445. + # Loop through the user's path and test for each of PROGNAME-LIST
  67446. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  67447. +for as_dir in $PATH
  67448. +do
  67449. + IFS=$as_save_IFS
  67450. + test -z "$as_dir" && as_dir=.
  67451. + for ac_prog in dd; do
  67452. + for ac_exec_ext in '' $ac_executable_extensions; do
  67453. + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  67454. + as_fn_executable_p "$ac_path_lt_DD" || continue
  67455. +if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  67456. + cmp -s conftest.i conftest.out \
  67457. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  67458. +fi
  67459. + $ac_path_lt_DD_found && break 3
  67460. + done
  67461. + done
  67462. + done
  67463. +IFS=$as_save_IFS
  67464. + if test -z "$ac_cv_path_lt_DD"; then
  67465. + :
  67466. + fi
  67467. +else
  67468. + ac_cv_path_lt_DD=$lt_DD
  67469. +fi
  67470. +
  67471. +rm -f conftest.i conftest2.i conftest.out
  67472. +fi
  67473. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  67474. +$as_echo "$ac_cv_path_lt_DD" >&6; }
  67475. +
  67476. +
  67477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  67478. +$as_echo_n "checking how to truncate binary pipes... " >&6; }
  67479. +if ${lt_cv_truncate_bin+:} false; then :
  67480. + $as_echo_n "(cached) " >&6
  67481. +else
  67482. + printf 0123456789abcdef0123456789abcdef >conftest.i
  67483. +cat conftest.i conftest.i >conftest2.i
  67484. +lt_cv_truncate_bin=
  67485. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  67486. + cmp -s conftest.i conftest.out \
  67487. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  67488. +fi
  67489. +rm -f conftest.i conftest2.i conftest.out
  67490. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  67491. +fi
  67492. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  67493. +$as_echo "$lt_cv_truncate_bin" >&6; }
  67494. +
  67495. +
  67496. +
  67497. +
  67498. +
  67499. +
  67500. +
  67501. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  67502. +func_cc_basename ()
  67503. +{
  67504. + for cc_temp in $*""; do
  67505. + case $cc_temp in
  67506. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  67507. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  67508. + \-*) ;;
  67509. + *) break;;
  67510. + esac
  67511. + done
  67512. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  67513. +}
  67514. +
  67515. # Check whether --enable-libtool-lock was given.
  67516. if test "${enable_libtool_lock+set}" = set; then :
  67517. enableval=$enable_libtool_lock;
  67518. fi
  67519.  
  67520. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  67521. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  67522.  
  67523. # Some flags need to be propagated to the compiler or linker for good
  67524. # libtool support.
  67525. case $host in
  67526. ia64-*-hpux*)
  67527. - # Find out which ABI we are using.
  67528. + # Find out what ABI is being produced by ac_compile, and set mode
  67529. + # options accordingly.
  67530. echo 'int i;' > conftest.$ac_ext
  67531. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67532. (eval $ac_compile) 2>&5
  67533. @@ -5907,24 +6563,25 @@
  67534. test $ac_status = 0; }; then
  67535. case `/usr/bin/file conftest.$ac_objext` in
  67536. *ELF-32*)
  67537. - HPUX_IA64_MODE="32"
  67538. + HPUX_IA64_MODE=32
  67539. ;;
  67540. *ELF-64*)
  67541. - HPUX_IA64_MODE="64"
  67542. + HPUX_IA64_MODE=64
  67543. ;;
  67544. esac
  67545. fi
  67546. rm -rf conftest*
  67547. ;;
  67548. *-*-irix6*)
  67549. - # Find out which ABI we are using.
  67550. - echo '#line 5921 "configure"' > conftest.$ac_ext
  67551. + # Find out what ABI is being produced by ac_compile, and set linker
  67552. + # options accordingly.
  67553. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  67554. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67555. (eval $ac_compile) 2>&5
  67556. ac_status=$?
  67557. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67558. test $ac_status = 0; }; then
  67559. - if test "$lt_cv_prog_gnu_ld" = yes; then
  67560. + if test yes = "$lt_cv_prog_gnu_ld"; then
  67561. case `/usr/bin/file conftest.$ac_objext` in
  67562. *32-bit*)
  67563. LD="${LD-ld} -melf32bsmip"
  67564. @@ -5953,9 +6610,50 @@
  67565. rm -rf conftest*
  67566. ;;
  67567.  
  67568. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  67569. +mips64*-*linux*)
  67570. + # Find out what ABI is being produced by ac_compile, and set linker
  67571. + # options accordingly.
  67572. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  67573. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67574. + (eval $ac_compile) 2>&5
  67575. + ac_status=$?
  67576. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67577. + test $ac_status = 0; }; then
  67578. + emul=elf
  67579. + case `/usr/bin/file conftest.$ac_objext` in
  67580. + *32-bit*)
  67581. + emul="${emul}32"
  67582. + ;;
  67583. + *64-bit*)
  67584. + emul="${emul}64"
  67585. + ;;
  67586. + esac
  67587. + case `/usr/bin/file conftest.$ac_objext` in
  67588. + *MSB*)
  67589. + emul="${emul}btsmip"
  67590. + ;;
  67591. + *LSB*)
  67592. + emul="${emul}ltsmip"
  67593. + ;;
  67594. + esac
  67595. + case `/usr/bin/file conftest.$ac_objext` in
  67596. + *N32*)
  67597. + emul="${emul}n32"
  67598. + ;;
  67599. + esac
  67600. + LD="${LD-ld} -m $emul"
  67601. + fi
  67602. + rm -rf conftest*
  67603. + ;;
  67604. +
  67605. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  67606. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  67607. - # Find out which ABI we are using.
  67608. + # Find out what ABI is being produced by ac_compile, and set linker
  67609. + # options accordingly. Note that the listed cases only cover the
  67610. + # situations where additional linker options are needed (such as when
  67611. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  67612. + # vice versa); the common cases where no linker options are needed do
  67613. + # not appear in the list.
  67614. echo 'int i;' > conftest.$ac_ext
  67615. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67616. (eval $ac_compile) 2>&5
  67617. @@ -5969,9 +6667,19 @@
  67618. LD="${LD-ld} -m elf_i386_fbsd"
  67619. ;;
  67620. x86_64-*linux*)
  67621. - LD="${LD-ld} -m elf_i386"
  67622. + case `/usr/bin/file conftest.o` in
  67623. + *x86-64*)
  67624. + LD="${LD-ld} -m elf32_x86_64"
  67625. + ;;
  67626. + *)
  67627. + LD="${LD-ld} -m elf_i386"
  67628. + ;;
  67629. + esac
  67630. ;;
  67631. - ppc64-*linux*|powerpc64-*linux*)
  67632. + powerpc64le-*linux*)
  67633. + LD="${LD-ld} -m elf32lppclinux"
  67634. + ;;
  67635. + powerpc64-*linux*)
  67636. LD="${LD-ld} -m elf32ppclinux"
  67637. ;;
  67638. s390x-*linux*)
  67639. @@ -5990,7 +6698,10 @@
  67640. x86_64-*linux*)
  67641. LD="${LD-ld} -m elf_x86_64"
  67642. ;;
  67643. - ppc*-*linux*|powerpc*-*linux*)
  67644. + powerpcle-*linux*)
  67645. + LD="${LD-ld} -m elf64lppc"
  67646. + ;;
  67647. + powerpc-*linux*)
  67648. LD="${LD-ld} -m elf64ppc"
  67649. ;;
  67650. s390*-*linux*|s390*-*tpf*)
  67651. @@ -6008,7 +6719,7 @@
  67652.  
  67653. *-*-sco3.2v5*)
  67654. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  67655. - SAVE_CFLAGS="$CFLAGS"
  67656. + SAVE_CFLAGS=$CFLAGS
  67657. CFLAGS="$CFLAGS -belf"
  67658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  67659. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  67660. @@ -6048,13 +6759,14 @@
  67661. fi
  67662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  67663. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  67664. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  67665. + if test yes != "$lt_cv_cc_needs_belf"; then
  67666. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  67667. - CFLAGS="$SAVE_CFLAGS"
  67668. + CFLAGS=$SAVE_CFLAGS
  67669. fi
  67670. ;;
  67671. -sparc*-*solaris*)
  67672. - # Find out which ABI we are using.
  67673. +*-*solaris*)
  67674. + # Find out what ABI is being produced by ac_compile, and set linker
  67675. + # options accordingly.
  67676. echo 'int i;' > conftest.$ac_ext
  67677. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  67678. (eval $ac_compile) 2>&5
  67679. @@ -6064,7 +6776,20 @@
  67680. case `/usr/bin/file conftest.o` in
  67681. *64-bit*)
  67682. case $lt_cv_prog_gnu_ld in
  67683. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  67684. + yes*)
  67685. + case $host in
  67686. + i?86-*-solaris*|x86_64-*-solaris*)
  67687. + LD="${LD-ld} -m elf_x86_64"
  67688. + ;;
  67689. + sparc*-*-solaris*)
  67690. + LD="${LD-ld} -m elf64_sparc"
  67691. + ;;
  67692. + esac
  67693. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  67694. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  67695. + LD=${LD-ld}_sol2
  67696. + fi
  67697. + ;;
  67698. *)
  67699. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  67700. LD="${LD-ld} -64"
  67701. @@ -6078,7 +6803,124 @@
  67702. ;;
  67703. esac
  67704.  
  67705. -need_locks="$enable_libtool_lock"
  67706. +need_locks=$enable_libtool_lock
  67707. +
  67708. +if test -n "$ac_tool_prefix"; then
  67709. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  67710. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  67711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  67712. +$as_echo_n "checking for $ac_word... " >&6; }
  67713. +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  67714. + $as_echo_n "(cached) " >&6
  67715. +else
  67716. + if test -n "$MANIFEST_TOOL"; then
  67717. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  67718. +else
  67719. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  67720. +for as_dir in $PATH
  67721. +do
  67722. + IFS=$as_save_IFS
  67723. + test -z "$as_dir" && as_dir=.
  67724. + for ac_exec_ext in '' $ac_executable_extensions; do
  67725. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67726. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  67727. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67728. + break 2
  67729. + fi
  67730. +done
  67731. + done
  67732. +IFS=$as_save_IFS
  67733. +
  67734. +fi
  67735. +fi
  67736. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  67737. +if test -n "$MANIFEST_TOOL"; then
  67738. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  67739. +$as_echo "$MANIFEST_TOOL" >&6; }
  67740. +else
  67741. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  67742. +$as_echo "no" >&6; }
  67743. +fi
  67744. +
  67745. +
  67746. +fi
  67747. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  67748. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  67749. + # Extract the first word of "mt", so it can be a program name with args.
  67750. +set dummy mt; ac_word=$2
  67751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  67752. +$as_echo_n "checking for $ac_word... " >&6; }
  67753. +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  67754. + $as_echo_n "(cached) " >&6
  67755. +else
  67756. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  67757. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  67758. +else
  67759. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  67760. +for as_dir in $PATH
  67761. +do
  67762. + IFS=$as_save_IFS
  67763. + test -z "$as_dir" && as_dir=.
  67764. + for ac_exec_ext in '' $ac_executable_extensions; do
  67765. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67766. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  67767. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67768. + break 2
  67769. + fi
  67770. +done
  67771. + done
  67772. +IFS=$as_save_IFS
  67773. +
  67774. +fi
  67775. +fi
  67776. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  67777. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  67778. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  67779. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  67780. +else
  67781. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  67782. +$as_echo "no" >&6; }
  67783. +fi
  67784. +
  67785. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  67786. + MANIFEST_TOOL=":"
  67787. + else
  67788. + case $cross_compiling:$ac_tool_warned in
  67789. +yes:)
  67790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  67791. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  67792. +ac_tool_warned=yes ;;
  67793. +esac
  67794. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  67795. + fi
  67796. +else
  67797. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  67798. +fi
  67799. +
  67800. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  67801. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  67802. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  67803. +if ${lt_cv_path_mainfest_tool+:} false; then :
  67804. + $as_echo_n "(cached) " >&6
  67805. +else
  67806. + lt_cv_path_mainfest_tool=no
  67807. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  67808. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  67809. + cat conftest.err >&5
  67810. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  67811. + lt_cv_path_mainfest_tool=yes
  67812. + fi
  67813. + rm -f conftest*
  67814. +fi
  67815. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  67816. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  67817. +if test yes != "$lt_cv_path_mainfest_tool"; then
  67818. + MANIFEST_TOOL=:
  67819. +fi
  67820. +
  67821. +
  67822. +
  67823. +
  67824.  
  67825.  
  67826. case $host_os in
  67827. @@ -6100,7 +6942,7 @@
  67828. IFS=$as_save_IFS
  67829. test -z "$as_dir" && as_dir=.
  67830. for ac_exec_ext in '' $ac_executable_extensions; do
  67831. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67832. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67833. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  67834. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67835. break 2
  67836. @@ -6140,7 +6982,7 @@
  67837. IFS=$as_save_IFS
  67838. test -z "$as_dir" && as_dir=.
  67839. for ac_exec_ext in '' $ac_executable_extensions; do
  67840. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67841. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67842. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  67843. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67844. break 2
  67845. @@ -6192,7 +7034,7 @@
  67846. IFS=$as_save_IFS
  67847. test -z "$as_dir" && as_dir=.
  67848. for ac_exec_ext in '' $ac_executable_extensions; do
  67849. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67850. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67851. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  67852. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67853. break 2
  67854. @@ -6232,7 +7074,7 @@
  67855. IFS=$as_save_IFS
  67856. test -z "$as_dir" && as_dir=.
  67857. for ac_exec_ext in '' $ac_executable_extensions; do
  67858. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67859. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67860. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  67861. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67862. break 2
  67863. @@ -6284,7 +7126,7 @@
  67864. IFS=$as_save_IFS
  67865. test -z "$as_dir" && as_dir=.
  67866. for ac_exec_ext in '' $ac_executable_extensions; do
  67867. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67868. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67869. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  67870. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67871. break 2
  67872. @@ -6324,7 +7166,7 @@
  67873. IFS=$as_save_IFS
  67874. test -z "$as_dir" && as_dir=.
  67875. for ac_exec_ext in '' $ac_executable_extensions; do
  67876. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67877. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67878. ac_cv_prog_ac_ct_LIPO="lipo"
  67879. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67880. break 2
  67881. @@ -6376,7 +7218,7 @@
  67882. IFS=$as_save_IFS
  67883. test -z "$as_dir" && as_dir=.
  67884. for ac_exec_ext in '' $ac_executable_extensions; do
  67885. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67886. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67887. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  67888. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67889. break 2
  67890. @@ -6416,7 +7258,7 @@
  67891. IFS=$as_save_IFS
  67892. test -z "$as_dir" && as_dir=.
  67893. for ac_exec_ext in '' $ac_executable_extensions; do
  67894. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67895. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67896. ac_cv_prog_ac_ct_OTOOL="otool"
  67897. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67898. break 2
  67899. @@ -6468,7 +7310,7 @@
  67900. IFS=$as_save_IFS
  67901. test -z "$as_dir" && as_dir=.
  67902. for ac_exec_ext in '' $ac_executable_extensions; do
  67903. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67904. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67905. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  67906. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67907. break 2
  67908. @@ -6508,7 +7350,7 @@
  67909. IFS=$as_save_IFS
  67910. test -z "$as_dir" && as_dir=.
  67911. for ac_exec_ext in '' $ac_executable_extensions; do
  67912. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  67913. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  67914. ac_cv_prog_ac_ct_OTOOL64="otool64"
  67915. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  67916. break 2
  67917. @@ -6575,7 +7417,7 @@
  67918. $as_echo_n "(cached) " >&6
  67919. else
  67920. lt_cv_apple_cc_single_mod=no
  67921. - if test -z "${LT_MULTI_MODULE}"; then
  67922. + if test -z "$LT_MULTI_MODULE"; then
  67923. # By default we will add the -single_module flag. You can override
  67924. # by either setting the environment variable LT_MULTI_MODULE
  67925. # non-empty at configure time, or by adding -multi_module to the
  67926. @@ -6587,7 +7429,13 @@
  67927. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  67928. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  67929. _lt_result=$?
  67930. - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  67931. + # If there is a non-empty error log, and "single_module"
  67932. + # appears in it, assume the flag caused a linker warning
  67933. + if test -s conftest.err && $GREP single_module conftest.err; then
  67934. + cat conftest.err >&5
  67935. + # Otherwise, if the output was created with a 0 exit code from
  67936. + # the compiler, it worked.
  67937. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  67938. lt_cv_apple_cc_single_mod=yes
  67939. else
  67940. cat conftest.err >&5
  67941. @@ -6598,6 +7446,7 @@
  67942. fi
  67943. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  67944. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  67945. +
  67946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  67947. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  67948. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  67949. @@ -6625,39 +7474,74 @@
  67950. fi
  67951. rm -f core conftest.err conftest.$ac_objext \
  67952. conftest$ac_exeext conftest.$ac_ext
  67953. - LDFLAGS="$save_LDFLAGS"
  67954. + LDFLAGS=$save_LDFLAGS
  67955.  
  67956. fi
  67957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  67958. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  67959. +
  67960. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  67961. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  67962. +if ${lt_cv_ld_force_load+:} false; then :
  67963. + $as_echo_n "(cached) " >&6
  67964. +else
  67965. + lt_cv_ld_force_load=no
  67966. + cat > conftest.c << _LT_EOF
  67967. +int forced_loaded() { return 2;}
  67968. +_LT_EOF
  67969. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  67970. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  67971. + echo "$AR cru libconftest.a conftest.o" >&5
  67972. + $AR cru libconftest.a conftest.o 2>&5
  67973. + echo "$RANLIB libconftest.a" >&5
  67974. + $RANLIB libconftest.a 2>&5
  67975. + cat > conftest.c << _LT_EOF
  67976. +int main() { return 0;}
  67977. +_LT_EOF
  67978. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  67979. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  67980. + _lt_result=$?
  67981. + if test -s conftest.err && $GREP force_load conftest.err; then
  67982. + cat conftest.err >&5
  67983. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  67984. + lt_cv_ld_force_load=yes
  67985. + else
  67986. + cat conftest.err >&5
  67987. + fi
  67988. + rm -f conftest.err libconftest.a conftest conftest.c
  67989. + rm -rf conftest.dSYM
  67990. +
  67991. +fi
  67992. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  67993. +$as_echo "$lt_cv_ld_force_load" >&6; }
  67994. case $host_os in
  67995. rhapsody* | darwin1.[012])
  67996. - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  67997. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  67998. darwin1.*)
  67999. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  68000. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  68001. darwin*) # darwin 5.x on
  68002. # if running on 10.5 or later, the deployment target defaults
  68003. # to the OS version, if on x86, and 10.4, the deployment
  68004. # target defaults to 10.4. Don't you love it?
  68005. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  68006. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  68007. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  68008. - 10.[012]*)
  68009. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  68010. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  68011. + 10.[012][,.]*)
  68012. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  68013. 10.*)
  68014. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  68015. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  68016. esac
  68017. ;;
  68018. esac
  68019. - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  68020. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  68021. _lt_dar_single_mod='$single_module'
  68022. fi
  68023. - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  68024. - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  68025. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  68026. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  68027. else
  68028. - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  68029. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  68030. fi
  68031. - if test "$DSYMUTIL" != ":"; then
  68032. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  68033. _lt_dsymutil='~$DSYMUTIL $lib || :'
  68034. else
  68035. _lt_dsymutil=
  68036. @@ -6665,6 +7549,41 @@
  68037. ;;
  68038. esac
  68039.  
  68040. +# func_munge_path_list VARIABLE PATH
  68041. +# -----------------------------------
  68042. +# VARIABLE is name of variable containing _space_ separated list of
  68043. +# directories to be munged by the contents of PATH, which is string
  68044. +# having a format:
  68045. +# "DIR[:DIR]:"
  68046. +# string "DIR[ DIR]" will be prepended to VARIABLE
  68047. +# ":DIR[:DIR]"
  68048. +# string "DIR[ DIR]" will be appended to VARIABLE
  68049. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  68050. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  68051. +# "DIRA[ DIRA]" will be appended to VARIABLE
  68052. +# "DIR[:DIR]"
  68053. +# VARIABLE will be replaced by "DIR[ DIR]"
  68054. +func_munge_path_list ()
  68055. +{
  68056. + case x$2 in
  68057. + x)
  68058. + ;;
  68059. + *:)
  68060. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  68061. + ;;
  68062. + x:*)
  68063. + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  68064. + ;;
  68065. + *::*)
  68066. + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  68067. + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  68068. + ;;
  68069. + *)
  68070. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  68071. + ;;
  68072. + esac
  68073. +}
  68074. +
  68075. ac_ext=c
  68076. ac_cpp='$CPP $CPPFLAGS'
  68077. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  68078. @@ -6947,6 +7866,8 @@
  68079.  
  68080.  
  68081.  
  68082. +
  68083. +
  68084. # Set options
  68085.  
  68086.  
  68087. @@ -6966,14 +7887,14 @@
  68088. *)
  68089. enable_shared=no
  68090. # Look at the argument we got. We use all the common list separators.
  68091. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  68092. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68093. for pkg in $enableval; do
  68094. - IFS="$lt_save_ifs"
  68095. + IFS=$lt_save_ifs
  68096. if test "X$pkg" = "X$p"; then
  68097. enable_shared=yes
  68098. fi
  68099. done
  68100. - IFS="$lt_save_ifs"
  68101. + IFS=$lt_save_ifs
  68102. ;;
  68103. esac
  68104. else
  68105. @@ -6997,14 +7918,14 @@
  68106. *)
  68107. enable_static=no
  68108. # Look at the argument we got. We use all the common list separators.
  68109. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  68110. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68111. for pkg in $enableval; do
  68112. - IFS="$lt_save_ifs"
  68113. + IFS=$lt_save_ifs
  68114. if test "X$pkg" = "X$p"; then
  68115. enable_static=yes
  68116. fi
  68117. done
  68118. - IFS="$lt_save_ifs"
  68119. + IFS=$lt_save_ifs
  68120. ;;
  68121. esac
  68122. else
  68123. @@ -7022,14 +7943,27 @@
  68124.  
  68125. # Check whether --with-pic was given.
  68126. if test "${with_pic+set}" = set; then :
  68127. - withval=$with_pic; pic_mode="$withval"
  68128. + withval=$with_pic; lt_p=${PACKAGE-default}
  68129. + case $withval in
  68130. + yes|no) pic_mode=$withval ;;
  68131. + *)
  68132. + pic_mode=default
  68133. + # Look at the argument we got. We use all the common list separators.
  68134. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68135. + for lt_pkg in $withval; do
  68136. + IFS=$lt_save_ifs
  68137. + if test "X$lt_pkg" = "X$lt_p"; then
  68138. + pic_mode=yes
  68139. + fi
  68140. + done
  68141. + IFS=$lt_save_ifs
  68142. + ;;
  68143. + esac
  68144. else
  68145. pic_mode=default
  68146. fi
  68147.  
  68148.  
  68149. -test -z "$pic_mode" && pic_mode=default
  68150. -
  68151.  
  68152.  
  68153.  
  68154. @@ -7045,14 +7979,14 @@
  68155. *)
  68156. enable_fast_install=no
  68157. # Look at the argument we got. We use all the common list separators.
  68158. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  68159. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  68160. for pkg in $enableval; do
  68161. - IFS="$lt_save_ifs"
  68162. + IFS=$lt_save_ifs
  68163. if test "X$pkg" = "X$p"; then
  68164. enable_fast_install=yes
  68165. fi
  68166. done
  68167. - IFS="$lt_save_ifs"
  68168. + IFS=$lt_save_ifs
  68169. ;;
  68170. esac
  68171. else
  68172. @@ -7066,11 +8000,63 @@
  68173.  
  68174.  
  68175.  
  68176. + shared_archive_member_spec=
  68177. +case $host,$enable_shared in
  68178. +power*-*-aix[5-9]*,yes)
  68179. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  68180. +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  68181. +
  68182. +# Check whether --with-aix-soname was given.
  68183. +if test "${with_aix_soname+set}" = set; then :
  68184. + withval=$with_aix_soname; case $withval in
  68185. + aix|svr4|both)
  68186. + ;;
  68187. + *)
  68188. + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  68189. + ;;
  68190. + esac
  68191. + lt_cv_with_aix_soname=$with_aix_soname
  68192. +else
  68193. + if ${lt_cv_with_aix_soname+:} false; then :
  68194. + $as_echo_n "(cached) " >&6
  68195. +else
  68196. + lt_cv_with_aix_soname=aix
  68197. +fi
  68198. +
  68199. + with_aix_soname=$lt_cv_with_aix_soname
  68200. +fi
  68201. +
  68202. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  68203. +$as_echo "$with_aix_soname" >&6; }
  68204. + if test aix != "$with_aix_soname"; then
  68205. + # For the AIX way of multilib, we name the shared archive member
  68206. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  68207. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  68208. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  68209. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  68210. + if test 64 = "${OBJECT_MODE-32}"; then
  68211. + shared_archive_member_spec=shr_64
  68212. + else
  68213. + shared_archive_member_spec=shr
  68214. + fi
  68215. + fi
  68216. + ;;
  68217. +*)
  68218. + with_aix_soname=aix
  68219. + ;;
  68220. +esac
  68221. +
  68222. +
  68223. +
  68224. +
  68225. +
  68226. +
  68227. +
  68228.  
  68229.  
  68230.  
  68231. # This can be used to rebuild libtool when needed
  68232. -LIBTOOL_DEPS="$ltmain"
  68233. +LIBTOOL_DEPS=$ltmain
  68234.  
  68235. # Always use our own libtool.
  68236. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  68237. @@ -7099,6 +8085,11 @@
  68238.  
  68239.  
  68240.  
  68241. +
  68242. +
  68243. +
  68244. +
  68245. +
  68246. test -z "$LN_S" && LN_S="ln -s"
  68247.  
  68248.  
  68249. @@ -7114,7 +8105,7 @@
  68250.  
  68251.  
  68252.  
  68253. -if test -n "${ZSH_VERSION+set}" ; then
  68254. +if test -n "${ZSH_VERSION+set}"; then
  68255. setopt NO_GLOB_SUBST
  68256. fi
  68257.  
  68258. @@ -7148,60 +8139,30 @@
  68259.  
  68260.  
  68261.  
  68262. -
  68263. -
  68264. -
  68265. -
  68266. -
  68267. -
  68268. -
  68269. -
  68270. -
  68271. -
  68272. -
  68273. -
  68274. -
  68275. case $host_os in
  68276. aix3*)
  68277. # AIX sometimes has problems with the GCC collect2 program. For some
  68278. # reason, if we set the COLLECT_NAMES environment variable, the problems
  68279. # vanish in a puff of smoke.
  68280. - if test "X${COLLECT_NAMES+set}" != Xset; then
  68281. + if test set != "${COLLECT_NAMES+set}"; then
  68282. COLLECT_NAMES=
  68283. export COLLECT_NAMES
  68284. fi
  68285. ;;
  68286. esac
  68287.  
  68288. -# Sed substitution that helps us do robust quoting. It backslashifies
  68289. -# metacharacters that are still active within double-quoted strings.
  68290. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  68291. -
  68292. -# Same as above, but do not quote variable references.
  68293. -double_quote_subst='s/\(["`\\]\)/\\\1/g'
  68294. -
  68295. -# Sed substitution to delay expansion of an escaped shell variable in a
  68296. -# double_quote_subst'ed string.
  68297. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  68298. -
  68299. -# Sed substitution to delay expansion of an escaped single quote.
  68300. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  68301. -
  68302. -# Sed substitution to avoid accidental globbing in evaled expressions
  68303. -no_glob_subst='s/\*/\\\*/g'
  68304. -
  68305. # Global variables:
  68306. ofile=libtool
  68307. can_build_shared=yes
  68308.  
  68309. -# All known linkers require a `.a' archive for static linking (except MSVC,
  68310. +# All known linkers require a '.a' archive for static linking (except MSVC,
  68311. # which needs '.lib').
  68312. libext=a
  68313.  
  68314. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  68315. +with_gnu_ld=$lt_cv_prog_gnu_ld
  68316.  
  68317. -old_CC="$CC"
  68318. -old_CFLAGS="$CFLAGS"
  68319. +old_CC=$CC
  68320. +old_CFLAGS=$CFLAGS
  68321.  
  68322. # Set sane defaults for various variables
  68323. test -z "$CC" && CC=cc
  68324. @@ -7210,15 +8171,8 @@
  68325. test -z "$LD" && LD=ld
  68326. test -z "$ac_objext" && ac_objext=o
  68327.  
  68328. -for cc_temp in $compiler""; do
  68329. - case $cc_temp in
  68330. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  68331. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  68332. - \-*) ;;
  68333. - *) break;;
  68334. - esac
  68335. -done
  68336. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  68337. +func_cc_basename $compiler
  68338. +cc_basename=$func_cc_basename_result
  68339.  
  68340.  
  68341. # Only perform the check for file, if the check method requires it
  68342. @@ -7233,22 +8187,22 @@
  68343. else
  68344. case $MAGIC_CMD in
  68345. [\\/*] | ?:[\\/]*)
  68346. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  68347. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  68348. ;;
  68349. *)
  68350. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  68351. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  68352. + lt_save_MAGIC_CMD=$MAGIC_CMD
  68353. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  68354. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  68355. for ac_dir in $ac_dummy; do
  68356. - IFS="$lt_save_ifs"
  68357. + IFS=$lt_save_ifs
  68358. test -z "$ac_dir" && ac_dir=.
  68359. - if test -f $ac_dir/${ac_tool_prefix}file; then
  68360. - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  68361. + if test -f "$ac_dir/${ac_tool_prefix}file"; then
  68362. + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  68363. if test -n "$file_magic_test_file"; then
  68364. case $deplibs_check_method in
  68365. "file_magic "*)
  68366. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  68367. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68368. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68369. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  68370. $EGREP "$file_magic_regex" > /dev/null; then
  68371. :
  68372. @@ -7271,13 +8225,13 @@
  68373. break
  68374. fi
  68375. done
  68376. - IFS="$lt_save_ifs"
  68377. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  68378. + IFS=$lt_save_ifs
  68379. + MAGIC_CMD=$lt_save_MAGIC_CMD
  68380. ;;
  68381. esac
  68382. fi
  68383.  
  68384. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68385. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68386. if test -n "$MAGIC_CMD"; then
  68387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  68388. $as_echo "$MAGIC_CMD" >&6; }
  68389. @@ -7299,22 +8253,22 @@
  68390. else
  68391. case $MAGIC_CMD in
  68392. [\\/*] | ?:[\\/]*)
  68393. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  68394. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  68395. ;;
  68396. *)
  68397. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  68398. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  68399. + lt_save_MAGIC_CMD=$MAGIC_CMD
  68400. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  68401. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  68402. for ac_dir in $ac_dummy; do
  68403. - IFS="$lt_save_ifs"
  68404. + IFS=$lt_save_ifs
  68405. test -z "$ac_dir" && ac_dir=.
  68406. - if test -f $ac_dir/file; then
  68407. - lt_cv_path_MAGIC_CMD="$ac_dir/file"
  68408. + if test -f "$ac_dir/file"; then
  68409. + lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  68410. if test -n "$file_magic_test_file"; then
  68411. case $deplibs_check_method in
  68412. "file_magic "*)
  68413. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  68414. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68415. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68416. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  68417. $EGREP "$file_magic_regex" > /dev/null; then
  68418. :
  68419. @@ -7337,13 +8291,13 @@
  68420. break
  68421. fi
  68422. done
  68423. - IFS="$lt_save_ifs"
  68424. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  68425. + IFS=$lt_save_ifs
  68426. + MAGIC_CMD=$lt_save_MAGIC_CMD
  68427. ;;
  68428. esac
  68429. fi
  68430.  
  68431. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  68432. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  68433. if test -n "$MAGIC_CMD"; then
  68434. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  68435. $as_echo "$MAGIC_CMD" >&6; }
  68436. @@ -7364,7 +8318,7 @@
  68437.  
  68438. # Use C for the default configuration in the libtool script
  68439.  
  68440. -lt_save_CC="$CC"
  68441. +lt_save_CC=$CC
  68442. ac_ext=c
  68443. ac_cpp='$CPP $CPPFLAGS'
  68444. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  68445. @@ -7418,12 +8372,21 @@
  68446. $RM -r conftest*
  68447.  
  68448.  
  68449. +## CAVEAT EMPTOR:
  68450. +## There is no encapsulation within the following macros, do not change
  68451. +## the running order or otherwise move them around unless you know exactly
  68452. +## what you are doing...
  68453. if test -n "$compiler"; then
  68454.  
  68455. lt_prog_compiler_no_builtin_flag=
  68456.  
  68457. -if test "$GCC" = yes; then
  68458. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  68459. +if test yes = "$GCC"; then
  68460. + case $cc_basename in
  68461. + nvcc*)
  68462. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  68463. + *)
  68464. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  68465. + esac
  68466.  
  68467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  68468. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  68469. @@ -7433,7 +8396,7 @@
  68470. lt_cv_prog_compiler_rtti_exceptions=no
  68471. ac_outfile=conftest.$ac_objext
  68472. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  68473. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  68474. + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  68475. # Insert the option either (1) after the last *FLAGS variable, or
  68476. # (2) before a word containing "conftest.", or (3) at the end.
  68477. # Note that $ac_compile itself does not contain backslashes and begins
  68478. @@ -7443,15 +8406,15 @@
  68479. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68480. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68481. -e 's:$: $lt_compiler_flag:'`
  68482. - (eval echo "\"\$as_me:7446: $lt_compile\"" >&5)
  68483. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68484. (eval "$lt_compile" 2>conftest.err)
  68485. ac_status=$?
  68486. cat conftest.err >&5
  68487. - echo "$as_me:7450: \$? = $ac_status" >&5
  68488. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68489. if (exit $ac_status) && test -s "$ac_outfile"; then
  68490. # The compiler can only warn and ignore the option if not recognized
  68491. # So say no if there are warnings other than the usual output.
  68492. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  68493. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  68494. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  68495. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  68496. lt_cv_prog_compiler_rtti_exceptions=yes
  68497. @@ -7463,7 +8426,7 @@
  68498. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  68499. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  68500.  
  68501. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  68502. +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  68503. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  68504. else
  68505. :
  68506. @@ -7480,20 +8443,19 @@
  68507. lt_prog_compiler_pic=
  68508. lt_prog_compiler_static=
  68509.  
  68510. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  68511. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  68512.  
  68513. - if test "$GCC" = yes; then
  68514. + if test yes = "$GCC"; then
  68515. lt_prog_compiler_wl='-Wl,'
  68516. lt_prog_compiler_static='-static'
  68517.  
  68518. case $host_os in
  68519. aix*)
  68520. # All AIX code is PIC.
  68521. - if test "$host_cpu" = ia64; then
  68522. + if test ia64 = "$host_cpu"; then
  68523. # AIX 5 now supports IA64 processor
  68524. lt_prog_compiler_static='-Bstatic'
  68525. fi
  68526. + lt_prog_compiler_pic='-fPIC'
  68527. ;;
  68528.  
  68529. amigaos*)
  68530. @@ -7504,8 +8466,8 @@
  68531. ;;
  68532. m68k)
  68533. # FIXME: we need at least 68020 code to build shared libraries, but
  68534. - # adding the `-m68020' flag to GCC prevents building anything better,
  68535. - # like `-m68040'.
  68536. + # adding the '-m68020' flag to GCC prevents building anything better,
  68537. + # like '-m68040'.
  68538. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  68539. ;;
  68540. esac
  68541. @@ -7521,6 +8483,11 @@
  68542. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  68543. # (--disable-auto-import) libraries
  68544. lt_prog_compiler_pic='-DDLL_EXPORT'
  68545. + case $host_os in
  68546. + os2*)
  68547. + lt_prog_compiler_static='$wl-static'
  68548. + ;;
  68549. + esac
  68550. ;;
  68551.  
  68552. darwin* | rhapsody*)
  68553. @@ -7529,6 +8496,12 @@
  68554. lt_prog_compiler_pic='-fno-common'
  68555. ;;
  68556.  
  68557. + haiku*)
  68558. + # PIC is the default for Haiku.
  68559. + # The "-static" flag exists, but is broken.
  68560. + lt_prog_compiler_static=
  68561. + ;;
  68562. +
  68563. hpux*)
  68564. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  68565. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  68566. @@ -7571,12 +8544,21 @@
  68567. lt_prog_compiler_pic='-fPIC'
  68568. ;;
  68569. esac
  68570. +
  68571. + case $cc_basename in
  68572. + nvcc*) # Cuda Compiler Driver 2.2
  68573. + lt_prog_compiler_wl='-Xlinker '
  68574. + if test -n "$lt_prog_compiler_pic"; then
  68575. + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  68576. + fi
  68577. + ;;
  68578. + esac
  68579. else
  68580. # PORTME Check for flag to pass linker flags through the system compiler.
  68581. case $host_os in
  68582. aix*)
  68583. lt_prog_compiler_wl='-Wl,'
  68584. - if test "$host_cpu" = ia64; then
  68585. + if test ia64 = "$host_cpu"; then
  68586. # AIX 5 now supports IA64 processor
  68587. lt_prog_compiler_static='-Bstatic'
  68588. else
  68589. @@ -7584,10 +8566,29 @@
  68590. fi
  68591. ;;
  68592.  
  68593. + darwin* | rhapsody*)
  68594. + # PIC is the default on this platform
  68595. + # Common symbols not allowed in MH_DYLIB files
  68596. + lt_prog_compiler_pic='-fno-common'
  68597. + case $cc_basename in
  68598. + nagfor*)
  68599. + # NAG Fortran compiler
  68600. + lt_prog_compiler_wl='-Wl,-Wl,,'
  68601. + lt_prog_compiler_pic='-PIC'
  68602. + lt_prog_compiler_static='-Bstatic'
  68603. + ;;
  68604. + esac
  68605. + ;;
  68606. +
  68607. mingw* | cygwin* | pw32* | os2* | cegcc*)
  68608. # This hack is so that the source file can tell whether it is being
  68609. # built for inclusion in a dll (and should export symbols for example).
  68610. lt_prog_compiler_pic='-DDLL_EXPORT'
  68611. + case $host_os in
  68612. + os2*)
  68613. + lt_prog_compiler_static='$wl-static'
  68614. + ;;
  68615. + esac
  68616. ;;
  68617.  
  68618. hpux9* | hpux10* | hpux11*)
  68619. @@ -7603,7 +8604,7 @@
  68620. ;;
  68621. esac
  68622. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  68623. - lt_prog_compiler_static='${wl}-a ${wl}archive'
  68624. + lt_prog_compiler_static='$wl-a ${wl}archive'
  68625. ;;
  68626.  
  68627. irix5* | irix6* | nonstopux*)
  68628. @@ -7612,9 +8613,9 @@
  68629. lt_prog_compiler_static='-non_shared'
  68630. ;;
  68631.  
  68632. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  68633. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  68634. case $cc_basename in
  68635. - # old Intel for x86_64 which still supported -KPIC.
  68636. + # old Intel for x86_64, which still supported -KPIC.
  68637. ecc*)
  68638. lt_prog_compiler_wl='-Wl,'
  68639. lt_prog_compiler_pic='-KPIC'
  68640. @@ -7633,7 +8634,19 @@
  68641. lt_prog_compiler_pic='--shared'
  68642. lt_prog_compiler_static='--static'
  68643. ;;
  68644. - pgcc* | pgf77* | pgf90* | pgf95*)
  68645. + nagfor*)
  68646. + # NAG Fortran compiler
  68647. + lt_prog_compiler_wl='-Wl,-Wl,,'
  68648. + lt_prog_compiler_pic='-PIC'
  68649. + lt_prog_compiler_static='-Bstatic'
  68650. + ;;
  68651. + tcc*)
  68652. + # Fabrice Bellard et al's Tiny C Compiler
  68653. + lt_prog_compiler_wl='-Wl,'
  68654. + lt_prog_compiler_pic='-fPIC'
  68655. + lt_prog_compiler_static='-static'
  68656. + ;;
  68657. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  68658. # Portland Group compilers (*not* the Pentium gcc compiler,
  68659. # which looks to be a dead project)
  68660. lt_prog_compiler_wl='-Wl,'
  68661. @@ -7645,25 +8658,40 @@
  68662. # All Alpha code is PIC.
  68663. lt_prog_compiler_static='-non_shared'
  68664. ;;
  68665. - xl*)
  68666. - # IBM XL C 8.0/Fortran 10.1 on PPC
  68667. + xl* | bgxl* | bgf* | mpixl*)
  68668. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  68669. lt_prog_compiler_wl='-Wl,'
  68670. lt_prog_compiler_pic='-qpic'
  68671. lt_prog_compiler_static='-qstaticlink'
  68672. ;;
  68673. *)
  68674. case `$CC -V 2>&1 | sed 5q` in
  68675. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  68676. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  68677. + lt_prog_compiler_pic='-KPIC'
  68678. + lt_prog_compiler_static='-Bstatic'
  68679. + lt_prog_compiler_wl=''
  68680. + ;;
  68681. + *Sun\ F* | *Sun*Fortran*)
  68682. + lt_prog_compiler_pic='-KPIC'
  68683. + lt_prog_compiler_static='-Bstatic'
  68684. + lt_prog_compiler_wl='-Qoption ld '
  68685. + ;;
  68686. *Sun\ C*)
  68687. # Sun C 5.9
  68688. lt_prog_compiler_pic='-KPIC'
  68689. lt_prog_compiler_static='-Bstatic'
  68690. lt_prog_compiler_wl='-Wl,'
  68691. ;;
  68692. - *Sun\ F*)
  68693. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  68694. - lt_prog_compiler_pic='-KPIC'
  68695. + *Intel*\ [CF]*Compiler*)
  68696. + lt_prog_compiler_wl='-Wl,'
  68697. + lt_prog_compiler_pic='-fPIC'
  68698. + lt_prog_compiler_static='-static'
  68699. + ;;
  68700. + *Portland\ Group*)
  68701. + lt_prog_compiler_wl='-Wl,'
  68702. + lt_prog_compiler_pic='-fpic'
  68703. lt_prog_compiler_static='-Bstatic'
  68704. - lt_prog_compiler_wl=''
  68705. ;;
  68706. esac
  68707. ;;
  68708. @@ -7695,7 +8723,7 @@
  68709. lt_prog_compiler_pic='-KPIC'
  68710. lt_prog_compiler_static='-Bstatic'
  68711. case $cc_basename in
  68712. - f77* | f90* | f95*)
  68713. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  68714. lt_prog_compiler_wl='-Qoption ld ';;
  68715. *)
  68716. lt_prog_compiler_wl='-Wl,';;
  68717. @@ -7715,7 +8743,7 @@
  68718. ;;
  68719.  
  68720. sysv4*MP*)
  68721. - if test -d /usr/nec ;then
  68722. + if test -d /usr/nec; then
  68723. lt_prog_compiler_pic='-Kconform_pic'
  68724. lt_prog_compiler_static='-Bstatic'
  68725. fi
  68726. @@ -7744,7 +8772,7 @@
  68727. fi
  68728.  
  68729. case $host_os in
  68730. - # For platforms which do not support PIC, -DPIC is meaningless:
  68731. + # For platforms that do not support PIC, -DPIC is meaningless:
  68732. *djgpp*)
  68733. lt_prog_compiler_pic=
  68734. ;;
  68735. @@ -7752,13 +8780,17 @@
  68736. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  68737. ;;
  68738. esac
  68739. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  68740. -$as_echo "$lt_prog_compiler_pic" >&6; }
  68741. -
  68742. -
  68743. -
  68744. -
  68745.  
  68746. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  68747. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  68748. +if ${lt_cv_prog_compiler_pic+:} false; then :
  68749. + $as_echo_n "(cached) " >&6
  68750. +else
  68751. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  68752. +fi
  68753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  68754. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  68755. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  68756.  
  68757. #
  68758. # Check to make sure the PIC flag actually works.
  68759. @@ -7772,7 +8804,7 @@
  68760. lt_cv_prog_compiler_pic_works=no
  68761. ac_outfile=conftest.$ac_objext
  68762. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  68763. - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  68764. + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
  68765. # Insert the option either (1) after the last *FLAGS variable, or
  68766. # (2) before a word containing "conftest.", or (3) at the end.
  68767. # Note that $ac_compile itself does not contain backslashes and begins
  68768. @@ -7782,15 +8814,15 @@
  68769. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68770. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68771. -e 's:$: $lt_compiler_flag:'`
  68772. - (eval echo "\"\$as_me:7785: $lt_compile\"" >&5)
  68773. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68774. (eval "$lt_compile" 2>conftest.err)
  68775. ac_status=$?
  68776. cat conftest.err >&5
  68777. - echo "$as_me:7789: \$? = $ac_status" >&5
  68778. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68779. if (exit $ac_status) && test -s "$ac_outfile"; then
  68780. # The compiler can only warn and ignore the option if not recognized
  68781. # So say no if there are warnings other than the usual output.
  68782. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  68783. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  68784. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  68785. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  68786. lt_cv_prog_compiler_pic_works=yes
  68787. @@ -7802,7 +8834,7 @@
  68788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  68789. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  68790.  
  68791. -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  68792. +if test yes = "$lt_cv_prog_compiler_pic_works"; then
  68793. case $lt_prog_compiler_pic in
  68794. "" | " "*) ;;
  68795. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  68796. @@ -7819,6 +8851,11 @@
  68797.  
  68798.  
  68799.  
  68800. +
  68801. +
  68802. +
  68803. +
  68804. +
  68805. #
  68806. # Check to make sure the static flag actually works.
  68807. #
  68808. @@ -7829,7 +8866,7 @@
  68809. $as_echo_n "(cached) " >&6
  68810. else
  68811. lt_cv_prog_compiler_static_works=no
  68812. - save_LDFLAGS="$LDFLAGS"
  68813. + save_LDFLAGS=$LDFLAGS
  68814. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  68815. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  68816. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  68817. @@ -7838,7 +8875,7 @@
  68818. if test -s conftest.err; then
  68819. # Append any errors to the config.log.
  68820. cat conftest.err 1>&5
  68821. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  68822. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  68823. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  68824. if diff conftest.exp conftest.er2 >/dev/null; then
  68825. lt_cv_prog_compiler_static_works=yes
  68826. @@ -7848,13 +8885,13 @@
  68827. fi
  68828. fi
  68829. $RM -r conftest*
  68830. - LDFLAGS="$save_LDFLAGS"
  68831. + LDFLAGS=$save_LDFLAGS
  68832.  
  68833. fi
  68834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  68835. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  68836.  
  68837. -if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  68838. +if test yes = "$lt_cv_prog_compiler_static_works"; then
  68839. :
  68840. else
  68841. lt_prog_compiler_static=
  68842. @@ -7887,16 +8924,16 @@
  68843. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68844. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68845. -e 's:$: $lt_compiler_flag:'`
  68846. - (eval echo "\"\$as_me:7890: $lt_compile\"" >&5)
  68847. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68848. (eval "$lt_compile" 2>out/conftest.err)
  68849. ac_status=$?
  68850. cat out/conftest.err >&5
  68851. - echo "$as_me:7894: \$? = $ac_status" >&5
  68852. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68853. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  68854. then
  68855. # The compiler can only warn and ignore the option if not recognized
  68856. # So say no if there are warnings
  68857. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  68858. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  68859. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  68860. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  68861. lt_cv_prog_compiler_c_o=yes
  68862. @@ -7942,16 +8979,16 @@
  68863. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  68864. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  68865. -e 's:$: $lt_compiler_flag:'`
  68866. - (eval echo "\"\$as_me:7945: $lt_compile\"" >&5)
  68867. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  68868. (eval "$lt_compile" 2>out/conftest.err)
  68869. ac_status=$?
  68870. cat out/conftest.err >&5
  68871. - echo "$as_me:7949: \$? = $ac_status" >&5
  68872. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  68873. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  68874. then
  68875. # The compiler can only warn and ignore the option if not recognized
  68876. # So say no if there are warnings
  68877. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  68878. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  68879. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  68880. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  68881. lt_cv_prog_compiler_c_o=yes
  68882. @@ -7974,8 +9011,8 @@
  68883.  
  68884.  
  68885.  
  68886. -hard_links="nottested"
  68887. -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  68888. +hard_links=nottested
  68889. +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  68890. # do not overwrite the value of need_locks provided by the user
  68891. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  68892. $as_echo_n "checking if we can lock with hard links... " >&6; }
  68893. @@ -7987,9 +9024,9 @@
  68894. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  68895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  68896. $as_echo "$hard_links" >&6; }
  68897. - if test "$hard_links" = no; then
  68898. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  68899. -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  68900. + if test no = "$hard_links"; then
  68901. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  68902. +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  68903. need_locks=warn
  68904. fi
  68905. else
  68906. @@ -8017,7 +9054,6 @@
  68907. hardcode_direct=no
  68908. hardcode_direct_absolute=no
  68909. hardcode_libdir_flag_spec=
  68910. - hardcode_libdir_flag_spec_ld=
  68911. hardcode_libdir_separator=
  68912. hardcode_minus_L=no
  68913. hardcode_shlibpath_var=unsupported
  68914. @@ -8033,9 +9069,9 @@
  68915. # included in the symbol list
  68916. include_expsyms=
  68917. # exclude_expsyms can be an extended regexp of symbols to exclude
  68918. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  68919. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  68920. - # as well as any symbol that contains `d'.
  68921. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  68922. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  68923. + # as well as any symbol that contains 'd'.
  68924. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  68925. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  68926. # platforms (ab)use it in PIC code, but their linkers get confused if
  68927. @@ -8050,7 +9086,7 @@
  68928. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  68929. # When not using gcc, we currently assume that we are using
  68930. # Microsoft Visual C++.
  68931. - if test "$GCC" != yes; then
  68932. + if test yes != "$GCC"; then
  68933. with_gnu_ld=no
  68934. fi
  68935. ;;
  68936. @@ -8058,33 +9094,56 @@
  68937. # we just hope/assume this is gcc and not c89 (= MSVC++)
  68938. with_gnu_ld=yes
  68939. ;;
  68940. - openbsd*)
  68941. + openbsd* | bitrig*)
  68942. with_gnu_ld=no
  68943. ;;
  68944. - linux* | k*bsd*-gnu)
  68945. - link_all_deplibs=no
  68946. - ;;
  68947. esac
  68948.  
  68949. ld_shlibs=yes
  68950. - if test "$with_gnu_ld" = yes; then
  68951. +
  68952. + # On some targets, GNU ld is compatible enough with the native linker
  68953. + # that we're better off using the native interface for both.
  68954. + lt_use_gnu_ld_interface=no
  68955. + if test yes = "$with_gnu_ld"; then
  68956. + case $host_os in
  68957. + aix*)
  68958. + # The AIX port of GNU ld has always aspired to compatibility
  68959. + # with the native linker. However, as the warning in the GNU ld
  68960. + # block says, versions before 2.19.5* couldn't really create working
  68961. + # shared libraries, regardless of the interface used.
  68962. + case `$LD -v 2>&1` in
  68963. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  68964. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  68965. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  68966. + *)
  68967. + lt_use_gnu_ld_interface=yes
  68968. + ;;
  68969. + esac
  68970. + ;;
  68971. + *)
  68972. + lt_use_gnu_ld_interface=yes
  68973. + ;;
  68974. + esac
  68975. + fi
  68976. +
  68977. + if test yes = "$lt_use_gnu_ld_interface"; then
  68978. # If archive_cmds runs LD, not CC, wlarc should be empty
  68979. - wlarc='${wl}'
  68980. + wlarc='$wl'
  68981.  
  68982. # Set some defaults for GNU ld with shared library support. These
  68983. # are reset later if shared libraries are not supported. Putting them
  68984. # here allows them to be overridden if necessary.
  68985. runpath_var=LD_RUN_PATH
  68986. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  68987. - export_dynamic_flag_spec='${wl}--export-dynamic'
  68988. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  68989. + export_dynamic_flag_spec='$wl--export-dynamic'
  68990. # ancient GNU ld didn't support --whole-archive et. al.
  68991. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  68992. - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  68993. + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  68994. else
  68995. whole_archive_flag_spec=
  68996. fi
  68997. supports_anon_versioning=no
  68998. - case `$LD -v 2>&1` in
  68999. + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  69000. *GNU\ gold*) supports_anon_versioning=yes ;;
  69001. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  69002. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  69003. @@ -8097,15 +9156,16 @@
  69004. case $host_os in
  69005. aix[3-9]*)
  69006. # On AIX/PPC, the GNU linker is very broken
  69007. - if test "$host_cpu" != ia64; then
  69008. + if test ia64 != "$host_cpu"; then
  69009. ld_shlibs=no
  69010. cat <<_LT_EOF 1>&2
  69011.  
  69012. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  69013. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  69014. *** to be unable to reliably create shared libraries on AIX.
  69015. *** Therefore, libtool is disabling shared libraries support. If you
  69016. -*** really care for shared libraries, you may want to modify your PATH
  69017. -*** so that a non-GNU linker is found, and then restart.
  69018. +*** really care for shared libraries, you may want to install binutils
  69019. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  69020. +*** You will then need to restart the configuration process.
  69021.  
  69022. _LT_EOF
  69023. fi
  69024. @@ -8115,7 +9175,7 @@
  69025. case $host_cpu in
  69026. powerpc)
  69027. # see comment about AmigaOS4 .so support
  69028. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69029. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69030. archive_expsym_cmds=''
  69031. ;;
  69032. m68k)
  69033. @@ -8131,7 +9191,7 @@
  69034. allow_undefined_flag=unsupported
  69035. # Joseph Beckenbach <[email protected]> says some releases of gcc
  69036. # support --undefined. This deserves some investigation. FIXME
  69037. - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69038. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69039. else
  69040. ld_shlibs=no
  69041. fi
  69042. @@ -8141,61 +9201,97 @@
  69043. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  69044. # as there is no search path for DLLs.
  69045. hardcode_libdir_flag_spec='-L$libdir'
  69046. + export_dynamic_flag_spec='$wl--export-all-symbols'
  69047. allow_undefined_flag=unsupported
  69048. always_export_symbols=no
  69049. enable_shared_with_static_runtimes=yes
  69050. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  69051. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  69052. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  69053.  
  69054. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  69055. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  69056. - # If the export-symbols file already is a .def file (1st line
  69057. - # is EXPORTS), use it as is; otherwise, prepend...
  69058. - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  69059. - cp $export_symbols $output_objdir/$soname.def;
  69060. - else
  69061. - echo EXPORTS > $output_objdir/$soname.def;
  69062. - cat $export_symbols >> $output_objdir/$soname.def;
  69063. - fi~
  69064. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  69065. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  69066. + # If the export-symbols file already is a .def file, use it as
  69067. + # is; otherwise, prepend EXPORTS...
  69068. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  69069. + cp $export_symbols $output_objdir/$soname.def;
  69070. + else
  69071. + echo EXPORTS > $output_objdir/$soname.def;
  69072. + cat $export_symbols >> $output_objdir/$soname.def;
  69073. + fi~
  69074. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  69075. else
  69076. ld_shlibs=no
  69077. fi
  69078. ;;
  69079.  
  69080. + haiku*)
  69081. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69082. + link_all_deplibs=yes
  69083. + ;;
  69084. +
  69085. + os2*)
  69086. + hardcode_libdir_flag_spec='-L$libdir'
  69087. + hardcode_minus_L=yes
  69088. + allow_undefined_flag=unsupported
  69089. + shrext_cmds=.dll
  69090. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  69091. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  69092. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  69093. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  69094. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  69095. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  69096. + emximp -o $lib $output_objdir/$libname.def'
  69097. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  69098. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  69099. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  69100. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  69101. + prefix_cmds="$SED"~
  69102. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  69103. + prefix_cmds="$prefix_cmds -e 1d";
  69104. + fi~
  69105. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  69106. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  69107. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  69108. + emximp -o $lib $output_objdir/$libname.def'
  69109. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  69110. + enable_shared_with_static_runtimes=yes
  69111. + ;;
  69112. +
  69113. interix[3-9]*)
  69114. hardcode_direct=no
  69115. hardcode_shlibpath_var=no
  69116. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  69117. - export_dynamic_flag_spec='${wl}-E'
  69118. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  69119. + export_dynamic_flag_spec='$wl-E'
  69120. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  69121. # Instead, shared libraries are loaded at an image base (0x10000000 by
  69122. # default) and relocated if they conflict, which is a slow very memory
  69123. # consuming and fragmenting process. To avoid this, we pick a random,
  69124. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  69125. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  69126. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  69127. - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  69128. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  69129. + archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  69130. ;;
  69131.  
  69132. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  69133. tmp_diet=no
  69134. - if test "$host_os" = linux-dietlibc; then
  69135. + if test linux-dietlibc = "$host_os"; then
  69136. case $cc_basename in
  69137. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  69138. esac
  69139. fi
  69140. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  69141. - && test "$tmp_diet" = no
  69142. + && test no = "$tmp_diet"
  69143. then
  69144. - tmp_addflag=
  69145. + tmp_addflag=' $pic_flag'
  69146. tmp_sharedflag='-shared'
  69147. case $cc_basename,$host_cpu in
  69148. pgcc*) # Portland Group C compiler
  69149. - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  69150. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  69151. tmp_addflag=' $pic_flag'
  69152. ;;
  69153. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  69154. - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  69155. + pgf77* | pgf90* | pgf95* | pgfortran*)
  69156. + # Portland Group f77 and f90 compilers
  69157. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  69158. tmp_addflag=' $pic_flag -Mnomain' ;;
  69159. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  69160. tmp_addflag=' -i_dynamic' ;;
  69161. @@ -8206,39 +9302,47 @@
  69162. lf95*) # Lahey Fortran 8.1
  69163. whole_archive_flag_spec=
  69164. tmp_sharedflag='--shared' ;;
  69165. - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  69166. + nagfor*) # NAGFOR 5.3
  69167. + tmp_sharedflag='-Wl,-shared' ;;
  69168. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  69169. tmp_sharedflag='-qmkshrobj'
  69170. tmp_addflag= ;;
  69171. + nvcc*) # Cuda Compiler Driver 2.2
  69172. + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  69173. + compiler_needs_object=yes
  69174. + ;;
  69175. esac
  69176. case `$CC -V 2>&1 | sed 5q` in
  69177. *Sun\ C*) # Sun C 5.9
  69178. - whole_archive_flag_spec='${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'
  69179. + whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  69180. compiler_needs_object=yes
  69181. tmp_sharedflag='-G' ;;
  69182. *Sun\ F*) # Sun Fortran 8.3
  69183. tmp_sharedflag='-G' ;;
  69184. esac
  69185. - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69186. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69187.  
  69188. - if test "x$supports_anon_versioning" = xyes; then
  69189. + if test yes = "$supports_anon_versioning"; then
  69190. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  69191. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69192. - echo "local: *; };" >> $output_objdir/$libname.ver~
  69193. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  69194. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69195. + echo "local: *; };" >> $output_objdir/$libname.ver~
  69196. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  69197. fi
  69198.  
  69199. case $cc_basename in
  69200. - xlf*)
  69201. + tcc*)
  69202. + export_dynamic_flag_spec='-rdynamic'
  69203. + ;;
  69204. + xlf* | bgf* | bgxlf* | mpixlf*)
  69205. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  69206. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  69207. - hardcode_libdir_flag_spec=
  69208. - hardcode_libdir_flag_spec_ld='-rpath $libdir'
  69209. - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  69210. - if test "x$supports_anon_versioning" = xyes; then
  69211. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69212. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  69213. + if test yes = "$supports_anon_versioning"; then
  69214. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  69215. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69216. - echo "local: *; };" >> $output_objdir/$libname.ver~
  69217. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  69218. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  69219. + echo "local: *; };" >> $output_objdir/$libname.ver~
  69220. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  69221. fi
  69222. ;;
  69223. esac
  69224. @@ -8247,13 +9351,13 @@
  69225. fi
  69226. ;;
  69227.  
  69228. - netbsd* | netbsdelf*-gnu)
  69229. + netbsd*)
  69230. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  69231. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  69232. wlarc=
  69233. else
  69234. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69235. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69236. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69237. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69238. fi
  69239. ;;
  69240.  
  69241. @@ -8271,8 +9375,8 @@
  69242.  
  69243. _LT_EOF
  69244. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  69245. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69246. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69247. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69248. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69249. else
  69250. ld_shlibs=no
  69251. fi
  69252. @@ -8284,7 +9388,7 @@
  69253. ld_shlibs=no
  69254. cat <<_LT_EOF 1>&2
  69255.  
  69256. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  69257. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  69258. *** reliably create shared libraries on SCO systems. Therefore, libtool
  69259. *** is disabling shared libraries support. We urge you to upgrade GNU
  69260. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  69261. @@ -8299,9 +9403,9 @@
  69262. # DT_RUNPATH tag from executables and libraries. But doing so
  69263. # requires that you compile everything twice, which is a pain.
  69264. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  69265. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  69266. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69267. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69268. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69269. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69270. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69271. else
  69272. ld_shlibs=no
  69273. fi
  69274. @@ -8318,15 +9422,15 @@
  69275.  
  69276. *)
  69277. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  69278. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69279. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  69280. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69281. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  69282. else
  69283. ld_shlibs=no
  69284. fi
  69285. ;;
  69286. esac
  69287.  
  69288. - if test "$ld_shlibs" = no; then
  69289. + if test no = "$ld_shlibs"; then
  69290. runpath_var=
  69291. hardcode_libdir_flag_spec=
  69292. export_dynamic_flag_spec=
  69293. @@ -8342,7 +9446,7 @@
  69294. # Note: this linker hardcodes the directories in LIBPATH if there
  69295. # are no directories specified by -L.
  69296. hardcode_minus_L=yes
  69297. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  69298. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  69299. # Neither direct hardcoding nor static linking is supported with a
  69300. # broken collect2.
  69301. hardcode_direct=unsupported
  69302. @@ -8350,32 +9454,57 @@
  69303. ;;
  69304.  
  69305. aix[4-9]*)
  69306. - if test "$host_cpu" = ia64; then
  69307. + if test ia64 = "$host_cpu"; then
  69308. # On IA64, the linker does run time linking by default, so we don't
  69309. # have to do anything special.
  69310. aix_use_runtimelinking=no
  69311. exp_sym_flag='-Bexport'
  69312. - no_entry_flag=""
  69313. + no_entry_flag=
  69314. else
  69315. # If we're using GNU nm, then we don't want the "-C" option.
  69316. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  69317. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  69318. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  69319. + # weak defined symbols like other global defined symbols, whereas
  69320. + # GNU nm marks them as "W".
  69321. + # While the 'weak' keyword is ignored in the Export File, we need
  69322. + # it in the Import File for the 'aix-soname' feature, so we have
  69323. + # to replace the "-B" option with "-P" for AIX nm.
  69324. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  69325. - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  69326. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  69327. else
  69328. - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  69329. + export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  69330. fi
  69331. aix_use_runtimelinking=no
  69332.  
  69333. # Test if we are trying to use run time linking or normal
  69334. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  69335. - # need to do runtime linking.
  69336. + # have runtime linking enabled, and use it for executables.
  69337. + # For shared libraries, we enable/disable runtime linking
  69338. + # depending on the kind of the shared library created -
  69339. + # when "with_aix_soname,aix_use_runtimelinking" is:
  69340. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  69341. + # "aix,yes" lib.so shared, rtl:yes, for executables
  69342. + # lib.a static archive
  69343. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  69344. + # lib.a(lib.so.V) shared, rtl:no, for executables
  69345. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  69346. + # lib.a(lib.so.V) shared, rtl:no
  69347. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  69348. + # lib.a static archive
  69349. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  69350. for ld_flag in $LDFLAGS; do
  69351. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  69352. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  69353. aix_use_runtimelinking=yes
  69354. break
  69355. fi
  69356. done
  69357. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  69358. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  69359. + # so we don't have lib.a shared libs to link our executables.
  69360. + # We have to force runtime linking in this case.
  69361. + aix_use_runtimelinking=yes
  69362. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  69363. + fi
  69364. ;;
  69365. esac
  69366.  
  69367. @@ -8394,13 +9523,21 @@
  69368. hardcode_direct_absolute=yes
  69369. hardcode_libdir_separator=':'
  69370. link_all_deplibs=yes
  69371. - file_list_spec='${wl}-f,'
  69372. + file_list_spec='$wl-f,'
  69373. + case $with_aix_soname,$aix_use_runtimelinking in
  69374. + aix,*) ;; # traditional, no import file
  69375. + svr4,* | *,yes) # use import file
  69376. + # The Import File defines what to hardcode.
  69377. + hardcode_direct=no
  69378. + hardcode_direct_absolute=no
  69379. + ;;
  69380. + esac
  69381.  
  69382. - if test "$GCC" = yes; then
  69383. + if test yes = "$GCC"; then
  69384. case $host_os in aix4.[012]|aix4.[012].*)
  69385. # We only want to do this on AIX 4.2 and lower, the check
  69386. # below for broken collect2 doesn't work under 4.3+
  69387. - collect2name=`${CC} -print-prog-name=collect2`
  69388. + collect2name=`$CC -print-prog-name=collect2`
  69389. if test -f "$collect2name" &&
  69390. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  69391. then
  69392. @@ -8419,36 +9556,48 @@
  69393. ;;
  69394. esac
  69395. shared_flag='-shared'
  69396. - if test "$aix_use_runtimelinking" = yes; then
  69397. - shared_flag="$shared_flag "'${wl}-G'
  69398. + if test yes = "$aix_use_runtimelinking"; then
  69399. + shared_flag="$shared_flag "'$wl-G'
  69400. fi
  69401. - link_all_deplibs=no
  69402. + # Need to ensure runtime linking is disabled for the traditional
  69403. + # shared library, or the linker may eventually find shared libraries
  69404. + # /with/ Import File - we do not want to mix them.
  69405. + shared_flag_aix='-shared'
  69406. + shared_flag_svr4='-shared $wl-G'
  69407. else
  69408. # not using gcc
  69409. - if test "$host_cpu" = ia64; then
  69410. + if test ia64 = "$host_cpu"; then
  69411. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  69412. # chokes on -Wl,-G. The following line is correct:
  69413. shared_flag='-G'
  69414. else
  69415. - if test "$aix_use_runtimelinking" = yes; then
  69416. - shared_flag='${wl}-G'
  69417. + if test yes = "$aix_use_runtimelinking"; then
  69418. + shared_flag='$wl-G'
  69419. else
  69420. - shared_flag='${wl}-bM:SRE'
  69421. + shared_flag='$wl-bM:SRE'
  69422. fi
  69423. + shared_flag_aix='$wl-bM:SRE'
  69424. + shared_flag_svr4='$wl-G'
  69425. fi
  69426. fi
  69427.  
  69428. - export_dynamic_flag_spec='${wl}-bexpall'
  69429. + export_dynamic_flag_spec='$wl-bexpall'
  69430. # It seems that -bexpall does not export symbols beginning with
  69431. # underscore (_), so it is better to generate a list of symbols to export.
  69432. always_export_symbols=yes
  69433. - if test "$aix_use_runtimelinking" = yes; then
  69434. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  69435. # Warning - without using the other runtime loading flags (-brtl),
  69436. # -berok will link without error, but may produce a broken library.
  69437. allow_undefined_flag='-berok'
  69438. # Determine the default libpath from the value encoded in an
  69439. # empty executable.
  69440. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69441. + if test set = "${lt_cv_aix_libpath+set}"; then
  69442. + aix_libpath=$lt_cv_aix_libpath
  69443. +else
  69444. + if ${lt_cv_aix_libpath_+:} false; then :
  69445. + $as_echo_n "(cached) " >&6
  69446. +else
  69447. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69448. /* end confdefs.h. */
  69449.  
  69450. int
  69451. @@ -8461,34 +9610,47 @@
  69452. _ACEOF
  69453. if ac_fn_c_try_link "$LINENO"; then :
  69454.  
  69455. -lt_aix_libpath_sed='
  69456. - /Import File Strings/,/^$/ {
  69457. - /^0/ {
  69458. - s/^0 *\(.*\)$/\1/
  69459. - p
  69460. - }
  69461. - }'
  69462. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69463. -# Check for a 64-bit object if we didn't find anything.
  69464. -if test -z "$aix_libpath"; then
  69465. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69466. -fi
  69467. + lt_aix_libpath_sed='
  69468. + /Import File Strings/,/^$/ {
  69469. + /^0/ {
  69470. + s/^0 *\([^ ]*\) *$/\1/
  69471. + p
  69472. + }
  69473. + }'
  69474. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69475. + # Check for a 64-bit object if we didn't find anything.
  69476. + if test -z "$lt_cv_aix_libpath_"; then
  69477. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69478. + fi
  69479. fi
  69480. rm -f core conftest.err conftest.$ac_objext \
  69481. conftest$ac_exeext conftest.$ac_ext
  69482. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  69483. + if test -z "$lt_cv_aix_libpath_"; then
  69484. + lt_cv_aix_libpath_=/usr/lib:/lib
  69485. + fi
  69486. +
  69487. +fi
  69488.  
  69489. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  69490. - archive_expsym_cmds='$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"
  69491. + aix_libpath=$lt_cv_aix_libpath_
  69492. +fi
  69493. +
  69494. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  69495. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  69496. else
  69497. - if test "$host_cpu" = ia64; then
  69498. - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  69499. + if test ia64 = "$host_cpu"; then
  69500. + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  69501. allow_undefined_flag="-z nodefs"
  69502. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  69503. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
  69504. else
  69505. # Determine the default libpath from the value encoded in an
  69506. # empty executable.
  69507. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69508. + if test set = "${lt_cv_aix_libpath+set}"; then
  69509. + aix_libpath=$lt_cv_aix_libpath
  69510. +else
  69511. + if ${lt_cv_aix_libpath_+:} false; then :
  69512. + $as_echo_n "(cached) " >&6
  69513. +else
  69514. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69515. /* end confdefs.h. */
  69516.  
  69517. int
  69518. @@ -8501,33 +9663,57 @@
  69519. _ACEOF
  69520. if ac_fn_c_try_link "$LINENO"; then :
  69521.  
  69522. -lt_aix_libpath_sed='
  69523. - /Import File Strings/,/^$/ {
  69524. - /^0/ {
  69525. - s/^0 *\(.*\)$/\1/
  69526. - p
  69527. - }
  69528. - }'
  69529. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69530. -# Check for a 64-bit object if we didn't find anything.
  69531. -if test -z "$aix_libpath"; then
  69532. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69533. -fi
  69534. + lt_aix_libpath_sed='
  69535. + /Import File Strings/,/^$/ {
  69536. + /^0/ {
  69537. + s/^0 *\([^ ]*\) *$/\1/
  69538. + p
  69539. + }
  69540. + }'
  69541. + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69542. + # Check for a 64-bit object if we didn't find anything.
  69543. + if test -z "$lt_cv_aix_libpath_"; then
  69544. + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  69545. + fi
  69546. fi
  69547. rm -f core conftest.err conftest.$ac_objext \
  69548. conftest$ac_exeext conftest.$ac_ext
  69549. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  69550. + if test -z "$lt_cv_aix_libpath_"; then
  69551. + lt_cv_aix_libpath_=/usr/lib:/lib
  69552. + fi
  69553. +
  69554. +fi
  69555. +
  69556. + aix_libpath=$lt_cv_aix_libpath_
  69557. +fi
  69558.  
  69559. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  69560. + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  69561. # Warning - without using the other run time loading flags,
  69562. # -berok will link without error, but may produce a broken library.
  69563. - no_undefined_flag=' ${wl}-bernotok'
  69564. - allow_undefined_flag=' ${wl}-berok'
  69565. - # Exported symbols can be pulled into shared objects from archives
  69566. - whole_archive_flag_spec='$convenience'
  69567. + no_undefined_flag=' $wl-bernotok'
  69568. + allow_undefined_flag=' $wl-berok'
  69569. + if test yes = "$with_gnu_ld"; then
  69570. + # We only use this code for GNU lds that support --whole-archive.
  69571. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  69572. + else
  69573. + # Exported symbols can be pulled into shared objects from archives
  69574. + whole_archive_flag_spec='$convenience'
  69575. + fi
  69576. archive_cmds_need_lc=yes
  69577. - # This is similar to how AIX traditionally builds its shared libraries.
  69578. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  69579. + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  69580. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  69581. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  69582. + if test svr4 != "$with_aix_soname"; then
  69583. + # This is similar to how AIX traditionally builds its shared libraries.
  69584. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  69585. + fi
  69586. + if test aix != "$with_aix_soname"; then
  69587. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  69588. + else
  69589. + # used by -dlpreopen to get the symbols
  69590. + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  69591. + fi
  69592. + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  69593. fi
  69594. fi
  69595. ;;
  69596. @@ -8536,7 +9722,7 @@
  69597. case $host_cpu in
  69598. powerpc)
  69599. # see comment about AmigaOS4 .so support
  69600. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  69601. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  69602. archive_expsym_cmds=''
  69603. ;;
  69604. m68k)
  69605. @@ -8556,20 +9742,65 @@
  69606. # Microsoft Visual C++.
  69607. # hardcode_libdir_flag_spec is actually meaningless, as there is
  69608. # no search path for DLLs.
  69609. - hardcode_libdir_flag_spec=' '
  69610. - allow_undefined_flag=unsupported
  69611. - # Tell ltmain to make .lib files, not .a files.
  69612. - libext=lib
  69613. - # Tell ltmain to make .dll files, not .so files.
  69614. - shrext_cmds=".dll"
  69615. - # FIXME: Setting linknames here is a bad hack.
  69616. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  69617. - # The linker will automatically build a .lib file if we build a DLL.
  69618. - old_archive_from_new_cmds='true'
  69619. - # FIXME: Should let the user specify the lib program.
  69620. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  69621. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  69622. - enable_shared_with_static_runtimes=yes
  69623. + case $cc_basename in
  69624. + cl*)
  69625. + # Native MSVC
  69626. + hardcode_libdir_flag_spec=' '
  69627. + allow_undefined_flag=unsupported
  69628. + always_export_symbols=yes
  69629. + file_list_spec='@'
  69630. + # Tell ltmain to make .lib files, not .a files.
  69631. + libext=lib
  69632. + # Tell ltmain to make .dll files, not .so files.
  69633. + shrext_cmds=.dll
  69634. + # FIXME: Setting linknames here is a bad hack.
  69635. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  69636. + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  69637. + cp "$export_symbols" "$output_objdir/$soname.def";
  69638. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  69639. + else
  69640. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  69641. + fi~
  69642. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  69643. + linknames='
  69644. + # The linker will not automatically build a static lib if we build a DLL.
  69645. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  69646. + enable_shared_with_static_runtimes=yes
  69647. + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  69648. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  69649. + # Don't use ranlib
  69650. + old_postinstall_cmds='chmod 644 $oldlib'
  69651. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  69652. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  69653. + case $lt_outputfile in
  69654. + *.exe|*.EXE) ;;
  69655. + *)
  69656. + lt_outputfile=$lt_outputfile.exe
  69657. + lt_tool_outputfile=$lt_tool_outputfile.exe
  69658. + ;;
  69659. + esac~
  69660. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  69661. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  69662. + $RM "$lt_outputfile.manifest";
  69663. + fi'
  69664. + ;;
  69665. + *)
  69666. + # Assume MSVC wrapper
  69667. + hardcode_libdir_flag_spec=' '
  69668. + allow_undefined_flag=unsupported
  69669. + # Tell ltmain to make .lib files, not .a files.
  69670. + libext=lib
  69671. + # Tell ltmain to make .dll files, not .so files.
  69672. + shrext_cmds=.dll
  69673. + # FIXME: Setting linknames here is a bad hack.
  69674. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  69675. + # The linker will automatically build a .lib file if we build a DLL.
  69676. + old_archive_from_new_cmds='true'
  69677. + # FIXME: Should let the user specify the lib program.
  69678. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  69679. + enable_shared_with_static_runtimes=yes
  69680. + ;;
  69681. + esac
  69682. ;;
  69683.  
  69684. darwin* | rhapsody*)
  69685. @@ -8579,19 +9810,24 @@
  69686. hardcode_direct=no
  69687. hardcode_automatic=yes
  69688. hardcode_shlibpath_var=unsupported
  69689. - whole_archive_flag_spec=''
  69690. + if test yes = "$lt_cv_ld_force_load"; then
  69691. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  69692. +
  69693. + else
  69694. + whole_archive_flag_spec=''
  69695. + fi
  69696. link_all_deplibs=yes
  69697. - allow_undefined_flag="$_lt_dar_allow_undefined"
  69698. + allow_undefined_flag=$_lt_dar_allow_undefined
  69699. case $cc_basename in
  69700. - ifort*) _lt_dar_can_shared=yes ;;
  69701. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  69702. *) _lt_dar_can_shared=$GCC ;;
  69703. esac
  69704. - if test "$_lt_dar_can_shared" = "yes"; then
  69705. - output_verbose_link_cmd=echo
  69706. - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  69707. - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  69708. - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  69709. - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  69710. + if test yes = "$_lt_dar_can_shared"; then
  69711. + output_verbose_link_cmd=func_echo_all
  69712. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  69713. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  69714. + archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
  69715. + module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
  69716.  
  69717. else
  69718. ld_shlibs=no
  69719. @@ -8605,10 +9841,6 @@
  69720. hardcode_shlibpath_var=no
  69721. ;;
  69722.  
  69723. - freebsd1*)
  69724. - ld_shlibs=no
  69725. - ;;
  69726. -
  69727. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  69728. # support. Future versions do this automatically, but an explicit c++rt0.o
  69729. # does not break anything, and helps significantly (at the cost of a little
  69730. @@ -8621,7 +9853,7 @@
  69731. ;;
  69732.  
  69733. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  69734. - freebsd2*)
  69735. + freebsd2.*)
  69736. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  69737. hardcode_direct=yes
  69738. hardcode_minus_L=yes
  69739. @@ -8630,41 +9862,40 @@
  69740.  
  69741. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  69742. freebsd* | dragonfly*)
  69743. - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  69744. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69745. hardcode_libdir_flag_spec='-R$libdir'
  69746. hardcode_direct=yes
  69747. hardcode_shlibpath_var=no
  69748. ;;
  69749.  
  69750. hpux9*)
  69751. - if test "$GCC" = yes; then
  69752. - archive_cmds='$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'
  69753. + if test yes = "$GCC"; then
  69754. + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  69755. else
  69756. - archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  69757. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  69758. fi
  69759. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  69760. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  69761. hardcode_libdir_separator=:
  69762. hardcode_direct=yes
  69763.  
  69764. # hardcode_minus_L: Not really in the search PATH,
  69765. # but as the default location of the library.
  69766. hardcode_minus_L=yes
  69767. - export_dynamic_flag_spec='${wl}-E'
  69768. + export_dynamic_flag_spec='$wl-E'
  69769. ;;
  69770.  
  69771. hpux10*)
  69772. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  69773. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69774. + if test yes,no = "$GCC,$with_gnu_ld"; then
  69775. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69776. else
  69777. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  69778. fi
  69779. - if test "$with_gnu_ld" = no; then
  69780. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  69781. - hardcode_libdir_flag_spec_ld='+b $libdir'
  69782. + if test no = "$with_gnu_ld"; then
  69783. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  69784. hardcode_libdir_separator=:
  69785. hardcode_direct=yes
  69786. hardcode_direct_absolute=yes
  69787. - export_dynamic_flag_spec='${wl}-E'
  69788. + export_dynamic_flag_spec='$wl-E'
  69789. # hardcode_minus_L: Not really in the search PATH,
  69790. # but as the default location of the library.
  69791. hardcode_minus_L=yes
  69792. @@ -8672,33 +9903,72 @@
  69793. ;;
  69794.  
  69795. hpux11*)
  69796. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  69797. + if test yes,no = "$GCC,$with_gnu_ld"; then
  69798. case $host_cpu in
  69799. hppa*64*)
  69800. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  69801. + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  69802. ;;
  69803. ia64*)
  69804. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69805. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69806. ;;
  69807. *)
  69808. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69809. + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69810. ;;
  69811. esac
  69812. else
  69813. case $host_cpu in
  69814. hppa*64*)
  69815. - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  69816. + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  69817. ;;
  69818. ia64*)
  69819. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69820. + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  69821. ;;
  69822. *)
  69823. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69824. +
  69825. + # Older versions of the 11.00 compiler do not understand -b yet
  69826. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  69827. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  69828. +$as_echo_n "checking if $CC understands -b... " >&6; }
  69829. +if ${lt_cv_prog_compiler__b+:} false; then :
  69830. + $as_echo_n "(cached) " >&6
  69831. +else
  69832. + lt_cv_prog_compiler__b=no
  69833. + save_LDFLAGS=$LDFLAGS
  69834. + LDFLAGS="$LDFLAGS -b"
  69835. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  69836. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  69837. + # The linker can only warn and ignore the option if not recognized
  69838. + # So say no if there are warnings
  69839. + if test -s conftest.err; then
  69840. + # Append any errors to the config.log.
  69841. + cat conftest.err 1>&5
  69842. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  69843. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  69844. + if diff conftest.exp conftest.er2 >/dev/null; then
  69845. + lt_cv_prog_compiler__b=yes
  69846. + fi
  69847. + else
  69848. + lt_cv_prog_compiler__b=yes
  69849. + fi
  69850. + fi
  69851. + $RM -r conftest*
  69852. + LDFLAGS=$save_LDFLAGS
  69853. +
  69854. +fi
  69855. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  69856. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  69857. +
  69858. +if test yes = "$lt_cv_prog_compiler__b"; then
  69859. + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  69860. +else
  69861. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  69862. +fi
  69863. +
  69864. ;;
  69865. esac
  69866. fi
  69867. - if test "$with_gnu_ld" = no; then
  69868. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  69869. + if test no = "$with_gnu_ld"; then
  69870. + hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  69871. hardcode_libdir_separator=:
  69872.  
  69873. case $host_cpu in
  69874. @@ -8709,7 +9979,7 @@
  69875. *)
  69876. hardcode_direct=yes
  69877. hardcode_direct_absolute=yes
  69878. - export_dynamic_flag_spec='${wl}-E'
  69879. + export_dynamic_flag_spec='$wl-E'
  69880.  
  69881. # hardcode_minus_L: Not really in the search PATH,
  69882. # but as the default location of the library.
  69883. @@ -8720,36 +9990,59 @@
  69884. ;;
  69885.  
  69886. irix5* | irix6* | nonstopux*)
  69887. - if test "$GCC" = yes; then
  69888. - archive_cmds='$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'
  69889. + if test yes = "$GCC"; then
  69890. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  69891. # Try to use the -exported_symbol ld option, if it does not
  69892. # work, assume that -exports_file does not work either and
  69893. # implicitly export all symbols.
  69894. - save_LDFLAGS="$LDFLAGS"
  69895. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  69896. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69897. + # This should be the same for all languages, so no per-tag cache variable.
  69898. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  69899. +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  69900. +if ${lt_cv_irix_exported_symbol+:} false; then :
  69901. + $as_echo_n "(cached) " >&6
  69902. +else
  69903. + save_LDFLAGS=$LDFLAGS
  69904. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  69905. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69906. /* end confdefs.h. */
  69907. -int foo(void) {}
  69908. +int foo (void) { return 0; }
  69909. _ACEOF
  69910. if ac_fn_c_try_link "$LINENO"; then :
  69911. - archive_expsym_cmds='$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'
  69912. -
  69913. + lt_cv_irix_exported_symbol=yes
  69914. +else
  69915. + lt_cv_irix_exported_symbol=no
  69916. fi
  69917. rm -f core conftest.err conftest.$ac_objext \
  69918. conftest$ac_exeext conftest.$ac_ext
  69919. - LDFLAGS="$save_LDFLAGS"
  69920. + LDFLAGS=$save_LDFLAGS
  69921. +fi
  69922. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  69923. +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  69924. + if test yes = "$lt_cv_irix_exported_symbol"; then
  69925. + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
  69926. + fi
  69927. else
  69928. - archive_cmds='$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'
  69929. - archive_expsym_cmds='$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'
  69930. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  69931. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
  69932. fi
  69933. archive_cmds_need_lc='no'
  69934. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  69935. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69936. hardcode_libdir_separator=:
  69937. inherit_rpath=yes
  69938. link_all_deplibs=yes
  69939. ;;
  69940.  
  69941. - netbsd* | netbsdelf*-gnu)
  69942. + linux*)
  69943. + case $cc_basename in
  69944. + tcc*)
  69945. + # Fabrice Bellard et al's Tiny C Compiler
  69946. + ld_shlibs=yes
  69947. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69948. + ;;
  69949. + esac
  69950. + ;;
  69951. +
  69952. + netbsd*)
  69953. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  69954. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  69955. else
  69956. @@ -8763,7 +10056,7 @@
  69957. newsos6)
  69958. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  69959. hardcode_direct=yes
  69960. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  69961. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  69962. hardcode_libdir_separator=:
  69963. hardcode_shlibpath_var=no
  69964. ;;
  69965. @@ -8771,27 +10064,19 @@
  69966. *nto* | *qnx*)
  69967. ;;
  69968.  
  69969. - openbsd*)
  69970. + openbsd* | bitrig*)
  69971. if test -f /usr/libexec/ld.so; then
  69972. hardcode_direct=yes
  69973. hardcode_shlibpath_var=no
  69974. hardcode_direct_absolute=yes
  69975. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  69976. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  69977. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69978. - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  69979. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  69980. - export_dynamic_flag_spec='${wl}-E'
  69981. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  69982. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  69983. + export_dynamic_flag_spec='$wl-E'
  69984. else
  69985. - case $host_os in
  69986. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  69987. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  69988. - hardcode_libdir_flag_spec='-R$libdir'
  69989. - ;;
  69990. - *)
  69991. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69992. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  69993. - ;;
  69994. - esac
  69995. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  69996. + hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  69997. fi
  69998. else
  69999. ld_shlibs=no
  70000. @@ -8802,33 +10087,53 @@
  70001. hardcode_libdir_flag_spec='-L$libdir'
  70002. hardcode_minus_L=yes
  70003. allow_undefined_flag=unsupported
  70004. - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  70005. - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  70006. + shrext_cmds=.dll
  70007. + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  70008. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  70009. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  70010. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  70011. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  70012. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  70013. + emximp -o $lib $output_objdir/$libname.def'
  70014. + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  70015. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  70016. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  70017. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  70018. + prefix_cmds="$SED"~
  70019. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  70020. + prefix_cmds="$prefix_cmds -e 1d";
  70021. + fi~
  70022. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  70023. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  70024. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  70025. + emximp -o $lib $output_objdir/$libname.def'
  70026. + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  70027. + enable_shared_with_static_runtimes=yes
  70028. ;;
  70029.  
  70030. osf3*)
  70031. - if test "$GCC" = yes; then
  70032. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  70033. - archive_cmds='$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'
  70034. + if test yes = "$GCC"; then
  70035. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  70036. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  70037. else
  70038. allow_undefined_flag=' -expect_unresolved \*'
  70039. - archive_cmds='$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'
  70040. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  70041. fi
  70042. archive_cmds_need_lc='no'
  70043. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  70044. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  70045. hardcode_libdir_separator=:
  70046. ;;
  70047.  
  70048. osf4* | osf5*) # as osf3* with the addition of -msym flag
  70049. - if test "$GCC" = yes; then
  70050. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  70051. - archive_cmds='$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'
  70052. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  70053. + if test yes = "$GCC"; then
  70054. + allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  70055. + archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  70056. + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  70057. else
  70058. allow_undefined_flag=' -expect_unresolved \*'
  70059. - archive_cmds='$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'
  70060. + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  70061. archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  70062. - $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'
  70063. + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
  70064.  
  70065. # Both c and cxx compiler support -rpath directly
  70066. hardcode_libdir_flag_spec='-rpath $libdir'
  70067. @@ -8839,24 +10144,24 @@
  70068.  
  70069. solaris*)
  70070. no_undefined_flag=' -z defs'
  70071. - if test "$GCC" = yes; then
  70072. - wlarc='${wl}'
  70073. - archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  70074. + if test yes = "$GCC"; then
  70075. + wlarc='$wl'
  70076. + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  70077. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  70078. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70079. + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70080. else
  70081. case `$CC -V 2>&1` in
  70082. *"Compilers 5.0"*)
  70083. wlarc=''
  70084. - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  70085. + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  70086. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  70087. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  70088. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  70089. ;;
  70090. *)
  70091. - wlarc='${wl}'
  70092. - archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70093. + wlarc='$wl'
  70094. + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70095. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  70096. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70097. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  70098. ;;
  70099. esac
  70100. fi
  70101. @@ -8866,11 +10171,11 @@
  70102. solaris2.[0-5] | solaris2.[0-5].*) ;;
  70103. *)
  70104. # The compiler driver will combine and reorder linker options,
  70105. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  70106. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  70107. # but is careful enough not to reorder.
  70108. # Supported since Solaris 2.6 (maybe 2.5.1?)
  70109. - if test "$GCC" = yes; then
  70110. - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  70111. + if test yes = "$GCC"; then
  70112. + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  70113. else
  70114. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  70115. fi
  70116. @@ -8880,10 +10185,10 @@
  70117. ;;
  70118.  
  70119. sunos4*)
  70120. - if test "x$host_vendor" = xsequent; then
  70121. + if test sequent = "$host_vendor"; then
  70122. # Use $CC to link under sequent, because it throws in some extra .o
  70123. # files that make .init and .fini sections work.
  70124. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70125. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  70126. else
  70127. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  70128. fi
  70129. @@ -8932,43 +10237,43 @@
  70130. ;;
  70131.  
  70132. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  70133. - no_undefined_flag='${wl}-z,text'
  70134. + no_undefined_flag='$wl-z,text'
  70135. archive_cmds_need_lc=no
  70136. hardcode_shlibpath_var=no
  70137. runpath_var='LD_RUN_PATH'
  70138.  
  70139. - if test "$GCC" = yes; then
  70140. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70141. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70142. + if test yes = "$GCC"; then
  70143. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70144. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70145. else
  70146. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70147. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70148. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70149. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70150. fi
  70151. ;;
  70152.  
  70153. sysv5* | sco3.2v5* | sco5v6*)
  70154. - # Note: We can NOT use -z defs as we might desire, because we do not
  70155. + # Note: We CANNOT use -z defs as we might desire, because we do not
  70156. # link with -lc, and that would cause any symbols used from libc to
  70157. # always be unresolved, which means just about no library would
  70158. # ever link correctly. If we're not using GNU ld we use -z text
  70159. # though, which does catch some bad symbols but isn't as heavy-handed
  70160. # as -z defs.
  70161. - no_undefined_flag='${wl}-z,text'
  70162. - allow_undefined_flag='${wl}-z,nodefs'
  70163. + no_undefined_flag='$wl-z,text'
  70164. + allow_undefined_flag='$wl-z,nodefs'
  70165. archive_cmds_need_lc=no
  70166. hardcode_shlibpath_var=no
  70167. - hardcode_libdir_flag_spec='${wl}-R,$libdir'
  70168. + hardcode_libdir_flag_spec='$wl-R,$libdir'
  70169. hardcode_libdir_separator=':'
  70170. link_all_deplibs=yes
  70171. - export_dynamic_flag_spec='${wl}-Bexport'
  70172. + export_dynamic_flag_spec='$wl-Bexport'
  70173. runpath_var='LD_RUN_PATH'
  70174.  
  70175. - if test "$GCC" = yes; then
  70176. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70177. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70178. + if test yes = "$GCC"; then
  70179. + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70180. + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70181. else
  70182. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70183. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70184. + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70185. + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  70186. fi
  70187. ;;
  70188.  
  70189. @@ -8983,10 +10288,10 @@
  70190. ;;
  70191. esac
  70192.  
  70193. - if test x$host_vendor = xsni; then
  70194. + if test sni = "$host_vendor"; then
  70195. case $host in
  70196. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  70197. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  70198. + export_dynamic_flag_spec='$wl-Blargedynsym'
  70199. ;;
  70200. esac
  70201. fi
  70202. @@ -8994,7 +10299,7 @@
  70203.  
  70204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  70205. $as_echo "$ld_shlibs" >&6; }
  70206. -test "$ld_shlibs" = no && can_build_shared=no
  70207. +test no = "$ld_shlibs" && can_build_shared=no
  70208.  
  70209. with_gnu_ld=$with_gnu_ld
  70210.  
  70211. @@ -9020,7 +10325,7 @@
  70212. # Assume -lc should be added
  70213. archive_cmds_need_lc=yes
  70214.  
  70215. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  70216. + if test yes,yes = "$GCC,$enable_shared"; then
  70217. case $archive_cmds in
  70218. *'~'*)
  70219. # FIXME: we may have to deal with multi-command sequences.
  70220. @@ -9031,44 +10336,50 @@
  70221. # to ld, don't add -lc before -lgcc.
  70222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  70223. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  70224. - $RM conftest*
  70225. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  70226. +if ${lt_cv_archive_cmds_need_lc+:} false; then :
  70227. + $as_echo_n "(cached) " >&6
  70228. +else
  70229. + $RM conftest*
  70230. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  70231.  
  70232. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  70233. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  70234. (eval $ac_compile) 2>&5
  70235. ac_status=$?
  70236. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70237. test $ac_status = 0; } 2>conftest.err; then
  70238. - soname=conftest
  70239. - lib=conftest
  70240. - libobjs=conftest.$ac_objext
  70241. - deplibs=
  70242. - wl=$lt_prog_compiler_wl
  70243. - pic_flag=$lt_prog_compiler_pic
  70244. - compiler_flags=-v
  70245. - linker_flags=-v
  70246. - verstring=
  70247. - output_objdir=.
  70248. - libname=conftest
  70249. - lt_save_allow_undefined_flag=$allow_undefined_flag
  70250. - allow_undefined_flag=
  70251. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  70252. + soname=conftest
  70253. + lib=conftest
  70254. + libobjs=conftest.$ac_objext
  70255. + deplibs=
  70256. + wl=$lt_prog_compiler_wl
  70257. + pic_flag=$lt_prog_compiler_pic
  70258. + compiler_flags=-v
  70259. + linker_flags=-v
  70260. + verstring=
  70261. + output_objdir=.
  70262. + libname=conftest
  70263. + lt_save_allow_undefined_flag=$allow_undefined_flag
  70264. + allow_undefined_flag=
  70265. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  70266. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  70267. ac_status=$?
  70268. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70269. test $ac_status = 0; }
  70270. - then
  70271. - archive_cmds_need_lc=no
  70272. - else
  70273. - archive_cmds_need_lc=yes
  70274. - fi
  70275. - allow_undefined_flag=$lt_save_allow_undefined_flag
  70276. - else
  70277. - cat conftest.err 1>&5
  70278. - fi
  70279. - $RM conftest*
  70280. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  70281. -$as_echo "$archive_cmds_need_lc" >&6; }
  70282. + then
  70283. + lt_cv_archive_cmds_need_lc=no
  70284. + else
  70285. + lt_cv_archive_cmds_need_lc=yes
  70286. + fi
  70287. + allow_undefined_flag=$lt_save_allow_undefined_flag
  70288. + else
  70289. + cat conftest.err 1>&5
  70290. + fi
  70291. + $RM conftest*
  70292. +
  70293. +fi
  70294. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  70295. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  70296. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  70297. ;;
  70298. esac
  70299. fi
  70300. @@ -9226,52 +10537,61 @@
  70301.  
  70302.  
  70303.  
  70304. -
  70305. -
  70306. -
  70307. -
  70308. -
  70309. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  70310. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  70311.  
  70312. -if test "$GCC" = yes; then
  70313. +if test yes = "$GCC"; then
  70314. case $host_os in
  70315. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  70316. - *) lt_awk_arg="/^libraries:/" ;;
  70317. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  70318. + *) lt_awk_arg='/^libraries:/' ;;
  70319. esac
  70320. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  70321. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  70322. + case $host_os in
  70323. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  70324. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  70325. + esac
  70326. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  70327. + case $lt_search_path_spec in
  70328. + *\;*)
  70329. # if the path contains ";" then we assume it to be the separator
  70330. # otherwise default to the standard path separator (i.e. ":") - it is
  70331. # assumed that no part of a normal pathname contains ";" but that should
  70332. # okay in the real world where ";" in dirpaths is itself problematic.
  70333. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  70334. - else
  70335. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70336. - fi
  70337. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  70338. + ;;
  70339. + *)
  70340. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  70341. + ;;
  70342. + esac
  70343. # Ok, now we have the path, separated by spaces, we can step through it
  70344. - # and add multilib dir if necessary.
  70345. + # and add multilib dir if necessary...
  70346. lt_tmp_lt_search_path_spec=
  70347. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  70348. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  70349. + # ...but if some path component already ends with the multilib dir we assume
  70350. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  70351. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  70352. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  70353. + lt_multi_os_dir=
  70354. + ;;
  70355. + esac
  70356. for lt_sys_path in $lt_search_path_spec; do
  70357. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  70358. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  70359. - else
  70360. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  70361. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  70362. + elif test -n "$lt_multi_os_dir"; then
  70363. test -d "$lt_sys_path" && \
  70364. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  70365. fi
  70366. done
  70367. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  70368. -BEGIN {RS=" "; FS="/|\n";} {
  70369. - lt_foo="";
  70370. - lt_count=0;
  70371. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  70372. +BEGIN {RS = " "; FS = "/|\n";} {
  70373. + lt_foo = "";
  70374. + lt_count = 0;
  70375. for (lt_i = NF; lt_i > 0; lt_i--) {
  70376. if ($lt_i != "" && $lt_i != ".") {
  70377. if ($lt_i == "..") {
  70378. lt_count++;
  70379. } else {
  70380. if (lt_count == 0) {
  70381. - lt_foo="/" $lt_i lt_foo;
  70382. + lt_foo = "/" $lt_i lt_foo;
  70383. } else {
  70384. lt_count--;
  70385. }
  70386. @@ -9281,14 +10601,20 @@
  70387. if (lt_foo != "") { lt_freq[lt_foo]++; }
  70388. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  70389. }'`
  70390. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  70391. + # AWK program above erroneously prepends '/' to C:/dos/paths
  70392. + # for these hosts.
  70393. + case $host_os in
  70394. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  70395. + $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  70396. + esac
  70397. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  70398. else
  70399. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  70400. fi
  70401. library_names_spec=
  70402. libname_spec='lib$name'
  70403. soname_spec=
  70404. -shrext_cmds=".so"
  70405. +shrext_cmds=.so
  70406. postinstall_cmds=
  70407. postuninstall_cmds=
  70408. finish_cmds=
  70409. @@ -9305,56 +10631,108 @@
  70410. # flags to be left without arguments
  70411. need_version=unknown
  70412.  
  70413. +
  70414. +
  70415. case $host_os in
  70416. aix3*)
  70417. - version_type=linux
  70418. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  70419. + version_type=linux # correct to gnu/linux during the next big refactor
  70420. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  70421. shlibpath_var=LIBPATH
  70422.  
  70423. # AIX 3 has no versioning support, so we append a major version to the name.
  70424. - soname_spec='${libname}${release}${shared_ext}$major'
  70425. + soname_spec='$libname$release$shared_ext$major'
  70426. ;;
  70427.  
  70428. aix[4-9]*)
  70429. - version_type=linux
  70430. + version_type=linux # correct to gnu/linux during the next big refactor
  70431. need_lib_prefix=no
  70432. need_version=no
  70433. hardcode_into_libs=yes
  70434. - if test "$host_cpu" = ia64; then
  70435. + if test ia64 = "$host_cpu"; then
  70436. # AIX 5 supports IA64
  70437. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  70438. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  70439. shlibpath_var=LD_LIBRARY_PATH
  70440. else
  70441. # With GCC up to 2.95.x, collect2 would create an import file
  70442. # for dependence libraries. The import file would start with
  70443. - # the line `#! .'. This would cause the generated library to
  70444. - # depend on `.', always an invalid library. This was fixed in
  70445. + # the line '#! .'. This would cause the generated library to
  70446. + # depend on '.', always an invalid library. This was fixed in
  70447. # development snapshots of GCC prior to 3.0.
  70448. case $host_os in
  70449. aix4 | aix4.[01] | aix4.[01].*)
  70450. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  70451. echo ' yes '
  70452. - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  70453. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  70454. :
  70455. else
  70456. can_build_shared=no
  70457. fi
  70458. ;;
  70459. esac
  70460. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  70461. + # Using Import Files as archive members, it is possible to support
  70462. + # filename-based versioning of shared library archives on AIX. While
  70463. + # this would work for both with and without runtime linking, it will
  70464. + # prevent static linking of such archives. So we do filename-based
  70465. + # shared library versioning with .so extension only, which is used
  70466. + # when both runtime linking and shared linking is enabled.
  70467. + # Unfortunately, runtime linking may impact performance, so we do
  70468. + # not want this to be the default eventually. Also, we use the
  70469. + # versioned .so libs for executables only if there is the -brtl
  70470. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  70471. + # To allow for filename-based versioning support, we need to create
  70472. + # libNAME.so.V as an archive file, containing:
  70473. + # *) an Import File, referring to the versioned filename of the
  70474. + # archive as well as the shared archive member, telling the
  70475. + # bitwidth (32 or 64) of that shared object, and providing the
  70476. + # list of exported symbols of that shared object, eventually
  70477. + # decorated with the 'weak' keyword
  70478. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  70479. + # it being seen by the linker.
  70480. + # At run time we better use the real file rather than another symlink,
  70481. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  70482. +
  70483. + case $with_aix_soname,$aix_use_runtimelinking in
  70484. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  70485. # soname into executable. Probably we can add versioning support to
  70486. # collect2, so additional links can be useful in future.
  70487. - if test "$aix_use_runtimelinking" = yes; then
  70488. + aix,yes) # traditional libtool
  70489. + dynamic_linker='AIX unversionable lib.so'
  70490. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  70491. # instead of lib<name>.a to let people know that these are not
  70492. # typical AIX shared libraries.
  70493. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70494. - else
  70495. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70496. + ;;
  70497. + aix,no) # traditional AIX only
  70498. + dynamic_linker='AIX lib.a(lib.so.V)'
  70499. # We preserve .a as extension for shared libraries through AIX4.2
  70500. # and later when we are not doing run time linking.
  70501. - library_names_spec='${libname}${release}.a $libname.a'
  70502. - soname_spec='${libname}${release}${shared_ext}$major'
  70503. - fi
  70504. + library_names_spec='$libname$release.a $libname.a'
  70505. + soname_spec='$libname$release$shared_ext$major'
  70506. + ;;
  70507. + svr4,*) # full svr4 only
  70508. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  70509. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  70510. + # We do not specify a path in Import Files, so LIBPATH fires.
  70511. + shlibpath_overrides_runpath=yes
  70512. + ;;
  70513. + *,yes) # both, prefer svr4
  70514. + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  70515. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  70516. + # unpreferred sharedlib libNAME.a needs extra handling
  70517. + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  70518. + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  70519. + # We do not specify a path in Import Files, so LIBPATH fires.
  70520. + shlibpath_overrides_runpath=yes
  70521. + ;;
  70522. + *,no) # both, prefer aix
  70523. + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  70524. + library_names_spec='$libname$release.a $libname.a'
  70525. + soname_spec='$libname$release$shared_ext$major'
  70526. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  70527. + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  70528. + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  70529. + ;;
  70530. + esac
  70531. shlibpath_var=LIBPATH
  70532. fi
  70533. ;;
  70534. @@ -9364,27 +10742,27 @@
  70535. powerpc)
  70536. # Since July 2007 AmigaOS4 officially supports .so libraries.
  70537. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  70538. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70539. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70540. ;;
  70541. m68k)
  70542. library_names_spec='$libname.ixlibrary $libname.a'
  70543. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  70544. - 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'
  70545. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  70546. ;;
  70547. esac
  70548. ;;
  70549.  
  70550. beos*)
  70551. - library_names_spec='${libname}${shared_ext}'
  70552. + library_names_spec='$libname$shared_ext'
  70553. dynamic_linker="$host_os ld.so"
  70554. shlibpath_var=LIBRARY_PATH
  70555. ;;
  70556.  
  70557. bsdi[45]*)
  70558. - version_type=linux
  70559. + version_type=linux # correct to gnu/linux during the next big refactor
  70560. need_version=no
  70561. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70562. - soname_spec='${libname}${release}${shared_ext}$major'
  70563. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70564. + soname_spec='$libname$release$shared_ext$major'
  70565. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  70566. shlibpath_var=LD_LIBRARY_PATH
  70567. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  70568. @@ -9396,16 +10774,17 @@
  70569.  
  70570. cygwin* | mingw* | pw32* | cegcc*)
  70571. version_type=windows
  70572. - shrext_cmds=".dll"
  70573. + shrext_cmds=.dll
  70574. need_version=no
  70575. need_lib_prefix=no
  70576.  
  70577. - case $GCC,$host_os in
  70578. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  70579. + case $GCC,$cc_basename in
  70580. + yes,*)
  70581. + # gcc
  70582. library_names_spec='$libname.dll.a'
  70583. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  70584. - postinstall_cmds='base_file=`basename \${file}`~
  70585. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  70586. + postinstall_cmds='base_file=`basename \$file`~
  70587. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  70588. dldir=$destdir/`dirname \$dlpath`~
  70589. test -d \$dldir || mkdir -p \$dldir~
  70590. $install_prog $dir/$dlname \$dldir/$dlname~
  70591. @@ -9421,37 +10800,84 @@
  70592. case $host_os in
  70593. cygwin*)
  70594. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  70595. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  70596. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  70597. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70598. +
  70599. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  70600. ;;
  70601. mingw* | cegcc*)
  70602. # MinGW DLLs use traditional 'lib' prefix
  70603. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  70604. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  70605. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70606. + ;;
  70607. + pw32*)
  70608. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  70609. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70610. + ;;
  70611. + esac
  70612. + dynamic_linker='Win32 ld.exe'
  70613. + ;;
  70614. +
  70615. + *,cl*)
  70616. + # Native MSVC
  70617. + libname_spec='$name'
  70618. + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  70619. + library_names_spec='$libname.dll.lib'
  70620. +
  70621. + case $build_os in
  70622. + mingw*)
  70623. + sys_lib_search_path_spec=
  70624. + lt_save_ifs=$IFS
  70625. + IFS=';'
  70626. + for lt_path in $LIB
  70627. + do
  70628. + IFS=$lt_save_ifs
  70629. + # Let DOS variable expansion print the short 8.3 style file name.
  70630. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  70631. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  70632. + done
  70633. + IFS=$lt_save_ifs
  70634. + # Convert to MSYS style.
  70635. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  70636. + ;;
  70637. + cygwin*)
  70638. + # Convert to unix form, then to dos form, then back to unix form
  70639. + # but this time dos style (no spaces!) so that the unix form looks
  70640. + # like /cygdrive/c/PROGRA~1:/cygdr...
  70641. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  70642. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  70643. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70644. + ;;
  70645. + *)
  70646. + sys_lib_search_path_spec=$LIB
  70647. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  70648. - # It is most probably a Windows format PATH printed by
  70649. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  70650. - # path with ; separators, and with drive letters. We can handle the
  70651. - # drive letters (cygwin fileutils understands them), so leave them,
  70652. - # especially as we might pass files found there to a mingw objdump,
  70653. - # which wouldn't understand a cygwinified path. Ahh.
  70654. + # It is most probably a Windows format PATH.
  70655. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  70656. else
  70657. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70658. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  70659. fi
  70660. - ;;
  70661. - pw32*)
  70662. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  70663. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  70664. + # FIXME: find the short name or the path components, as spaces are
  70665. + # common. (e.g. "Program Files" -> "PROGRA~1")
  70666. ;;
  70667. esac
  70668. +
  70669. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  70670. + postinstall_cmds='base_file=`basename \$file`~
  70671. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  70672. + dldir=$destdir/`dirname \$dlpath`~
  70673. + test -d \$dldir || mkdir -p \$dldir~
  70674. + $install_prog $dir/$dlname \$dldir/$dlname'
  70675. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  70676. + dlpath=$dir/\$dldll~
  70677. + $RM \$dlpath'
  70678. + shlibpath_overrides_runpath=yes
  70679. + dynamic_linker='Win32 link.exe'
  70680. ;;
  70681.  
  70682. *)
  70683. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  70684. + # Assume MSVC wrapper
  70685. + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  70686. + dynamic_linker='Win32 ld.exe'
  70687. ;;
  70688. esac
  70689. - dynamic_linker='Win32 ld.exe'
  70690. # FIXME: first we should search . and the directory the executable is in
  70691. shlibpath_var=PATH
  70692. ;;
  70693. @@ -9461,8 +10887,8 @@
  70694. version_type=darwin
  70695. need_lib_prefix=no
  70696. need_version=no
  70697. - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  70698. - soname_spec='${libname}${release}${major}$shared_ext'
  70699. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  70700. + soname_spec='$libname$release$major$shared_ext'
  70701. shlibpath_overrides_runpath=yes
  70702. shlibpath_var=DYLD_LIBRARY_PATH
  70703. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  70704. @@ -9472,18 +10898,14 @@
  70705. ;;
  70706.  
  70707. dgux*)
  70708. - version_type=linux
  70709. + version_type=linux # correct to gnu/linux during the next big refactor
  70710. need_lib_prefix=no
  70711. need_version=no
  70712. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  70713. - soname_spec='${libname}${release}${shared_ext}$major'
  70714. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70715. + soname_spec='$libname$release$shared_ext$major'
  70716. shlibpath_var=LD_LIBRARY_PATH
  70717. ;;
  70718.  
  70719. -freebsd1*)
  70720. - dynamic_linker=no
  70721. - ;;
  70722. -
  70723. freebsd* | dragonfly*)
  70724. # DragonFly does not have aout. When/if they implement a new
  70725. # versioning mechanism, adjust this.
  70726. @@ -9491,25 +10913,26 @@
  70727. objformat=`/usr/bin/objformat`
  70728. else
  70729. case $host_os in
  70730. - freebsd[123]*) objformat=aout ;;
  70731. + freebsd[23].*) objformat=aout ;;
  70732. *) objformat=elf ;;
  70733. esac
  70734. fi
  70735. version_type=freebsd-$objformat
  70736. case $version_type in
  70737. freebsd-elf*)
  70738. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  70739. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70740. + soname_spec='$libname$release$shared_ext$major'
  70741. need_version=no
  70742. need_lib_prefix=no
  70743. ;;
  70744. freebsd-*)
  70745. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  70746. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  70747. need_version=yes
  70748. ;;
  70749. esac
  70750. shlibpath_var=LD_LIBRARY_PATH
  70751. case $host_os in
  70752. - freebsd2*)
  70753. + freebsd2.*)
  70754. shlibpath_overrides_runpath=yes
  70755. ;;
  70756. freebsd3.[01]* | freebsdelf3.[01]*)
  70757. @@ -9528,13 +10951,16 @@
  70758. esac
  70759. ;;
  70760.  
  70761. -gnu*)
  70762. - version_type=linux
  70763. +haiku*)
  70764. + version_type=linux # correct to gnu/linux during the next big refactor
  70765. need_lib_prefix=no
  70766. need_version=no
  70767. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  70768. - soname_spec='${libname}${release}${shared_ext}$major'
  70769. - shlibpath_var=LD_LIBRARY_PATH
  70770. + dynamic_linker="$host_os runtime_loader"
  70771. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70772. + soname_spec='$libname$release$shared_ext$major'
  70773. + shlibpath_var=LIBRARY_PATH
  70774. + shlibpath_overrides_runpath=no
  70775. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  70776. hardcode_into_libs=yes
  70777. ;;
  70778.  
  70779. @@ -9551,14 +10977,15 @@
  70780. dynamic_linker="$host_os dld.so"
  70781. shlibpath_var=LD_LIBRARY_PATH
  70782. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  70783. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70784. - soname_spec='${libname}${release}${shared_ext}$major'
  70785. - if test "X$HPUX_IA64_MODE" = X32; then
  70786. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70787. + soname_spec='$libname$release$shared_ext$major'
  70788. + if test 32 = "$HPUX_IA64_MODE"; then
  70789. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  70790. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  70791. else
  70792. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  70793. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  70794. fi
  70795. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  70796. ;;
  70797. hppa*64*)
  70798. shrext_cmds='.sl'
  70799. @@ -9566,8 +10993,8 @@
  70800. dynamic_linker="$host_os dld.sl"
  70801. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  70802. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  70803. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70804. - soname_spec='${libname}${release}${shared_ext}$major'
  70805. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70806. + soname_spec='$libname$release$shared_ext$major'
  70807. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  70808. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  70809. ;;
  70810. @@ -9576,20 +11003,22 @@
  70811. dynamic_linker="$host_os dld.sl"
  70812. shlibpath_var=SHLIB_PATH
  70813. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  70814. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70815. - soname_spec='${libname}${release}${shared_ext}$major'
  70816. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70817. + soname_spec='$libname$release$shared_ext$major'
  70818. ;;
  70819. esac
  70820. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  70821. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  70822. postinstall_cmds='chmod 555 $lib'
  70823. + # or fails outright, so override atomically:
  70824. + install_override_mode=555
  70825. ;;
  70826.  
  70827. interix[3-9]*)
  70828. - version_type=linux
  70829. + version_type=linux # correct to gnu/linux during the next big refactor
  70830. need_lib_prefix=no
  70831. need_version=no
  70832. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  70833. - soname_spec='${libname}${release}${shared_ext}$major'
  70834. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70835. + soname_spec='$libname$release$shared_ext$major'
  70836. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  70837. shlibpath_var=LD_LIBRARY_PATH
  70838. shlibpath_overrides_runpath=no
  70839. @@ -9600,16 +11029,16 @@
  70840. case $host_os in
  70841. nonstopux*) version_type=nonstopux ;;
  70842. *)
  70843. - if test "$lt_cv_prog_gnu_ld" = yes; then
  70844. - version_type=linux
  70845. + if test yes = "$lt_cv_prog_gnu_ld"; then
  70846. + version_type=linux # correct to gnu/linux during the next big refactor
  70847. else
  70848. version_type=irix
  70849. fi ;;
  70850. esac
  70851. need_lib_prefix=no
  70852. need_version=no
  70853. - soname_spec='${libname}${release}${shared_ext}$major'
  70854. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  70855. + soname_spec='$libname$release$shared_ext$major'
  70856. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  70857. case $host_os in
  70858. irix5* | nonstopux*)
  70859. libsuff= shlibsuff=
  70860. @@ -9628,8 +11057,8 @@
  70861. esac
  70862. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  70863. shlibpath_overrides_runpath=no
  70864. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  70865. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  70866. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  70867. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  70868. hardcode_into_libs=yes
  70869. ;;
  70870.  
  70871. @@ -9638,22 +11067,47 @@
  70872. dynamic_linker=no
  70873. ;;
  70874.  
  70875. -# This must be Linux ELF.
  70876. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  70877. - version_type=linux
  70878. +linux*android*)
  70879. + version_type=none # Android doesn't support versioned libraries.
  70880. + need_lib_prefix=no
  70881. + need_version=no
  70882. + library_names_spec='$libname$release$shared_ext'
  70883. + soname_spec='$libname$release$shared_ext'
  70884. + finish_cmds=
  70885. + shlibpath_var=LD_LIBRARY_PATH
  70886. + shlibpath_overrides_runpath=yes
  70887. +
  70888. + # This implies no fast_install, which is unacceptable.
  70889. + # Some rework will be needed to allow for fast_install
  70890. + # before this can be enabled.
  70891. + hardcode_into_libs=yes
  70892. +
  70893. + dynamic_linker='Android linker'
  70894. + # Don't embed -rpath directories since the linker doesn't support them.
  70895. + hardcode_libdir_flag_spec='-L$libdir'
  70896. + ;;
  70897. +
  70898. +# This must be glibc/ELF.
  70899. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  70900. + version_type=linux # correct to gnu/linux during the next big refactor
  70901. need_lib_prefix=no
  70902. need_version=no
  70903. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  70904. - soname_spec='${libname}${release}${shared_ext}$major'
  70905. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  70906. + soname_spec='$libname$release$shared_ext$major'
  70907. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  70908. shlibpath_var=LD_LIBRARY_PATH
  70909. shlibpath_overrides_runpath=no
  70910. +
  70911. # Some binutils ld are patched to set DT_RUNPATH
  70912. - save_LDFLAGS=$LDFLAGS
  70913. - save_libdir=$libdir
  70914. - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  70915. - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  70916. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70917. + if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  70918. + $as_echo_n "(cached) " >&6
  70919. +else
  70920. + lt_cv_shlibpath_overrides_runpath=no
  70921. + save_LDFLAGS=$LDFLAGS
  70922. + save_libdir=$libdir
  70923. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  70924. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  70925. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70926. /* end confdefs.h. */
  70927.  
  70928. int
  70929. @@ -9666,23 +11120,35 @@
  70930. _ACEOF
  70931. if ac_fn_c_try_link "$LINENO"; then :
  70932. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  70933. - shlibpath_overrides_runpath=yes
  70934. + lt_cv_shlibpath_overrides_runpath=yes
  70935. fi
  70936. fi
  70937. rm -f core conftest.err conftest.$ac_objext \
  70938. conftest$ac_exeext conftest.$ac_ext
  70939. - LDFLAGS=$save_LDFLAGS
  70940. - libdir=$save_libdir
  70941. + LDFLAGS=$save_LDFLAGS
  70942. + libdir=$save_libdir
  70943. +
  70944. +fi
  70945. +
  70946. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  70947.  
  70948. # This implies no fast_install, which is unacceptable.
  70949. # Some rework will be needed to allow for fast_install
  70950. # before this can be enabled.
  70951. hardcode_into_libs=yes
  70952.  
  70953. - # Append ld.so.conf contents to the search path
  70954. + # Add ABI-specific directories to the system library path.
  70955. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  70956. +
  70957. + # Ideally, we could use ldconfig to report *all* directores which are
  70958. + # searched for libraries, however this is still not possible. Aside from not
  70959. + # being certain /sbin/ldconfig is available, command
  70960. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  70961. + # even though it is searched at run-time. Try to do the best guess by
  70962. + # appending ld.so.conf contents (and includes) to the search path.
  70963. if test -f /etc/ld.so.conf; then
  70964. - 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' ' '`
  70965. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  70966. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  70967. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  70968. fi
  70969.  
  70970. # We used to test for /lib/ld.so.1 and disable shared libraries on
  70971. @@ -9694,29 +11160,17 @@
  70972. dynamic_linker='GNU/Linux ld.so'
  70973. ;;
  70974.  
  70975. -netbsdelf*-gnu)
  70976. - version_type=linux
  70977. - need_lib_prefix=no
  70978. - need_version=no
  70979. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  70980. - soname_spec='${libname}${release}${shared_ext}$major'
  70981. - shlibpath_var=LD_LIBRARY_PATH
  70982. - shlibpath_overrides_runpath=no
  70983. - hardcode_into_libs=yes
  70984. - dynamic_linker='NetBSD ld.elf_so'
  70985. - ;;
  70986. -
  70987. netbsd*)
  70988. version_type=sunos
  70989. need_lib_prefix=no
  70990. need_version=no
  70991. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  70992. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  70993. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  70994. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  70995. dynamic_linker='NetBSD (a.out) ld.so'
  70996. else
  70997. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  70998. - soname_spec='${libname}${release}${shared_ext}$major'
  70999. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71000. + soname_spec='$libname$release$shared_ext$major'
  71001. dynamic_linker='NetBSD ld.elf_so'
  71002. fi
  71003. shlibpath_var=LD_LIBRARY_PATH
  71004. @@ -9725,8 +11179,8 @@
  71005. ;;
  71006.  
  71007. newsos6)
  71008. - version_type=linux
  71009. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71010. + version_type=linux # correct to gnu/linux during the next big refactor
  71011. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71012. shlibpath_var=LD_LIBRARY_PATH
  71013. shlibpath_overrides_runpath=yes
  71014. ;;
  71015. @@ -9735,58 +11189,68 @@
  71016. version_type=qnx
  71017. need_lib_prefix=no
  71018. need_version=no
  71019. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71020. - soname_spec='${libname}${release}${shared_ext}$major'
  71021. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71022. + soname_spec='$libname$release$shared_ext$major'
  71023. shlibpath_var=LD_LIBRARY_PATH
  71024. shlibpath_overrides_runpath=no
  71025. hardcode_into_libs=yes
  71026. dynamic_linker='ldqnx.so'
  71027. ;;
  71028.  
  71029. -openbsd*)
  71030. +openbsd* | bitrig*)
  71031. version_type=sunos
  71032. - sys_lib_dlsearch_path_spec="/usr/lib"
  71033. + sys_lib_dlsearch_path_spec=/usr/lib
  71034. need_lib_prefix=no
  71035. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  71036. - case $host_os in
  71037. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  71038. - *) need_version=no ;;
  71039. - esac
  71040. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  71041. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  71042. - shlibpath_var=LD_LIBRARY_PATH
  71043. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  71044. - case $host_os in
  71045. - openbsd2.[89] | openbsd2.[89].*)
  71046. - shlibpath_overrides_runpath=no
  71047. - ;;
  71048. - *)
  71049. - shlibpath_overrides_runpath=yes
  71050. - ;;
  71051. - esac
  71052. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  71053. + need_version=no
  71054. else
  71055. - shlibpath_overrides_runpath=yes
  71056. + need_version=yes
  71057. fi
  71058. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  71059. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  71060. + shlibpath_var=LD_LIBRARY_PATH
  71061. + shlibpath_overrides_runpath=yes
  71062. ;;
  71063.  
  71064. os2*)
  71065. libname_spec='$name'
  71066. - shrext_cmds=".dll"
  71067. + version_type=windows
  71068. + shrext_cmds=.dll
  71069. + need_version=no
  71070. need_lib_prefix=no
  71071. - library_names_spec='$libname${shared_ext} $libname.a'
  71072. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  71073. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  71074. + v=$($ECHO $release$versuffix | tr -d .-);
  71075. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  71076. + $ECHO $n$v`$shared_ext'
  71077. + library_names_spec='${libname}_dll.$libext'
  71078. dynamic_linker='OS/2 ld.exe'
  71079. - shlibpath_var=LIBPATH
  71080. + shlibpath_var=BEGINLIBPATH
  71081. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  71082. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  71083. + postinstall_cmds='base_file=`basename \$file`~
  71084. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  71085. + dldir=$destdir/`dirname \$dlpath`~
  71086. + test -d \$dldir || mkdir -p \$dldir~
  71087. + $install_prog $dir/$dlname \$dldir/$dlname~
  71088. + chmod a+x \$dldir/$dlname~
  71089. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  71090. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  71091. + fi'
  71092. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  71093. + dlpath=$dir/\$dldll~
  71094. + $RM \$dlpath'
  71095. ;;
  71096.  
  71097. osf3* | osf4* | osf5*)
  71098. version_type=osf
  71099. need_lib_prefix=no
  71100. need_version=no
  71101. - soname_spec='${libname}${release}${shared_ext}$major'
  71102. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71103. + soname_spec='$libname$release$shared_ext$major'
  71104. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71105. shlibpath_var=LD_LIBRARY_PATH
  71106. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  71107. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  71108. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  71109. ;;
  71110.  
  71111. rdos*)
  71112. @@ -9794,11 +11258,11 @@
  71113. ;;
  71114.  
  71115. solaris*)
  71116. - version_type=linux
  71117. + version_type=linux # correct to gnu/linux during the next big refactor
  71118. need_lib_prefix=no
  71119. need_version=no
  71120. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71121. - soname_spec='${libname}${release}${shared_ext}$major'
  71122. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71123. + soname_spec='$libname$release$shared_ext$major'
  71124. shlibpath_var=LD_LIBRARY_PATH
  71125. shlibpath_overrides_runpath=yes
  71126. hardcode_into_libs=yes
  71127. @@ -9808,20 +11272,20 @@
  71128.  
  71129. sunos4*)
  71130. version_type=sunos
  71131. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  71132. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  71133. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  71134. shlibpath_var=LD_LIBRARY_PATH
  71135. shlibpath_overrides_runpath=yes
  71136. - if test "$with_gnu_ld" = yes; then
  71137. + if test yes = "$with_gnu_ld"; then
  71138. need_lib_prefix=no
  71139. fi
  71140. need_version=yes
  71141. ;;
  71142.  
  71143. sysv4 | sysv4.3*)
  71144. - version_type=linux
  71145. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71146. - soname_spec='${libname}${release}${shared_ext}$major'
  71147. + version_type=linux # correct to gnu/linux during the next big refactor
  71148. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71149. + soname_spec='$libname$release$shared_ext$major'
  71150. shlibpath_var=LD_LIBRARY_PATH
  71151. case $host_vendor in
  71152. sni)
  71153. @@ -9842,24 +11306,24 @@
  71154. ;;
  71155.  
  71156. sysv4*MP*)
  71157. - if test -d /usr/nec ;then
  71158. - version_type=linux
  71159. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  71160. - soname_spec='$libname${shared_ext}.$major'
  71161. + if test -d /usr/nec; then
  71162. + version_type=linux # correct to gnu/linux during the next big refactor
  71163. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  71164. + soname_spec='$libname$shared_ext.$major'
  71165. shlibpath_var=LD_LIBRARY_PATH
  71166. fi
  71167. ;;
  71168.  
  71169. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  71170. - version_type=freebsd-elf
  71171. + version_type=sco
  71172. need_lib_prefix=no
  71173. need_version=no
  71174. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  71175. - soname_spec='${libname}${release}${shared_ext}$major'
  71176. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  71177. + soname_spec='$libname$release$shared_ext$major'
  71178. shlibpath_var=LD_LIBRARY_PATH
  71179. shlibpath_overrides_runpath=yes
  71180. hardcode_into_libs=yes
  71181. - if test "$with_gnu_ld" = yes; then
  71182. + if test yes = "$with_gnu_ld"; then
  71183. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  71184. else
  71185. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  71186. @@ -9874,19 +11338,19 @@
  71187.  
  71188. tpf*)
  71189. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  71190. - version_type=linux
  71191. + version_type=linux # correct to gnu/linux during the next big refactor
  71192. need_lib_prefix=no
  71193. need_version=no
  71194. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71195. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71196. shlibpath_var=LD_LIBRARY_PATH
  71197. shlibpath_overrides_runpath=no
  71198. hardcode_into_libs=yes
  71199. ;;
  71200.  
  71201. uts4*)
  71202. - version_type=linux
  71203. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  71204. - soname_spec='${libname}${release}${shared_ext}$major'
  71205. + version_type=linux # correct to gnu/linux during the next big refactor
  71206. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  71207. + soname_spec='$libname$release$shared_ext$major'
  71208. shlibpath_var=LD_LIBRARY_PATH
  71209. ;;
  71210.  
  71211. @@ -9896,20 +11360,40 @@
  71212. esac
  71213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  71214. $as_echo "$dynamic_linker" >&6; }
  71215. -test "$dynamic_linker" = no && can_build_shared=no
  71216. +test no = "$dynamic_linker" && can_build_shared=no
  71217.  
  71218. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  71219. -if test "$GCC" = yes; then
  71220. +if test yes = "$GCC"; then
  71221. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  71222. fi
  71223.  
  71224. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  71225. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  71226. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  71227. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  71228. fi
  71229. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  71230. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  71231. +
  71232. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  71233. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  71234. fi
  71235.  
  71236. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  71237. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  71238. +
  71239. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  71240. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  71241. +
  71242. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  71243. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  71244. +
  71245. +
  71246. +
  71247. +
  71248. +
  71249. +
  71250. +
  71251. +
  71252. +
  71253. +
  71254. +
  71255.  
  71256.  
  71257.  
  71258. @@ -10001,15 +11485,15 @@
  71259. hardcode_action=
  71260. if test -n "$hardcode_libdir_flag_spec" ||
  71261. test -n "$runpath_var" ||
  71262. - test "X$hardcode_automatic" = "Xyes" ; then
  71263. + test yes = "$hardcode_automatic"; then
  71264.  
  71265. # We can hardcode non-existent directories.
  71266. - if test "$hardcode_direct" != no &&
  71267. + if test no != "$hardcode_direct" &&
  71268. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  71269. # have to relink, otherwise we might link with an installed library
  71270. # when we should be linking with a yet-to-be-installed one
  71271. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  71272. - test "$hardcode_minus_L" != no; then
  71273. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  71274. + test no != "$hardcode_minus_L"; then
  71275. # Linking always hardcodes the temporary library directory.
  71276. hardcode_action=relink
  71277. else
  71278. @@ -10024,12 +11508,12 @@
  71279. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  71280. $as_echo "$hardcode_action" >&6; }
  71281.  
  71282. -if test "$hardcode_action" = relink ||
  71283. - test "$inherit_rpath" = yes; then
  71284. +if test relink = "$hardcode_action" ||
  71285. + test yes = "$inherit_rpath"; then
  71286. # Fast installation is not supported
  71287. enable_fast_install=no
  71288. -elif test "$shlibpath_overrides_runpath" = yes ||
  71289. - test "$enable_shared" = no; then
  71290. +elif test yes = "$shlibpath_overrides_runpath" ||
  71291. + test no = "$enable_shared"; then
  71292. # Fast installation is not necessary
  71293. enable_fast_install=needless
  71294. fi
  71295. @@ -10039,7 +11523,7 @@
  71296.  
  71297.  
  71298.  
  71299. - if test "x$enable_dlopen" != xyes; then
  71300. + if test yes != "$enable_dlopen"; then
  71301. enable_dlopen=unknown
  71302. enable_dlopen_self=unknown
  71303. enable_dlopen_self_static=unknown
  71304. @@ -10049,23 +11533,23 @@
  71305.  
  71306. case $host_os in
  71307. beos*)
  71308. - lt_cv_dlopen="load_add_on"
  71309. + lt_cv_dlopen=load_add_on
  71310. lt_cv_dlopen_libs=
  71311. lt_cv_dlopen_self=yes
  71312. ;;
  71313.  
  71314. mingw* | pw32* | cegcc*)
  71315. - lt_cv_dlopen="LoadLibrary"
  71316. + lt_cv_dlopen=LoadLibrary
  71317. lt_cv_dlopen_libs=
  71318. ;;
  71319.  
  71320. cygwin*)
  71321. - lt_cv_dlopen="dlopen"
  71322. + lt_cv_dlopen=dlopen
  71323. lt_cv_dlopen_libs=
  71324. ;;
  71325.  
  71326. darwin*)
  71327. - # if libdl is installed we need to link against it
  71328. + # if libdl is installed we need to link against it
  71329. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  71330. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  71331. if ${ac_cv_lib_dl_dlopen+:} false; then :
  71332. @@ -10103,10 +11587,10 @@
  71333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  71334. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  71335. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  71336. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  71337. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  71338. else
  71339.  
  71340. - lt_cv_dlopen="dyld"
  71341. + lt_cv_dlopen=dyld
  71342. lt_cv_dlopen_libs=
  71343. lt_cv_dlopen_self=yes
  71344.  
  71345. @@ -10114,10 +11598,18 @@
  71346.  
  71347. ;;
  71348.  
  71349. + tpf*)
  71350. + # Don't try to run any link tests for TPF. We know it's impossible
  71351. + # because TPF is a cross-compiler, and we know how we open DSOs.
  71352. + lt_cv_dlopen=dlopen
  71353. + lt_cv_dlopen_libs=
  71354. + lt_cv_dlopen_self=no
  71355. + ;;
  71356. +
  71357. *)
  71358. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  71359. if test "x$ac_cv_func_shl_load" = xyes; then :
  71360. - lt_cv_dlopen="shl_load"
  71361. + lt_cv_dlopen=shl_load
  71362. else
  71363. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  71364. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  71365. @@ -10156,11 +11648,11 @@
  71366. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  71367. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  71368. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  71369. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  71370. + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  71371. else
  71372. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  71373. if test "x$ac_cv_func_dlopen" = xyes; then :
  71374. - lt_cv_dlopen="dlopen"
  71375. + lt_cv_dlopen=dlopen
  71376. else
  71377. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  71378. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  71379. @@ -10199,7 +11691,7 @@
  71380. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  71381. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  71382. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  71383. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  71384. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  71385. else
  71386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  71387. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  71388. @@ -10238,7 +11730,7 @@
  71389. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  71390. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  71391. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  71392. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  71393. + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  71394. else
  71395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  71396. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  71397. @@ -10277,7 +11769,7 @@
  71398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  71399. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  71400. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  71401. - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  71402. + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  71403. fi
  71404.  
  71405.  
  71406. @@ -10298,21 +11790,21 @@
  71407. ;;
  71408. esac
  71409.  
  71410. - if test "x$lt_cv_dlopen" != xno; then
  71411. - enable_dlopen=yes
  71412. - else
  71413. + if test no = "$lt_cv_dlopen"; then
  71414. enable_dlopen=no
  71415. + else
  71416. + enable_dlopen=yes
  71417. fi
  71418.  
  71419. case $lt_cv_dlopen in
  71420. dlopen)
  71421. - save_CPPFLAGS="$CPPFLAGS"
  71422. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  71423. + save_CPPFLAGS=$CPPFLAGS
  71424. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  71425.  
  71426. - save_LDFLAGS="$LDFLAGS"
  71427. + save_LDFLAGS=$LDFLAGS
  71428. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  71429.  
  71430. - save_LIBS="$LIBS"
  71431. + save_LIBS=$LIBS
  71432. LIBS="$lt_cv_dlopen_libs $LIBS"
  71433.  
  71434. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  71435. @@ -10320,13 +11812,13 @@
  71436. if ${lt_cv_dlopen_self+:} false; then :
  71437. $as_echo_n "(cached) " >&6
  71438. else
  71439. - if test "$cross_compiling" = yes; then :
  71440. + if test yes = "$cross_compiling"; then :
  71441. lt_cv_dlopen_self=cross
  71442. else
  71443. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  71444. lt_status=$lt_dlunknown
  71445. cat > conftest.$ac_ext <<_LT_EOF
  71446. -#line 10329 "configure"
  71447. +#line $LINENO "configure"
  71448. #include "confdefs.h"
  71449.  
  71450. #if HAVE_DLFCN_H
  71451. @@ -10367,7 +11859,13 @@
  71452. # endif
  71453. #endif
  71454.  
  71455. -void fnord() { int i=42;}
  71456. +/* When -fvisibility=hidden is used, assume the code has been annotated
  71457. + correspondingly for the symbols needed. */
  71458. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  71459. +int fnord () __attribute__((visibility("default")));
  71460. +#endif
  71461. +
  71462. +int fnord () { return 42; }
  71463. int main ()
  71464. {
  71465. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  71466. @@ -10376,7 +11874,11 @@
  71467. if (self)
  71468. {
  71469. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  71470. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71471. + else
  71472. + {
  71473. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71474. + else puts (dlerror ());
  71475. + }
  71476. /* dlclose (self); */
  71477. }
  71478. else
  71479. @@ -10389,7 +11891,7 @@
  71480. (eval $ac_link) 2>&5
  71481. ac_status=$?
  71482. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  71483. - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  71484. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  71485. (./conftest; exit; ) >&5 2>/dev/null
  71486. lt_status=$?
  71487. case x$lt_status in
  71488. @@ -10409,20 +11911,20 @@
  71489. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  71490. $as_echo "$lt_cv_dlopen_self" >&6; }
  71491.  
  71492. - if test "x$lt_cv_dlopen_self" = xyes; then
  71493. + if test yes = "$lt_cv_dlopen_self"; then
  71494. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  71495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  71496. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  71497. if ${lt_cv_dlopen_self_static+:} false; then :
  71498. $as_echo_n "(cached) " >&6
  71499. else
  71500. - if test "$cross_compiling" = yes; then :
  71501. + if test yes = "$cross_compiling"; then :
  71502. lt_cv_dlopen_self_static=cross
  71503. else
  71504. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  71505. lt_status=$lt_dlunknown
  71506. cat > conftest.$ac_ext <<_LT_EOF
  71507. -#line 10425 "configure"
  71508. +#line $LINENO "configure"
  71509. #include "confdefs.h"
  71510.  
  71511. #if HAVE_DLFCN_H
  71512. @@ -10463,7 +11965,13 @@
  71513. # endif
  71514. #endif
  71515.  
  71516. -void fnord() { int i=42;}
  71517. +/* When -fvisibility=hidden is used, assume the code has been annotated
  71518. + correspondingly for the symbols needed. */
  71519. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  71520. +int fnord () __attribute__((visibility("default")));
  71521. +#endif
  71522. +
  71523. +int fnord () { return 42; }
  71524. int main ()
  71525. {
  71526. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  71527. @@ -10472,7 +11980,11 @@
  71528. if (self)
  71529. {
  71530. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  71531. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71532. + else
  71533. + {
  71534. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  71535. + else puts (dlerror ());
  71536. + }
  71537. /* dlclose (self); */
  71538. }
  71539. else
  71540. @@ -10485,7 +11997,7 @@
  71541. (eval $ac_link) 2>&5
  71542. ac_status=$?
  71543. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  71544. - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  71545. + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  71546. (./conftest; exit; ) >&5 2>/dev/null
  71547. lt_status=$?
  71548. case x$lt_status in
  71549. @@ -10506,9 +12018,9 @@
  71550. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  71551. fi
  71552.  
  71553. - CPPFLAGS="$save_CPPFLAGS"
  71554. - LDFLAGS="$save_LDFLAGS"
  71555. - LIBS="$save_LIBS"
  71556. + CPPFLAGS=$save_CPPFLAGS
  71557. + LDFLAGS=$save_LDFLAGS
  71558. + LIBS=$save_LIBS
  71559. ;;
  71560. esac
  71561.  
  71562. @@ -10552,7 +12064,7 @@
  71563. # FIXME - insert some real tests, host_os isn't really good enough
  71564. case $host_os in
  71565. darwin*)
  71566. - if test -n "$STRIP" ; then
  71567. + if test -n "$STRIP"; then
  71568. striplib="$STRIP -x"
  71569. old_striplib="$STRIP -S"
  71570. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  71571. @@ -10580,7 +12092,7 @@
  71572.  
  71573.  
  71574.  
  71575. - # Report which library types will actually be built
  71576. + # Report what library types will actually be built
  71577. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  71578. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  71579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  71580. @@ -10588,13 +12100,13 @@
  71581.  
  71582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  71583. $as_echo_n "checking whether to build shared libraries... " >&6; }
  71584. - test "$can_build_shared" = "no" && enable_shared=no
  71585. + test no = "$can_build_shared" && enable_shared=no
  71586.  
  71587. # On AIX, shared libraries and static libraries use the same namespace, and
  71588. # are all built from PIC.
  71589. case $host_os in
  71590. aix3*)
  71591. - test "$enable_shared" = yes && enable_static=no
  71592. + test yes = "$enable_shared" && enable_static=no
  71593. if test -n "$RANLIB"; then
  71594. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  71595. postinstall_cmds='$RANLIB $lib'
  71596. @@ -10602,8 +12114,12 @@
  71597. ;;
  71598.  
  71599. aix[4-9]*)
  71600. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  71601. - test "$enable_shared" = yes && enable_static=no
  71602. + if test ia64 != "$host_cpu"; then
  71603. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  71604. + yes,aix,yes) ;; # shared object as lib.so file only
  71605. + yes,svr4,*) ;; # shared object as lib.so archive member only
  71606. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  71607. + esac
  71608. fi
  71609. ;;
  71610. esac
  71611. @@ -10613,7 +12129,7 @@
  71612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  71613. $as_echo_n "checking whether to build static libraries... " >&6; }
  71614. # Make sure either enable_shared or enable_static is yes.
  71615. - test "$enable_shared" = yes || enable_static=yes
  71616. + test yes = "$enable_shared" || enable_static=yes
  71617. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  71618. $as_echo "$enable_static" >&6; }
  71619.  
  71620. @@ -10627,7 +12143,9 @@
  71621. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71622. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71623.  
  71624. -CC="$lt_save_CC"
  71625. +CC=$lt_save_CC
  71626. +
  71627. +
  71628.  
  71629.  
  71630.  
  71631. @@ -10672,7 +12190,7 @@
  71632. IFS=$as_save_IFS
  71633. test -z "$as_dir" && as_dir=.
  71634. for ac_exec_ext in '' $ac_executable_extensions; do
  71635. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71636. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71637. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  71638. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71639. break 2
  71640. @@ -10712,7 +12230,7 @@
  71641. IFS=$as_save_IFS
  71642. test -z "$as_dir" && as_dir=.
  71643. for ac_exec_ext in '' $ac_executable_extensions; do
  71644. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71645. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71646. ac_cv_prog_ac_ct_CC="gcc"
  71647. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71648. break 2
  71649. @@ -10765,7 +12283,7 @@
  71650. IFS=$as_save_IFS
  71651. test -z "$as_dir" && as_dir=.
  71652. for ac_exec_ext in '' $ac_executable_extensions; do
  71653. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71654. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71655. ac_cv_prog_CC="${ac_tool_prefix}cc"
  71656. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71657. break 2
  71658. @@ -10806,7 +12324,7 @@
  71659. IFS=$as_save_IFS
  71660. test -z "$as_dir" && as_dir=.
  71661. for ac_exec_ext in '' $ac_executable_extensions; do
  71662. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71663. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71664. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  71665. ac_prog_rejected=yes
  71666. continue
  71667. @@ -10864,7 +12382,7 @@
  71668. IFS=$as_save_IFS
  71669. test -z "$as_dir" && as_dir=.
  71670. for ac_exec_ext in '' $ac_executable_extensions; do
  71671. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71672. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71673. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  71674. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71675. break 2
  71676. @@ -10908,7 +12426,7 @@
  71677. IFS=$as_save_IFS
  71678. test -z "$as_dir" && as_dir=.
  71679. for ac_exec_ext in '' $ac_executable_extensions; do
  71680. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71681. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71682. ac_cv_prog_ac_ct_CC="$ac_prog"
  71683. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71684. break 2
  71685. @@ -11104,8 +12622,7 @@
  71686. /* end confdefs.h. */
  71687. #include <stdarg.h>
  71688. #include <stdio.h>
  71689. -#include <sys/types.h>
  71690. -#include <sys/stat.h>
  71691. +struct stat;
  71692. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  71693. struct buf { int x; };
  71694. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  71695. @@ -11190,6 +12707,65 @@
  71696. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71697. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71698.  
  71699. +ac_ext=c
  71700. +ac_cpp='$CPP $CPPFLAGS'
  71701. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  71702. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71703. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71704. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  71705. +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  71706. +if ${am_cv_prog_cc_c_o+:} false; then :
  71707. + $as_echo_n "(cached) " >&6
  71708. +else
  71709. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  71710. +/* end confdefs.h. */
  71711. +
  71712. +int
  71713. +main ()
  71714. +{
  71715. +
  71716. + ;
  71717. + return 0;
  71718. +}
  71719. +_ACEOF
  71720. + # Make sure it works both with $CC and with simple cc.
  71721. + # Following AC_PROG_CC_C_O, we do the test twice because some
  71722. + # compilers refuse to overwrite an existing .o file with -o,
  71723. + # though they will create one.
  71724. + am_cv_prog_cc_c_o=yes
  71725. + for am_i in 1 2; do
  71726. + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  71727. + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  71728. + ac_status=$?
  71729. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  71730. + (exit $ac_status); } \
  71731. + && test -f conftest2.$ac_objext; then
  71732. + : OK
  71733. + else
  71734. + am_cv_prog_cc_c_o=no
  71735. + break
  71736. + fi
  71737. + done
  71738. + rm -f core conftest*
  71739. + unset am_i
  71740. +fi
  71741. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  71742. +$as_echo "$am_cv_prog_cc_c_o" >&6; }
  71743. +if test "$am_cv_prog_cc_c_o" != yes; then
  71744. + # Losing compiler, so override with the script.
  71745. + # FIXME: It is wrong to rewrite CC.
  71746. + # But if we don't then we get into trouble of one sort or another.
  71747. + # A longer-term fix would be to have automake use am__CC in this case,
  71748. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  71749. + CC="$am_aux_dir/compile $CC"
  71750. +fi
  71751. +ac_ext=c
  71752. +ac_cpp='$CPP $CPPFLAGS'
  71753. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  71754. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  71755. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  71756. +
  71757. +
  71758. depcc="$CC" am_compiler_list=
  71759.  
  71760. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  71761. @@ -11201,8 +12777,9 @@
  71762. # We make a subdir and do the tests there. Otherwise we can end up
  71763. # making bogus files that we don't know about and never remove. For
  71764. # instance it was reported that on HP-UX the gcc test will end up
  71765. - # making a dummy file named `D' -- because `-MD' means `put the output
  71766. - # in D'.
  71767. + # making a dummy file named 'D' -- because '-MD' means "put the output
  71768. + # in D".
  71769. + rm -rf conftest.dir
  71770. mkdir conftest.dir
  71771. # Copy depcomp to subdir because otherwise we won't find it if we're
  71772. # using a relative directory.
  71773. @@ -11236,16 +12813,16 @@
  71774. : > sub/conftest.c
  71775. for i in 1 2 3 4 5 6; do
  71776. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  71777. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  71778. - # Solaris 8's {/usr,}/bin/sh.
  71779. - touch sub/conftst$i.h
  71780. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  71781. + # Solaris 10 /bin/sh.
  71782. + echo '/* dummy */' > sub/conftst$i.h
  71783. done
  71784. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  71785.  
  71786. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  71787. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  71788. # mode. It turns out that the SunPro C++ compiler does not properly
  71789. - # handle `-M -o', and we need to detect this. Also, some Intel
  71790. - # versions had trouble with output in subdirs
  71791. + # handle '-M -o', and we need to detect this. Also, some Intel
  71792. + # versions had trouble with output in subdirs.
  71793. am__obj=sub/conftest.${OBJEXT-o}
  71794. am__minus_obj="-o $am__obj"
  71795. case $depmode in
  71796. @@ -11254,16 +12831,16 @@
  71797. test "$am__universal" = false || continue
  71798. ;;
  71799. nosideeffect)
  71800. - # after this tag, mechanisms are not by side-effect, so they'll
  71801. - # only be used when explicitly requested
  71802. + # After this tag, mechanisms are not by side-effect, so they'll
  71803. + # only be used when explicitly requested.
  71804. if test "x$enable_dependency_tracking" = xyes; then
  71805. continue
  71806. else
  71807. break
  71808. fi
  71809. ;;
  71810. - msvisualcpp | msvcmsys)
  71811. - # This compiler won't grok `-c -o', but also, the minuso test has
  71812. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  71813. + # This compiler won't grok '-c -o', but also, the minuso test has
  71814. # not run yet. These depmodes are late enough in the game, and
  71815. # so weak that their functioning should not be impacted.
  71816. am__obj=conftest.${OBJEXT-o}
  71817. @@ -11320,8 +12897,8 @@
  71818.  
  71819. # Compiler Flags
  71820.  
  71821. -#INCLUDES='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  71822. -INCLUDES='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  71823. +#AM_CPPFLAGS='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  71824. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  71825.  
  71826. # Checks whether shifting of signed integers works: -1 << 3 = -8 .
  71827. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shifting of signed integers works" >&5
  71828. @@ -11757,7 +13334,7 @@
  71829. IFS=$as_save_IFS
  71830. test -z "$as_dir" && as_dir=.
  71831. for ac_exec_ext in '' $ac_executable_extensions; do
  71832. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71833. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71834. ac_cv_path_xfig="$as_dir/$ac_word$ac_exec_ext"
  71835. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71836. break 2
  71837. @@ -11804,7 +13381,7 @@
  71838. IFS=$as_save_IFS
  71839. test -z "$as_dir" && as_dir=.
  71840. for ac_exec_ext in '' $ac_executable_extensions; do
  71841. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  71842. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  71843. ac_cv_path_xmag="$as_dir/$ac_word$ac_exec_ext"
  71844. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  71845. break 2
  71846. @@ -11973,11 +13550,11 @@
  71847. int
  71848. main ()
  71849. {
  71850. -/* FIXME: Include the comments suggested by Paul. */
  71851. +
  71852. #ifndef __cplusplus
  71853. - /* Ultrix mips cc rejects this. */
  71854. + /* Ultrix mips cc rejects this sort of thing. */
  71855. typedef int charset[2];
  71856. - const charset cs;
  71857. + const charset cs = { 0, 0 };
  71858. /* SunOS 4.1.1 cc rejects this. */
  71859. char const *const *pcpcc;
  71860. char **ppc;
  71861. @@ -11994,8 +13571,9 @@
  71862. ++pcpcc;
  71863. ppc = (char**) pcpcc;
  71864. pcpcc = (char const *const *) ppc;
  71865. - { /* SCO 3.2v4 cc rejects this. */
  71866. - char *t;
  71867. + { /* SCO 3.2v4 cc rejects this sort of thing. */
  71868. + char tx;
  71869. + char *t = &tx;
  71870. char const *s = 0 ? (char *) 0 : (char const *) 0;
  71871.  
  71872. *t++ = 0;
  71873. @@ -12011,10 +13589,10 @@
  71874. iptr p = 0;
  71875. ++p;
  71876. }
  71877. - { /* AIX XL C 1.02.0.0 rejects this saying
  71878. + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  71879. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  71880. - struct s { int j; const int *ap[3]; };
  71881. - struct s *b; b->j = 5;
  71882. + struct s { int j; const int *ap[3]; } bx;
  71883. + struct s *b = &bx; b->j = 5;
  71884. }
  71885. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  71886. const int foo = 10;
  71887. @@ -12220,7 +13798,6 @@
  71888.  
  71889. ac_libobjs=
  71890. ac_ltlibobjs=
  71891. -U=
  71892. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  71893. # 1. Remove the extension, and $U if already installed.
  71894. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  71895. @@ -12235,6 +13812,14 @@
  71896. LTLIBOBJS=$ac_ltlibobjs
  71897.  
  71898.  
  71899. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  71900. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  71901. + if test -n "$am_sleep_pid"; then
  71902. + # Hide warnings about reused PIDs.
  71903. + wait $am_sleep_pid 2>/dev/null
  71904. + fi
  71905. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  71906. +$as_echo "done" >&6; }
  71907. if test -n "$EXEEXT"; then
  71908. am__EXEEXT_TRUE=
  71909. am__EXEEXT_FALSE='#'
  71910. @@ -12554,16 +14139,16 @@
  71911. # ... but there are two gotchas:
  71912. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  71913. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  71914. - # In both cases, we have to default to `cp -p'.
  71915. + # In both cases, we have to default to `cp -pR'.
  71916. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  71917. - as_ln_s='cp -p'
  71918. + as_ln_s='cp -pR'
  71919. elif ln conf$$.file conf$$ 2>/dev/null; then
  71920. as_ln_s=ln
  71921. else
  71922. - as_ln_s='cp -p'
  71923. + as_ln_s='cp -pR'
  71924. fi
  71925. else
  71926. - as_ln_s='cp -p'
  71927. + as_ln_s='cp -pR'
  71928. fi
  71929. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  71930. rmdir conf$$.dir 2>/dev/null
  71931. @@ -12623,28 +14208,16 @@
  71932. as_mkdir_p=false
  71933. fi
  71934.  
  71935. -if test -x / >/dev/null 2>&1; then
  71936. - as_test_x='test -x'
  71937. -else
  71938. - if ls -dL / >/dev/null 2>&1; then
  71939. - as_ls_L_option=L
  71940. - else
  71941. - as_ls_L_option=
  71942. - fi
  71943. - as_test_x='
  71944. - eval sh -c '\''
  71945. - if test -d "$1"; then
  71946. - test -d "$1/.";
  71947. - else
  71948. - case $1 in #(
  71949. - -*)set "./$1";;
  71950. - esac;
  71951. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  71952. - ???[sx]*):;;*)false;;esac;fi
  71953. - '\'' sh
  71954. - '
  71955. -fi
  71956. -as_executable_p=$as_test_x
  71957. +
  71958. +# as_fn_executable_p FILE
  71959. +# -----------------------
  71960. +# Test if FILE is an executable regular file.
  71961. +as_fn_executable_p ()
  71962. +{
  71963. + test -f "$1" && test -x "$1"
  71964. +} # as_fn_executable_p
  71965. +as_test_x='test -x'
  71966. +as_executable_p=as_fn_executable_p
  71967.  
  71968. # Sed expression to map a string onto a valid CPP name.
  71969. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  71970. @@ -12665,8 +14238,8 @@
  71971. # report actual input values of CONFIG_FILES etc. instead of their
  71972. # values after options handling.
  71973. ac_log="
  71974. -This file was extended by $as_me, which was
  71975. -generated by GNU Autoconf 2.68. Invocation command line was
  71976. +This file was extended by fiasco $as_me 1.3, which was
  71977. +generated by GNU Autoconf 2.69. Invocation command line was
  71978.  
  71979. CONFIG_FILES = $CONFIG_FILES
  71980. CONFIG_HEADERS = $CONFIG_HEADERS
  71981. @@ -12731,11 +14304,11 @@
  71982. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  71983. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  71984. ac_cs_version="\\
  71985. -config.status
  71986. -configured by $0, generated by GNU Autoconf 2.68,
  71987. +fiasco config.status 1.3
  71988. +configured by $0, generated by GNU Autoconf 2.69,
  71989. with options \\"\$ac_cs_config\\"
  71990.  
  71991. -Copyright (C) 2010 Free Software Foundation, Inc.
  71992. +Copyright (C) 2012 Free Software Foundation, Inc.
  71993. This config.status script is free software; the Free Software Foundation
  71994. gives unlimited permission to copy, distribute and modify it."
  71995.  
  71996. @@ -12826,7 +14399,7 @@
  71997. _ACEOF
  71998. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  71999. if \$ac_cs_recheck; then
  72000. - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  72001. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  72002. shift
  72003. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  72004. CONFIG_SHELL='$SHELL'
  72005. @@ -12850,7 +14423,7 @@
  72006. #
  72007. # INIT-COMMANDS
  72008. #
  72009. -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  72010. +AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  72011.  
  72012.  
  72013. # The HP-UX ksh and POSIX shell print the target directory to stdout
  72014. @@ -12860,131 +14433,159 @@
  72015. sed_quote_subst='$sed_quote_subst'
  72016. double_quote_subst='$double_quote_subst'
  72017. delay_variable_subst='$delay_variable_subst'
  72018. -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  72019. -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  72020. -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  72021. -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  72022. -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  72023. -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  72024. -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  72025. -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  72026. -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  72027. -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  72028. -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  72029. -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  72030. -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  72031. -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  72032. -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  72033. -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  72034. -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  72035. -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  72036. -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  72037. -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  72038. -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  72039. -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  72040. -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  72041. -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  72042. -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  72043. -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  72044. -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72045. -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72046. -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  72047. -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  72048. -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  72049. -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  72050. -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  72051. -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  72052. -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  72053. -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72054. -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72055. -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72056. -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  72057. -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  72058. -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  72059. -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  72060. -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  72061. -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  72062. -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  72063. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  72064. -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  72065. -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  72066. -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  72067. -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  72068. -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72069. -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  72070. -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  72071. -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  72072. -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  72073. -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  72074. -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  72075. -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  72076. -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  72077. -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  72078. -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  72079. -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  72080. -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72081. -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72082. -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  72083. -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  72084. -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72085. -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72086. -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  72087. -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72088. -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72089. -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72090. -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72091. -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72092. -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72093. -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  72094. -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72095. -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  72096. -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72097. -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  72098. -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  72099. -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  72100. -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  72101. -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  72102. -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  72103. -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  72104. -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  72105. -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  72106. -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  72107. -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  72108. -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72109. -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  72110. -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  72111. -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72112. -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72113. -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  72114. -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  72115. -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  72116. -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  72117. -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  72118. -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  72119. -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  72120. -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72121. -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72122. -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72123. -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72124. -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72125. -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  72126. -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  72127. -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  72128. -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72129. -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  72130. -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  72131. -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  72132. -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  72133. -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  72134. -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  72135. -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  72136. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  72137. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  72138. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  72139. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  72140. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  72141. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  72142. +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  72143. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  72144. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  72145. +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  72146. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  72147. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  72148. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  72149. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  72150. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  72151. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  72152. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  72153. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  72154. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  72155. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  72156. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  72157. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  72158. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  72159. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  72160. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  72161. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  72162. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  72163. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  72164. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  72165. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  72166. +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  72167. +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  72168. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  72169. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  72170. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  72171. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  72172. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  72173. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  72174. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  72175. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  72176. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  72177. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  72178. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  72179. +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  72180. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  72181. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  72182. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  72183. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  72184. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  72185. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  72186. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  72187. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  72188. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  72189. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  72190. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  72191. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  72192. +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  72193. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  72194. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  72195. +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  72196. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  72197. +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  72198. +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  72199. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  72200. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  72201. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  72202. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  72203. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  72204. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  72205. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  72206. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  72207. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  72208. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  72209. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  72210. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  72211. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  72212. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  72213. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  72214. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  72215. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  72216. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  72217. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  72218. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  72219. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  72220. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  72221. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  72222. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  72223. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  72224. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  72225. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  72226. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  72227. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  72228. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  72229. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  72230. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  72231. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  72232. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  72233. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  72234. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  72235. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  72236. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  72237. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  72238. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  72239. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  72240. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  72241. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  72242. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  72243. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  72244. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  72245. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  72246. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  72247. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  72248. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  72249. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  72250. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  72251. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  72252. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  72253. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  72254. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  72255. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  72256. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  72257. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  72258. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  72259. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  72260. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  72261. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  72262. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  72263. +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  72264. +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  72265. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  72266. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  72267. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  72268. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  72269. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  72270. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  72271.  
  72272. LTCC='$LTCC'
  72273. LTCFLAGS='$LTCFLAGS'
  72274. compiler='$compiler_DEFAULT'
  72275.  
  72276. +# A function that is used when there is no print builtin or printf.
  72277. +func_fallback_echo ()
  72278. +{
  72279. + eval 'cat <<_LTECHO_EOF
  72280. +\$1
  72281. +_LTECHO_EOF'
  72282. +}
  72283. +
  72284. # Quote evaled strings.
  72285. -for var in SED \
  72286. +for var in SHELL \
  72287. +ECHO \
  72288. +PATH_SEPARATOR \
  72289. +SED \
  72290. GREP \
  72291. EGREP \
  72292. FGREP \
  72293. @@ -12997,8 +14598,13 @@
  72294. OBJDUMP \
  72295. deplibs_check_method \
  72296. file_magic_cmd \
  72297. +file_magic_glob \
  72298. +want_nocaseglob \
  72299. +DLLTOOL \
  72300. +sharedlib_from_linklib_cmd \
  72301. AR \
  72302. AR_FLAGS \
  72303. +archiver_list_spec \
  72304. STRIP \
  72305. RANLIB \
  72306. CC \
  72307. @@ -13006,16 +14612,19 @@
  72308. compiler \
  72309. lt_cv_sys_global_symbol_pipe \
  72310. lt_cv_sys_global_symbol_to_cdecl \
  72311. +lt_cv_sys_global_symbol_to_import \
  72312. lt_cv_sys_global_symbol_to_c_name_address \
  72313. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  72314. -SHELL \
  72315. -ECHO \
  72316. +lt_cv_nm_interface \
  72317. +nm_file_list_spec \
  72318. +lt_cv_truncate_bin \
  72319. lt_prog_compiler_no_builtin_flag \
  72320. -lt_prog_compiler_wl \
  72321. lt_prog_compiler_pic \
  72322. +lt_prog_compiler_wl \
  72323. lt_prog_compiler_static \
  72324. lt_cv_prog_compiler_c_o \
  72325. need_locks \
  72326. +MANIFEST_TOOL \
  72327. DSYMUTIL \
  72328. NMEDIT \
  72329. LIPO \
  72330. @@ -13029,9 +14638,7 @@
  72331. allow_undefined_flag \
  72332. no_undefined_flag \
  72333. hardcode_libdir_flag_spec \
  72334. -hardcode_libdir_flag_spec_ld \
  72335. hardcode_libdir_separator \
  72336. -fix_srcfile_path \
  72337. exclude_expsyms \
  72338. include_expsyms \
  72339. file_list_spec \
  72340. @@ -13039,12 +14646,13 @@
  72341. libname_spec \
  72342. library_names_spec \
  72343. soname_spec \
  72344. +install_override_mode \
  72345. finish_eval \
  72346. old_striplib \
  72347. striplib; do
  72348. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  72349. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  72350. *[\\\\\\\`\\"\\\$]*)
  72351. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  72352. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  72353. ;;
  72354. *)
  72355. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  72356. @@ -13066,14 +14674,16 @@
  72357. module_expsym_cmds \
  72358. export_symbols_cmds \
  72359. prelink_cmds \
  72360. +postlink_cmds \
  72361. postinstall_cmds \
  72362. postuninstall_cmds \
  72363. finish_cmds \
  72364. sys_lib_search_path_spec \
  72365. -sys_lib_dlsearch_path_spec; do
  72366. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  72367. +configure_time_dlsearch_path \
  72368. +configure_time_lt_sys_library_path; do
  72369. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  72370. *[\\\\\\\`\\"\\\$]*)
  72371. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  72372. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  72373. ;;
  72374. *)
  72375. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  72376. @@ -13081,26 +14691,17 @@
  72377. esac
  72378. done
  72379.  
  72380. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  72381. -case \$lt_ECHO in
  72382. -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  72383. - ;;
  72384. -esac
  72385. -
  72386. ac_aux_dir='$ac_aux_dir'
  72387. -xsi_shell='$xsi_shell'
  72388. -lt_shell_append='$lt_shell_append'
  72389.  
  72390. -# See if we are running on zsh, and set the options which allow our
  72391. +# See if we are running on zsh, and set the options that allow our
  72392. # commands through without removal of \ escapes INIT.
  72393. -if test -n "\${ZSH_VERSION+set}" ; then
  72394. +if test -n "\${ZSH_VERSION+set}"; then
  72395. setopt NO_GLOB_SUBST
  72396. fi
  72397.  
  72398.  
  72399. PACKAGE='$PACKAGE'
  72400. VERSION='$VERSION'
  72401. - TIMESTAMP='$TIMESTAMP'
  72402. RM='$RM'
  72403. ofile='$ofile'
  72404.  
  72405. @@ -13723,32 +15324,38 @@
  72406.  
  72407. case $ac_file$ac_mode in
  72408. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  72409. - # Autoconf 2.62 quotes --file arguments for eval, but not when files
  72410. + # Older Autoconf quotes --file arguments for eval, but not when files
  72411. # are listed without --file. Let's play safe and only enable the eval
  72412. # if we detect the quoting.
  72413. - case $CONFIG_FILES in
  72414. - *\'*) eval set x "$CONFIG_FILES" ;;
  72415. - *) set x $CONFIG_FILES ;;
  72416. - esac
  72417. + # TODO: see whether this extra hack can be removed once we start
  72418. + # requiring Autoconf 2.70 or later.
  72419. + case $CONFIG_FILES in #(
  72420. + *\'*) :
  72421. + eval set x "$CONFIG_FILES" ;; #(
  72422. + *) :
  72423. + set x $CONFIG_FILES ;; #(
  72424. + *) :
  72425. + ;;
  72426. +esac
  72427. shift
  72428. - for mf
  72429. + # Used to flag and report bootstrapping failures.
  72430. + am_rc=0
  72431. + for am_mf
  72432. do
  72433. # Strip MF so we end up with the name of the file.
  72434. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  72435. - # Check whether this is an Automake generated Makefile or not.
  72436. - # We used to match only the files named `Makefile.in', but
  72437. - # some people rename them; so instead we look at the file content.
  72438. - # Grep'ing the first line is not enough: some people post-process
  72439. - # each Makefile.in and add a new line on top of each file to say so.
  72440. - # Grep'ing the whole file is not good either: AIX grep has a line
  72441. + am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  72442. + # Check whether this is an Automake generated Makefile which includes
  72443. + # dependency-tracking related rules and includes.
  72444. + # Grep'ing the whole file directly is not great: AIX grep has a line
  72445. # limit of 2048, but all sed's we know have understand at least 4000.
  72446. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  72447. - dirpart=`$as_dirname -- "$mf" ||
  72448. -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72449. - X"$mf" : 'X\(//\)[^/]' \| \
  72450. - X"$mf" : 'X\(//\)$' \| \
  72451. - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  72452. -$as_echo X"$mf" |
  72453. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  72454. + || continue
  72455. + am_dirpart=`$as_dirname -- "$am_mf" ||
  72456. +$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72457. + X"$am_mf" : 'X\(//\)[^/]' \| \
  72458. + X"$am_mf" : 'X\(//\)$' \| \
  72459. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  72460. +$as_echo X"$am_mf" |
  72461. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72462. s//\1/
  72463. q
  72464. @@ -13766,107 +15373,99 @@
  72465. q
  72466. }
  72467. s/.*/./; q'`
  72468. - else
  72469. - continue
  72470. - fi
  72471. - # Extract the definition of DEPDIR, am__include, and am__quote
  72472. - # from the Makefile without running `make'.
  72473. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  72474. - test -z "$DEPDIR" && continue
  72475. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  72476. - test -z "am__include" && continue
  72477. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  72478. - # When using ansi2knr, U may be empty or an underscore; expand it
  72479. - U=`sed -n 's/^U = //p' < "$mf"`
  72480. - # Find all dependency output files, they are included files with
  72481. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  72482. - # simplest approach to changing $(DEPDIR) to its actual value in the
  72483. - # expansion.
  72484. - for file in `sed -n "
  72485. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  72486. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  72487. - # Make sure the directory exists.
  72488. - test -f "$dirpart/$file" && continue
  72489. - fdir=`$as_dirname -- "$file" ||
  72490. -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72491. - X"$file" : 'X\(//\)[^/]' \| \
  72492. - X"$file" : 'X\(//\)$' \| \
  72493. - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  72494. -$as_echo X"$file" |
  72495. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72496. - s//\1/
  72497. - q
  72498. - }
  72499. - /^X\(\/\/\)[^/].*/{
  72500. + am_filepart=`$as_basename -- "$am_mf" ||
  72501. +$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  72502. + X"$am_mf" : 'X\(//\)$' \| \
  72503. + X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  72504. +$as_echo X/"$am_mf" |
  72505. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  72506. s//\1/
  72507. q
  72508. }
  72509. - /^X\(\/\/\)$/{
  72510. + /^X\/\(\/\/\)$/{
  72511. s//\1/
  72512. q
  72513. }
  72514. - /^X\(\/\).*/{
  72515. + /^X\/\(\/\).*/{
  72516. s//\1/
  72517. q
  72518. }
  72519. s/.*/./; q'`
  72520. - as_dir=$dirpart/$fdir; as_fn_mkdir_p
  72521. - # echo "creating $dirpart/$file"
  72522. - echo '# dummy' > "$dirpart/$file"
  72523. - done
  72524. + { echo "$as_me:$LINENO: cd "$am_dirpart" \
  72525. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  72526. + | $MAKE -f - am--depfiles" >&5
  72527. + (cd "$am_dirpart" \
  72528. + && sed -e '/# am--include-marker/d' "$am_filepart" \
  72529. + | $MAKE -f - am--depfiles) >&5 2>&5
  72530. + ac_status=$?
  72531. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  72532. + (exit $ac_status); } || am_rc=$?
  72533. done
  72534. + if test $am_rc -ne 0; then
  72535. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  72536. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  72537. +as_fn_error $? "Something went wrong bootstrapping makefile fragments
  72538. + for automatic dependency tracking. Try re-running configure with the
  72539. + '--disable-dependency-tracking' option to at least be able to build
  72540. + the package (albeit without support for automatic dependency tracking).
  72541. +See \`config.log' for more details" "$LINENO" 5; }
  72542. + fi
  72543. + { am_dirpart=; unset am_dirpart;}
  72544. + { am_filepart=; unset am_filepart;}
  72545. + { am_mf=; unset am_mf;}
  72546. + { am_rc=; unset am_rc;}
  72547. + rm -f conftest-deps.mk
  72548. }
  72549. ;;
  72550. "libtool":C)
  72551.  
  72552. - # See if we are running on zsh, and set the options which allow our
  72553. + # See if we are running on zsh, and set the options that allow our
  72554. # commands through without removal of \ escapes.
  72555. - if test -n "${ZSH_VERSION+set}" ; then
  72556. + if test -n "${ZSH_VERSION+set}"; then
  72557. setopt NO_GLOB_SUBST
  72558. fi
  72559.  
  72560. - cfgfile="${ofile}T"
  72561. + cfgfile=${ofile}T
  72562. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  72563. $RM "$cfgfile"
  72564.  
  72565. cat <<_LT_EOF >> "$cfgfile"
  72566. #! $SHELL
  72567. -
  72568. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  72569. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  72570. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  72571. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  72572. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  72573. +
  72574. +# Provide generalized library-building support services.
  72575. +# Written by Gordon Matzigkeit, 1996
  72576. +
  72577. +# Copyright (C) 2014 Free Software Foundation, Inc.
  72578. +# This is free software; see the source for copying conditions. There is NO
  72579. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  72580. +
  72581. +# GNU Libtool is free software; you can redistribute it and/or modify
  72582. +# it under the terms of the GNU General Public License as published by
  72583. +# the Free Software Foundation; either version 2 of of the License, or
  72584. +# (at your option) any later version.
  72585. #
  72586. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  72587. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  72588. -# Written by Gordon Matzigkeit, 1996
  72589. -#
  72590. -# This file is part of GNU Libtool.
  72591. -#
  72592. -# GNU Libtool is free software; you can redistribute it and/or
  72593. -# modify it under the terms of the GNU General Public License as
  72594. -# published by the Free Software Foundation; either version 2 of
  72595. -# the License, or (at your option) any later version.
  72596. -#
  72597. -# As a special exception to the GNU General Public License,
  72598. -# if you distribute this file as part of a program or library that
  72599. -# is built using GNU Libtool, you may include this file under the
  72600. -# same distribution terms that you use for the rest of that program.
  72601. +# As a special exception to the GNU General Public License, if you
  72602. +# distribute this file as part of a program or library that is built
  72603. +# using GNU Libtool, you may include this file under the same
  72604. +# distribution terms that you use for the rest of that program.
  72605. #
  72606. -# GNU Libtool is distributed in the hope that it will be useful,
  72607. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  72608. +# GNU Libtool is distributed in the hope that it will be useful, but
  72609. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  72610. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  72611. # GNU General Public License for more details.
  72612. #
  72613. # You should have received a copy of the GNU General Public License
  72614. -# along with GNU Libtool; see the file COPYING. If not, a copy
  72615. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  72616. -# obtained by writing to the Free Software Foundation, Inc.,
  72617. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  72618. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  72619.  
  72620.  
  72621. # The names of the tagged configurations supported by this script.
  72622. -available_tags=""
  72623. +available_tags=''
  72624. +
  72625. +# Configured defaults for sys_lib_dlsearch_path munging.
  72626. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  72627.  
  72628. # ### BEGIN LIBTOOL CONFIG
  72629.  
  72630. @@ -13886,6 +15485,18 @@
  72631. # Whether or not to optimize for fast installation.
  72632. fast_install=$enable_fast_install
  72633.  
  72634. +# Shared archive member basename,for filename based shared library versioning on AIX.
  72635. +shared_archive_member_spec=$shared_archive_member_spec
  72636. +
  72637. +# Shell to use when invoking shell scripts.
  72638. +SHELL=$lt_SHELL
  72639. +
  72640. +# An echo program that protects backslashes.
  72641. +ECHO=$lt_ECHO
  72642. +
  72643. +# The PATH separator for the build system.
  72644. +PATH_SEPARATOR=$lt_PATH_SEPARATOR
  72645. +
  72646. # The host system.
  72647. host_alias=$host_alias
  72648. host=$host
  72649. @@ -13935,9 +15546,11 @@
  72650. # turn newlines into spaces.
  72651. NL2SP=$lt_lt_NL2SP
  72652.  
  72653. -# How to create reloadable object files.
  72654. -reload_flag=$lt_reload_flag
  72655. -reload_cmds=$lt_reload_cmds
  72656. +# convert \$build file names to \$host format.
  72657. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  72658. +
  72659. +# convert \$build files to toolchain format.
  72660. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  72661.  
  72662. # An object symbol dumper.
  72663. OBJDUMP=$lt_OBJDUMP
  72664. @@ -13945,13 +15558,30 @@
  72665. # Method to check whether dependent libraries are shared objects.
  72666. deplibs_check_method=$lt_deplibs_check_method
  72667.  
  72668. -# Command to use when deplibs_check_method == "file_magic".
  72669. +# Command to use when deplibs_check_method = "file_magic".
  72670. file_magic_cmd=$lt_file_magic_cmd
  72671.  
  72672. +# How to find potential files when deplibs_check_method = "file_magic".
  72673. +file_magic_glob=$lt_file_magic_glob
  72674. +
  72675. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  72676. +want_nocaseglob=$lt_want_nocaseglob
  72677. +
  72678. +# DLL creation program.
  72679. +DLLTOOL=$lt_DLLTOOL
  72680. +
  72681. +# Command to associate shared and link libraries.
  72682. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  72683. +
  72684. # The archiver.
  72685. AR=$lt_AR
  72686. +
  72687. +# Flags to create an archive.
  72688. AR_FLAGS=$lt_AR_FLAGS
  72689.  
  72690. +# How to feed a file listing to the archiver.
  72691. +archiver_list_spec=$lt_archiver_list_spec
  72692. +
  72693. # A symbol stripping program.
  72694. STRIP=$lt_STRIP
  72695.  
  72696. @@ -13960,6 +15590,9 @@
  72697. old_postinstall_cmds=$lt_old_postinstall_cmds
  72698. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  72699.  
  72700. +# Whether to use a lock for old archive extraction.
  72701. +lock_old_archive_extraction=$lock_old_archive_extraction
  72702. +
  72703. # A C compiler.
  72704. LTCC=$lt_CC
  72705.  
  72706. @@ -13972,20 +15605,29 @@
  72707. # Transform the output of nm in a proper C declaration.
  72708. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  72709.  
  72710. +# Transform the output of nm into a list of symbols to manually relocate.
  72711. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  72712. +
  72713. # Transform the output of nm in a C name address pair.
  72714. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  72715.  
  72716. # Transform the output of nm in a C name address pair when lib prefix is needed.
  72717. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  72718.  
  72719. -# The name of the directory that contains temporary libtool files.
  72720. -objdir=$objdir
  72721. +# The name lister interface.
  72722. +nm_interface=$lt_lt_cv_nm_interface
  72723.  
  72724. -# Shell to use when invoking shell scripts.
  72725. -SHELL=$lt_SHELL
  72726. +# Specify filename containing input files for \$NM.
  72727. +nm_file_list_spec=$lt_nm_file_list_spec
  72728.  
  72729. -# An echo program that does not interpret backslashes.
  72730. -ECHO=$lt_ECHO
  72731. +# The root where to search for dependent libraries,and where our libraries should be installed.
  72732. +lt_sysroot=$lt_sysroot
  72733. +
  72734. +# Command to truncate a binary pipe.
  72735. +lt_truncate_bin=$lt_lt_cv_truncate_bin
  72736. +
  72737. +# The name of the directory that contains temporary libtool files.
  72738. +objdir=$objdir
  72739.  
  72740. # Used to examine libraries when file_magic_cmd begins with "file".
  72741. MAGIC_CMD=$MAGIC_CMD
  72742. @@ -13993,6 +15635,9 @@
  72743. # Must we lock files when doing compilation?
  72744. need_locks=$lt_need_locks
  72745.  
  72746. +# Manifest tool.
  72747. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  72748. +
  72749. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  72750. DSYMUTIL=$lt_DSYMUTIL
  72751.  
  72752. @@ -14049,6 +15694,9 @@
  72753. # The coded name of the library, if different from the real name.
  72754. soname_spec=$lt_soname_spec
  72755.  
  72756. +# Permission mode override for installation of shared libraries.
  72757. +install_override_mode=$lt_install_override_mode
  72758. +
  72759. # Command to use after installation of a shared archive.
  72760. postinstall_cmds=$lt_postinstall_cmds
  72761.  
  72762. @@ -14068,8 +15716,11 @@
  72763. # Compile-time system search path for libraries.
  72764. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  72765.  
  72766. -# Run-time system search path for libraries.
  72767. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  72768. +# Detected run-time system search path for libraries.
  72769. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  72770. +
  72771. +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  72772. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  72773.  
  72774. # Whether dlopen is supported.
  72775. dlopen_support=$enable_dlopen
  72776. @@ -14088,6 +15739,10 @@
  72777. # The linker used to build libraries.
  72778. LD=$lt_LD
  72779.  
  72780. +# How to create reloadable object files.
  72781. +reload_flag=$lt_reload_flag
  72782. +reload_cmds=$lt_reload_cmds
  72783. +
  72784. # Commands used to build an old-style archive.
  72785. old_archive_cmds=$lt_old_archive_cmds
  72786.  
  72787. @@ -14100,12 +15755,12 @@
  72788. # Compiler flag to turn off builtin functions.
  72789. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  72790.  
  72791. -# How to pass a linker flag through the compiler.
  72792. -wl=$lt_lt_prog_compiler_wl
  72793. -
  72794. # Additional compiler flags for building library objects.
  72795. pic_flag=$lt_lt_prog_compiler_pic
  72796.  
  72797. +# How to pass a linker flag through the compiler.
  72798. +wl=$lt_lt_prog_compiler_wl
  72799. +
  72800. # Compiler flag to prevent dynamic linking.
  72801. link_static_flag=$lt_lt_prog_compiler_static
  72802.  
  72803. @@ -14155,20 +15810,16 @@
  72804. # This must work even if \$libdir does not exist
  72805. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  72806.  
  72807. -# If ld is used when linking, flag to hardcode \$libdir into a binary
  72808. -# during linking. This must work even if \$libdir does not exist.
  72809. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  72810. -
  72811. # Whether we need a single "-rpath" flag with a separated argument.
  72812. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  72813.  
  72814. -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  72815. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  72816. # DIR into the resulting binary.
  72817. hardcode_direct=$hardcode_direct
  72818.  
  72819. -# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  72820. +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  72821. # DIR into the resulting binary and the resulting library dependency is
  72822. -# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  72823. +# "absolute",i.e impossible to change by setting \$shlibpath_var if the
  72824. # library is relocated.
  72825. hardcode_direct_absolute=$hardcode_direct_absolute
  72826.  
  72827. @@ -14192,9 +15843,6 @@
  72828. # Whether libtool must link a program against all its dependency libraries.
  72829. link_all_deplibs=$link_all_deplibs
  72830.  
  72831. -# Fix the shell variable \$srcfile for the compiler.
  72832. -fix_srcfile_path=$lt_fix_srcfile_path
  72833. -
  72834. # Set to "yes" if exported symbols are required.
  72835. always_export_symbols=$always_export_symbols
  72836.  
  72837. @@ -14210,6 +15858,9 @@
  72838. # Commands necessary for linking programs (against libraries) with templates.
  72839. prelink_cmds=$lt_prelink_cmds
  72840.  
  72841. +# Commands necessary for finishing linking programs.
  72842. +postlink_cmds=$lt_postlink_cmds
  72843. +
  72844. # Specify filename containing input files.
  72845. file_list_spec=$lt_file_list_spec
  72846.  
  72847. @@ -14220,13 +15871,72 @@
  72848.  
  72849. _LT_EOF
  72850.  
  72851. + cat <<'_LT_EOF' >> "$cfgfile"
  72852. +
  72853. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  72854. +
  72855. +# func_munge_path_list VARIABLE PATH
  72856. +# -----------------------------------
  72857. +# VARIABLE is name of variable containing _space_ separated list of
  72858. +# directories to be munged by the contents of PATH, which is string
  72859. +# having a format:
  72860. +# "DIR[:DIR]:"
  72861. +# string "DIR[ DIR]" will be prepended to VARIABLE
  72862. +# ":DIR[:DIR]"
  72863. +# string "DIR[ DIR]" will be appended to VARIABLE
  72864. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  72865. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  72866. +# "DIRA[ DIRA]" will be appended to VARIABLE
  72867. +# "DIR[:DIR]"
  72868. +# VARIABLE will be replaced by "DIR[ DIR]"
  72869. +func_munge_path_list ()
  72870. +{
  72871. + case x$2 in
  72872. + x)
  72873. + ;;
  72874. + *:)
  72875. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  72876. + ;;
  72877. + x:*)
  72878. + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  72879. + ;;
  72880. + *::*)
  72881. + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  72882. + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  72883. + ;;
  72884. + *)
  72885. + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  72886. + ;;
  72887. + esac
  72888. +}
  72889. +
  72890. +
  72891. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  72892. +func_cc_basename ()
  72893. +{
  72894. + for cc_temp in $*""; do
  72895. + case $cc_temp in
  72896. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  72897. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  72898. + \-*) ;;
  72899. + *) break;;
  72900. + esac
  72901. + done
  72902. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  72903. +}
  72904. +
  72905. +
  72906. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  72907. +
  72908. +_LT_EOF
  72909. +
  72910. case $host_os in
  72911. aix3*)
  72912. cat <<\_LT_EOF >> "$cfgfile"
  72913. # AIX sometimes has problems with the GCC collect2 program. For some
  72914. # reason, if we set the COLLECT_NAMES environment variable, the problems
  72915. # vanish in a puff of smoke.
  72916. -if test "X${COLLECT_NAMES+set}" != Xset; then
  72917. +if test set != "${COLLECT_NAMES+set}"; then
  72918. COLLECT_NAMES=
  72919. export COLLECT_NAMES
  72920. fi
  72921. @@ -14235,219 +15945,17 @@
  72922. esac
  72923.  
  72924.  
  72925. -ltmain="$ac_aux_dir/ltmain.sh"
  72926. +ltmain=$ac_aux_dir/ltmain.sh
  72927.  
  72928.  
  72929. # We use sed instead of cat because bash on DJGPP gets confused if
  72930. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  72931. # text mode, it properly converts lines to CR/LF. This bash problem
  72932. # is reportedly fixed, but why not run on old versions too?
  72933. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  72934. - || (rm -f "$cfgfile"; exit 1)
  72935. -
  72936. - case $xsi_shell in
  72937. - yes)
  72938. - cat << \_LT_EOF >> "$cfgfile"
  72939. -
  72940. -# func_dirname file append nondir_replacement
  72941. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  72942. -# otherwise set result to NONDIR_REPLACEMENT.
  72943. -func_dirname ()
  72944. -{
  72945. - case ${1} in
  72946. - */*) func_dirname_result="${1%/*}${2}" ;;
  72947. - * ) func_dirname_result="${3}" ;;
  72948. - esac
  72949. -}
  72950. -
  72951. -# func_basename file
  72952. -func_basename ()
  72953. -{
  72954. - func_basename_result="${1##*/}"
  72955. -}
  72956. -
  72957. -# func_dirname_and_basename file append nondir_replacement
  72958. -# perform func_basename and func_dirname in a single function
  72959. -# call:
  72960. -# dirname: Compute the dirname of FILE. If nonempty,
  72961. -# add APPEND to the result, otherwise set result
  72962. -# to NONDIR_REPLACEMENT.
  72963. -# value returned in "$func_dirname_result"
  72964. -# basename: Compute filename of FILE.
  72965. -# value retuned in "$func_basename_result"
  72966. -# Implementation must be kept synchronized with func_dirname
  72967. -# and func_basename. For efficiency, we do not delegate to
  72968. -# those functions but instead duplicate the functionality here.
  72969. -func_dirname_and_basename ()
  72970. -{
  72971. - case ${1} in
  72972. - */*) func_dirname_result="${1%/*}${2}" ;;
  72973. - * ) func_dirname_result="${3}" ;;
  72974. - esac
  72975. - func_basename_result="${1##*/}"
  72976. -}
  72977. -
  72978. -# func_stripname prefix suffix name
  72979. -# strip PREFIX and SUFFIX off of NAME.
  72980. -# PREFIX and SUFFIX must not contain globbing or regex special
  72981. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  72982. -# dot (in which case that matches only a dot).
  72983. -func_stripname ()
  72984. -{
  72985. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  72986. - # positional parameters, so assign one to ordinary parameter first.
  72987. - func_stripname_result=${3}
  72988. - func_stripname_result=${func_stripname_result#"${1}"}
  72989. - func_stripname_result=${func_stripname_result%"${2}"}
  72990. -}
  72991. -
  72992. -# func_opt_split
  72993. -func_opt_split ()
  72994. -{
  72995. - func_opt_split_opt=${1%%=*}
  72996. - func_opt_split_arg=${1#*=}
  72997. -}
  72998. -
  72999. -# func_lo2o object
  73000. -func_lo2o ()
  73001. -{
  73002. - case ${1} in
  73003. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  73004. - *) func_lo2o_result=${1} ;;
  73005. - esac
  73006. -}
  73007. -
  73008. -# func_xform libobj-or-source
  73009. -func_xform ()
  73010. -{
  73011. - func_xform_result=${1%.*}.lo
  73012. -}
  73013. -
  73014. -# func_arith arithmetic-term...
  73015. -func_arith ()
  73016. -{
  73017. - func_arith_result=$(( $* ))
  73018. -}
  73019. -
  73020. -# func_len string
  73021. -# STRING may not start with a hyphen.
  73022. -func_len ()
  73023. -{
  73024. - func_len_result=${#1}
  73025. -}
  73026. -
  73027. -_LT_EOF
  73028. - ;;
  73029. - *) # Bourne compatible functions.
  73030. - cat << \_LT_EOF >> "$cfgfile"
  73031. -
  73032. -# func_dirname file append nondir_replacement
  73033. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  73034. -# otherwise set result to NONDIR_REPLACEMENT.
  73035. -func_dirname ()
  73036. -{
  73037. - # Extract subdirectory from the argument.
  73038. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  73039. - if test "X$func_dirname_result" = "X${1}"; then
  73040. - func_dirname_result="${3}"
  73041. - else
  73042. - func_dirname_result="$func_dirname_result${2}"
  73043. - fi
  73044. -}
  73045. -
  73046. -# func_basename file
  73047. -func_basename ()
  73048. -{
  73049. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  73050. -}
  73051. -
  73052. -
  73053. -# func_stripname prefix suffix name
  73054. -# strip PREFIX and SUFFIX off of NAME.
  73055. -# PREFIX and SUFFIX must not contain globbing or regex special
  73056. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  73057. -# dot (in which case that matches only a dot).
  73058. -# func_strip_suffix prefix name
  73059. -func_stripname ()
  73060. -{
  73061. - case ${2} in
  73062. - .*) func_stripname_result=`$ECHO "X${3}" \
  73063. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  73064. - *) func_stripname_result=`$ECHO "X${3}" \
  73065. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  73066. - esac
  73067. -}
  73068. -
  73069. -# sed scripts:
  73070. -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  73071. -my_sed_long_arg='1s/^-[^=]*=//'
  73072. -
  73073. -# func_opt_split
  73074. -func_opt_split ()
  73075. -{
  73076. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  73077. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  73078. -}
  73079. -
  73080. -# func_lo2o object
  73081. -func_lo2o ()
  73082. -{
  73083. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  73084. -}
  73085. -
  73086. -# func_xform libobj-or-source
  73087. -func_xform ()
  73088. -{
  73089. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  73090. -}
  73091. -
  73092. -# func_arith arithmetic-term...
  73093. -func_arith ()
  73094. -{
  73095. - func_arith_result=`expr "$@"`
  73096. -}
  73097. -
  73098. -# func_len string
  73099. -# STRING may not start with a hyphen.
  73100. -func_len ()
  73101. -{
  73102. - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  73103. -}
  73104. -
  73105. -_LT_EOF
  73106. -esac
  73107. -
  73108. -case $lt_shell_append in
  73109. - yes)
  73110. - cat << \_LT_EOF >> "$cfgfile"
  73111. -
  73112. -# func_append var value
  73113. -# Append VALUE to the end of shell variable VAR.
  73114. -func_append ()
  73115. -{
  73116. - eval "$1+=\$2"
  73117. -}
  73118. -_LT_EOF
  73119. - ;;
  73120. - *)
  73121. - cat << \_LT_EOF >> "$cfgfile"
  73122. -
  73123. -# func_append var value
  73124. -# Append VALUE to the end of shell variable VAR.
  73125. -func_append ()
  73126. -{
  73127. - eval "$1=\$$1\$2"
  73128. -}
  73129. -
  73130. -_LT_EOF
  73131. - ;;
  73132. - esac
  73133. -
  73134. -
  73135. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  73136. - || (rm -f "$cfgfile"; exit 1)
  73137. + sed '$q' "$ltmain" >> "$cfgfile" \
  73138. + || (rm -f "$cfgfile"; exit 1)
  73139.  
  73140. - mv -f "$cfgfile" "$ofile" ||
  73141. + mv -f "$cfgfile" "$ofile" ||
  73142. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  73143. chmod +x "$ofile"
  73144.  
  73145. diff -Nru Fiasco-master/configure.ac Fiasco-master-pfiasco/configure.ac
  73146. --- Fiasco-master/configure.ac 1969-12-31 19:00:00.000000000 -0500
  73147. +++ Fiasco-master-pfiasco/configure.ac 2019-06-17 21:04:40.141894640 -0400
  73148. @@ -0,0 +1,88 @@
  73149. +# This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  73150. +# Copyright (C) 1994-2000 Ullrich Hafner <[email protected]>
  73151. +#
  73152. +# $Id: configure.in,v 5.4 2000/10/22 10:46:54 hafner Exp hafner $
  73153. +# $Revision: 5.4 $, $State: Exp $, $Date: 2000/10/22 10:46:54 $
  73154. +#
  73155. +# Process this file with autoconf to produce a configure script.
  73156. +
  73157. +AC_INIT(fiasco, 1.3)
  73158. +AC_CONFIG_MACRO_DIR([m4])
  73159. +AM_INIT_AUTOMAKE()
  73160. +AM_CONFIG_HEADER(config.h)
  73161. +
  73162. +# Important programs:
  73163. +AM_PROG_LIBTOOL
  73164. +AC_SUBST(LIBTOOL_DEPS)
  73165. +AC_PROG_CC
  73166. +
  73167. +# Compiler Flags
  73168. +AC_SUBST(AM_CPPFLAGS)
  73169. +#AM_CPPFLAGS='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  73170. +AM_CPPFLAGS='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  73171. +
  73172. +# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  73173. +AC_CACHE_CHECK(whether shifting of signed integers works,
  73174. +ac_cv_signed_shift,
  73175. +[AC_TRY_RUN([main () {
  73176. + exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  73177. +}], ac_cv_signed_shift=no, ac_cv_signed_shift=yes, ac_cv_signed_shift=yes)])
  73178. +if test $ac_cv_signed_shift = yes; then
  73179. + AC_DEFINE(HAVE_SIGNED_SHIFT)
  73180. +fi
  73181. +
  73182. +AC_C_BIGENDIAN
  73183. +AC_CHECK_SIZEOF(char)
  73184. +AC_CHECK_SIZEOF(short)
  73185. +AC_CHECK_SIZEOF(int)
  73186. +
  73187. +if test [$ac_cv_sizeof_char != 1] -o [$ac_cv_sizeof_short != 2] -o [$ac_cv_sizeof_int != 4] ; then
  73188. + echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  73189. + echo "configure failed."
  73190. + exit 1
  73191. +fi
  73192. +
  73193. +# Checks for math library.
  73194. +AC_CHECK_LIB(m, log)
  73195. +if test "$ac_cv_lib_m_log" = "no"; then
  73196. + echo "FIASCO requires math library!"
  73197. + echo "It was not found on your system."
  73198. + echo "configure failed."
  73199. + exit 1
  73200. +fi
  73201. +
  73202. +# Checks for programs
  73203. +AC_PATH_PROG(xfig, xfig)
  73204. +if test -n "$xfig"; then
  73205. + AC_DEFINE_UNQUOTED(XFIG, "$xfig", [Define path of xfig utility])
  73206. +fi
  73207. +AC_PATH_PROG(xmag, xmag)
  73208. +if test -n "$xmag"; then
  73209. + AC_DEFINE_UNQUOTED(XMAG, "$xmag", [Define path of xmag utility])
  73210. +fi
  73211. +
  73212. +# Checks for header files.
  73213. +AC_HEADER_STDC
  73214. +AC_CHECK_HEADERS(assert.h features.h setjmp.h string.h unistd.h)
  73215. +
  73216. +# Checks for typedefs, structures, and compiler characteristics.
  73217. +AC_C_CONST
  73218. +AC_TYPE_SIZE_T
  73219. +AC_HEADER_TIME
  73220. +
  73221. +# Checks for library functions.
  73222. +AC_FUNC_VPRINTF
  73223. +AC_CHECK_FUNCS(log2 memmove strdup strcasecmp)
  73224. +
  73225. +AC_OUTPUT(Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile, [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])
  73226. +
  73227. +if test "$ac_cv_header_setjmp_h" != "yes"; then
  73228. + echo
  73229. + echo "WARNING:"
  73230. + echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  73231. + echo "If you are using the FIASCO library, exit() is now called in case of errors."
  73232. + echo "Please send me a mail ([email protected]) with the output of"
  73233. + echo "the configure script."
  73234. + echo
  73235. +fi
  73236. +
  73237. diff -Nru Fiasco-master/configure.in Fiasco-master-pfiasco/configure.in
  73238. --- Fiasco-master/configure.in 2013-06-06 22:56:44.000000000 -0400
  73239. +++ Fiasco-master-pfiasco/configure.in 1969-12-31 19:00:00.000000000 -0500
  73240. @@ -1,88 +0,0 @@
  73241. -# This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  73242. -# Copyright (C) 1994-2000 Ullrich Hafner <[email protected]>
  73243. -#
  73244. -# $Id: configure.in,v 5.4 2000/10/22 10:46:54 hafner Exp hafner $
  73245. -# $Revision: 5.4 $, $State: Exp $, $Date: 2000/10/22 10:46:54 $
  73246. -#
  73247. -# Process this file with autoconf to produce a configure script.
  73248. -
  73249. -AC_INIT(system.fiascorc)
  73250. -AC_CONFIG_MACRO_DIR([m4])
  73251. -AM_INIT_AUTOMAKE(fiasco, 1.3)
  73252. -AM_CONFIG_HEADER(config.h)
  73253. -
  73254. -# Important programs:
  73255. -AM_PROG_LIBTOOL
  73256. -AC_SUBST(LIBTOOL_DEPS)
  73257. -AC_PROG_CC
  73258. -
  73259. -# Compiler Flags
  73260. -AC_SUBST(INCLUDES)
  73261. -#INCLUDES='-ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  73262. -INCLUDES='-DFIASCO_SHARE=\"$(pkgdatadir)\" -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/input -I$(top_srcdir)/output -I$(top_srcdir)/codec'
  73263. -
  73264. -# Checks whether shifting of signed integers works: -1 << 3 = -8 .
  73265. -AC_CACHE_CHECK(whether shifting of signed integers works,
  73266. -ac_cv_signed_shift,
  73267. -[AC_TRY_RUN([main () {
  73268. - exit ((-1 << 2) == -4 && (-4 >> 2) == -1);
  73269. -}], ac_cv_signed_shift=no, ac_cv_signed_shift=yes, ac_cv_signed_shift=yes)])
  73270. -if test $ac_cv_signed_shift = yes; then
  73271. - AC_DEFINE(HAVE_SIGNED_SHIFT)
  73272. -fi
  73273. -
  73274. -AC_C_BIGENDIAN
  73275. -AC_CHECK_SIZEOF(char)
  73276. -AC_CHECK_SIZEOF(short)
  73277. -AC_CHECK_SIZEOF(int)
  73278. -
  73279. -if test [$ac_cv_sizeof_char != 1] -o [$ac_cv_sizeof_short != 2] -o [$ac_cv_sizeof_int != 4] ; then
  73280. - echo "FIASCO requires that sizeof(char)==1, sizeof(short)==2 and sizeof(int)==4"
  73281. - echo "configure failed."
  73282. - exit 1
  73283. -fi
  73284. -
  73285. -# Checks for math library.
  73286. -AC_CHECK_LIB(m, log)
  73287. -if test "$ac_cv_lib_m_log" = "no"; then
  73288. - echo "FIASCO requires math library!"
  73289. - echo "It was not found on your system."
  73290. - echo "configure failed."
  73291. - exit 1
  73292. -fi
  73293. -
  73294. -# Checks for programs
  73295. -AC_PATH_PROG(xfig, xfig)
  73296. -if test -n "$xfig"; then
  73297. - AC_DEFINE_UNQUOTED(XFIG, "$xfig", [Define path of xfig utility])
  73298. -fi
  73299. -AC_PATH_PROG(xmag, xmag)
  73300. -if test -n "$xmag"; then
  73301. - AC_DEFINE_UNQUOTED(XMAG, "$xmag", [Define path of xmag utility])
  73302. -fi
  73303. -
  73304. -# Checks for header files.
  73305. -AC_HEADER_STDC
  73306. -AC_CHECK_HEADERS(assert.h features.h setjmp.h string.h unistd.h)
  73307. -
  73308. -# Checks for typedefs, structures, and compiler characteristics.
  73309. -AC_C_CONST
  73310. -AC_TYPE_SIZE_T
  73311. -AC_HEADER_TIME
  73312. -
  73313. -# Checks for library functions.
  73314. -AC_FUNC_VPRINTF
  73315. -AC_CHECK_FUNCS(log2 memmove strdup strcasecmp)
  73316. -
  73317. -AC_OUTPUT(Makefile data/Makefile doc/Makefile lib/Makefile input/Makefile output/Makefile codec/Makefile bin/Makefile, [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])
  73318. -
  73319. -if test "$ac_cv_header_setjmp_h" != "yes"; then
  73320. - echo
  73321. - echo "WARNING:"
  73322. - echo "Error handling of FIASCO library requires ANSI-C setjmp.h header file!"
  73323. - echo "If you are using the FIASCO library, exit() is now called in case of errors."
  73324. - echo "Please send me a mail ([email protected]) with the output of"
  73325. - echo "the configure script."
  73326. - echo
  73327. -fi
  73328. -
  73329. diff -Nru Fiasco-master/data/Makefile.in Fiasco-master-pfiasco/data/Makefile.in
  73330. --- Fiasco-master/data/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  73331. +++ Fiasco-master-pfiasco/data/Makefile.in 2019-06-17 21:04:59.432767962 -0400
  73332. @@ -1,9 +1,8 @@
  73333. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73334. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  73335. # @configure_input@
  73336.  
  73337. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73338. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73339. -# Inc.
  73340. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  73341. +
  73342. # This Makefile.in is free software; the Free Software Foundation
  73343. # gives unlimited permission to copy and/or distribute it,
  73344. # with or without modifications, as long as this notice is preserved.
  73345. @@ -16,6 +15,61 @@
  73346. @SET_MAKE@
  73347.  
  73348. VPATH = @srcdir@
  73349. +am__is_gnu_make = { \
  73350. + if test -z '$(MAKELEVEL)'; then \
  73351. + false; \
  73352. + elif test -n '$(MAKE_HOST)'; then \
  73353. + true; \
  73354. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  73355. + true; \
  73356. + else \
  73357. + false; \
  73358. + fi; \
  73359. +}
  73360. +am__make_running_with_option = \
  73361. + case $${target_option-} in \
  73362. + ?) ;; \
  73363. + *) echo "am__make_running_with_option: internal error: invalid" \
  73364. + "target option '$${target_option-}' specified" >&2; \
  73365. + exit 1;; \
  73366. + esac; \
  73367. + has_opt=no; \
  73368. + sane_makeflags=$$MAKEFLAGS; \
  73369. + if $(am__is_gnu_make); then \
  73370. + sane_makeflags=$$MFLAGS; \
  73371. + else \
  73372. + case $$MAKEFLAGS in \
  73373. + *\\[\ \ ]*) \
  73374. + bs=\\; \
  73375. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  73376. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  73377. + esac; \
  73378. + fi; \
  73379. + skip_next=no; \
  73380. + strip_trailopt () \
  73381. + { \
  73382. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  73383. + }; \
  73384. + for flg in $$sane_makeflags; do \
  73385. + test $$skip_next = yes && { skip_next=no; continue; }; \
  73386. + case $$flg in \
  73387. + *=*|--*) continue;; \
  73388. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  73389. + -*I?*) strip_trailopt 'I';; \
  73390. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  73391. + -*O?*) strip_trailopt 'O';; \
  73392. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  73393. + -*l?*) strip_trailopt 'l';; \
  73394. + -[dEDm]) skip_next=yes;; \
  73395. + -[JT]) skip_next=yes;; \
  73396. + esac; \
  73397. + case $$flg in \
  73398. + *$$target_option*) has_opt=yes; break;; \
  73399. + esac; \
  73400. + done; \
  73401. + test $$has_opt = yes
  73402. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  73403. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  73404. pkgdatadir = $(datadir)/@PACKAGE@
  73405. pkgincludedir = $(includedir)/@PACKAGE@
  73406. pkglibdir = $(libdir)/@PACKAGE@
  73407. @@ -35,17 +89,37 @@
  73408. build_triplet = @build@
  73409. host_triplet = @host@
  73410. subdir = data
  73411. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  73412. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  73413. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  73414. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  73415. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  73416. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  73417. + $(top_srcdir)/configure.ac
  73418. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73419. $(ACLOCAL_M4)
  73420. +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
  73421. mkinstalldirs = $(install_sh) -d
  73422. CONFIG_HEADER = $(top_builddir)/config.h
  73423. CONFIG_CLEAN_FILES =
  73424. CONFIG_CLEAN_VPATH_FILES =
  73425. +AM_V_P = $(am__v_P_@AM_V@)
  73426. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  73427. +am__v_P_0 = false
  73428. +am__v_P_1 = :
  73429. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  73430. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  73431. +am__v_GEN_0 = @echo " GEN " $@;
  73432. +am__v_GEN_1 =
  73433. +AM_V_at = $(am__v_at_@AM_V@)
  73434. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  73435. +am__v_at_0 = @
  73436. +am__v_at_1 =
  73437. SOURCES =
  73438. DIST_SOURCES =
  73439. +am__can_run_installinfo = \
  73440. + case $$AM_UPDATE_INFO_DIR in \
  73441. + n|no|NO) false;; \
  73442. + *) (install-info --version) >/dev/null 2>&1;; \
  73443. + esac
  73444. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  73445. am__vpath_adj = case $$p in \
  73446. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  73447. @@ -67,11 +141,21 @@
  73448. am__base_list = \
  73449. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  73450. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  73451. +am__uninstall_files_from_dir = { \
  73452. + test -z "$$files" \
  73453. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  73454. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  73455. + $(am__cd) "$$dir" && rm -f $$files; }; \
  73456. + }
  73457. am__installdirs = "$(DESTDIR)$(pkgdatadir)"
  73458. DATA = $(pkgdata_DATA)
  73459. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  73460. +am__DIST_COMMON = $(srcdir)/Makefile.in
  73461. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  73462. ACLOCAL = @ACLOCAL@
  73463. AMTAR = @AMTAR@
  73464. +AM_CPPFLAGS = @AM_CPPFLAGS@
  73465. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  73466. AR = @AR@
  73467. AUTOCONF = @AUTOCONF@
  73468. AUTOHEADER = @AUTOHEADER@
  73469. @@ -85,6 +169,7 @@
  73470. CYGPATH_W = @CYGPATH_W@
  73471. DEFS = @DEFS@
  73472. DEPDIR = @DEPDIR@
  73473. +DLLTOOL = @DLLTOOL@
  73474. DSYMUTIL = @DSYMUTIL@
  73475. DUMPBIN = @DUMPBIN@
  73476. ECHO_C = @ECHO_C@
  73477. @@ -94,7 +179,6 @@
  73478. EXEEXT = @EXEEXT@
  73479. FGREP = @FGREP@
  73480. GREP = @GREP@
  73481. -INCLUDES = @INCLUDES@
  73482. INSTALL = @INSTALL@
  73483. INSTALL_DATA = @INSTALL_DATA@
  73484. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73485. @@ -109,7 +193,9 @@
  73486. LIPO = @LIPO@
  73487. LN_S = @LN_S@
  73488. LTLIBOBJS = @LTLIBOBJS@
  73489. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  73490. MAKEINFO = @MAKEINFO@
  73491. +MANIFEST_TOOL = @MANIFEST_TOOL@
  73492. MKDIR_P = @MKDIR_P@
  73493. NM = @NM@
  73494. NMEDIT = @NMEDIT@
  73495. @@ -135,6 +221,7 @@
  73496. abs_srcdir = @abs_srcdir@
  73497. abs_top_builddir = @abs_top_builddir@
  73498. abs_top_srcdir = @abs_top_srcdir@
  73499. +ac_ct_AR = @ac_ct_AR@
  73500. ac_ct_CC = @ac_ct_CC@
  73501. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73502. am__include = @am__include@
  73503. @@ -167,7 +254,6 @@
  73504. libexecdir = @libexecdir@
  73505. localedir = @localedir@
  73506. localstatedir = @localstatedir@
  73507. -lt_ECHO = @lt_ECHO@
  73508. mandir = @mandir@
  73509. mkdir_p = @mkdir_p@
  73510. oldincludedir = @oldincludedir@
  73511. @@ -202,14 +288,13 @@
  73512. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
  73513. $(am__cd) $(top_srcdir) && \
  73514. $(AUTOMAKE) --gnu data/Makefile
  73515. -.PRECIOUS: Makefile
  73516. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73517. @case '$?' in \
  73518. *config.status*) \
  73519. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  73520. *) \
  73521. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  73522. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  73523. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  73524. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  73525. esac;
  73526.  
  73527. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  73528. @@ -228,8 +313,11 @@
  73529. -rm -rf .libs _libs
  73530. install-pkgdataDATA: $(pkgdata_DATA)
  73531. @$(NORMAL_INSTALL)
  73532. - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
  73533. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  73534. + if test -n "$$list"; then \
  73535. + echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
  73536. + $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
  73537. + fi; \
  73538. for p in $$list; do \
  73539. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  73540. echo "$$d$$p"; \
  73541. @@ -243,17 +331,18 @@
  73542. @$(NORMAL_UNINSTALL)
  73543. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  73544. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  73545. - test -n "$$files" || exit 0; \
  73546. - echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
  73547. - cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
  73548. -tags: TAGS
  73549. -TAGS:
  73550. + dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
  73551. +tags TAGS:
  73552. +
  73553. +ctags CTAGS:
  73554.  
  73555. -ctags: CTAGS
  73556. -CTAGS:
  73557. +cscope cscopelist:
  73558.  
  73559.  
  73560. -distdir: $(DISTFILES)
  73561. +distdir: $(BUILT_SOURCES)
  73562. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  73563. +
  73564. +distdir-am: $(DISTFILES)
  73565. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73566. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73567. list='$(DISTFILES)'; \
  73568. @@ -300,10 +389,15 @@
  73569.  
  73570. installcheck: installcheck-am
  73571. install-strip:
  73572. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73573. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73574. - `test -z '$(STRIP)' || \
  73575. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  73576. + if test -z '$(STRIP)'; then \
  73577. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73578. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73579. + install; \
  73580. + else \
  73581. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73582. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73583. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  73584. + fi
  73585. mostlyclean-generic:
  73586.  
  73587. clean-generic:
  73588. @@ -384,16 +478,18 @@
  73589. .MAKE: install-am install-strip
  73590.  
  73591. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  73592. - distclean distclean-generic distclean-libtool distdir dvi \
  73593. - dvi-am html html-am info info-am install install-am \
  73594. - install-data install-data-am install-dvi install-dvi-am \
  73595. - install-exec install-exec-am install-html install-html-am \
  73596. - install-info install-info-am install-man install-pdf \
  73597. - install-pdf-am install-pkgdataDATA install-ps install-ps-am \
  73598. - install-strip installcheck installcheck-am installdirs \
  73599. - maintainer-clean maintainer-clean-generic mostlyclean \
  73600. - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  73601. - uninstall uninstall-am uninstall-pkgdataDATA
  73602. + cscopelist-am ctags-am distclean distclean-generic \
  73603. + distclean-libtool distdir dvi dvi-am html html-am info info-am \
  73604. + install install-am install-data install-data-am install-dvi \
  73605. + install-dvi-am install-exec install-exec-am install-html \
  73606. + install-html-am install-info install-info-am install-man \
  73607. + install-pdf install-pdf-am install-pkgdataDATA install-ps \
  73608. + install-ps-am install-strip installcheck installcheck-am \
  73609. + installdirs maintainer-clean maintainer-clean-generic \
  73610. + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  73611. + ps ps-am tags-am uninstall uninstall-am uninstall-pkgdataDATA
  73612. +
  73613. +.PRECIOUS: Makefile
  73614.  
  73615.  
  73616. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73617. diff -Nru Fiasco-master/doc/Makefile.am Fiasco-master-pfiasco/doc/Makefile.am
  73618. --- Fiasco-master/doc/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  73619. +++ Fiasco-master-pfiasco/doc/Makefile.am 2019-06-17 21:07:21.620834240 -0400
  73620. @@ -59,7 +59,7 @@
  73621. fiasco_get_error_message.3 \
  73622. fiasco_set_verbosity.3 \
  73623. fiasco_get_verbosity.3 \
  73624. - afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pnmpsnr.1
  73625. + afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pfiasco.1
  73626.  
  73627. EXTRA_DIST = README.LIB $(man_MANS)
  73628.  
  73629. diff -Nru Fiasco-master/doc/Makefile.in Fiasco-master-pfiasco/doc/Makefile.in
  73630. --- Fiasco-master/doc/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  73631. +++ Fiasco-master-pfiasco/doc/Makefile.in 2019-06-17 21:07:21.642834094 -0400
  73632. @@ -1,9 +1,8 @@
  73633. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73634. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  73635. # @configure_input@
  73636.  
  73637. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73638. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73639. -# Inc.
  73640. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  73641. +
  73642. # This Makefile.in is free software; the Free Software Foundation
  73643. # gives unlimited permission to copy and/or distribute it,
  73644. # with or without modifications, as long as this notice is preserved.
  73645. @@ -15,6 +14,61 @@
  73646.  
  73647. @SET_MAKE@
  73648. VPATH = @srcdir@
  73649. +am__is_gnu_make = { \
  73650. + if test -z '$(MAKELEVEL)'; then \
  73651. + false; \
  73652. + elif test -n '$(MAKE_HOST)'; then \
  73653. + true; \
  73654. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  73655. + true; \
  73656. + else \
  73657. + false; \
  73658. + fi; \
  73659. +}
  73660. +am__make_running_with_option = \
  73661. + case $${target_option-} in \
  73662. + ?) ;; \
  73663. + *) echo "am__make_running_with_option: internal error: invalid" \
  73664. + "target option '$${target_option-}' specified" >&2; \
  73665. + exit 1;; \
  73666. + esac; \
  73667. + has_opt=no; \
  73668. + sane_makeflags=$$MAKEFLAGS; \
  73669. + if $(am__is_gnu_make); then \
  73670. + sane_makeflags=$$MFLAGS; \
  73671. + else \
  73672. + case $$MAKEFLAGS in \
  73673. + *\\[\ \ ]*) \
  73674. + bs=\\; \
  73675. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  73676. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  73677. + esac; \
  73678. + fi; \
  73679. + skip_next=no; \
  73680. + strip_trailopt () \
  73681. + { \
  73682. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  73683. + }; \
  73684. + for flg in $$sane_makeflags; do \
  73685. + test $$skip_next = yes && { skip_next=no; continue; }; \
  73686. + case $$flg in \
  73687. + *=*|--*) continue;; \
  73688. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  73689. + -*I?*) strip_trailopt 'I';; \
  73690. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  73691. + -*O?*) strip_trailopt 'O';; \
  73692. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  73693. + -*l?*) strip_trailopt 'l';; \
  73694. + -[dEDm]) skip_next=yes;; \
  73695. + -[JT]) skip_next=yes;; \
  73696. + esac; \
  73697. + case $$flg in \
  73698. + *$$target_option*) has_opt=yes; break;; \
  73699. + esac; \
  73700. + done; \
  73701. + test $$has_opt = yes
  73702. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  73703. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  73704. pkgdatadir = $(datadir)/@PACKAGE@
  73705. pkgincludedir = $(includedir)/@PACKAGE@
  73706. pkglibdir = $(libdir)/@PACKAGE@
  73707. @@ -34,17 +88,37 @@
  73708. build_triplet = @build@
  73709. host_triplet = @host@
  73710. subdir = doc
  73711. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  73712. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  73713. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  73714. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  73715. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  73716. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  73717. + $(top_srcdir)/configure.ac
  73718. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73719. $(ACLOCAL_M4)
  73720. +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
  73721. mkinstalldirs = $(install_sh) -d
  73722. CONFIG_HEADER = $(top_builddir)/config.h
  73723. CONFIG_CLEAN_FILES =
  73724. CONFIG_CLEAN_VPATH_FILES =
  73725. +AM_V_P = $(am__v_P_@AM_V@)
  73726. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  73727. +am__v_P_0 = false
  73728. +am__v_P_1 = :
  73729. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  73730. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  73731. +am__v_GEN_0 = @echo " GEN " $@;
  73732. +am__v_GEN_1 =
  73733. +AM_V_at = $(am__v_at_@AM_V@)
  73734. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  73735. +am__v_at_0 = @
  73736. +am__v_at_1 =
  73737. SOURCES =
  73738. DIST_SOURCES =
  73739. +am__can_run_installinfo = \
  73740. + case $$AM_UPDATE_INFO_DIR in \
  73741. + n|no|NO) false;; \
  73742. + *) (install-info --version) >/dev/null 2>&1;; \
  73743. + esac
  73744. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  73745. am__vpath_adj = case $$p in \
  73746. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  73747. @@ -66,14 +140,24 @@
  73748. am__base_list = \
  73749. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  73750. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  73751. +am__uninstall_files_from_dir = { \
  73752. + test -z "$$files" \
  73753. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  73754. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  73755. + $(am__cd) "$$dir" && rm -f $$files; }; \
  73756. + }
  73757. man1dir = $(mandir)/man1
  73758. am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)"
  73759. man3dir = $(mandir)/man3
  73760. NROFF = nroff
  73761. MANS = $(man_MANS)
  73762. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  73763. +am__DIST_COMMON = $(srcdir)/Makefile.in
  73764. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  73765. ACLOCAL = @ACLOCAL@
  73766. AMTAR = @AMTAR@
  73767. +AM_CPPFLAGS = @AM_CPPFLAGS@
  73768. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  73769. AR = @AR@
  73770. AUTOCONF = @AUTOCONF@
  73771. AUTOHEADER = @AUTOHEADER@
  73772. @@ -87,6 +171,7 @@
  73773. CYGPATH_W = @CYGPATH_W@
  73774. DEFS = @DEFS@
  73775. DEPDIR = @DEPDIR@
  73776. +DLLTOOL = @DLLTOOL@
  73777. DSYMUTIL = @DSYMUTIL@
  73778. DUMPBIN = @DUMPBIN@
  73779. ECHO_C = @ECHO_C@
  73780. @@ -96,7 +181,6 @@
  73781. EXEEXT = @EXEEXT@
  73782. FGREP = @FGREP@
  73783. GREP = @GREP@
  73784. -INCLUDES = @INCLUDES@
  73785. INSTALL = @INSTALL@
  73786. INSTALL_DATA = @INSTALL_DATA@
  73787. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73788. @@ -111,7 +195,9 @@
  73789. LIPO = @LIPO@
  73790. LN_S = @LN_S@
  73791. LTLIBOBJS = @LTLIBOBJS@
  73792. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  73793. MAKEINFO = @MAKEINFO@
  73794. +MANIFEST_TOOL = @MANIFEST_TOOL@
  73795. MKDIR_P = @MKDIR_P@
  73796. NM = @NM@
  73797. NMEDIT = @NMEDIT@
  73798. @@ -137,6 +223,7 @@
  73799. abs_srcdir = @abs_srcdir@
  73800. abs_top_builddir = @abs_top_builddir@
  73801. abs_top_srcdir = @abs_top_srcdir@
  73802. +ac_ct_AR = @ac_ct_AR@
  73803. ac_ct_CC = @ac_ct_CC@
  73804. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73805. am__include = @am__include@
  73806. @@ -169,7 +256,6 @@
  73807. libexecdir = @libexecdir@
  73808. localedir = @localedir@
  73809. localstatedir = @localstatedir@
  73810. -lt_ECHO = @lt_ECHO@
  73811. mandir = @mandir@
  73812. mkdir_p = @mkdir_p@
  73813. oldincludedir = @oldincludedir@
  73814. @@ -236,7 +322,7 @@
  73815. fiasco_get_error_message.3 \
  73816. fiasco_set_verbosity.3 \
  73817. fiasco_get_verbosity.3 \
  73818. - afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pnmpsnr.1
  73819. + afiasco.1 bfiasco.1 cfiasco.1 dfiasco.1 efiasco.1 pfiasco.1
  73820.  
  73821. EXTRA_DIST = README.LIB $(man_MANS)
  73822. all: all-am
  73823. @@ -254,14 +340,13 @@
  73824. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
  73825. $(am__cd) $(top_srcdir) && \
  73826. $(AUTOMAKE) --gnu doc/Makefile
  73827. -.PRECIOUS: Makefile
  73828. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73829. @case '$?' in \
  73830. *config.status*) \
  73831. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  73832. *) \
  73833. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  73834. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  73835. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  73836. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  73837. esac;
  73838.  
  73839. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  73840. @@ -280,11 +365,18 @@
  73841. -rm -rf .libs _libs
  73842. install-man1: $(man_MANS)
  73843. @$(NORMAL_INSTALL)
  73844. - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  73845. - @list=''; test -n "$(man1dir)" || exit 0; \
  73846. - { for i in $$list; do echo "$$i"; done; \
  73847. - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  73848. - sed -n '/\.1[a-z]*$$/p'; \
  73849. + @list1=''; \
  73850. + list2='$(man_MANS)'; \
  73851. + test -n "$(man1dir)" \
  73852. + && test -n "`echo $$list1$$list2`" \
  73853. + || exit 0; \
  73854. + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
  73855. + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
  73856. + { for i in $$list1; do echo "$$i"; done; \
  73857. + if test -n "$$list2"; then \
  73858. + for i in $$list2; do echo "$$i"; done \
  73859. + | sed -n '/\.1[a-z]*$$/p'; \
  73860. + fi; \
  73861. } | while read p; do \
  73862. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  73863. echo "$$d$$p"; echo "$$p"; \
  73864. @@ -313,16 +405,21 @@
  73865. sed -n '/\.1[a-z]*$$/p'; \
  73866. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  73867. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  73868. - test -z "$$files" || { \
  73869. - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  73870. - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  73871. + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
  73872. install-man3: $(man_MANS)
  73873. @$(NORMAL_INSTALL)
  73874. - test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  73875. - @list=''; test -n "$(man3dir)" || exit 0; \
  73876. - { for i in $$list; do echo "$$i"; done; \
  73877. - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  73878. - sed -n '/\.3[a-z]*$$/p'; \
  73879. + @list1=''; \
  73880. + list2='$(man_MANS)'; \
  73881. + test -n "$(man3dir)" \
  73882. + && test -n "`echo $$list1$$list2`" \
  73883. + || exit 0; \
  73884. + echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
  73885. + $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
  73886. + { for i in $$list1; do echo "$$i"; done; \
  73887. + if test -n "$$list2"; then \
  73888. + for i in $$list2; do echo "$$i"; done \
  73889. + | sed -n '/\.3[a-z]*$$/p'; \
  73890. + fi; \
  73891. } | while read p; do \
  73892. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  73893. echo "$$d$$p"; echo "$$p"; \
  73894. @@ -351,30 +448,18 @@
  73895. sed -n '/\.3[a-z]*$$/p'; \
  73896. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  73897. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  73898. - test -z "$$files" || { \
  73899. - echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  73900. - cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  73901. -tags: TAGS
  73902. -TAGS:
  73903. -
  73904. -ctags: CTAGS
  73905. -CTAGS:
  73906. -
  73907. -
  73908. -distdir: $(DISTFILES)
  73909. - @list='$(MANS)'; if test -n "$$list"; then \
  73910. - list=`for p in $$list; do \
  73911. - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  73912. - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  73913. - if test -n "$$list" && \
  73914. - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  73915. - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  73916. - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  73917. - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  73918. - echo " typically \`make maintainer-clean' will remove them" >&2; \
  73919. - exit 1; \
  73920. - else :; fi; \
  73921. - else :; fi
  73922. + dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
  73923. +tags TAGS:
  73924. +
  73925. +ctags CTAGS:
  73926. +
  73927. +cscope cscopelist:
  73928. +
  73929. +
  73930. +distdir: $(BUILT_SOURCES)
  73931. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  73932. +
  73933. +distdir-am: $(DISTFILES)
  73934. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73935. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73936. list='$(DISTFILES)'; \
  73937. @@ -421,10 +506,15 @@
  73938.  
  73939. installcheck: installcheck-am
  73940. install-strip:
  73941. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73942. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73943. - `test -z '$(STRIP)' || \
  73944. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  73945. + if test -z '$(STRIP)'; then \
  73946. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73947. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73948. + install; \
  73949. + else \
  73950. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  73951. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  73952. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  73953. + fi
  73954. mostlyclean-generic:
  73955.  
  73956. clean-generic:
  73957. @@ -507,17 +597,19 @@
  73958. .MAKE: install-am install-strip
  73959.  
  73960. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  73961. - distclean distclean-generic distclean-libtool distdir dvi \
  73962. - dvi-am html html-am info info-am install install-am \
  73963. - install-data install-data-am install-dvi install-dvi-am \
  73964. - install-exec install-exec-am install-html install-html-am \
  73965. - install-info install-info-am install-man install-man1 \
  73966. - install-man3 install-pdf install-pdf-am install-ps \
  73967. - install-ps-am install-strip installcheck installcheck-am \
  73968. - installdirs maintainer-clean maintainer-clean-generic \
  73969. - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  73970. - ps ps-am uninstall uninstall-am uninstall-man uninstall-man1 \
  73971. - uninstall-man3
  73972. + cscopelist-am ctags-am distclean distclean-generic \
  73973. + distclean-libtool distdir dvi dvi-am html html-am info info-am \
  73974. + install install-am install-data install-data-am install-dvi \
  73975. + install-dvi-am install-exec install-exec-am install-html \
  73976. + install-html-am install-info install-info-am install-man \
  73977. + install-man1 install-man3 install-pdf install-pdf-am \
  73978. + install-ps install-ps-am install-strip installcheck \
  73979. + installcheck-am installdirs maintainer-clean \
  73980. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  73981. + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
  73982. + uninstall-am uninstall-man uninstall-man1 uninstall-man3
  73983. +
  73984. +.PRECIOUS: Makefile
  73985.  
  73986.  
  73987. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73988. diff -Nru Fiasco-master/doc/pfiasco.1 Fiasco-master-pfiasco/doc/pfiasco.1
  73989. --- Fiasco-master/doc/pfiasco.1 1969-12-31 19:00:00.000000000 -0500
  73990. +++ Fiasco-master-pfiasco/doc/pfiasco.1 2019-06-17 19:59:54.833780687 -0400
  73991. @@ -0,0 +1,46 @@
  73992. +.\" $Id: pfiasco.1,v 1.2 2000/07/16 17:39:32 hafner Exp $
  73993. +.TH pfiasco 1 "April, 2000" "FIASCO" "Fractal Image And Sequence COdec"
  73994. +
  73995. +.SH NAME
  73996. +.B pfiasco
  73997. +\- Compute peak signal-to-noise ratio (PSNR) between images
  73998. +
  73999. +.SH SYNOPSIS
  74000. +.B pfiasco \fIoriginal\fP \fIcompressed\fP
  74001. +
  74002. +.ad b
  74003. +.hy 1
  74004. +.SH DESCRIPTION
  74005. +\|\fBpfiasco\fP\| computes the peak signal-to-noise ratio (PSNR)
  74006. +between images \fIoriginal\fP and \fIcompressed\fP. This metric is
  74007. +typically used in image compression papers to rate the distortion
  74008. +between original and decoded image. The input images have to be
  74009. +in raw pgm(5) or ppm(5) format.
  74010. +
  74011. +.SH EXAMPLES
  74012. +.TP
  74013. +pnmerr original.ppm decoded.ppm
  74014. +Evaluates the distortion of the decoded image "decoded.ppm" with
  74015. +respect to the original image "original.ppm".
  74016. +
  74017. +.SH ENVIRONMENT
  74018. +.PD 0
  74019. +.TP
  74020. +.B FIASCO_IMAGES
  74021. +Load path for image files. Default is "./".
  74022. +
  74023. +.SH "SEE ALSO"
  74024. +.br
  74025. +.BR dfiasco (1)
  74026. +.br
  74027. +
  74028. +Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.
  74029. +\fBWeighted Finite Automata for Video Compression\fP, IEEE Journal on
  74030. +Selected Areas In Communications, January 1998
  74031. +.br
  74032. +Ullrich Hafner. \fBLow Bit-Rate Image and Video Coding with Weighted
  74033. +Finite Automata\fP, Ph.D. thesis, Mensch & Buch Verlag, ISBN
  74034. +3-89820-002-7, October 1999.
  74035. +
  74036. +.SH AUTHOR
  74037. +Ullrich Hafner <[email protected]>
  74038. diff -Nru Fiasco-master/doc/pnmpsnr.1 Fiasco-master-pfiasco/doc/pnmpsnr.1
  74039. --- Fiasco-master/doc/pnmpsnr.1 2013-06-06 22:56:44.000000000 -0400
  74040. +++ Fiasco-master-pfiasco/doc/pnmpsnr.1 1969-12-31 19:00:00.000000000 -0500
  74041. @@ -1,46 +0,0 @@
  74042. -.\" $Id: pnmpsnr.1,v 1.2 2000/07/16 17:39:32 hafner Exp $
  74043. -.TH pnmpsnr 1 "April, 2000" "FIASCO" "Fractal Image And Sequence COdec"
  74044. -
  74045. -.SH NAME
  74046. -.B pnmpsnr
  74047. -\- Compute peak signal-to-noise ratio (PSNR) between images
  74048. -
  74049. -.SH SYNOPSIS
  74050. -.B pnmpsnr \fIoriginal\fP \fIcompressed\fP
  74051. -
  74052. -.ad b
  74053. -.hy 1
  74054. -.SH DESCRIPTION
  74055. -\|\fBpnmpsnr\fP\| computes the peak signal-to-noise ratio (PSNR)
  74056. -between images \fIoriginal\fP and \fIcompressed\fP. This metric is
  74057. -typically used in image compression papers to rate the distortion
  74058. -between original and decoded image. The input images have to be
  74059. -in raw pgm(5) or ppm(5) format.
  74060. -
  74061. -.SH EXAMPLES
  74062. -.TP
  74063. -pnmerr original.ppm decoded.ppm
  74064. -Evaluates the distortion of the decoded image "decoded.ppm" with
  74065. -respect to the original image "original.ppm".
  74066. -
  74067. -.SH ENVIRONMENT
  74068. -.PD 0
  74069. -.TP
  74070. -.B FIASCO_IMAGES
  74071. -Load path for image files. Default is "./".
  74072. -
  74073. -.SH "SEE ALSO"
  74074. -.br
  74075. -.BR dfiasco (1)
  74076. -.br
  74077. -
  74078. -Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger.
  74079. -\fBWeighted Finite Automata for Video Compression\fP, IEEE Journal on
  74080. -Selected Areas In Communications, January 1998
  74081. -.br
  74082. -Ullrich Hafner. \fBLow Bit-Rate Image and Video Coding with Weighted
  74083. -Finite Automata\fP, Ph.D. thesis, Mensch & Buch Verlag, ISBN
  74084. -3-89820-002-7, October 1999.
  74085. -
  74086. -.SH AUTHOR
  74087. -Ullrich Hafner <[email protected]>
  74088. diff -Nru Fiasco-master/doc/README.LIB Fiasco-master-pfiasco/doc/README.LIB
  74089. --- Fiasco-master/doc/README.LIB 2013-06-06 22:56:44.000000000 -0400
  74090. +++ Fiasco-master-pfiasco/doc/README.LIB 2019-06-17 21:07:21.644834081 -0400
  74091. @@ -28,12 +28,12 @@
  74092.  
  74093. - fiasco_renderer: used to render the generated image object
  74094. to one of the supported X11 output formats, see
  74095. - fiasco_render(3) or the files bin/dwfa.c or bin/pnmpsnr.c for
  74096. + fiasco_render(3) or the files bin/dwfa.c or bin/pfiasco.c for
  74097. details.
  74098.  
  74099. - fiasco_options: used to control various decoder and encoder
  74100. options, see fiasco_options(3) or the files bin/cwfa.c,
  74101. - bin/dwfa.c or bin/pnmpsnr.c for details.
  74102. + bin/dwfa.c or bin/pfiasco.c for details.
  74103.  
  74104.  
  74105. Since the coder doesn't store any internal information, the only
  74106. diff -Nru Fiasco-master/fiasco.spec Fiasco-master-pfiasco/fiasco.spec
  74107. --- Fiasco-master/fiasco.spec 2013-06-06 22:56:44.000000000 -0400
  74108. +++ Fiasco-master-pfiasco/fiasco.spec 2019-06-17 20:00:09.787636104 -0400
  74109. @@ -69,13 +69,13 @@
  74110. %{prefix}/bin/cfiasco
  74111. %{prefix}/bin/dfiasco
  74112. %{prefix}/bin/efiasco
  74113. -%{prefix}/bin/pnmpsnr
  74114. +%{prefix}/bin/pfiasco
  74115. %{prefix}/share/fiasco/*
  74116. %doc README INSTALL COPYING ChangeLog TODO AUTHORS
  74117. %doc %{prefix}/man/man1/cfiasco.1
  74118. %doc %{prefix}/man/man1/dfiasco.1
  74119. %doc %{prefix}/man/man1/efiasco.1
  74120. -%doc %{prefix}/man/man1/pnmpsnr.1
  74121. +%doc %{prefix}/man/man1/pfiasco.1
  74122.  
  74123. %files devel
  74124. %defattr(-,root,root)
  74125. diff -Nru Fiasco-master/input/basis.c Fiasco-master-pfiasco/input/basis.c
  74126. --- Fiasco-master/input/basis.c 2013-06-06 22:56:44.000000000 -0400
  74127. +++ Fiasco-master-pfiasco/input/basis.c 1969-12-31 19:00:00.000000000 -0500
  74128. @@ -1,139 +0,0 @@
  74129. -/*
  74130. - * basis.c: WFA initial basis files
  74131. - *
  74132. - * Written by: Ullrich Hafner
  74133. - *
  74134. - * This file is part of FIASCO ([F]ractal [I]mage [A]nd [S]equence [CO]dec)
  74135. - * Copyright (C) 1994-2000 Ullrich Hafner <[email protected]>
  74136. - */
  74137. -
  74138. -/*
  74139. - * $Date: 2000/06/25 16:38:06 $
  74140. - * $Author: hafner $
  74141. - * $Revision: 5.3 $
  74142. - * $State: Exp $
  74143. - */
  74144. -
  74145. -#include "config.h"
  74146. -
  74147. -#include "types.h"
  74148. -#include "macros.h"
  74149. -#include "error.h"
  74150. -
  74151. -#include "wfa.h"
  74152. -#include "wfalib.h"
  74153. -
  74154. -#include "basis.h"
  74155. -
  74156. -typedef struct basis_values
  74157. -{
  74158. - unsigned states;
  74159. - real_t *final;
  74160. - bool_t *use_domain;
  74161. - real_t (*transitions)[4];
  74162. -} basis_values_t;
  74163. -
  74164. -typedef struct
  74165. -{
  74166. - char *filename;
  74167. - void (*function)(basis_values_t *bv);
  74168. -} basis_file_t;
  74169. -
  74170. -/*****************************************************************************
  74171. -
  74172. - prototypes
  74173. -
  74174. -*****************************************************************************/
  74175. -
  74176. -static void
  74177. -small_init (basis_values_t *bv);
  74178. -
  74179. -static const basis_file_t basis_files[] = { {"small.fco", small_init},
  74180. - {"small.wfa", small_init},
  74181. - {NULL, NULL} };
  74182. -
  74183. -/*****************************************************************************
  74184. -
  74185. - public code
  74186. -
  74187. -*****************************************************************************/
  74188. -
  74189. -bool_t
  74190. -get_linked_basis (const char *basis_name, wfa_t *wfa)
  74191. -/*
  74192. - * Check wether given WFA initial basis 'basis_name' is already linked
  74193. - * with the excecutable. If the basis is available then fill the 'wfa' struct
  74194. - * according to the stored data, otherwise print a warning message.
  74195. - *
  74196. - * Return value:
  74197. - * true on success, false if basis is not available yet.
  74198. - *
  74199. - * Side effects:
  74200. - * 'wfa' struct is filled on success.
  74201. - */
  74202. -{
  74203. - bool_t success = NO; /* indicates if basis is found */
  74204. - unsigned n; /* counter */
  74205. - basis_values_t bv; /* basis values */
  74206. -
  74207. - for (n = 0; basis_files [n].filename != NULL; n++)
  74208. - if (streq (basis_files [n].filename, basis_name)) /* basis is stored */
  74209. - {
  74210. - unsigned state, edge;
  74211. -
  74212. - (*basis_files [n].function) (&bv); /* initialize local variables */
  74213. - /*
  74214. - * Generate WFA
  74215. - */
  74216. - wfa->basis_states = wfa->states = bv.states + 1;
  74217. - wfa->domain_type[0] = USE_DOMAIN_MASK;
  74218. - wfa->final_distribution[0] = 128;
  74219. - append_edge (0, 0, 1.0, 0, wfa);
  74220. - append_edge (0, 0, 1.0, 1, wfa);
  74221. - for (state = 1; state < wfa->basis_states; state++)
  74222. - {
  74223. - wfa->final_distribution [state] = bv.final [state - 1];
  74224. - wfa->domain_type [state] = bv.use_domain [state - 1]
  74225. - ? USE_DOMAIN_MASK
  74226. - : AUXILIARY_MASK;
  74227. - }
  74228. - for (edge = 0; isedge (bv.transitions [edge][0]); edge++)
  74229. - append_edge (bv.transitions [edge][0], bv.transitions [edge][1],
  74230. - bv.transitions [edge][2], bv.transitions [edge][3],
  74231. - wfa);
  74232. -
  74233. - success = YES;
  74234. - break;
  74235. - }
  74236. -
  74237. - if (!success)
  74238. - warning ("WFA initial basis '%s' isn't linked with the excecutable yet."
  74239. - "\nLoading basis from disk instead.", basis_name);
  74240. -
  74241. - return success;
  74242. -}
  74243. -
  74244. -/*****************************************************************************
  74245. -
  74246. - private code
  74247. -
  74248. -*****************************************************************************/
  74249. -
  74250. -/*****************************************************************************
  74251. - basis "small.wfa"
  74252. -*****************************************************************************/
  74253. -
  74254. -static unsigned states_small = 2;
  74255. -static bool_t use_domain_small[] = {YES, YES};
  74256. -static real_t final_small[] = {64, 64};
  74257. -static real_t transitions_small[][4] = {{1, 2, 0.5, 0}, {1, 2, 0.5, 1},
  74258. - {1, 0, 0.5, 1}, {2, 1, 1.0, 0},
  74259. - {2, 1, 1.0, 1}, {-1, 0, 0, 0}};
  74260. -static void
  74261. -small_init (basis_values_t *bv)
  74262. -{
  74263. - bv->states = states_small;
  74264. - bv->final = final_small;
  74265. - bv->use_domain = use_domain_small;
  74266. - bv->transitions = transitions_small;
  74267. -}
  74268. diff -Nru Fiasco-master/input/Makefile.am Fiasco-master-pfiasco/input/Makefile.am
  74269. --- Fiasco-master/input/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  74270. +++ Fiasco-master-pfiasco/input/Makefile.am 2019-06-17 20:59:39.712839398 -0400
  74271. @@ -17,7 +17,7 @@
  74272. weights.h
  74273. EXTRA_DIST = MANIFEST basis.c.in
  74274. CLEANFILES = basis.c
  74275. -INCLUDES = @INCLUDES@
  74276. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74277.  
  74278. basis.c: basis.c.in
  74279. cp basis.c.in basis.c
  74280. diff -Nru Fiasco-master/input/Makefile.in Fiasco-master-pfiasco/input/Makefile.in
  74281. --- Fiasco-master/input/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  74282. +++ Fiasco-master-pfiasco/input/Makefile.in 2019-06-17 21:04:59.574767030 -0400
  74283. @@ -1,9 +1,8 @@
  74284. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  74285. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  74286. # @configure_input@
  74287.  
  74288. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  74289. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  74290. -# Inc.
  74291. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  74292. +
  74293. # This Makefile.in is free software; the Free Software Foundation
  74294. # gives unlimited permission to copy and/or distribute it,
  74295. # with or without modifications, as long as this notice is preserved.
  74296. @@ -17,6 +16,61 @@
  74297.  
  74298.  
  74299. VPATH = @srcdir@
  74300. +am__is_gnu_make = { \
  74301. + if test -z '$(MAKELEVEL)'; then \
  74302. + false; \
  74303. + elif test -n '$(MAKE_HOST)'; then \
  74304. + true; \
  74305. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  74306. + true; \
  74307. + else \
  74308. + false; \
  74309. + fi; \
  74310. +}
  74311. +am__make_running_with_option = \
  74312. + case $${target_option-} in \
  74313. + ?) ;; \
  74314. + *) echo "am__make_running_with_option: internal error: invalid" \
  74315. + "target option '$${target_option-}' specified" >&2; \
  74316. + exit 1;; \
  74317. + esac; \
  74318. + has_opt=no; \
  74319. + sane_makeflags=$$MAKEFLAGS; \
  74320. + if $(am__is_gnu_make); then \
  74321. + sane_makeflags=$$MFLAGS; \
  74322. + else \
  74323. + case $$MAKEFLAGS in \
  74324. + *\\[\ \ ]*) \
  74325. + bs=\\; \
  74326. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  74327. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  74328. + esac; \
  74329. + fi; \
  74330. + skip_next=no; \
  74331. + strip_trailopt () \
  74332. + { \
  74333. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  74334. + }; \
  74335. + for flg in $$sane_makeflags; do \
  74336. + test $$skip_next = yes && { skip_next=no; continue; }; \
  74337. + case $$flg in \
  74338. + *=*|--*) continue;; \
  74339. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  74340. + -*I?*) strip_trailopt 'I';; \
  74341. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  74342. + -*O?*) strip_trailopt 'O';; \
  74343. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  74344. + -*l?*) strip_trailopt 'l';; \
  74345. + -[dEDm]) skip_next=yes;; \
  74346. + -[JT]) skip_next=yes;; \
  74347. + esac; \
  74348. + case $$flg in \
  74349. + *$$target_option*) has_opt=yes; break;; \
  74350. + esac; \
  74351. + done; \
  74352. + test $$has_opt = yes
  74353. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  74354. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  74355. pkgdatadir = $(datadir)/@PACKAGE@
  74356. pkgincludedir = $(includedir)/@PACKAGE@
  74357. pkglibdir = $(libdir)/@PACKAGE@
  74358. @@ -36,12 +90,15 @@
  74359. build_triplet = @build@
  74360. host_triplet = @host@
  74361. subdir = input
  74362. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  74363. - $(srcdir)/Makefile.in ChangeLog
  74364. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  74365. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  74366. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  74367. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  74368. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  74369. + $(top_srcdir)/configure.ac
  74370. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  74371. $(ACLOCAL_M4)
  74372. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  74373. + $(am__DIST_COMMON)
  74374. mkinstalldirs = $(install_sh) -d
  74375. CONFIG_HEADER = $(top_builddir)/config.h
  74376. CONFIG_CLEAN_FILES =
  74377. @@ -51,27 +108,81 @@
  74378. am_libfiasco_input_la_OBJECTS = basis.lo matrices.lo mc.lo nd.lo \
  74379. read.lo tree.lo weights.lo
  74380. libfiasco_input_la_OBJECTS = $(am_libfiasco_input_la_OBJECTS)
  74381. +AM_V_lt = $(am__v_lt_@AM_V@)
  74382. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  74383. +am__v_lt_0 = --silent
  74384. +am__v_lt_1 =
  74385. +AM_V_P = $(am__v_P_@AM_V@)
  74386. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  74387. +am__v_P_0 = false
  74388. +am__v_P_1 = :
  74389. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  74390. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  74391. +am__v_GEN_0 = @echo " GEN " $@;
  74392. +am__v_GEN_1 =
  74393. +AM_V_at = $(am__v_at_@AM_V@)
  74394. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  74395. +am__v_at_0 = @
  74396. +am__v_at_1 =
  74397. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  74398. depcomp = $(SHELL) $(top_srcdir)/depcomp
  74399. -am__depfiles_maybe = depfiles
  74400. +am__maybe_remake_depfiles = depfiles
  74401. +am__depfiles_remade = ./$(DEPDIR)/basis.Plo ./$(DEPDIR)/matrices.Plo \
  74402. + ./$(DEPDIR)/mc.Plo ./$(DEPDIR)/nd.Plo ./$(DEPDIR)/read.Plo \
  74403. + ./$(DEPDIR)/tree.Plo ./$(DEPDIR)/weights.Plo
  74404. am__mv = mv -f
  74405. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  74406. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74407. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74408. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  74409. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74410. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74411. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  74412. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  74413. + $(AM_CFLAGS) $(CFLAGS)
  74414. +AM_V_CC = $(am__v_CC_@AM_V@)
  74415. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  74416. +am__v_CC_0 = @echo " CC " $@;
  74417. +am__v_CC_1 =
  74418. CCLD = $(CC)
  74419. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74420. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  74421. - $(LDFLAGS) -o $@
  74422. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74423. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74424. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  74425. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  74426. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  74427. +am__v_CCLD_0 = @echo " CCLD " $@;
  74428. +am__v_CCLD_1 =
  74429. SOURCES = $(libfiasco_input_la_SOURCES)
  74430. DIST_SOURCES = $(libfiasco_input_la_SOURCES)
  74431. +am__can_run_installinfo = \
  74432. + case $$AM_UPDATE_INFO_DIR in \
  74433. + n|no|NO) false;; \
  74434. + *) (install-info --version) >/dev/null 2>&1;; \
  74435. + esac
  74436. HEADERS = $(noinst_HEADERS)
  74437. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  74438. +# Read a list of newline-separated strings from the standard input,
  74439. +# and print each of them once, without duplicates. Input order is
  74440. +# *not* preserved.
  74441. +am__uniquify_input = $(AWK) '\
  74442. + BEGIN { nonempty = 0; } \
  74443. + { items[$$0] = 1; nonempty = 1; } \
  74444. + END { if (nonempty) { for (i in items) print i; }; } \
  74445. +'
  74446. +# Make sure the list of sources is unique. This is necessary because,
  74447. +# e.g., the same source file might be shared among _SOURCES variables
  74448. +# for different programs/libraries.
  74449. +am__define_uniq_tagged_files = \
  74450. + list='$(am__tagged_files)'; \
  74451. + unique=`for i in $$list; do \
  74452. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74453. + done | $(am__uniquify_input)`
  74454. ETAGS = etags
  74455. CTAGS = ctags
  74456. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  74457. + ChangeLog
  74458. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  74459. ACLOCAL = @ACLOCAL@
  74460. AMTAR = @AMTAR@
  74461. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74462. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  74463. AR = @AR@
  74464. AUTOCONF = @AUTOCONF@
  74465. AUTOHEADER = @AUTOHEADER@
  74466. @@ -85,6 +196,7 @@
  74467. CYGPATH_W = @CYGPATH_W@
  74468. DEFS = @DEFS@
  74469. DEPDIR = @DEPDIR@
  74470. +DLLTOOL = @DLLTOOL@
  74471. DSYMUTIL = @DSYMUTIL@
  74472. DUMPBIN = @DUMPBIN@
  74473. ECHO_C = @ECHO_C@
  74474. @@ -94,7 +206,6 @@
  74475. EXEEXT = @EXEEXT@
  74476. FGREP = @FGREP@
  74477. GREP = @GREP@
  74478. -INCLUDES = @INCLUDES@
  74479. INSTALL = @INSTALL@
  74480. INSTALL_DATA = @INSTALL_DATA@
  74481. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  74482. @@ -109,7 +220,9 @@
  74483. LIPO = @LIPO@
  74484. LN_S = @LN_S@
  74485. LTLIBOBJS = @LTLIBOBJS@
  74486. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  74487. MAKEINFO = @MAKEINFO@
  74488. +MANIFEST_TOOL = @MANIFEST_TOOL@
  74489. MKDIR_P = @MKDIR_P@
  74490. NM = @NM@
  74491. NMEDIT = @NMEDIT@
  74492. @@ -135,6 +248,7 @@
  74493. abs_srcdir = @abs_srcdir@
  74494. abs_top_builddir = @abs_top_builddir@
  74495. abs_top_srcdir = @abs_top_srcdir@
  74496. +ac_ct_AR = @ac_ct_AR@
  74497. ac_ct_CC = @ac_ct_CC@
  74498. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  74499. am__include = @am__include@
  74500. @@ -167,7 +281,6 @@
  74501. libexecdir = @libexecdir@
  74502. localedir = @localedir@
  74503. localstatedir = @localstatedir@
  74504. -lt_ECHO = @lt_ECHO@
  74505. mandir = @mandir@
  74506. mkdir_p = @mkdir_p@
  74507. oldincludedir = @oldincludedir@
  74508. @@ -210,14 +323,13 @@
  74509. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu input/Makefile'; \
  74510. $(am__cd) $(top_srcdir) && \
  74511. $(AUTOMAKE) --gnu input/Makefile
  74512. -.PRECIOUS: Makefile
  74513. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  74514. @case '$?' in \
  74515. *config.status*) \
  74516. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  74517. *) \
  74518. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  74519. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  74520. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  74521. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  74522. esac;
  74523.  
  74524. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  74525. @@ -231,14 +343,17 @@
  74526.  
  74527. clean-noinstLTLIBRARIES:
  74528. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  74529. - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  74530. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  74531. - test "$$dir" != "$$p" || dir=.; \
  74532. - echo "rm -f \"$${dir}/so_locations\""; \
  74533. - rm -f "$${dir}/so_locations"; \
  74534. - done
  74535. -libfiasco-input.la: $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_DEPENDENCIES)
  74536. - $(LINK) $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_LIBADD) $(LIBS)
  74537. + @list='$(noinst_LTLIBRARIES)'; \
  74538. + locs=`for p in $$list; do echo $$p; done | \
  74539. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  74540. + sort -u`; \
  74541. + test -z "$$locs" || { \
  74542. + echo rm -f $${locs}; \
  74543. + rm -f $${locs}; \
  74544. + }
  74545. +
  74546. +libfiasco-input.la: $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_DEPENDENCIES) $(EXTRA_libfiasco_input_la_DEPENDENCIES)
  74547. + $(AM_V_CCLD)$(LINK) $(libfiasco_input_la_OBJECTS) $(libfiasco_input_la_LIBADD) $(LIBS)
  74548.  
  74549. mostlyclean-compile:
  74550. -rm -f *.$(OBJEXT)
  74551. @@ -246,34 +361,40 @@
  74552. distclean-compile:
  74553. -rm -f *.tab.c
  74554.  
  74555. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basis.Plo@am__quote@
  74556. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@
  74557. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@
  74558. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@
  74559. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read.Plo@am__quote@
  74560. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
  74561. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@
  74562. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basis.Plo@am__quote@ # am--include-marker
  74563. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@ # am--include-marker
  74564. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@ # am--include-marker
  74565. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@ # am--include-marker
  74566. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read.Plo@am__quote@ # am--include-marker
  74567. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@ # am--include-marker
  74568. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@ # am--include-marker
  74569. +
  74570. +$(am__depfiles_remade):
  74571. + @$(MKDIR_P) $(@D)
  74572. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  74573. +
  74574. +am--depfiles: $(am__depfiles_remade)
  74575.  
  74576. .c.o:
  74577. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74578. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74579. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74580. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74581. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74582. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74583. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74584. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  74585. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  74586.  
  74587. .c.obj:
  74588. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  74589. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74590. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74591. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  74592. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74593. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74594. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74595. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  74596. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  74597.  
  74598. .c.lo:
  74599. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74600. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  74601. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  74602. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74603. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  74604. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  74605. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74606. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  74607. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  74608.  
  74609. mostlyclean-libtool:
  74610. -rm -f *.lo
  74611. @@ -281,26 +402,15 @@
  74612. clean-libtool:
  74613. -rm -rf .libs _libs
  74614.  
  74615. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  74616. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74617. - unique=`for i in $$list; do \
  74618. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74619. - done | \
  74620. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74621. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  74622. - mkid -fID $$unique
  74623. -tags: TAGS
  74624. +ID: $(am__tagged_files)
  74625. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  74626. +tags: tags-am
  74627. +TAGS: tags
  74628.  
  74629. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74630. - $(TAGS_FILES) $(LISP)
  74631. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  74632. set x; \
  74633. here=`pwd`; \
  74634. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74635. - unique=`for i in $$list; do \
  74636. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74637. - done | \
  74638. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74639. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  74640. + $(am__define_uniq_tagged_files); \
  74641. shift; \
  74642. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  74643. test -n "$$unique" || unique=$$empty_fix; \
  74644. @@ -312,15 +422,11 @@
  74645. $$unique; \
  74646. fi; \
  74647. fi
  74648. -ctags: CTAGS
  74649. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74650. - $(TAGS_FILES) $(LISP)
  74651. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74652. - unique=`for i in $$list; do \
  74653. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74654. - done | \
  74655. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74656. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  74657. +ctags: ctags-am
  74658. +
  74659. +CTAGS: ctags
  74660. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  74661. + $(am__define_uniq_tagged_files); \
  74662. test -z "$(CTAGS_ARGS)$$unique" \
  74663. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  74664. $$unique
  74665. @@ -329,11 +435,29 @@
  74666. here=`$(am__cd) $(top_builddir) && pwd` \
  74667. && $(am__cd) $(top_srcdir) \
  74668. && gtags -i $(GTAGS_ARGS) "$$here"
  74669. +cscopelist: cscopelist-am
  74670. +
  74671. +cscopelist-am: $(am__tagged_files)
  74672. + list='$(am__tagged_files)'; \
  74673. + case "$(srcdir)" in \
  74674. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  74675. + *) sdir=$(subdir)/$(srcdir) ;; \
  74676. + esac; \
  74677. + for i in $$list; do \
  74678. + if test -f "$$i"; then \
  74679. + echo "$(subdir)/$$i"; \
  74680. + else \
  74681. + echo "$$sdir/$$i"; \
  74682. + fi; \
  74683. + done >> $(top_builddir)/cscope.files
  74684.  
  74685. distclean-tags:
  74686. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  74687.  
  74688. -distdir: $(DISTFILES)
  74689. +distdir: $(BUILT_SOURCES)
  74690. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  74691. +
  74692. +distdir-am: $(DISTFILES)
  74693. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74694. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74695. list='$(DISTFILES)'; \
  74696. @@ -377,10 +501,15 @@
  74697.  
  74698. installcheck: installcheck-am
  74699. install-strip:
  74700. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  74701. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  74702. - `test -z '$(STRIP)' || \
  74703. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  74704. + if test -z '$(STRIP)'; then \
  74705. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  74706. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  74707. + install; \
  74708. + else \
  74709. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  74710. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  74711. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  74712. + fi
  74713. mostlyclean-generic:
  74714.  
  74715. clean-generic:
  74716. @@ -399,7 +528,13 @@
  74717. mostlyclean-am
  74718.  
  74719. distclean: distclean-am
  74720. - -rm -rf ./$(DEPDIR)
  74721. + -rm -f ./$(DEPDIR)/basis.Plo
  74722. + -rm -f ./$(DEPDIR)/matrices.Plo
  74723. + -rm -f ./$(DEPDIR)/mc.Plo
  74724. + -rm -f ./$(DEPDIR)/nd.Plo
  74725. + -rm -f ./$(DEPDIR)/read.Plo
  74726. + -rm -f ./$(DEPDIR)/tree.Plo
  74727. + -rm -f ./$(DEPDIR)/weights.Plo
  74728. -rm -f Makefile
  74729. distclean-am: clean-am distclean-compile distclean-generic \
  74730. distclean-tags
  74731. @@ -445,7 +580,13 @@
  74732. installcheck-am:
  74733.  
  74734. maintainer-clean: maintainer-clean-am
  74735. - -rm -rf ./$(DEPDIR)
  74736. + -rm -f ./$(DEPDIR)/basis.Plo
  74737. + -rm -f ./$(DEPDIR)/matrices.Plo
  74738. + -rm -f ./$(DEPDIR)/mc.Plo
  74739. + -rm -f ./$(DEPDIR)/nd.Plo
  74740. + -rm -f ./$(DEPDIR)/read.Plo
  74741. + -rm -f ./$(DEPDIR)/tree.Plo
  74742. + -rm -f ./$(DEPDIR)/weights.Plo
  74743. -rm -f Makefile
  74744. maintainer-clean-am: distclean-am maintainer-clean-generic
  74745.  
  74746. @@ -466,18 +607,21 @@
  74747.  
  74748. .MAKE: install-am install-strip
  74749.  
  74750. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  74751. - clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  74752. - distclean-compile distclean-generic distclean-libtool \
  74753. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  74754. - install install-am install-data install-data-am install-dvi \
  74755. - install-dvi-am install-exec install-exec-am install-html \
  74756. - install-html-am install-info install-info-am install-man \
  74757. - install-pdf install-pdf-am install-ps install-ps-am \
  74758. - install-strip installcheck installcheck-am installdirs \
  74759. - maintainer-clean maintainer-clean-generic mostlyclean \
  74760. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  74761. - pdf pdf-am ps ps-am tags uninstall uninstall-am
  74762. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  74763. + clean-generic clean-libtool clean-noinstLTLIBRARIES \
  74764. + cscopelist-am ctags ctags-am distclean distclean-compile \
  74765. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  74766. + dvi-am html html-am info info-am install install-am \
  74767. + install-data install-data-am install-dvi install-dvi-am \
  74768. + install-exec install-exec-am install-html install-html-am \
  74769. + install-info install-info-am install-man install-pdf \
  74770. + install-pdf-am install-ps install-ps-am install-strip \
  74771. + installcheck installcheck-am installdirs maintainer-clean \
  74772. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  74773. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  74774. + tags tags-am uninstall uninstall-am
  74775. +
  74776. +.PRECIOUS: Makefile
  74777.  
  74778.  
  74779. basis.c: basis.c.in
  74780. diff -Nru Fiasco-master/input/mc.c Fiasco-master-pfiasco/input/mc.c
  74781. --- Fiasco-master/input/mc.c 2013-06-06 22:56:44.000000000 -0400
  74782. +++ Fiasco-master-pfiasco/input/mc.c 2019-06-17 18:54:11.000000000 -0400
  74783. @@ -15,6 +15,8 @@
  74784. * $State: Exp $
  74785. */
  74786.  
  74787. +#include <stdlib.h>
  74788. +
  74789. #include "config.h"
  74790.  
  74791. #include "types.h"
  74792. diff -Nru Fiasco-master/lib/Makefile.am Fiasco-master-pfiasco/lib/Makefile.am
  74793. --- Fiasco-master/lib/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  74794. +++ Fiasco-master-pfiasco/lib/Makefile.am 2019-06-17 21:00:40.610448730 -0400
  74795. @@ -16,4 +16,4 @@
  74796. noinst_HEADERS = arith.h bit-io.h dither.h error.h image.h \
  74797. list.h macros.h misc.h rpf.h types.h
  74798. EXTRA_DIST = MANIFEST
  74799. -INCLUDES = @INCLUDES@
  74800. \ No newline at end of file
  74801. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74802. \ No newline at end of file
  74803. diff -Nru Fiasco-master/lib/Makefile.in Fiasco-master-pfiasco/lib/Makefile.in
  74804. --- Fiasco-master/lib/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  74805. +++ Fiasco-master-pfiasco/lib/Makefile.in 2019-06-17 21:04:59.654766504 -0400
  74806. @@ -1,9 +1,8 @@
  74807. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  74808. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  74809. # @configure_input@
  74810.  
  74811. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  74812. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  74813. -# Inc.
  74814. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  74815. +
  74816. # This Makefile.in is free software; the Free Software Foundation
  74817. # gives unlimited permission to copy and/or distribute it,
  74818. # with or without modifications, as long as this notice is preserved.
  74819. @@ -17,6 +16,61 @@
  74820.  
  74821.  
  74822. VPATH = @srcdir@
  74823. +am__is_gnu_make = { \
  74824. + if test -z '$(MAKELEVEL)'; then \
  74825. + false; \
  74826. + elif test -n '$(MAKE_HOST)'; then \
  74827. + true; \
  74828. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  74829. + true; \
  74830. + else \
  74831. + false; \
  74832. + fi; \
  74833. +}
  74834. +am__make_running_with_option = \
  74835. + case $${target_option-} in \
  74836. + ?) ;; \
  74837. + *) echo "am__make_running_with_option: internal error: invalid" \
  74838. + "target option '$${target_option-}' specified" >&2; \
  74839. + exit 1;; \
  74840. + esac; \
  74841. + has_opt=no; \
  74842. + sane_makeflags=$$MAKEFLAGS; \
  74843. + if $(am__is_gnu_make); then \
  74844. + sane_makeflags=$$MFLAGS; \
  74845. + else \
  74846. + case $$MAKEFLAGS in \
  74847. + *\\[\ \ ]*) \
  74848. + bs=\\; \
  74849. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  74850. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  74851. + esac; \
  74852. + fi; \
  74853. + skip_next=no; \
  74854. + strip_trailopt () \
  74855. + { \
  74856. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  74857. + }; \
  74858. + for flg in $$sane_makeflags; do \
  74859. + test $$skip_next = yes && { skip_next=no; continue; }; \
  74860. + case $$flg in \
  74861. + *=*|--*) continue;; \
  74862. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  74863. + -*I?*) strip_trailopt 'I';; \
  74864. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  74865. + -*O?*) strip_trailopt 'O';; \
  74866. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  74867. + -*l?*) strip_trailopt 'l';; \
  74868. + -[dEDm]) skip_next=yes;; \
  74869. + -[JT]) skip_next=yes;; \
  74870. + esac; \
  74871. + case $$flg in \
  74872. + *$$target_option*) has_opt=yes; break;; \
  74873. + esac; \
  74874. + done; \
  74875. + test $$has_opt = yes
  74876. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  74877. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  74878. pkgdatadir = $(datadir)/@PACKAGE@
  74879. pkgincludedir = $(includedir)/@PACKAGE@
  74880. pkglibdir = $(libdir)/@PACKAGE@
  74881. @@ -36,12 +90,15 @@
  74882. build_triplet = @build@
  74883. host_triplet = @host@
  74884. subdir = lib
  74885. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  74886. - $(srcdir)/Makefile.in ChangeLog
  74887. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  74888. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  74889. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  74890. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  74891. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  74892. + $(top_srcdir)/configure.ac
  74893. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  74894. $(ACLOCAL_M4)
  74895. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  74896. + $(am__DIST_COMMON)
  74897. mkinstalldirs = $(install_sh) -d
  74898. CONFIG_HEADER = $(top_builddir)/config.h
  74899. CONFIG_CLEAN_FILES =
  74900. @@ -51,27 +108,82 @@
  74901. am_libfiasco_lib_la_OBJECTS = arith.lo bit-io.lo dither.lo error.lo \
  74902. image.lo list.lo misc.lo rpf.lo
  74903. libfiasco_lib_la_OBJECTS = $(am_libfiasco_lib_la_OBJECTS)
  74904. +AM_V_lt = $(am__v_lt_@AM_V@)
  74905. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  74906. +am__v_lt_0 = --silent
  74907. +am__v_lt_1 =
  74908. +AM_V_P = $(am__v_P_@AM_V@)
  74909. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  74910. +am__v_P_0 = false
  74911. +am__v_P_1 = :
  74912. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  74913. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  74914. +am__v_GEN_0 = @echo " GEN " $@;
  74915. +am__v_GEN_1 =
  74916. +AM_V_at = $(am__v_at_@AM_V@)
  74917. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  74918. +am__v_at_0 = @
  74919. +am__v_at_1 =
  74920. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  74921. depcomp = $(SHELL) $(top_srcdir)/depcomp
  74922. -am__depfiles_maybe = depfiles
  74923. +am__maybe_remake_depfiles = depfiles
  74924. +am__depfiles_remade = ./$(DEPDIR)/arith.Plo ./$(DEPDIR)/bit-io.Plo \
  74925. + ./$(DEPDIR)/dither.Plo ./$(DEPDIR)/error.Plo \
  74926. + ./$(DEPDIR)/image.Plo ./$(DEPDIR)/list.Plo \
  74927. + ./$(DEPDIR)/misc.Plo ./$(DEPDIR)/rpf.Plo
  74928. am__mv = mv -f
  74929. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  74930. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74931. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74932. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  74933. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74934. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74935. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  74936. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  74937. + $(AM_CFLAGS) $(CFLAGS)
  74938. +AM_V_CC = $(am__v_CC_@AM_V@)
  74939. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  74940. +am__v_CC_0 = @echo " CC " $@;
  74941. +am__v_CC_1 =
  74942. CCLD = $(CC)
  74943. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  74944. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  74945. - $(LDFLAGS) -o $@
  74946. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74947. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74948. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  74949. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  74950. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  74951. +am__v_CCLD_0 = @echo " CCLD " $@;
  74952. +am__v_CCLD_1 =
  74953. SOURCES = $(libfiasco_lib_la_SOURCES)
  74954. DIST_SOURCES = $(libfiasco_lib_la_SOURCES)
  74955. +am__can_run_installinfo = \
  74956. + case $$AM_UPDATE_INFO_DIR in \
  74957. + n|no|NO) false;; \
  74958. + *) (install-info --version) >/dev/null 2>&1;; \
  74959. + esac
  74960. HEADERS = $(noinst_HEADERS)
  74961. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  74962. +# Read a list of newline-separated strings from the standard input,
  74963. +# and print each of them once, without duplicates. Input order is
  74964. +# *not* preserved.
  74965. +am__uniquify_input = $(AWK) '\
  74966. + BEGIN { nonempty = 0; } \
  74967. + { items[$$0] = 1; nonempty = 1; } \
  74968. + END { if (nonempty) { for (i in items) print i; }; } \
  74969. +'
  74970. +# Make sure the list of sources is unique. This is necessary because,
  74971. +# e.g., the same source file might be shared among _SOURCES variables
  74972. +# for different programs/libraries.
  74973. +am__define_uniq_tagged_files = \
  74974. + list='$(am__tagged_files)'; \
  74975. + unique=`for i in $$list; do \
  74976. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74977. + done | $(am__uniquify_input)`
  74978. ETAGS = etags
  74979. CTAGS = ctags
  74980. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  74981. + ChangeLog
  74982. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  74983. ACLOCAL = @ACLOCAL@
  74984. AMTAR = @AMTAR@
  74985. +AM_CPPFLAGS = @AM_CPPFLAGS@
  74986. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  74987. AR = @AR@
  74988. AUTOCONF = @AUTOCONF@
  74989. AUTOHEADER = @AUTOHEADER@
  74990. @@ -85,6 +197,7 @@
  74991. CYGPATH_W = @CYGPATH_W@
  74992. DEFS = @DEFS@
  74993. DEPDIR = @DEPDIR@
  74994. +DLLTOOL = @DLLTOOL@
  74995. DSYMUTIL = @DSYMUTIL@
  74996. DUMPBIN = @DUMPBIN@
  74997. ECHO_C = @ECHO_C@
  74998. @@ -94,7 +207,6 @@
  74999. EXEEXT = @EXEEXT@
  75000. FGREP = @FGREP@
  75001. GREP = @GREP@
  75002. -INCLUDES = @INCLUDES@
  75003. INSTALL = @INSTALL@
  75004. INSTALL_DATA = @INSTALL_DATA@
  75005. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  75006. @@ -109,7 +221,9 @@
  75007. LIPO = @LIPO@
  75008. LN_S = @LN_S@
  75009. LTLIBOBJS = @LTLIBOBJS@
  75010. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  75011. MAKEINFO = @MAKEINFO@
  75012. +MANIFEST_TOOL = @MANIFEST_TOOL@
  75013. MKDIR_P = @MKDIR_P@
  75014. NM = @NM@
  75015. NMEDIT = @NMEDIT@
  75016. @@ -135,6 +249,7 @@
  75017. abs_srcdir = @abs_srcdir@
  75018. abs_top_builddir = @abs_top_builddir@
  75019. abs_top_srcdir = @abs_top_srcdir@
  75020. +ac_ct_AR = @ac_ct_AR@
  75021. ac_ct_CC = @ac_ct_CC@
  75022. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  75023. am__include = @am__include@
  75024. @@ -167,7 +282,6 @@
  75025. libexecdir = @libexecdir@
  75026. localedir = @localedir@
  75027. localstatedir = @localstatedir@
  75028. -lt_ECHO = @lt_ECHO@
  75029. mandir = @mandir@
  75030. mkdir_p = @mkdir_p@
  75031. oldincludedir = @oldincludedir@
  75032. @@ -209,14 +323,13 @@
  75033. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \
  75034. $(am__cd) $(top_srcdir) && \
  75035. $(AUTOMAKE) --gnu lib/Makefile
  75036. -.PRECIOUS: Makefile
  75037. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  75038. @case '$?' in \
  75039. *config.status*) \
  75040. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  75041. *) \
  75042. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  75043. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  75044. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  75045. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  75046. esac;
  75047.  
  75048. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  75049. @@ -230,14 +343,17 @@
  75050.  
  75051. clean-noinstLTLIBRARIES:
  75052. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  75053. - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  75054. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  75055. - test "$$dir" != "$$p" || dir=.; \
  75056. - echo "rm -f \"$${dir}/so_locations\""; \
  75057. - rm -f "$${dir}/so_locations"; \
  75058. - done
  75059. -libfiasco-lib.la: $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_DEPENDENCIES)
  75060. - $(LINK) $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_LIBADD) $(LIBS)
  75061. + @list='$(noinst_LTLIBRARIES)'; \
  75062. + locs=`for p in $$list; do echo $$p; done | \
  75063. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  75064. + sort -u`; \
  75065. + test -z "$$locs" || { \
  75066. + echo rm -f $${locs}; \
  75067. + rm -f $${locs}; \
  75068. + }
  75069. +
  75070. +libfiasco-lib.la: $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_DEPENDENCIES) $(EXTRA_libfiasco_lib_la_DEPENDENCIES)
  75071. + $(AM_V_CCLD)$(LINK) $(libfiasco_lib_la_OBJECTS) $(libfiasco_lib_la_LIBADD) $(LIBS)
  75072.  
  75073. mostlyclean-compile:
  75074. -rm -f *.$(OBJEXT)
  75075. @@ -245,35 +361,41 @@
  75076. distclean-compile:
  75077. -rm -f *.tab.c
  75078.  
  75079. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arith.Plo@am__quote@
  75080. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bit-io.Plo@am__quote@
  75081. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dither.Plo@am__quote@
  75082. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
  75083. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Plo@am__quote@
  75084. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@
  75085. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@
  75086. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpf.Plo@am__quote@
  75087. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arith.Plo@am__quote@ # am--include-marker
  75088. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bit-io.Plo@am__quote@ # am--include-marker
  75089. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dither.Plo@am__quote@ # am--include-marker
  75090. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ # am--include-marker
  75091. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/image.Plo@am__quote@ # am--include-marker
  75092. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Plo@am__quote@ # am--include-marker
  75093. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@ # am--include-marker
  75094. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpf.Plo@am__quote@ # am--include-marker
  75095. +
  75096. +$(am__depfiles_remade):
  75097. + @$(MKDIR_P) $(@D)
  75098. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  75099. +
  75100. +am--depfiles: $(am__depfiles_remade)
  75101.  
  75102. .c.o:
  75103. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75104. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75105. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75106. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75107. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75108. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75109. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75110. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  75111. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  75112.  
  75113. .c.obj:
  75114. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  75115. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75116. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75117. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  75118. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75119. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75120. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75121. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  75122. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  75123.  
  75124. .c.lo:
  75125. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75126. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  75127. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  75128. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75129. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  75130. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  75131. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75132. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  75133. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  75134.  
  75135. mostlyclean-libtool:
  75136. -rm -f *.lo
  75137. @@ -281,26 +403,15 @@
  75138. clean-libtool:
  75139. -rm -rf .libs _libs
  75140.  
  75141. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  75142. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75143. - unique=`for i in $$list; do \
  75144. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75145. - done | \
  75146. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75147. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  75148. - mkid -fID $$unique
  75149. -tags: TAGS
  75150. +ID: $(am__tagged_files)
  75151. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  75152. +tags: tags-am
  75153. +TAGS: tags
  75154.  
  75155. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75156. - $(TAGS_FILES) $(LISP)
  75157. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  75158. set x; \
  75159. here=`pwd`; \
  75160. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75161. - unique=`for i in $$list; do \
  75162. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75163. - done | \
  75164. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75165. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  75166. + $(am__define_uniq_tagged_files); \
  75167. shift; \
  75168. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  75169. test -n "$$unique" || unique=$$empty_fix; \
  75170. @@ -312,15 +423,11 @@
  75171. $$unique; \
  75172. fi; \
  75173. fi
  75174. -ctags: CTAGS
  75175. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75176. - $(TAGS_FILES) $(LISP)
  75177. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75178. - unique=`for i in $$list; do \
  75179. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75180. - done | \
  75181. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75182. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  75183. +ctags: ctags-am
  75184. +
  75185. +CTAGS: ctags
  75186. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  75187. + $(am__define_uniq_tagged_files); \
  75188. test -z "$(CTAGS_ARGS)$$unique" \
  75189. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  75190. $$unique
  75191. @@ -329,11 +436,29 @@
  75192. here=`$(am__cd) $(top_builddir) && pwd` \
  75193. && $(am__cd) $(top_srcdir) \
  75194. && gtags -i $(GTAGS_ARGS) "$$here"
  75195. +cscopelist: cscopelist-am
  75196. +
  75197. +cscopelist-am: $(am__tagged_files)
  75198. + list='$(am__tagged_files)'; \
  75199. + case "$(srcdir)" in \
  75200. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  75201. + *) sdir=$(subdir)/$(srcdir) ;; \
  75202. + esac; \
  75203. + for i in $$list; do \
  75204. + if test -f "$$i"; then \
  75205. + echo "$(subdir)/$$i"; \
  75206. + else \
  75207. + echo "$$sdir/$$i"; \
  75208. + fi; \
  75209. + done >> $(top_builddir)/cscope.files
  75210.  
  75211. distclean-tags:
  75212. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  75213.  
  75214. -distdir: $(DISTFILES)
  75215. +distdir: $(BUILT_SOURCES)
  75216. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  75217. +
  75218. +distdir-am: $(DISTFILES)
  75219. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75220. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75221. list='$(DISTFILES)'; \
  75222. @@ -377,10 +502,15 @@
  75223.  
  75224. installcheck: installcheck-am
  75225. install-strip:
  75226. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  75227. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  75228. - `test -z '$(STRIP)' || \
  75229. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  75230. + if test -z '$(STRIP)'; then \
  75231. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  75232. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  75233. + install; \
  75234. + else \
  75235. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  75236. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  75237. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  75238. + fi
  75239. mostlyclean-generic:
  75240.  
  75241. clean-generic:
  75242. @@ -398,7 +528,14 @@
  75243. mostlyclean-am
  75244.  
  75245. distclean: distclean-am
  75246. - -rm -rf ./$(DEPDIR)
  75247. + -rm -f ./$(DEPDIR)/arith.Plo
  75248. + -rm -f ./$(DEPDIR)/bit-io.Plo
  75249. + -rm -f ./$(DEPDIR)/dither.Plo
  75250. + -rm -f ./$(DEPDIR)/error.Plo
  75251. + -rm -f ./$(DEPDIR)/image.Plo
  75252. + -rm -f ./$(DEPDIR)/list.Plo
  75253. + -rm -f ./$(DEPDIR)/misc.Plo
  75254. + -rm -f ./$(DEPDIR)/rpf.Plo
  75255. -rm -f Makefile
  75256. distclean-am: clean-am distclean-compile distclean-generic \
  75257. distclean-tags
  75258. @@ -444,7 +581,14 @@
  75259. installcheck-am:
  75260.  
  75261. maintainer-clean: maintainer-clean-am
  75262. - -rm -rf ./$(DEPDIR)
  75263. + -rm -f ./$(DEPDIR)/arith.Plo
  75264. + -rm -f ./$(DEPDIR)/bit-io.Plo
  75265. + -rm -f ./$(DEPDIR)/dither.Plo
  75266. + -rm -f ./$(DEPDIR)/error.Plo
  75267. + -rm -f ./$(DEPDIR)/image.Plo
  75268. + -rm -f ./$(DEPDIR)/list.Plo
  75269. + -rm -f ./$(DEPDIR)/misc.Plo
  75270. + -rm -f ./$(DEPDIR)/rpf.Plo
  75271. -rm -f Makefile
  75272. maintainer-clean-am: distclean-am maintainer-clean-generic
  75273.  
  75274. @@ -465,18 +609,21 @@
  75275.  
  75276. .MAKE: install-am install-strip
  75277.  
  75278. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  75279. - clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  75280. - distclean-compile distclean-generic distclean-libtool \
  75281. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  75282. - install install-am install-data install-data-am install-dvi \
  75283. - install-dvi-am install-exec install-exec-am install-html \
  75284. - install-html-am install-info install-info-am install-man \
  75285. - install-pdf install-pdf-am install-ps install-ps-am \
  75286. - install-strip installcheck installcheck-am installdirs \
  75287. - maintainer-clean maintainer-clean-generic mostlyclean \
  75288. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  75289. - pdf pdf-am ps ps-am tags uninstall uninstall-am
  75290. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  75291. + clean-generic clean-libtool clean-noinstLTLIBRARIES \
  75292. + cscopelist-am ctags ctags-am distclean distclean-compile \
  75293. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  75294. + dvi-am html html-am info info-am install install-am \
  75295. + install-data install-data-am install-dvi install-dvi-am \
  75296. + install-exec install-exec-am install-html install-html-am \
  75297. + install-info install-info-am install-man install-pdf \
  75298. + install-pdf-am install-ps install-ps-am install-strip \
  75299. + installcheck installcheck-am installdirs maintainer-clean \
  75300. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  75301. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  75302. + tags tags-am uninstall uninstall-am
  75303. +
  75304. +.PRECIOUS: Makefile
  75305.  
  75306.  
  75307. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  75308. diff -Nru Fiasco-master/ltmain.sh Fiasco-master-pfiasco/ltmain.sh
  75309. --- Fiasco-master/ltmain.sh 2013-06-06 22:56:44.000000000 -0400
  75310. +++ Fiasco-master-pfiasco/ltmain.sh 2019-06-17 20:58:43.077202727 -0400
  75311. @@ -1,9 +1,12 @@
  75312. -# Generated from ltmain.m4sh.
  75313. +#! /bin/sh
  75314. +## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
  75315. +## by inline-source v2014-01-03.01
  75316.  
  75317. -# ltmain.sh (GNU libtool) 2.2.6b
  75318. +# libtool (GNU libtool) 2.4.6
  75319. +# Provide generalized library-building support services.
  75320. # Written by Gordon Matzigkeit <[email protected]>, 1996
  75321.  
  75322. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  75323. +# Copyright (C) 1996-2015 Free Software Foundation, Inc.
  75324. # This is free software; see the source for copying conditions. There is NO
  75325. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  75326.  
  75327. @@ -23,598 +26,2112 @@
  75328. # General Public License for more details.
  75329. #
  75330. # You should have received a copy of the GNU General Public License
  75331. -# along with GNU Libtool; see the file COPYING. If not, a copy
  75332. -# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  75333. -# or obtained by writing to the Free Software Foundation, Inc.,
  75334. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  75335. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  75336.  
  75337. -# Usage: $progname [OPTION]... [MODE-ARG]...
  75338. -#
  75339. -# Provide generalized library-building support services.
  75340. +
  75341. +PROGRAM=libtool
  75342. +PACKAGE=libtool
  75343. +VERSION=2.4.6
  75344. +package_revision=2.4.6
  75345. +
  75346. +
  75347. +## ------ ##
  75348. +## Usage. ##
  75349. +## ------ ##
  75350. +
  75351. +# Run './libtool --help' for help with using this script from the
  75352. +# command line.
  75353. +
  75354. +
  75355. +## ------------------------------- ##
  75356. +## User overridable command paths. ##
  75357. +## ------------------------------- ##
  75358. +
  75359. +# After configure completes, it has a better idea of some of the
  75360. +# shell tools we need than the defaults used by the functions shared
  75361. +# with bootstrap, so set those here where they can still be over-
  75362. +# ridden by the user, but otherwise take precedence.
  75363. +
  75364. +: ${AUTOCONF="autoconf"}
  75365. +: ${AUTOMAKE="automake"}
  75366. +
  75367. +
  75368. +## -------------------------- ##
  75369. +## Source external libraries. ##
  75370. +## -------------------------- ##
  75371. +
  75372. +# Much of our low-level functionality needs to be sourced from external
  75373. +# libraries, which are installed to $pkgauxdir.
  75374. +
  75375. +# Set a version string for this script.
  75376. +scriptversion=2015-01-20.17; # UTC
  75377. +
  75378. +# General shell script boiler plate, and helper functions.
  75379. +# Written by Gary V. Vaughan, 2004
  75380. +
  75381. +# Copyright (C) 2004-2015 Free Software Foundation, Inc.
  75382. +# This is free software; see the source for copying conditions. There is NO
  75383. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  75384. +
  75385. +# This program is free software; you can redistribute it and/or modify
  75386. +# it under the terms of the GNU General Public License as published by
  75387. +# the Free Software Foundation; either version 3 of the License, or
  75388. +# (at your option) any later version.
  75389. +
  75390. +# As a special exception to the GNU General Public License, if you distribute
  75391. +# this file as part of a program or library that is built using GNU Libtool,
  75392. +# you may include this file under the same distribution terms that you use
  75393. +# for the rest of that program.
  75394. +
  75395. +# This program is distributed in the hope that it will be useful,
  75396. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  75397. +# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
  75398. +# General Public License for more details.
  75399. +
  75400. +# You should have received a copy of the GNU General Public License
  75401. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  75402. +
  75403. +# Please report bugs or propose patches to [email protected].
  75404. +
  75405. +
  75406. +## ------ ##
  75407. +## Usage. ##
  75408. +## ------ ##
  75409. +
  75410. +# Evaluate this file near the top of your script to gain access to
  75411. +# the functions and variables defined here:
  75412. #
  75413. -# --config show all configuration variables
  75414. -# --debug enable verbose shell tracing
  75415. -# -n, --dry-run display commands without modifying any files
  75416. -# --features display basic configuration information and exit
  75417. -# --mode=MODE use operation mode MODE
  75418. -# --preserve-dup-deps don't remove duplicate dependency libraries
  75419. -# --quiet, --silent don't print informational messages
  75420. -# --tag=TAG use configuration variables from tag TAG
  75421. -# -v, --verbose print informational messages (default)
  75422. -# --version print version information
  75423. -# -h, --help print short or long help message
  75424. -#
  75425. -# MODE must be one of the following:
  75426. -#
  75427. -# clean remove files from the build directory
  75428. -# compile compile a source file into a libtool object
  75429. -# execute automatically set library path, then run a program
  75430. -# finish complete the installation of libtool libraries
  75431. -# install install libraries or executables
  75432. -# link create a library or an executable
  75433. -# uninstall remove libraries from an installed directory
  75434. -#
  75435. -# MODE-ARGS vary depending on the MODE.
  75436. -# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  75437. -#
  75438. -# When reporting a bug, please describe a test case to reproduce it and
  75439. -# include the following information:
  75440. -#
  75441. -# host-triplet: $host
  75442. -# shell: $SHELL
  75443. -# compiler: $LTCC
  75444. -# compiler flags: $LTCFLAGS
  75445. -# linker: $LD (gnu? $with_gnu_ld)
  75446. -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3
  75447. -# automake: $automake_version
  75448. -# autoconf: $autoconf_version
  75449. +# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
  75450. #
  75451. -# Report bugs to <[email protected]>.
  75452. +# If you need to override any of the default environment variable
  75453. +# settings, do that before evaluating this file.
  75454.  
  75455. -PROGRAM=ltmain.sh
  75456. -PACKAGE=libtool
  75457. -VERSION="2.2.6b Debian-2.2.6b-2ubuntu3"
  75458. -TIMESTAMP=""
  75459. -package_revision=1.3017
  75460.  
  75461. -# Be Bourne compatible
  75462. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  75463. +## -------------------- ##
  75464. +## Shell normalisation. ##
  75465. +## -------------------- ##
  75466. +
  75467. +# Some shells need a little help to be as Bourne compatible as possible.
  75468. +# Before doing anything else, make sure all that help has been provided!
  75469. +
  75470. +DUALCASE=1; export DUALCASE # for MKS sh
  75471. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  75472. emulate sh
  75473. NULLCMD=:
  75474. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  75475. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  75476. # is contrary to our usage. Disable this feature.
  75477. alias -g '${1+"$@"}'='"$@"'
  75478. setopt NO_GLOB_SUBST
  75479. else
  75480. - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  75481. + case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
  75482. fi
  75483. -BIN_SH=xpg4; export BIN_SH # for Tru64
  75484. -DUALCASE=1; export DUALCASE # for MKS sh
  75485.  
  75486. -# NLS nuisances: We save the old values to restore during execute mode.
  75487. -# Only set LANG and LC_ALL to C if already set.
  75488. -# These must not be set unconditionally because not all systems understand
  75489. -# e.g. LANG=C (notably SCO).
  75490. -lt_user_locale=
  75491. -lt_safe_locale=
  75492. -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  75493. +# NLS nuisances: We save the old values in case they are required later.
  75494. +_G_user_locale=
  75495. +_G_safe_locale=
  75496. +for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  75497. do
  75498. - eval "if test \"\${$lt_var+set}\" = set; then
  75499. - save_$lt_var=\$$lt_var
  75500. - $lt_var=C
  75501. - export $lt_var
  75502. - lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  75503. - lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  75504. + eval "if test set = \"\${$_G_var+set}\"; then
  75505. + save_$_G_var=\$$_G_var
  75506. + $_G_var=C
  75507. + export $_G_var
  75508. + _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
  75509. + _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
  75510. fi"
  75511. done
  75512.  
  75513. -$lt_unset CDPATH
  75514. +# CDPATH.
  75515. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  75516. +
  75517. +# Make sure IFS has a sensible default
  75518. +sp=' '
  75519. +nl='
  75520. +'
  75521. +IFS="$sp $nl"
  75522. +
  75523. +# There are apparently some retarded systems that use ';' as a PATH separator!
  75524. +if test "${PATH_SEPARATOR+set}" != set; then
  75525. + PATH_SEPARATOR=:
  75526. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  75527. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75528. + PATH_SEPARATOR=';'
  75529. + }
  75530. +fi
  75531. +
  75532. +
  75533. +
  75534. +## ------------------------- ##
  75535. +## Locate command utilities. ##
  75536. +## ------------------------- ##
  75537. +
  75538.  
  75539. +# func_executable_p FILE
  75540. +# ----------------------
  75541. +# Check that FILE is an executable regular file.
  75542. +func_executable_p ()
  75543. +{
  75544. + test -f "$1" && test -x "$1"
  75545. +}
  75546.  
  75547.  
  75548. +# func_path_progs PROGS_LIST CHECK_FUNC [PATH]
  75549. +# --------------------------------------------
  75550. +# Search for either a program that responds to --version with output
  75551. +# containing "GNU", or else returned by CHECK_FUNC otherwise, by
  75552. +# trying all the directories in PATH with each of the elements of
  75553. +# PROGS_LIST.
  75554. +#
  75555. +# CHECK_FUNC should accept the path to a candidate program, and
  75556. +# set $func_check_prog_result if it truncates its output less than
  75557. +# $_G_path_prog_max characters.
  75558. +func_path_progs ()
  75559. +{
  75560. + _G_progs_list=$1
  75561. + _G_check_func=$2
  75562. + _G_PATH=${3-"$PATH"}
  75563. +
  75564. + _G_path_prog_max=0
  75565. + _G_path_prog_found=false
  75566. + _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
  75567. + for _G_dir in $_G_PATH; do
  75568. + IFS=$_G_save_IFS
  75569. + test -z "$_G_dir" && _G_dir=.
  75570. + for _G_prog_name in $_G_progs_list; do
  75571. + for _exeext in '' .EXE; do
  75572. + _G_path_prog=$_G_dir/$_G_prog_name$_exeext
  75573. + func_executable_p "$_G_path_prog" || continue
  75574. + case `"$_G_path_prog" --version 2>&1` in
  75575. + *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
  75576. + *) $_G_check_func $_G_path_prog
  75577. + func_path_progs_result=$func_check_prog_result
  75578. + ;;
  75579. + esac
  75580. + $_G_path_prog_found && break 3
  75581. + done
  75582. + done
  75583. + done
  75584. + IFS=$_G_save_IFS
  75585. + test -z "$func_path_progs_result" && {
  75586. + echo "no acceptable sed could be found in \$PATH" >&2
  75587. + exit 1
  75588. + }
  75589. +}
  75590. +
  75591.  
  75592. +# We want to be able to use the functions in this file before configure
  75593. +# has figured out where the best binaries are kept, which means we have
  75594. +# to search for them ourselves - except when the results are already set
  75595. +# where we skip the searches.
  75596. +
  75597. +# Unless the user overrides by setting SED, search the path for either GNU
  75598. +# sed, or the sed that truncates its output the least.
  75599. +test -z "$SED" && {
  75600. + _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  75601. + for _G_i in 1 2 3 4 5 6 7; do
  75602. + _G_sed_script=$_G_sed_script$nl$_G_sed_script
  75603. + done
  75604. + echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
  75605. + _G_sed_script=
  75606. +
  75607. + func_check_prog_sed ()
  75608. + {
  75609. + _G_path_prog=$1
  75610. +
  75611. + _G_count=0
  75612. + printf 0123456789 >conftest.in
  75613. + while :
  75614. + do
  75615. + cat conftest.in conftest.in >conftest.tmp
  75616. + mv conftest.tmp conftest.in
  75617. + cp conftest.in conftest.nl
  75618. + echo '' >> conftest.nl
  75619. + "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
  75620. + diff conftest.out conftest.nl >/dev/null 2>&1 || break
  75621. + _G_count=`expr $_G_count + 1`
  75622. + if test "$_G_count" -gt "$_G_path_prog_max"; then
  75623. + # Best one so far, save it but keep looking for a better one
  75624. + func_check_prog_result=$_G_path_prog
  75625. + _G_path_prog_max=$_G_count
  75626. + fi
  75627. + # 10*(2^10) chars as input seems more than enough
  75628. + test 10 -lt "$_G_count" && break
  75629. + done
  75630. + rm -f conftest.in conftest.tmp conftest.nl conftest.out
  75631. + }
  75632. +
  75633. + func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
  75634. + rm -f conftest.sed
  75635. + SED=$func_path_progs_result
  75636. +}
  75637. +
  75638. +
  75639. +# Unless the user overrides by setting GREP, search the path for either GNU
  75640. +# grep, or the grep that truncates its output the least.
  75641. +test -z "$GREP" && {
  75642. + func_check_prog_grep ()
  75643. + {
  75644. + _G_path_prog=$1
  75645. +
  75646. + _G_count=0
  75647. + _G_path_prog_max=0
  75648. + printf 0123456789 >conftest.in
  75649. + while :
  75650. + do
  75651. + cat conftest.in conftest.in >conftest.tmp
  75652. + mv conftest.tmp conftest.in
  75653. + cp conftest.in conftest.nl
  75654. + echo 'GREP' >> conftest.nl
  75655. + "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
  75656. + diff conftest.out conftest.nl >/dev/null 2>&1 || break
  75657. + _G_count=`expr $_G_count + 1`
  75658. + if test "$_G_count" -gt "$_G_path_prog_max"; then
  75659. + # Best one so far, save it but keep looking for a better one
  75660. + func_check_prog_result=$_G_path_prog
  75661. + _G_path_prog_max=$_G_count
  75662. + fi
  75663. + # 10*(2^10) chars as input seems more than enough
  75664. + test 10 -lt "$_G_count" && break
  75665. + done
  75666. + rm -f conftest.in conftest.tmp conftest.nl conftest.out
  75667. + }
  75668. +
  75669. + func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
  75670. + GREP=$func_path_progs_result
  75671. +}
  75672. +
  75673. +
  75674. +## ------------------------------- ##
  75675. +## User overridable command paths. ##
  75676. +## ------------------------------- ##
  75677. +
  75678. +# All uppercase variable names are used for environment variables. These
  75679. +# variables can be overridden by the user before calling a script that
  75680. +# uses them if a suitable command of that name is not already available
  75681. +# in the command search PATH.
  75682.  
  75683. : ${CP="cp -f"}
  75684. -: ${ECHO="echo"}
  75685. -: ${EGREP="/bin/grep -E"}
  75686. -: ${FGREP="/bin/grep -F"}
  75687. -: ${GREP="/bin/grep"}
  75688. +: ${ECHO="printf %s\n"}
  75689. +: ${EGREP="$GREP -E"}
  75690. +: ${FGREP="$GREP -F"}
  75691. : ${LN_S="ln -s"}
  75692. : ${MAKE="make"}
  75693. : ${MKDIR="mkdir"}
  75694. : ${MV="mv -f"}
  75695. : ${RM="rm -f"}
  75696. -: ${SED="/bin/sed"}
  75697. : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  75698. -: ${Xsed="$SED -e 1s/^X//"}
  75699.  
  75700. -# Global variables:
  75701. +
  75702. +## -------------------- ##
  75703. +## Useful sed snippets. ##
  75704. +## -------------------- ##
  75705. +
  75706. +sed_dirname='s|/[^/]*$||'
  75707. +sed_basename='s|^.*/||'
  75708. +
  75709. +# Sed substitution that helps us do robust quoting. It backslashifies
  75710. +# metacharacters that are still active within double-quoted strings.
  75711. +sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
  75712. +
  75713. +# Same as above, but do not quote variable references.
  75714. +sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
  75715. +
  75716. +# Sed substitution that turns a string into a regex matching for the
  75717. +# string literally.
  75718. +sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
  75719. +
  75720. +# Sed substitution that converts a w32 file name or path
  75721. +# that contains forward slashes, into one that contains
  75722. +# (escaped) backslashes. A very naive implementation.
  75723. +sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  75724. +
  75725. +# Re-'\' parameter expansions in output of sed_double_quote_subst that
  75726. +# were '\'-ed in input to the same. If an odd number of '\' preceded a
  75727. +# '$' in input to sed_double_quote_subst, that '$' was protected from
  75728. +# expansion. Since each input '\' is now two '\'s, look for any number
  75729. +# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
  75730. +_G_bs='\\'
  75731. +_G_bs2='\\\\'
  75732. +_G_bs4='\\\\\\\\'
  75733. +_G_dollar='\$'
  75734. +sed_double_backslash="\
  75735. + s/$_G_bs4/&\\
  75736. +/g
  75737. + s/^$_G_bs2$_G_dollar/$_G_bs&/
  75738. + s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
  75739. + s/\n//g"
  75740. +
  75741. +
  75742. +## ----------------- ##
  75743. +## Global variables. ##
  75744. +## ----------------- ##
  75745. +
  75746. +# Except for the global variables explicitly listed below, the following
  75747. +# functions in the '^func_' namespace, and the '^require_' namespace
  75748. +# variables initialised in the 'Resource management' section, sourcing
  75749. +# this file will not pollute your global namespace with anything
  75750. +# else. There's no portable way to scope variables in Bourne shell
  75751. +# though, so actually running these functions will sometimes place
  75752. +# results into a variable named after the function, and often use
  75753. +# temporary variables in the '^_G_' namespace. If you are careful to
  75754. +# avoid using those namespaces casually in your sourcing script, things
  75755. +# should continue to work as you expect. And, of course, you can freely
  75756. +# overwrite any of the functions or variables defined here before
  75757. +# calling anything to customize them.
  75758. +
  75759. EXIT_SUCCESS=0
  75760. EXIT_FAILURE=1
  75761. EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  75762. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  75763.  
  75764. -exit_status=$EXIT_SUCCESS
  75765. -
  75766. -# Make sure IFS has a sensible default
  75767. -lt_nl='
  75768. -'
  75769. -IFS=" $lt_nl"
  75770. -
  75771. -dirname="s,/[^/]*$,,"
  75772. -basename="s,^.*/,,"
  75773. -
  75774. -# func_dirname_and_basename file append nondir_replacement
  75775. -# perform func_basename and func_dirname in a single function
  75776. -# call:
  75777. -# dirname: Compute the dirname of FILE. If nonempty,
  75778. -# add APPEND to the result, otherwise set result
  75779. -# to NONDIR_REPLACEMENT.
  75780. -# value returned in "$func_dirname_result"
  75781. -# basename: Compute filename of FILE.
  75782. -# value retuned in "$func_basename_result"
  75783. -# Implementation must be kept synchronized with func_dirname
  75784. -# and func_basename. For efficiency, we do not delegate to
  75785. -# those functions but instead duplicate the functionality here.
  75786. -func_dirname_and_basename ()
  75787. -{
  75788. - # Extract subdirectory from the argument.
  75789. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  75790. - if test "X$func_dirname_result" = "X${1}"; then
  75791. - func_dirname_result="${3}"
  75792. - else
  75793. - func_dirname_result="$func_dirname_result${2}"
  75794. - fi
  75795. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  75796. -}
  75797. +# Allow overriding, eg assuming that you follow the convention of
  75798. +# putting '$debug_cmd' at the start of all your functions, you can get
  75799. +# bash to show function call trace with:
  75800. +#
  75801. +# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
  75802. +debug_cmd=${debug_cmd-":"}
  75803. +exit_cmd=:
  75804.  
  75805. -# Generated shell functions inserted here.
  75806. +# By convention, finish your script with:
  75807. +#
  75808. +# exit $exit_status
  75809. +#
  75810. +# so that you can set exit_status to non-zero if you want to indicate
  75811. +# something went wrong during execution without actually bailing out at
  75812. +# the point of failure.
  75813. +exit_status=$EXIT_SUCCESS
  75814.  
  75815. # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  75816. # is ksh but when the shell is invoked as "sh" and the current value of
  75817. # the _XPG environment variable is not equal to 1 (one), the special
  75818. # positional parameter $0, within a function call, is the name of the
  75819. # function.
  75820. -progpath="$0"
  75821. +progpath=$0
  75822.  
  75823. -# The name of this program:
  75824. -# In the unlikely event $progname began with a '-', it would play havoc with
  75825. -# func_echo (imagine progname=-n), so we prepend ./ in that case:
  75826. -func_dirname_and_basename "$progpath"
  75827. -progname=$func_basename_result
  75828. -case $progname in
  75829. - -*) progname=./$progname ;;
  75830. -esac
  75831. +# The name of this program.
  75832. +progname=`$ECHO "$progpath" |$SED "$sed_basename"`
  75833.  
  75834. -# Make sure we have an absolute path for reexecution:
  75835. +# Make sure we have an absolute progpath for reexecution:
  75836. case $progpath in
  75837. [\\/]*|[A-Za-z]:\\*) ;;
  75838. *[\\/]*)
  75839. - progdir=$func_dirname_result
  75840. + progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
  75841. progdir=`cd "$progdir" && pwd`
  75842. - progpath="$progdir/$progname"
  75843. + progpath=$progdir/$progname
  75844. ;;
  75845. *)
  75846. - save_IFS="$IFS"
  75847. - IFS=:
  75848. + _G_IFS=$IFS
  75849. + IFS=${PATH_SEPARATOR-:}
  75850. for progdir in $PATH; do
  75851. - IFS="$save_IFS"
  75852. + IFS=$_G_IFS
  75853. test -x "$progdir/$progname" && break
  75854. done
  75855. - IFS="$save_IFS"
  75856. + IFS=$_G_IFS
  75857. test -n "$progdir" || progdir=`pwd`
  75858. - progpath="$progdir/$progname"
  75859. + progpath=$progdir/$progname
  75860. ;;
  75861. esac
  75862.  
  75863. -# Sed substitution that helps us do robust quoting. It backslashifies
  75864. -# metacharacters that are still active within double-quoted strings.
  75865. -Xsed="${SED}"' -e 1s/^X//'
  75866. -sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  75867.  
  75868. -# Same as above, but do not quote variable references.
  75869. -double_quote_subst='s/\(["`\\]\)/\\\1/g'
  75870. +## ----------------- ##
  75871. +## Standard options. ##
  75872. +## ----------------- ##
  75873. +
  75874. +# The following options affect the operation of the functions defined
  75875. +# below, and should be set appropriately depending on run-time para-
  75876. +# meters passed on the command line.
  75877.  
  75878. -# Re-`\' parameter expansions in output of double_quote_subst that were
  75879. -# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  75880. -# in input to double_quote_subst, that '$' was protected from expansion.
  75881. -# Since each input `\' is now two `\'s, look for any number of runs of
  75882. -# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  75883. -bs='\\'
  75884. -bs2='\\\\'
  75885. -bs4='\\\\\\\\'
  75886. -dollar='\$'
  75887. -sed_double_backslash="\
  75888. - s/$bs4/&\\
  75889. -/g
  75890. - s/^$bs2$dollar/$bs&/
  75891. - s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  75892. - s/\n//g"
  75893. -
  75894. -# Standard options:
  75895. opt_dry_run=false
  75896. -opt_help=false
  75897. opt_quiet=false
  75898. opt_verbose=false
  75899. -opt_warning=:
  75900.  
  75901. -# func_echo arg...
  75902. -# Echo program name prefixed message, along with the current mode
  75903. -# name if it has been set yet.
  75904. +# Categories 'all' and 'none' are always available. Append any others
  75905. +# you will pass as the first argument to func_warning from your own
  75906. +# code.
  75907. +warning_categories=
  75908. +
  75909. +# By default, display warnings according to 'opt_warning_types'. Set
  75910. +# 'warning_func' to ':' to elide all warnings, or func_fatal_error to
  75911. +# treat the next displayed warning as a fatal error.
  75912. +warning_func=func_warn_and_continue
  75913. +
  75914. +# Set to 'all' to display all warnings, 'none' to suppress all
  75915. +# warnings, or a space delimited list of some subset of
  75916. +# 'warning_categories' to display only the listed warnings.
  75917. +opt_warning_types=all
  75918. +
  75919. +
  75920. +## -------------------- ##
  75921. +## Resource management. ##
  75922. +## -------------------- ##
  75923. +
  75924. +# This section contains definitions for functions that each ensure a
  75925. +# particular resource (a file, or a non-empty configuration variable for
  75926. +# example) is available, and if appropriate to extract default values
  75927. +# from pertinent package files. Call them using their associated
  75928. +# 'require_*' variable to ensure that they are executed, at most, once.
  75929. +#
  75930. +# It's entirely deliberate that calling these functions can set
  75931. +# variables that don't obey the namespace limitations obeyed by the rest
  75932. +# of this file, in order that that they be as useful as possible to
  75933. +# callers.
  75934. +
  75935. +
  75936. +# require_term_colors
  75937. +# -------------------
  75938. +# Allow display of bold text on terminals that support it.
  75939. +require_term_colors=func_require_term_colors
  75940. +func_require_term_colors ()
  75941. +{
  75942. + $debug_cmd
  75943. +
  75944. + test -t 1 && {
  75945. + # COLORTERM and USE_ANSI_COLORS environment variables take
  75946. + # precedence, because most terminfo databases neglect to describe
  75947. + # whether color sequences are supported.
  75948. + test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
  75949. +
  75950. + if test 1 = "$USE_ANSI_COLORS"; then
  75951. + # Standard ANSI escape sequences
  75952. + tc_reset=''
  75953. + tc_bold=''; tc_standout=''
  75954. + tc_red=''; tc_green=''
  75955. + tc_blue=''; tc_cyan=''
  75956. + else
  75957. + # Otherwise trust the terminfo database after all.
  75958. + test -n "`tput sgr0 2>/dev/null`" && {
  75959. + tc_reset=`tput sgr0`
  75960. + test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
  75961. + tc_standout=$tc_bold
  75962. + test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
  75963. + test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
  75964. + test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
  75965. + test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
  75966. + test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
  75967. + }
  75968. + fi
  75969. + }
  75970. +
  75971. + require_term_colors=:
  75972. +}
  75973. +
  75974. +
  75975. +## ----------------- ##
  75976. +## Function library. ##
  75977. +## ----------------- ##
  75978. +
  75979. +# This section contains a variety of useful functions to call in your
  75980. +# scripts. Take note of the portable wrappers for features provided by
  75981. +# some modern shells, which will fall back to slower equivalents on
  75982. +# less featureful shells.
  75983. +
  75984. +
  75985. +# func_append VAR VALUE
  75986. +# ---------------------
  75987. +# Append VALUE onto the existing contents of VAR.
  75988. +
  75989. + # We should try to minimise forks, especially on Windows where they are
  75990. + # unreasonably slow, so skip the feature probes when bash or zsh are
  75991. + # being used:
  75992. + if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
  75993. + : ${_G_HAVE_ARITH_OP="yes"}
  75994. + : ${_G_HAVE_XSI_OPS="yes"}
  75995. + # The += operator was introduced in bash 3.1
  75996. + case $BASH_VERSION in
  75997. + [12].* | 3.0 | 3.0*) ;;
  75998. + *)
  75999. + : ${_G_HAVE_PLUSEQ_OP="yes"}
  76000. + ;;
  76001. + esac
  76002. + fi
  76003. +
  76004. + # _G_HAVE_PLUSEQ_OP
  76005. + # Can be empty, in which case the shell is probed, "yes" if += is
  76006. + # useable or anything else if it does not work.
  76007. + test -z "$_G_HAVE_PLUSEQ_OP" \
  76008. + && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
  76009. + && _G_HAVE_PLUSEQ_OP=yes
  76010. +
  76011. +if test yes = "$_G_HAVE_PLUSEQ_OP"
  76012. +then
  76013. + # This is an XSI compatible shell, allowing a faster implementation...
  76014. + eval 'func_append ()
  76015. + {
  76016. + $debug_cmd
  76017. +
  76018. + eval "$1+=\$2"
  76019. + }'
  76020. +else
  76021. + # ...otherwise fall back to using expr, which is often a shell builtin.
  76022. + func_append ()
  76023. + {
  76024. + $debug_cmd
  76025. +
  76026. + eval "$1=\$$1\$2"
  76027. + }
  76028. +fi
  76029. +
  76030. +
  76031. +# func_append_quoted VAR VALUE
  76032. +# ----------------------------
  76033. +# Quote VALUE and append to the end of shell variable VAR, separated
  76034. +# by a space.
  76035. +if test yes = "$_G_HAVE_PLUSEQ_OP"; then
  76036. + eval 'func_append_quoted ()
  76037. + {
  76038. + $debug_cmd
  76039. +
  76040. + func_quote_for_eval "$2"
  76041. + eval "$1+=\\ \$func_quote_for_eval_result"
  76042. + }'
  76043. +else
  76044. + func_append_quoted ()
  76045. + {
  76046. + $debug_cmd
  76047. +
  76048. + func_quote_for_eval "$2"
  76049. + eval "$1=\$$1\\ \$func_quote_for_eval_result"
  76050. + }
  76051. +fi
  76052. +
  76053. +
  76054. +# func_append_uniq VAR VALUE
  76055. +# --------------------------
  76056. +# Append unique VALUE onto the existing contents of VAR, assuming
  76057. +# entries are delimited by the first character of VALUE. For example:
  76058. +#
  76059. +# func_append_uniq options " --another-option option-argument"
  76060. +#
  76061. +# will only append to $options if " --another-option option-argument "
  76062. +# is not already present somewhere in $options already (note spaces at
  76063. +# each end implied by leading space in second argument).
  76064. +func_append_uniq ()
  76065. +{
  76066. + $debug_cmd
  76067. +
  76068. + eval _G_current_value='`$ECHO $'$1'`'
  76069. + _G_delim=`expr "$2" : '\(.\)'`
  76070. +
  76071. + case $_G_delim$_G_current_value$_G_delim in
  76072. + *"$2$_G_delim"*) ;;
  76073. + *) func_append "$@" ;;
  76074. + esac
  76075. +}
  76076. +
  76077. +
  76078. +# func_arith TERM...
  76079. +# ------------------
  76080. +# Set func_arith_result to the result of evaluating TERMs.
  76081. + test -z "$_G_HAVE_ARITH_OP" \
  76082. + && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
  76083. + && _G_HAVE_ARITH_OP=yes
  76084. +
  76085. +if test yes = "$_G_HAVE_ARITH_OP"; then
  76086. + eval 'func_arith ()
  76087. + {
  76088. + $debug_cmd
  76089. +
  76090. + func_arith_result=$(( $* ))
  76091. + }'
  76092. +else
  76093. + func_arith ()
  76094. + {
  76095. + $debug_cmd
  76096. +
  76097. + func_arith_result=`expr "$@"`
  76098. + }
  76099. +fi
  76100. +
  76101. +
  76102. +# func_basename FILE
  76103. +# ------------------
  76104. +# Set func_basename_result to FILE with everything up to and including
  76105. +# the last / stripped.
  76106. +if test yes = "$_G_HAVE_XSI_OPS"; then
  76107. + # If this shell supports suffix pattern removal, then use it to avoid
  76108. + # forking. Hide the definitions single quotes in case the shell chokes
  76109. + # on unsupported syntax...
  76110. + _b='func_basename_result=${1##*/}'
  76111. + _d='case $1 in
  76112. + */*) func_dirname_result=${1%/*}$2 ;;
  76113. + * ) func_dirname_result=$3 ;;
  76114. + esac'
  76115. +
  76116. +else
  76117. + # ...otherwise fall back to using sed.
  76118. + _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
  76119. + _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
  76120. + if test "X$func_dirname_result" = "X$1"; then
  76121. + func_dirname_result=$3
  76122. + else
  76123. + func_append func_dirname_result "$2"
  76124. + fi'
  76125. +fi
  76126. +
  76127. +eval 'func_basename ()
  76128. +{
  76129. + $debug_cmd
  76130. +
  76131. + '"$_b"'
  76132. +}'
  76133. +
  76134. +
  76135. +# func_dirname FILE APPEND NONDIR_REPLACEMENT
  76136. +# -------------------------------------------
  76137. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  76138. +# otherwise set result to NONDIR_REPLACEMENT.
  76139. +eval 'func_dirname ()
  76140. +{
  76141. + $debug_cmd
  76142. +
  76143. + '"$_d"'
  76144. +}'
  76145. +
  76146. +
  76147. +# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
  76148. +# --------------------------------------------------------
  76149. +# Perform func_basename and func_dirname in a single function
  76150. +# call:
  76151. +# dirname: Compute the dirname of FILE. If nonempty,
  76152. +# add APPEND to the result, otherwise set result
  76153. +# to NONDIR_REPLACEMENT.
  76154. +# value returned in "$func_dirname_result"
  76155. +# basename: Compute filename of FILE.
  76156. +# value retuned in "$func_basename_result"
  76157. +# For efficiency, we do not delegate to the functions above but instead
  76158. +# duplicate the functionality here.
  76159. +eval 'func_dirname_and_basename ()
  76160. +{
  76161. + $debug_cmd
  76162. +
  76163. + '"$_b"'
  76164. + '"$_d"'
  76165. +}'
  76166. +
  76167. +
  76168. +# func_echo ARG...
  76169. +# ----------------
  76170. +# Echo program name prefixed message.
  76171. func_echo ()
  76172. {
  76173. - $ECHO "$progname${mode+: }$mode: $*"
  76174. + $debug_cmd
  76175. +
  76176. + _G_message=$*
  76177. +
  76178. + func_echo_IFS=$IFS
  76179. + IFS=$nl
  76180. + for _G_line in $_G_message; do
  76181. + IFS=$func_echo_IFS
  76182. + $ECHO "$progname: $_G_line"
  76183. + done
  76184. + IFS=$func_echo_IFS
  76185. }
  76186.  
  76187. -# func_verbose arg...
  76188. -# Echo program name prefixed message in verbose mode only.
  76189. -func_verbose ()
  76190. +
  76191. +# func_echo_all ARG...
  76192. +# --------------------
  76193. +# Invoke $ECHO with all args, space-separated.
  76194. +func_echo_all ()
  76195. {
  76196. - $opt_verbose && func_echo ${1+"$@"}
  76197. + $ECHO "$*"
  76198. +}
  76199.  
  76200. - # A bug in bash halts the script if the last line of a function
  76201. - # fails when set -e is in force, so we need another command to
  76202. - # work around that:
  76203. - :
  76204. +
  76205. +# func_echo_infix_1 INFIX ARG...
  76206. +# ------------------------------
  76207. +# Echo program name, followed by INFIX on the first line, with any
  76208. +# additional lines not showing INFIX.
  76209. +func_echo_infix_1 ()
  76210. +{
  76211. + $debug_cmd
  76212. +
  76213. + $require_term_colors
  76214. +
  76215. + _G_infix=$1; shift
  76216. + _G_indent=$_G_infix
  76217. + _G_prefix="$progname: $_G_infix: "
  76218. + _G_message=$*
  76219. +
  76220. + # Strip color escape sequences before counting printable length
  76221. + for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
  76222. + do
  76223. + test -n "$_G_tc" && {
  76224. + _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
  76225. + _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
  76226. + }
  76227. + done
  76228. + _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
  76229. +
  76230. + func_echo_infix_1_IFS=$IFS
  76231. + IFS=$nl
  76232. + for _G_line in $_G_message; do
  76233. + IFS=$func_echo_infix_1_IFS
  76234. + $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
  76235. + _G_prefix=$_G_indent
  76236. + done
  76237. + IFS=$func_echo_infix_1_IFS
  76238. }
  76239.  
  76240. -# func_error arg...
  76241. +
  76242. +# func_error ARG...
  76243. +# -----------------
  76244. # Echo program name prefixed message to standard error.
  76245. func_error ()
  76246. {
  76247. - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  76248. -}
  76249. + $debug_cmd
  76250.  
  76251. -# func_warning arg...
  76252. -# Echo program name prefixed warning message to standard error.
  76253. -func_warning ()
  76254. -{
  76255. - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  76256. + $require_term_colors
  76257.  
  76258. - # bash bug again:
  76259. - :
  76260. + func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
  76261. }
  76262.  
  76263. -# func_fatal_error arg...
  76264. +
  76265. +# func_fatal_error ARG...
  76266. +# -----------------------
  76267. # Echo program name prefixed message to standard error, and exit.
  76268. func_fatal_error ()
  76269. {
  76270. - func_error ${1+"$@"}
  76271. - exit $EXIT_FAILURE
  76272. -}
  76273. + $debug_cmd
  76274.  
  76275. -# func_fatal_help arg...
  76276. -# Echo program name prefixed message to standard error, followed by
  76277. -# a help hint, and exit.
  76278. -func_fatal_help ()
  76279. -{
  76280. - func_error ${1+"$@"}
  76281. - func_fatal_error "$help"
  76282. + func_error "$*"
  76283. + exit $EXIT_FAILURE
  76284. }
  76285. -help="Try \`$progname --help' for more information." ## default
  76286.  
  76287.  
  76288. -# func_grep expression filename
  76289. +# func_grep EXPRESSION FILENAME
  76290. +# -----------------------------
  76291. # Check whether EXPRESSION matches any line of FILENAME, without output.
  76292. func_grep ()
  76293. {
  76294. + $debug_cmd
  76295. +
  76296. $GREP "$1" "$2" >/dev/null 2>&1
  76297. }
  76298.  
  76299.  
  76300. -# func_mkdir_p directory-path
  76301. +# func_len STRING
  76302. +# ---------------
  76303. +# Set func_len_result to the length of STRING. STRING may not
  76304. +# start with a hyphen.
  76305. + test -z "$_G_HAVE_XSI_OPS" \
  76306. + && (eval 'x=a/b/c;
  76307. + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
  76308. + && _G_HAVE_XSI_OPS=yes
  76309. +
  76310. +if test yes = "$_G_HAVE_XSI_OPS"; then
  76311. + eval 'func_len ()
  76312. + {
  76313. + $debug_cmd
  76314. +
  76315. + func_len_result=${#1}
  76316. + }'
  76317. +else
  76318. + func_len ()
  76319. + {
  76320. + $debug_cmd
  76321. +
  76322. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  76323. + }
  76324. +fi
  76325. +
  76326. +
  76327. +# func_mkdir_p DIRECTORY-PATH
  76328. +# ---------------------------
  76329. # Make sure the entire path to DIRECTORY-PATH is available.
  76330. func_mkdir_p ()
  76331. {
  76332. - my_directory_path="$1"
  76333. - my_dir_list=
  76334. + $debug_cmd
  76335. +
  76336. + _G_directory_path=$1
  76337. + _G_dir_list=
  76338.  
  76339. - if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  76340. + if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
  76341.  
  76342. - # Protect directory names starting with `-'
  76343. - case $my_directory_path in
  76344. - -*) my_directory_path="./$my_directory_path" ;;
  76345. + # Protect directory names starting with '-'
  76346. + case $_G_directory_path in
  76347. + -*) _G_directory_path=./$_G_directory_path ;;
  76348. esac
  76349.  
  76350. # While some portion of DIR does not yet exist...
  76351. - while test ! -d "$my_directory_path"; do
  76352. + while test ! -d "$_G_directory_path"; do
  76353. # ...make a list in topmost first order. Use a colon delimited
  76354. # list incase some portion of path contains whitespace.
  76355. - my_dir_list="$my_directory_path:$my_dir_list"
  76356. + _G_dir_list=$_G_directory_path:$_G_dir_list
  76357.  
  76358. # If the last portion added has no slash in it, the list is done
  76359. - case $my_directory_path in */*) ;; *) break ;; esac
  76360. + case $_G_directory_path in */*) ;; *) break ;; esac
  76361.  
  76362. # ...otherwise throw away the child directory and loop
  76363. - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  76364. + _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
  76365. done
  76366. - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  76367. + _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
  76368.  
  76369. - save_mkdir_p_IFS="$IFS"; IFS=':'
  76370. - for my_dir in $my_dir_list; do
  76371. - IFS="$save_mkdir_p_IFS"
  76372. - # mkdir can fail with a `File exist' error if two processes
  76373. + func_mkdir_p_IFS=$IFS; IFS=:
  76374. + for _G_dir in $_G_dir_list; do
  76375. + IFS=$func_mkdir_p_IFS
  76376. + # mkdir can fail with a 'File exist' error if two processes
  76377. # try to create one of the directories concurrently. Don't
  76378. # stop in that case!
  76379. - $MKDIR "$my_dir" 2>/dev/null || :
  76380. + $MKDIR "$_G_dir" 2>/dev/null || :
  76381. done
  76382. - IFS="$save_mkdir_p_IFS"
  76383. + IFS=$func_mkdir_p_IFS
  76384.  
  76385. # Bail out if we (or some other process) failed to create a directory.
  76386. - test -d "$my_directory_path" || \
  76387. - func_fatal_error "Failed to create \`$1'"
  76388. + test -d "$_G_directory_path" || \
  76389. + func_fatal_error "Failed to create '$1'"
  76390. fi
  76391. }
  76392.  
  76393.  
  76394. -# func_mktempdir [string]
  76395. +# func_mktempdir [BASENAME]
  76396. +# -------------------------
  76397. # Make a temporary directory that won't clash with other running
  76398. # libtool processes, and avoids race conditions if possible. If
  76399. -# given, STRING is the basename for that directory.
  76400. +# given, BASENAME is the basename for that directory.
  76401. func_mktempdir ()
  76402. {
  76403. - my_template="${TMPDIR-/tmp}/${1-$progname}"
  76404. + $debug_cmd
  76405. +
  76406. + _G_template=${TMPDIR-/tmp}/${1-$progname}
  76407.  
  76408. - if test "$opt_dry_run" = ":"; then
  76409. + if test : = "$opt_dry_run"; then
  76410. # Return a directory name, but don't create it in dry-run mode
  76411. - my_tmpdir="${my_template}-$$"
  76412. + _G_tmpdir=$_G_template-$$
  76413. else
  76414.  
  76415. # If mktemp works, use that first and foremost
  76416. - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  76417. + _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
  76418.  
  76419. - if test ! -d "$my_tmpdir"; then
  76420. + if test ! -d "$_G_tmpdir"; then
  76421. # Failing that, at least try and use $RANDOM to avoid a race
  76422. - my_tmpdir="${my_template}-${RANDOM-0}$$"
  76423. + _G_tmpdir=$_G_template-${RANDOM-0}$$
  76424.  
  76425. - save_mktempdir_umask=`umask`
  76426. + func_mktempdir_umask=`umask`
  76427. umask 0077
  76428. - $MKDIR "$my_tmpdir"
  76429. - umask $save_mktempdir_umask
  76430. + $MKDIR "$_G_tmpdir"
  76431. + umask $func_mktempdir_umask
  76432. fi
  76433.  
  76434. # If we're not in dry-run mode, bomb out on failure
  76435. - test -d "$my_tmpdir" || \
  76436. - func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  76437. + test -d "$_G_tmpdir" || \
  76438. + func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
  76439. fi
  76440.  
  76441. - $ECHO "X$my_tmpdir" | $Xsed
  76442. + $ECHO "$_G_tmpdir"
  76443. }
  76444.  
  76445.  
  76446. -# func_quote_for_eval arg
  76447. -# Aesthetically quote ARG to be evaled later.
  76448. -# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  76449. -# is double-quoted, suitable for a subsequent eval, whereas
  76450. -# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  76451. -# which are still active within double quotes backslashified.
  76452. -func_quote_for_eval ()
  76453. -{
  76454. - case $1 in
  76455. - *[\\\`\"\$]*)
  76456. - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  76457. - *)
  76458. - func_quote_for_eval_unquoted_result="$1" ;;
  76459. - esac
  76460. -
  76461. - case $func_quote_for_eval_unquoted_result in
  76462. - # Double-quote args containing shell metacharacters to delay
  76463. - # word splitting, command substitution and and variable
  76464. - # expansion for a subsequent eval.
  76465. - # Many Bourne shells cannot handle close brackets correctly
  76466. - # in scan sets, so we specify it separately.
  76467. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  76468. - func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  76469. +# func_normal_abspath PATH
  76470. +# ------------------------
  76471. +# Remove doubled-up and trailing slashes, "." path components,
  76472. +# and cancel out any ".." path components in PATH after making
  76473. +# it an absolute path.
  76474. +func_normal_abspath ()
  76475. +{
  76476. + $debug_cmd
  76477. +
  76478. + # These SED scripts presuppose an absolute path with a trailing slash.
  76479. + _G_pathcar='s|^/\([^/]*\).*$|\1|'
  76480. + _G_pathcdr='s|^/[^/]*||'
  76481. + _G_removedotparts=':dotsl
  76482. + s|/\./|/|g
  76483. + t dotsl
  76484. + s|/\.$|/|'
  76485. + _G_collapseslashes='s|/\{1,\}|/|g'
  76486. + _G_finalslash='s|/*$|/|'
  76487. +
  76488. + # Start from root dir and reassemble the path.
  76489. + func_normal_abspath_result=
  76490. + func_normal_abspath_tpath=$1
  76491. + func_normal_abspath_altnamespace=
  76492. + case $func_normal_abspath_tpath in
  76493. + "")
  76494. + # Empty path, that just means $cwd.
  76495. + func_stripname '' '/' "`pwd`"
  76496. + func_normal_abspath_result=$func_stripname_result
  76497. + return
  76498. + ;;
  76499. + # The next three entries are used to spot a run of precisely
  76500. + # two leading slashes without using negated character classes;
  76501. + # we take advantage of case's first-match behaviour.
  76502. + ///*)
  76503. + # Unusual form of absolute path, do nothing.
  76504. + ;;
  76505. + //*)
  76506. + # Not necessarily an ordinary path; POSIX reserves leading '//'
  76507. + # and for example Cygwin uses it to access remote file shares
  76508. + # over CIFS/SMB, so we conserve a leading double slash if found.
  76509. + func_normal_abspath_altnamespace=/
  76510. + ;;
  76511. + /*)
  76512. + # Absolute path, do nothing.
  76513. ;;
  76514. *)
  76515. - func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  76516. + # Relative path, prepend $cwd.
  76517. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
  76518. + ;;
  76519. esac
  76520. +
  76521. + # Cancel out all the simple stuff to save iterations. We also want
  76522. + # the path to end with a slash for ease of parsing, so make sure
  76523. + # there is one (and only one) here.
  76524. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  76525. + -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
  76526. + while :; do
  76527. + # Processed it all yet?
  76528. + if test / = "$func_normal_abspath_tpath"; then
  76529. + # If we ascended to the root using ".." the result may be empty now.
  76530. + if test -z "$func_normal_abspath_result"; then
  76531. + func_normal_abspath_result=/
  76532. + fi
  76533. + break
  76534. + fi
  76535. + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
  76536. + -e "$_G_pathcar"`
  76537. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  76538. + -e "$_G_pathcdr"`
  76539. + # Figure out what to do with it
  76540. + case $func_normal_abspath_tcomponent in
  76541. + "")
  76542. + # Trailing empty path component, ignore it.
  76543. + ;;
  76544. + ..)
  76545. + # Parent dir; strip last assembled component from result.
  76546. + func_dirname "$func_normal_abspath_result"
  76547. + func_normal_abspath_result=$func_dirname_result
  76548. + ;;
  76549. + *)
  76550. + # Actual path component, append it.
  76551. + func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
  76552. + ;;
  76553. + esac
  76554. + done
  76555. + # Restore leading double-slash if one was found on entry.
  76556. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
  76557. +}
  76558. +
  76559. +
  76560. +# func_notquiet ARG...
  76561. +# --------------------
  76562. +# Echo program name prefixed message only when not in quiet mode.
  76563. +func_notquiet ()
  76564. +{
  76565. + $debug_cmd
  76566. +
  76567. + $opt_quiet || func_echo ${1+"$@"}
  76568. +
  76569. + # A bug in bash halts the script if the last line of a function
  76570. + # fails when set -e is in force, so we need another command to
  76571. + # work around that:
  76572. + :
  76573. +}
  76574. +
  76575. +
  76576. +# func_relative_path SRCDIR DSTDIR
  76577. +# --------------------------------
  76578. +# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
  76579. +func_relative_path ()
  76580. +{
  76581. + $debug_cmd
  76582. +
  76583. + func_relative_path_result=
  76584. + func_normal_abspath "$1"
  76585. + func_relative_path_tlibdir=$func_normal_abspath_result
  76586. + func_normal_abspath "$2"
  76587. + func_relative_path_tbindir=$func_normal_abspath_result
  76588. +
  76589. + # Ascend the tree starting from libdir
  76590. + while :; do
  76591. + # check if we have found a prefix of bindir
  76592. + case $func_relative_path_tbindir in
  76593. + $func_relative_path_tlibdir)
  76594. + # found an exact match
  76595. + func_relative_path_tcancelled=
  76596. + break
  76597. + ;;
  76598. + $func_relative_path_tlibdir*)
  76599. + # found a matching prefix
  76600. + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
  76601. + func_relative_path_tcancelled=$func_stripname_result
  76602. + if test -z "$func_relative_path_result"; then
  76603. + func_relative_path_result=.
  76604. + fi
  76605. + break
  76606. + ;;
  76607. + *)
  76608. + func_dirname $func_relative_path_tlibdir
  76609. + func_relative_path_tlibdir=$func_dirname_result
  76610. + if test -z "$func_relative_path_tlibdir"; then
  76611. + # Have to descend all the way to the root!
  76612. + func_relative_path_result=../$func_relative_path_result
  76613. + func_relative_path_tcancelled=$func_relative_path_tbindir
  76614. + break
  76615. + fi
  76616. + func_relative_path_result=../$func_relative_path_result
  76617. + ;;
  76618. + esac
  76619. + done
  76620. +
  76621. + # Now calculate path; take care to avoid doubling-up slashes.
  76622. + func_stripname '' '/' "$func_relative_path_result"
  76623. + func_relative_path_result=$func_stripname_result
  76624. + func_stripname '/' '/' "$func_relative_path_tcancelled"
  76625. + if test -n "$func_stripname_result"; then
  76626. + func_append func_relative_path_result "/$func_stripname_result"
  76627. + fi
  76628. +
  76629. + # Normalisation. If bindir is libdir, return '.' else relative path.
  76630. + if test -n "$func_relative_path_result"; then
  76631. + func_stripname './' '' "$func_relative_path_result"
  76632. + func_relative_path_result=$func_stripname_result
  76633. + fi
  76634. +
  76635. + test -n "$func_relative_path_result" || func_relative_path_result=.
  76636. +
  76637. + :
  76638. }
  76639.  
  76640.  
  76641. -# func_quote_for_expand arg
  76642. +# func_quote_for_eval ARG...
  76643. +# --------------------------
  76644. +# Aesthetically quote ARGs to be evaled later.
  76645. +# This function returns two values:
  76646. +# i) func_quote_for_eval_result
  76647. +# double-quoted, suitable for a subsequent eval
  76648. +# ii) func_quote_for_eval_unquoted_result
  76649. +# has all characters that are still active within double
  76650. +# quotes backslashified.
  76651. +func_quote_for_eval ()
  76652. +{
  76653. + $debug_cmd
  76654. +
  76655. + func_quote_for_eval_unquoted_result=
  76656. + func_quote_for_eval_result=
  76657. + while test 0 -lt $#; do
  76658. + case $1 in
  76659. + *[\\\`\"\$]*)
  76660. + _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
  76661. + *)
  76662. + _G_unquoted_arg=$1 ;;
  76663. + esac
  76664. + if test -n "$func_quote_for_eval_unquoted_result"; then
  76665. + func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
  76666. + else
  76667. + func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
  76668. + fi
  76669. +
  76670. + case $_G_unquoted_arg in
  76671. + # Double-quote args containing shell metacharacters to delay
  76672. + # word splitting, command substitution and variable expansion
  76673. + # for a subsequent eval.
  76674. + # Many Bourne shells cannot handle close brackets correctly
  76675. + # in scan sets, so we specify it separately.
  76676. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  76677. + _G_quoted_arg=\"$_G_unquoted_arg\"
  76678. + ;;
  76679. + *)
  76680. + _G_quoted_arg=$_G_unquoted_arg
  76681. + ;;
  76682. + esac
  76683. +
  76684. + if test -n "$func_quote_for_eval_result"; then
  76685. + func_append func_quote_for_eval_result " $_G_quoted_arg"
  76686. + else
  76687. + func_append func_quote_for_eval_result "$_G_quoted_arg"
  76688. + fi
  76689. + shift
  76690. + done
  76691. +}
  76692. +
  76693. +
  76694. +# func_quote_for_expand ARG
  76695. +# -------------------------
  76696. # Aesthetically quote ARG to be evaled later; same as above,
  76697. # but do not quote variable references.
  76698. func_quote_for_expand ()
  76699. {
  76700. + $debug_cmd
  76701. +
  76702. case $1 in
  76703. *[\\\`\"]*)
  76704. - my_arg=`$ECHO "X$1" | $Xsed \
  76705. - -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  76706. + _G_arg=`$ECHO "$1" | $SED \
  76707. + -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
  76708. *)
  76709. - my_arg="$1" ;;
  76710. + _G_arg=$1 ;;
  76711. esac
  76712.  
  76713. - case $my_arg in
  76714. + case $_G_arg in
  76715. # Double-quote args containing shell metacharacters to delay
  76716. # word splitting and command substitution for a subsequent eval.
  76717. # Many Bourne shells cannot handle close brackets correctly
  76718. # in scan sets, so we specify it separately.
  76719. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  76720. - my_arg="\"$my_arg\""
  76721. + _G_arg=\"$_G_arg\"
  76722. ;;
  76723. esac
  76724.  
  76725. - func_quote_for_expand_result="$my_arg"
  76726. + func_quote_for_expand_result=$_G_arg
  76727. }
  76728.  
  76729.  
  76730. -# func_show_eval cmd [fail_exp]
  76731. -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  76732. +# func_stripname PREFIX SUFFIX NAME
  76733. +# ---------------------------------
  76734. +# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
  76735. +# PREFIX and SUFFIX must not contain globbing or regex special
  76736. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  76737. +# dot (in which case that matches only a dot).
  76738. +if test yes = "$_G_HAVE_XSI_OPS"; then
  76739. + eval 'func_stripname ()
  76740. + {
  76741. + $debug_cmd
  76742. +
  76743. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  76744. + # positional parameters, so assign one to ordinary variable first.
  76745. + func_stripname_result=$3
  76746. + func_stripname_result=${func_stripname_result#"$1"}
  76747. + func_stripname_result=${func_stripname_result%"$2"}
  76748. + }'
  76749. +else
  76750. + func_stripname ()
  76751. + {
  76752. + $debug_cmd
  76753. +
  76754. + case $2 in
  76755. + .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
  76756. + *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
  76757. + esac
  76758. + }
  76759. +fi
  76760. +
  76761. +
  76762. +# func_show_eval CMD [FAIL_EXP]
  76763. +# -----------------------------
  76764. +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
  76765. # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  76766. # is given, then evaluate it.
  76767. func_show_eval ()
  76768. {
  76769. - my_cmd="$1"
  76770. - my_fail_exp="${2-:}"
  76771. + $debug_cmd
  76772.  
  76773. - ${opt_silent-false} || {
  76774. - func_quote_for_expand "$my_cmd"
  76775. - eval "func_echo $func_quote_for_expand_result"
  76776. - }
  76777. + _G_cmd=$1
  76778. + _G_fail_exp=${2-':'}
  76779. +
  76780. + func_quote_for_expand "$_G_cmd"
  76781. + eval "func_notquiet $func_quote_for_expand_result"
  76782.  
  76783. - if ${opt_dry_run-false}; then :; else
  76784. - eval "$my_cmd"
  76785. - my_status=$?
  76786. - if test "$my_status" -eq 0; then :; else
  76787. - eval "(exit $my_status); $my_fail_exp"
  76788. + $opt_dry_run || {
  76789. + eval "$_G_cmd"
  76790. + _G_status=$?
  76791. + if test 0 -ne "$_G_status"; then
  76792. + eval "(exit $_G_status); $_G_fail_exp"
  76793. fi
  76794. - fi
  76795. + }
  76796. }
  76797.  
  76798.  
  76799. -# func_show_eval_locale cmd [fail_exp]
  76800. -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  76801. +# func_show_eval_locale CMD [FAIL_EXP]
  76802. +# ------------------------------------
  76803. +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
  76804. # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  76805. # is given, then evaluate it. Use the saved locale for evaluation.
  76806. func_show_eval_locale ()
  76807. {
  76808. - my_cmd="$1"
  76809. - my_fail_exp="${2-:}"
  76810. + $debug_cmd
  76811.  
  76812. - ${opt_silent-false} || {
  76813. - func_quote_for_expand "$my_cmd"
  76814. + _G_cmd=$1
  76815. + _G_fail_exp=${2-':'}
  76816. +
  76817. + $opt_quiet || {
  76818. + func_quote_for_expand "$_G_cmd"
  76819. eval "func_echo $func_quote_for_expand_result"
  76820. }
  76821.  
  76822. - if ${opt_dry_run-false}; then :; else
  76823. - eval "$lt_user_locale
  76824. - $my_cmd"
  76825. - my_status=$?
  76826. - eval "$lt_safe_locale"
  76827. - if test "$my_status" -eq 0; then :; else
  76828. - eval "(exit $my_status); $my_fail_exp"
  76829. + $opt_dry_run || {
  76830. + eval "$_G_user_locale
  76831. + $_G_cmd"
  76832. + _G_status=$?
  76833. + eval "$_G_safe_locale"
  76834. + if test 0 -ne "$_G_status"; then
  76835. + eval "(exit $_G_status); $_G_fail_exp"
  76836. fi
  76837. - fi
  76838. + }
  76839. }
  76840.  
  76841.  
  76842. +# func_tr_sh
  76843. +# ----------
  76844. +# Turn $1 into a string suitable for a shell variable name.
  76845. +# Result is stored in $func_tr_sh_result. All characters
  76846. +# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
  76847. +# if $1 begins with a digit, a '_' is prepended as well.
  76848. +func_tr_sh ()
  76849. +{
  76850. + $debug_cmd
  76851.  
  76852. + case $1 in
  76853. + [0-9]* | *[!a-zA-Z0-9_]*)
  76854. + func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
  76855. + ;;
  76856. + * )
  76857. + func_tr_sh_result=$1
  76858. + ;;
  76859. + esac
  76860. +}
  76861.  
  76862.  
  76863. -# func_version
  76864. -# Echo version message to standard output and exit.
  76865. -func_version ()
  76866. +# func_verbose ARG...
  76867. +# -------------------
  76868. +# Echo program name prefixed message in verbose mode only.
  76869. +func_verbose ()
  76870. {
  76871. - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  76872. - s/^# //
  76873. - s/^# *$//
  76874. - s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  76875. - p
  76876. - }' < "$progpath"
  76877. - exit $?
  76878. + $debug_cmd
  76879. +
  76880. + $opt_verbose && func_echo "$*"
  76881. +
  76882. + :
  76883. }
  76884.  
  76885. -# func_usage
  76886. -# Echo short help message to standard output and exit.
  76887. -func_usage ()
  76888. +
  76889. +# func_warn_and_continue ARG...
  76890. +# -----------------------------
  76891. +# Echo program name prefixed warning message to standard error.
  76892. +func_warn_and_continue ()
  76893. {
  76894. - $SED -n '/^# Usage:/,/# -h/ {
  76895. - s/^# //
  76896. - s/^# *$//
  76897. - s/\$progname/'$progname'/
  76898. - p
  76899. - }' < "$progpath"
  76900. - $ECHO
  76901. - $ECHO "run \`$progname --help | more' for full usage"
  76902. - exit $?
  76903. + $debug_cmd
  76904. +
  76905. + $require_term_colors
  76906. +
  76907. + func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
  76908. +}
  76909. +
  76910. +
  76911. +# func_warning CATEGORY ARG...
  76912. +# ----------------------------
  76913. +# Echo program name prefixed warning message to standard error. Warning
  76914. +# messages can be filtered according to CATEGORY, where this function
  76915. +# elides messages where CATEGORY is not listed in the global variable
  76916. +# 'opt_warning_types'.
  76917. +func_warning ()
  76918. +{
  76919. + $debug_cmd
  76920. +
  76921. + # CATEGORY must be in the warning_categories list!
  76922. + case " $warning_categories " in
  76923. + *" $1 "*) ;;
  76924. + *) func_internal_error "invalid warning category '$1'" ;;
  76925. + esac
  76926. +
  76927. + _G_category=$1
  76928. + shift
  76929. +
  76930. + case " $opt_warning_types " in
  76931. + *" $_G_category "*) $warning_func ${1+"$@"} ;;
  76932. + esac
  76933. +}
  76934. +
  76935. +
  76936. +# func_sort_ver VER1 VER2
  76937. +# -----------------------
  76938. +# 'sort -V' is not generally available.
  76939. +# Note this deviates from the version comparison in automake
  76940. +# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
  76941. +# but this should suffice as we won't be specifying old
  76942. +# version formats or redundant trailing .0 in bootstrap.conf.
  76943. +# If we did want full compatibility then we should probably
  76944. +# use m4_version_compare from autoconf.
  76945. +func_sort_ver ()
  76946. +{
  76947. + $debug_cmd
  76948. +
  76949. + printf '%s\n%s\n' "$1" "$2" \
  76950. + | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
  76951. +}
  76952. +
  76953. +# func_lt_ver PREV CURR
  76954. +# ---------------------
  76955. +# Return true if PREV and CURR are in the correct order according to
  76956. +# func_sort_ver, otherwise false. Use it like this:
  76957. +#
  76958. +# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
  76959. +func_lt_ver ()
  76960. +{
  76961. + $debug_cmd
  76962. +
  76963. + test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
  76964. +}
  76965. +
  76966. +
  76967. +# Local variables:
  76968. +# mode: shell-script
  76969. +# sh-indentation: 2
  76970. +# eval: (add-hook 'before-save-hook 'time-stamp)
  76971. +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
  76972. +# time-stamp-time-zone: "UTC"
  76973. +# End:
  76974. +#! /bin/sh
  76975. +
  76976. +# Set a version string for this script.
  76977. +scriptversion=2014-01-07.03; # UTC
  76978. +
  76979. +# A portable, pluggable option parser for Bourne shell.
  76980. +# Written by Gary V. Vaughan, 2010
  76981. +
  76982. +# Copyright (C) 2010-2015 Free Software Foundation, Inc.
  76983. +# This is free software; see the source for copying conditions. There is NO
  76984. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  76985. +
  76986. +# This program is free software: you can redistribute it and/or modify
  76987. +# it under the terms of the GNU General Public License as published by
  76988. +# the Free Software Foundation, either version 3 of the License, or
  76989. +# (at your option) any later version.
  76990. +
  76991. +# This program is distributed in the hope that it will be useful,
  76992. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  76993. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  76994. +# GNU General Public License for more details.
  76995. +
  76996. +# You should have received a copy of the GNU General Public License
  76997. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  76998. +
  76999. +# Please report bugs or propose patches to [email protected].
  77000. +
  77001. +
  77002. +## ------ ##
  77003. +## Usage. ##
  77004. +## ------ ##
  77005. +
  77006. +# This file is a library for parsing options in your shell scripts along
  77007. +# with assorted other useful supporting features that you can make use
  77008. +# of too.
  77009. +#
  77010. +# For the simplest scripts you might need only:
  77011. +#
  77012. +# #!/bin/sh
  77013. +# . relative/path/to/funclib.sh
  77014. +# . relative/path/to/options-parser
  77015. +# scriptversion=1.0
  77016. +# func_options ${1+"$@"}
  77017. +# eval set dummy "$func_options_result"; shift
  77018. +# ...rest of your script...
  77019. +#
  77020. +# In order for the '--version' option to work, you will need to have a
  77021. +# suitably formatted comment like the one at the top of this file
  77022. +# starting with '# Written by ' and ending with '# warranty; '.
  77023. +#
  77024. +# For '-h' and '--help' to work, you will also need a one line
  77025. +# description of your script's purpose in a comment directly above the
  77026. +# '# Written by ' line, like the one at the top of this file.
  77027. +#
  77028. +# The default options also support '--debug', which will turn on shell
  77029. +# execution tracing (see the comment above debug_cmd below for another
  77030. +# use), and '--verbose' and the func_verbose function to allow your script
  77031. +# to display verbose messages only when your user has specified
  77032. +# '--verbose'.
  77033. +#
  77034. +# After sourcing this file, you can plug processing for additional
  77035. +# options by amending the variables from the 'Configuration' section
  77036. +# below, and following the instructions in the 'Option parsing'
  77037. +# section further down.
  77038. +
  77039. +## -------------- ##
  77040. +## Configuration. ##
  77041. +## -------------- ##
  77042. +
  77043. +# You should override these variables in your script after sourcing this
  77044. +# file so that they reflect the customisations you have added to the
  77045. +# option parser.
  77046. +
  77047. +# The usage line for option parsing errors and the start of '-h' and
  77048. +# '--help' output messages. You can embed shell variables for delayed
  77049. +# expansion at the time the message is displayed, but you will need to
  77050. +# quote other shell meta-characters carefully to prevent them being
  77051. +# expanded when the contents are evaled.
  77052. +usage='$progpath [OPTION]...'
  77053. +
  77054. +# Short help message in response to '-h' and '--help'. Add to this or
  77055. +# override it after sourcing this library to reflect the full set of
  77056. +# options your script accepts.
  77057. +usage_message="\
  77058. + --debug enable verbose shell tracing
  77059. + -W, --warnings=CATEGORY
  77060. + report the warnings falling in CATEGORY [all]
  77061. + -v, --verbose verbosely report processing
  77062. + --version print version information and exit
  77063. + -h, --help print short or long help message and exit
  77064. +"
  77065. +
  77066. +# Additional text appended to 'usage_message' in response to '--help'.
  77067. +long_help_message="
  77068. +Warning categories include:
  77069. + 'all' show all warnings
  77070. + 'none' turn off all the warnings
  77071. + 'error' warnings are treated as fatal errors"
  77072. +
  77073. +# Help message printed before fatal option parsing errors.
  77074. +fatal_help="Try '\$progname --help' for more information."
  77075. +
  77076. +
  77077. +
  77078. +## ------------------------- ##
  77079. +## Hook function management. ##
  77080. +## ------------------------- ##
  77081. +
  77082. +# This section contains functions for adding, removing, and running hooks
  77083. +# to the main code. A hook is just a named list of of function, that can
  77084. +# be run in order later on.
  77085. +
  77086. +# func_hookable FUNC_NAME
  77087. +# -----------------------
  77088. +# Declare that FUNC_NAME will run hooks added with
  77089. +# 'func_add_hook FUNC_NAME ...'.
  77090. +func_hookable ()
  77091. +{
  77092. + $debug_cmd
  77093. +
  77094. + func_append hookable_fns " $1"
  77095. +}
  77096. +
  77097. +
  77098. +# func_add_hook FUNC_NAME HOOK_FUNC
  77099. +# ---------------------------------
  77100. +# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
  77101. +# first have been declared "hookable" by a call to 'func_hookable'.
  77102. +func_add_hook ()
  77103. +{
  77104. + $debug_cmd
  77105. +
  77106. + case " $hookable_fns " in
  77107. + *" $1 "*) ;;
  77108. + *) func_fatal_error "'$1' does not accept hook functions." ;;
  77109. + esac
  77110. +
  77111. + eval func_append ${1}_hooks '" $2"'
  77112. +}
  77113. +
  77114. +
  77115. +# func_remove_hook FUNC_NAME HOOK_FUNC
  77116. +# ------------------------------------
  77117. +# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
  77118. +func_remove_hook ()
  77119. +{
  77120. + $debug_cmd
  77121. +
  77122. + eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
  77123. +}
  77124. +
  77125. +
  77126. +# func_run_hooks FUNC_NAME [ARG]...
  77127. +# ---------------------------------
  77128. +# Run all hook functions registered to FUNC_NAME.
  77129. +# It is assumed that the list of hook functions contains nothing more
  77130. +# than a whitespace-delimited list of legal shell function names, and
  77131. +# no effort is wasted trying to catch shell meta-characters or preserve
  77132. +# whitespace.
  77133. +func_run_hooks ()
  77134. +{
  77135. + $debug_cmd
  77136. +
  77137. + case " $hookable_fns " in
  77138. + *" $1 "*) ;;
  77139. + *) func_fatal_error "'$1' does not support hook funcions.n" ;;
  77140. + esac
  77141. +
  77142. + eval _G_hook_fns=\$$1_hooks; shift
  77143. +
  77144. + for _G_hook in $_G_hook_fns; do
  77145. + eval $_G_hook '"$@"'
  77146. +
  77147. + # store returned options list back into positional
  77148. + # parameters for next 'cmd' execution.
  77149. + eval _G_hook_result=\$${_G_hook}_result
  77150. + eval set dummy "$_G_hook_result"; shift
  77151. + done
  77152. +
  77153. + func_quote_for_eval ${1+"$@"}
  77154. + func_run_hooks_result=$func_quote_for_eval_result
  77155. +}
  77156. +
  77157. +
  77158. +
  77159. +## --------------- ##
  77160. +## Option parsing. ##
  77161. +## --------------- ##
  77162. +
  77163. +# In order to add your own option parsing hooks, you must accept the
  77164. +# full positional parameter list in your hook function, remove any
  77165. +# options that you action, and then pass back the remaining unprocessed
  77166. +# options in '<hooked_function_name>_result', escaped suitably for
  77167. +# 'eval'. Like this:
  77168. +#
  77169. +# my_options_prep ()
  77170. +# {
  77171. +# $debug_cmd
  77172. +#
  77173. +# # Extend the existing usage message.
  77174. +# usage_message=$usage_message'
  77175. +# -s, --silent don'\''t print informational messages
  77176. +# '
  77177. +#
  77178. +# func_quote_for_eval ${1+"$@"}
  77179. +# my_options_prep_result=$func_quote_for_eval_result
  77180. +# }
  77181. +# func_add_hook func_options_prep my_options_prep
  77182. +#
  77183. +#
  77184. +# my_silent_option ()
  77185. +# {
  77186. +# $debug_cmd
  77187. +#
  77188. +# # Note that for efficiency, we parse as many options as we can
  77189. +# # recognise in a loop before passing the remainder back to the
  77190. +# # caller on the first unrecognised argument we encounter.
  77191. +# while test $# -gt 0; do
  77192. +# opt=$1; shift
  77193. +# case $opt in
  77194. +# --silent|-s) opt_silent=: ;;
  77195. +# # Separate non-argument short options:
  77196. +# -s*) func_split_short_opt "$_G_opt"
  77197. +# set dummy "$func_split_short_opt_name" \
  77198. +# "-$func_split_short_opt_arg" ${1+"$@"}
  77199. +# shift
  77200. +# ;;
  77201. +# *) set dummy "$_G_opt" "$*"; shift; break ;;
  77202. +# esac
  77203. +# done
  77204. +#
  77205. +# func_quote_for_eval ${1+"$@"}
  77206. +# my_silent_option_result=$func_quote_for_eval_result
  77207. +# }
  77208. +# func_add_hook func_parse_options my_silent_option
  77209. +#
  77210. +#
  77211. +# my_option_validation ()
  77212. +# {
  77213. +# $debug_cmd
  77214. +#
  77215. +# $opt_silent && $opt_verbose && func_fatal_help "\
  77216. +# '--silent' and '--verbose' options are mutually exclusive."
  77217. +#
  77218. +# func_quote_for_eval ${1+"$@"}
  77219. +# my_option_validation_result=$func_quote_for_eval_result
  77220. +# }
  77221. +# func_add_hook func_validate_options my_option_validation
  77222. +#
  77223. +# You'll alse need to manually amend $usage_message to reflect the extra
  77224. +# options you parse. It's preferable to append if you can, so that
  77225. +# multiple option parsing hooks can be added safely.
  77226. +
  77227. +
  77228. +# func_options [ARG]...
  77229. +# ---------------------
  77230. +# All the functions called inside func_options are hookable. See the
  77231. +# individual implementations for details.
  77232. +func_hookable func_options
  77233. +func_options ()
  77234. +{
  77235. + $debug_cmd
  77236. +
  77237. + func_options_prep ${1+"$@"}
  77238. + eval func_parse_options \
  77239. + ${func_options_prep_result+"$func_options_prep_result"}
  77240. + eval func_validate_options \
  77241. + ${func_parse_options_result+"$func_parse_options_result"}
  77242. +
  77243. + eval func_run_hooks func_options \
  77244. + ${func_validate_options_result+"$func_validate_options_result"}
  77245. +
  77246. + # save modified positional parameters for caller
  77247. + func_options_result=$func_run_hooks_result
  77248. }
  77249.  
  77250. +
  77251. +# func_options_prep [ARG]...
  77252. +# --------------------------
  77253. +# All initialisations required before starting the option parse loop.
  77254. +# Note that when calling hook functions, we pass through the list of
  77255. +# positional parameters. If a hook function modifies that list, and
  77256. +# needs to propogate that back to rest of this script, then the complete
  77257. +# modified list must be put in 'func_run_hooks_result' before
  77258. +# returning.
  77259. +func_hookable func_options_prep
  77260. +func_options_prep ()
  77261. +{
  77262. + $debug_cmd
  77263. +
  77264. + # Option defaults:
  77265. + opt_verbose=false
  77266. + opt_warning_types=
  77267. +
  77268. + func_run_hooks func_options_prep ${1+"$@"}
  77269. +
  77270. + # save modified positional parameters for caller
  77271. + func_options_prep_result=$func_run_hooks_result
  77272. +}
  77273. +
  77274. +
  77275. +# func_parse_options [ARG]...
  77276. +# ---------------------------
  77277. +# The main option parsing loop.
  77278. +func_hookable func_parse_options
  77279. +func_parse_options ()
  77280. +{
  77281. + $debug_cmd
  77282. +
  77283. + func_parse_options_result=
  77284. +
  77285. + # this just eases exit handling
  77286. + while test $# -gt 0; do
  77287. + # Defer to hook functions for initial option parsing, so they
  77288. + # get priority in the event of reusing an option name.
  77289. + func_run_hooks func_parse_options ${1+"$@"}
  77290. +
  77291. + # Adjust func_parse_options positional parameters to match
  77292. + eval set dummy "$func_run_hooks_result"; shift
  77293. +
  77294. + # Break out of the loop if we already parsed every option.
  77295. + test $# -gt 0 || break
  77296. +
  77297. + _G_opt=$1
  77298. + shift
  77299. + case $_G_opt in
  77300. + --debug|-x) debug_cmd='set -x'
  77301. + func_echo "enabling shell trace mode"
  77302. + $debug_cmd
  77303. + ;;
  77304. +
  77305. + --no-warnings|--no-warning|--no-warn)
  77306. + set dummy --warnings none ${1+"$@"}
  77307. + shift
  77308. + ;;
  77309. +
  77310. + --warnings|--warning|-W)
  77311. + test $# = 0 && func_missing_arg $_G_opt && break
  77312. + case " $warning_categories $1" in
  77313. + *" $1 "*)
  77314. + # trailing space prevents matching last $1 above
  77315. + func_append_uniq opt_warning_types " $1"
  77316. + ;;
  77317. + *all)
  77318. + opt_warning_types=$warning_categories
  77319. + ;;
  77320. + *none)
  77321. + opt_warning_types=none
  77322. + warning_func=:
  77323. + ;;
  77324. + *error)
  77325. + opt_warning_types=$warning_categories
  77326. + warning_func=func_fatal_error
  77327. + ;;
  77328. + *)
  77329. + func_fatal_error \
  77330. + "unsupported warning category: '$1'"
  77331. + ;;
  77332. + esac
  77333. + shift
  77334. + ;;
  77335. +
  77336. + --verbose|-v) opt_verbose=: ;;
  77337. + --version) func_version ;;
  77338. + -\?|-h) func_usage ;;
  77339. + --help) func_help ;;
  77340. +
  77341. + # Separate optargs to long options (plugins may need this):
  77342. + --*=*) func_split_equals "$_G_opt"
  77343. + set dummy "$func_split_equals_lhs" \
  77344. + "$func_split_equals_rhs" ${1+"$@"}
  77345. + shift
  77346. + ;;
  77347. +
  77348. + # Separate optargs to short options:
  77349. + -W*)
  77350. + func_split_short_opt "$_G_opt"
  77351. + set dummy "$func_split_short_opt_name" \
  77352. + "$func_split_short_opt_arg" ${1+"$@"}
  77353. + shift
  77354. + ;;
  77355. +
  77356. + # Separate non-argument short options:
  77357. + -\?*|-h*|-v*|-x*)
  77358. + func_split_short_opt "$_G_opt"
  77359. + set dummy "$func_split_short_opt_name" \
  77360. + "-$func_split_short_opt_arg" ${1+"$@"}
  77361. + shift
  77362. + ;;
  77363. +
  77364. + --) break ;;
  77365. + -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
  77366. + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
  77367. + esac
  77368. + done
  77369. +
  77370. + # save modified positional parameters for caller
  77371. + func_quote_for_eval ${1+"$@"}
  77372. + func_parse_options_result=$func_quote_for_eval_result
  77373. +}
  77374. +
  77375. +
  77376. +# func_validate_options [ARG]...
  77377. +# ------------------------------
  77378. +# Perform any sanity checks on option settings and/or unconsumed
  77379. +# arguments.
  77380. +func_hookable func_validate_options
  77381. +func_validate_options ()
  77382. +{
  77383. + $debug_cmd
  77384. +
  77385. + # Display all warnings if -W was not given.
  77386. + test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
  77387. +
  77388. + func_run_hooks func_validate_options ${1+"$@"}
  77389. +
  77390. + # Bail if the options were screwed!
  77391. + $exit_cmd $EXIT_FAILURE
  77392. +
  77393. + # save modified positional parameters for caller
  77394. + func_validate_options_result=$func_run_hooks_result
  77395. +}
  77396. +
  77397. +
  77398. +
  77399. +## ----------------- ##
  77400. +## Helper functions. ##
  77401. +## ----------------- ##
  77402. +
  77403. +# This section contains the helper functions used by the rest of the
  77404. +# hookable option parser framework in ascii-betical order.
  77405. +
  77406. +
  77407. +# func_fatal_help ARG...
  77408. +# ----------------------
  77409. +# Echo program name prefixed message to standard error, followed by
  77410. +# a help hint, and exit.
  77411. +func_fatal_help ()
  77412. +{
  77413. + $debug_cmd
  77414. +
  77415. + eval \$ECHO \""Usage: $usage"\"
  77416. + eval \$ECHO \""$fatal_help"\"
  77417. + func_error ${1+"$@"}
  77418. + exit $EXIT_FAILURE
  77419. +}
  77420. +
  77421. +
  77422. # func_help
  77423. +# ---------
  77424. # Echo long help message to standard output and exit.
  77425. func_help ()
  77426. {
  77427. - $SED -n '/^# Usage:/,/# Report bugs to/ {
  77428. - s/^# //
  77429. - s/^# *$//
  77430. - s*\$progname*'$progname'*
  77431. - s*\$host*'"$host"'*
  77432. - s*\$SHELL*'"$SHELL"'*
  77433. - s*\$LTCC*'"$LTCC"'*
  77434. - s*\$LTCFLAGS*'"$LTCFLAGS"'*
  77435. - s*\$LD*'"$LD"'*
  77436. - s/\$with_gnu_ld/'"$with_gnu_ld"'/
  77437. - s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  77438. - s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  77439. - p
  77440. - }' < "$progpath"
  77441. - exit $?
  77442. + $debug_cmd
  77443. +
  77444. + func_usage_message
  77445. + $ECHO "$long_help_message"
  77446. + exit 0
  77447. }
  77448.  
  77449. -# func_missing_arg argname
  77450. +
  77451. +# func_missing_arg ARGNAME
  77452. +# ------------------------
  77453. # Echo program name prefixed message to standard error and set global
  77454. # exit_cmd.
  77455. func_missing_arg ()
  77456. {
  77457. - func_error "missing argument for $1"
  77458. + $debug_cmd
  77459. +
  77460. + func_error "Missing argument for '$1'."
  77461. exit_cmd=exit
  77462. }
  77463.  
  77464. -exit_cmd=:
  77465.  
  77466. +# func_split_equals STRING
  77467. +# ------------------------
  77468. +# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
  77469. +# splitting STRING at the '=' sign.
  77470. +test -z "$_G_HAVE_XSI_OPS" \
  77471. + && (eval 'x=a/b/c;
  77472. + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
  77473. + && _G_HAVE_XSI_OPS=yes
  77474. +
  77475. +if test yes = "$_G_HAVE_XSI_OPS"
  77476. +then
  77477. + # This is an XSI compatible shell, allowing a faster implementation...
  77478. + eval 'func_split_equals ()
  77479. + {
  77480. + $debug_cmd
  77481.  
  77482. + func_split_equals_lhs=${1%%=*}
  77483. + func_split_equals_rhs=${1#*=}
  77484. + test "x$func_split_equals_lhs" = "x$1" \
  77485. + && func_split_equals_rhs=
  77486. + }'
  77487. +else
  77488. + # ...otherwise fall back to using expr, which is often a shell builtin.
  77489. + func_split_equals ()
  77490. + {
  77491. + $debug_cmd
  77492.  
  77493. + func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
  77494. + func_split_equals_rhs=
  77495. + test "x$func_split_equals_lhs" = "x$1" \
  77496. + || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
  77497. + }
  77498. +fi #func_split_equals
  77499.  
  77500.  
  77501. -# Check that we have a working $ECHO.
  77502. -if test "X$1" = X--no-reexec; then
  77503. - # Discard the --no-reexec flag, and continue.
  77504. - shift
  77505. -elif test "X$1" = X--fallback-echo; then
  77506. - # Avoid inline document here, it may be left over
  77507. - :
  77508. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  77509. - # Yippee, $ECHO works!
  77510. - :
  77511. +# func_split_short_opt SHORTOPT
  77512. +# -----------------------------
  77513. +# Set func_split_short_opt_name and func_split_short_opt_arg shell
  77514. +# variables after splitting SHORTOPT after the 2nd character.
  77515. +if test yes = "$_G_HAVE_XSI_OPS"
  77516. +then
  77517. + # This is an XSI compatible shell, allowing a faster implementation...
  77518. + eval 'func_split_short_opt ()
  77519. + {
  77520. + $debug_cmd
  77521. +
  77522. + func_split_short_opt_arg=${1#??}
  77523. + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
  77524. + }'
  77525. else
  77526. - # Restart under the correct shell, and then maybe $ECHO will work.
  77527. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  77528. -fi
  77529. + # ...otherwise fall back to using expr, which is often a shell builtin.
  77530. + func_split_short_opt ()
  77531. + {
  77532. + $debug_cmd
  77533.  
  77534. -if test "X$1" = X--fallback-echo; then
  77535. - # used as fallback echo
  77536. - shift
  77537. - cat <<EOF
  77538. -$*
  77539. -EOF
  77540. - exit $EXIT_SUCCESS
  77541. -fi
  77542. + func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
  77543. + func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
  77544. + }
  77545. +fi #func_split_short_opt
  77546.  
  77547. -magic="%%%MAGIC variable%%%"
  77548. -magic_exe="%%%MAGIC EXE variable%%%"
  77549.  
  77550. -# Global variables.
  77551. -# $mode is unset
  77552. -nonopt=
  77553. -execute_dlfiles=
  77554. -preserve_args=
  77555. -lo2o="s/\\.lo\$/.${objext}/"
  77556. -o2lo="s/\\.${objext}\$/.lo/"
  77557. -extracted_archives=
  77558. -extracted_serial=0
  77559. +# func_usage
  77560. +# ----------
  77561. +# Echo short help message to standard output and exit.
  77562. +func_usage ()
  77563. +{
  77564. + $debug_cmd
  77565.  
  77566. -opt_dry_run=false
  77567. -opt_duplicate_deps=false
  77568. -opt_silent=false
  77569. -opt_debug=:
  77570. + func_usage_message
  77571. + $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
  77572. + exit 0
  77573. +}
  77574.  
  77575. -# If this variable is set in any of the actions, the command in it
  77576. -# will be execed at the end. This prevents here-documents from being
  77577. -# left over by shells.
  77578. -exec_cmd=
  77579.  
  77580. -# func_fatal_configuration arg...
  77581. +# func_usage_message
  77582. +# ------------------
  77583. +# Echo short help message to standard output.
  77584. +func_usage_message ()
  77585. +{
  77586. + $debug_cmd
  77587. +
  77588. + eval \$ECHO \""Usage: $usage"\"
  77589. + echo
  77590. + $SED -n 's|^# ||
  77591. + /^Written by/{
  77592. + x;p;x
  77593. + }
  77594. + h
  77595. + /^Written by/q' < "$progpath"
  77596. + echo
  77597. + eval \$ECHO \""$usage_message"\"
  77598. +}
  77599. +
  77600. +
  77601. +# func_version
  77602. +# ------------
  77603. +# Echo version message to standard output and exit.
  77604. +func_version ()
  77605. +{
  77606. + $debug_cmd
  77607. +
  77608. + printf '%s\n' "$progname $scriptversion"
  77609. + $SED -n '
  77610. + /(C)/!b go
  77611. + :more
  77612. + /\./!{
  77613. + N
  77614. + s|\n# | |
  77615. + b more
  77616. + }
  77617. + :go
  77618. + /^# Written by /,/# warranty; / {
  77619. + s|^# ||
  77620. + s|^# *$||
  77621. + s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
  77622. + p
  77623. + }
  77624. + /^# Written by / {
  77625. + s|^# ||
  77626. + p
  77627. + }
  77628. + /^warranty; /q' < "$progpath"
  77629. +
  77630. + exit $?
  77631. +}
  77632. +
  77633. +
  77634. +# Local variables:
  77635. +# mode: shell-script
  77636. +# sh-indentation: 2
  77637. +# eval: (add-hook 'before-save-hook 'time-stamp)
  77638. +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
  77639. +# time-stamp-time-zone: "UTC"
  77640. +# End:
  77641. +
  77642. +# Set a version string.
  77643. +scriptversion='(GNU libtool) 2.4.6'
  77644. +
  77645. +
  77646. +# func_echo ARG...
  77647. +# ----------------
  77648. +# Libtool also displays the current mode in messages, so override
  77649. +# funclib.sh func_echo with this custom definition.
  77650. +func_echo ()
  77651. +{
  77652. + $debug_cmd
  77653. +
  77654. + _G_message=$*
  77655. +
  77656. + func_echo_IFS=$IFS
  77657. + IFS=$nl
  77658. + for _G_line in $_G_message; do
  77659. + IFS=$func_echo_IFS
  77660. + $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
  77661. + done
  77662. + IFS=$func_echo_IFS
  77663. +}
  77664. +
  77665. +
  77666. +# func_warning ARG...
  77667. +# -------------------
  77668. +# Libtool warnings are not categorized, so override funclib.sh
  77669. +# func_warning with this simpler definition.
  77670. +func_warning ()
  77671. +{
  77672. + $debug_cmd
  77673. +
  77674. + $warning_func ${1+"$@"}
  77675. +}
  77676. +
  77677. +
  77678. +## ---------------- ##
  77679. +## Options parsing. ##
  77680. +## ---------------- ##
  77681. +
  77682. +# Hook in the functions to make sure our own options are parsed during
  77683. +# the option parsing loop.
  77684. +
  77685. +usage='$progpath [OPTION]... [MODE-ARG]...'
  77686. +
  77687. +# Short help message in response to '-h'.
  77688. +usage_message="Options:
  77689. + --config show all configuration variables
  77690. + --debug enable verbose shell tracing
  77691. + -n, --dry-run display commands without modifying any files
  77692. + --features display basic configuration information and exit
  77693. + --mode=MODE use operation mode MODE
  77694. + --no-warnings equivalent to '-Wnone'
  77695. + --preserve-dup-deps don't remove duplicate dependency libraries
  77696. + --quiet, --silent don't print informational messages
  77697. + --tag=TAG use configuration variables from tag TAG
  77698. + -v, --verbose print more informational messages than default
  77699. + --version print version information
  77700. + -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
  77701. + -h, --help, --help-all print short, long, or detailed help message
  77702. +"
  77703. +
  77704. +# Additional text appended to 'usage_message' in response to '--help'.
  77705. +func_help ()
  77706. +{
  77707. + $debug_cmd
  77708. +
  77709. + func_usage_message
  77710. + $ECHO "$long_help_message
  77711. +
  77712. +MODE must be one of the following:
  77713. +
  77714. + clean remove files from the build directory
  77715. + compile compile a source file into a libtool object
  77716. + execute automatically set library path, then run a program
  77717. + finish complete the installation of libtool libraries
  77718. + install install libraries or executables
  77719. + link create a library or an executable
  77720. + uninstall remove libraries from an installed directory
  77721. +
  77722. +MODE-ARGS vary depending on the MODE. When passed as first option,
  77723. +'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
  77724. +Try '$progname --help --mode=MODE' for a more detailed description of MODE.
  77725. +
  77726. +When reporting a bug, please describe a test case to reproduce it and
  77727. +include the following information:
  77728. +
  77729. + host-triplet: $host
  77730. + shell: $SHELL
  77731. + compiler: $LTCC
  77732. + compiler flags: $LTCFLAGS
  77733. + linker: $LD (gnu? $with_gnu_ld)
  77734. + version: $progname (GNU libtool) 2.4.6
  77735. + automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
  77736. + autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
  77737. +
  77738. +Report bugs to <[email protected]>.
  77739. +GNU libtool home page: <http://www.gnu.org/software/libtool/>.
  77740. +General help using GNU software: <http://www.gnu.org/gethelp/>."
  77741. + exit 0
  77742. +}
  77743. +
  77744. +
  77745. +# func_lo2o OBJECT-NAME
  77746. +# ---------------------
  77747. +# Transform OBJECT-NAME from a '.lo' suffix to the platform specific
  77748. +# object suffix.
  77749. +
  77750. +lo2o=s/\\.lo\$/.$objext/
  77751. +o2lo=s/\\.$objext\$/.lo/
  77752. +
  77753. +if test yes = "$_G_HAVE_XSI_OPS"; then
  77754. + eval 'func_lo2o ()
  77755. + {
  77756. + case $1 in
  77757. + *.lo) func_lo2o_result=${1%.lo}.$objext ;;
  77758. + * ) func_lo2o_result=$1 ;;
  77759. + esac
  77760. + }'
  77761. +
  77762. + # func_xform LIBOBJ-OR-SOURCE
  77763. + # ---------------------------
  77764. + # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
  77765. + # suffix to a '.lo' libtool-object suffix.
  77766. + eval 'func_xform ()
  77767. + {
  77768. + func_xform_result=${1%.*}.lo
  77769. + }'
  77770. +else
  77771. + # ...otherwise fall back to using sed.
  77772. + func_lo2o ()
  77773. + {
  77774. + func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
  77775. + }
  77776. +
  77777. + func_xform ()
  77778. + {
  77779. + func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
  77780. + }
  77781. +fi
  77782. +
  77783. +
  77784. +# func_fatal_configuration ARG...
  77785. +# -------------------------------
  77786. # Echo program name prefixed message to standard error, followed by
  77787. # a configuration failure hint, and exit.
  77788. func_fatal_configuration ()
  77789. {
  77790. - func_error ${1+"$@"}
  77791. - func_error "See the $PACKAGE documentation for more information."
  77792. - func_fatal_error "Fatal configuration error."
  77793. + func_fatal_error ${1+"$@"} \
  77794. + "See the $PACKAGE documentation for more information." \
  77795. + "Fatal configuration error."
  77796. }
  77797.  
  77798.  
  77799. # func_config
  77800. +# -----------
  77801. # Display the configuration for all the tags in this script.
  77802. func_config ()
  77803. {
  77804. @@ -632,279 +2149,371 @@
  77805. exit $?
  77806. }
  77807.  
  77808. +
  77809. # func_features
  77810. +# -------------
  77811. # Display the features supported by this script.
  77812. func_features ()
  77813. {
  77814. - $ECHO "host: $host"
  77815. - if test "$build_libtool_libs" = yes; then
  77816. - $ECHO "enable shared libraries"
  77817. + echo "host: $host"
  77818. + if test yes = "$build_libtool_libs"; then
  77819. + echo "enable shared libraries"
  77820. else
  77821. - $ECHO "disable shared libraries"
  77822. + echo "disable shared libraries"
  77823. fi
  77824. - if test "$build_old_libs" = yes; then
  77825. - $ECHO "enable static libraries"
  77826. + if test yes = "$build_old_libs"; then
  77827. + echo "enable static libraries"
  77828. else
  77829. - $ECHO "disable static libraries"
  77830. + echo "disable static libraries"
  77831. fi
  77832.  
  77833. exit $?
  77834. }
  77835.  
  77836. -# func_enable_tag tagname
  77837. +
  77838. +# func_enable_tag TAGNAME
  77839. +# -----------------------
  77840. # Verify that TAGNAME is valid, and either flag an error and exit, or
  77841. # enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  77842. # variable here.
  77843. func_enable_tag ()
  77844. {
  77845. - # Global variable:
  77846. - tagname="$1"
  77847. -
  77848. - re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  77849. - re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  77850. - sed_extractcf="/$re_begincf/,/$re_endcf/p"
  77851. -
  77852. - # Validate tagname.
  77853. - case $tagname in
  77854. - *[!-_A-Za-z0-9,/]*)
  77855. - func_fatal_error "invalid tag name: $tagname"
  77856. - ;;
  77857. - esac
  77858. -
  77859. - # Don't test for the "default" C tag, as we know it's
  77860. - # there but not specially marked.
  77861. - case $tagname in
  77862. - CC) ;;
  77863. - *)
  77864. - if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  77865. - taglist="$taglist $tagname"
  77866. + # Global variable:
  77867. + tagname=$1
  77868.  
  77869. - # Evaluate the configuration. Be careful to quote the path
  77870. - # and the sed script, to avoid splitting on whitespace, but
  77871. - # also don't use non-portable quotes within backquotes within
  77872. - # quotes we have to do it in 2 steps:
  77873. - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  77874. - eval "$extractedcf"
  77875. - else
  77876. - func_error "ignoring unknown tag $tagname"
  77877. - fi
  77878. - ;;
  77879. - esac
  77880. -}
  77881. -
  77882. -# Parse options once, thoroughly. This comes as soon as possible in
  77883. -# the script to make things like `libtool --version' happen quickly.
  77884. -{
  77885. -
  77886. - # Shorthand for --mode=foo, only valid as the first argument
  77887. - case $1 in
  77888. - clean|clea|cle|cl)
  77889. - shift; set dummy --mode clean ${1+"$@"}; shift
  77890. - ;;
  77891. - compile|compil|compi|comp|com|co|c)
  77892. - shift; set dummy --mode compile ${1+"$@"}; shift
  77893. - ;;
  77894. - execute|execut|execu|exec|exe|ex|e)
  77895. - shift; set dummy --mode execute ${1+"$@"}; shift
  77896. - ;;
  77897. - finish|finis|fini|fin|fi|f)
  77898. - shift; set dummy --mode finish ${1+"$@"}; shift
  77899. - ;;
  77900. - install|instal|insta|inst|ins|in|i)
  77901. - shift; set dummy --mode install ${1+"$@"}; shift
  77902. - ;;
  77903. - link|lin|li|l)
  77904. - shift; set dummy --mode link ${1+"$@"}; shift
  77905. - ;;
  77906. - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  77907. - shift; set dummy --mode uninstall ${1+"$@"}; shift
  77908. - ;;
  77909. - esac
  77910. -
  77911. - # Parse non-mode specific arguments:
  77912. - while test "$#" -gt 0; do
  77913. - opt="$1"
  77914. - shift
  77915. -
  77916. - case $opt in
  77917. - --config) func_config ;;
  77918. -
  77919. - --debug) preserve_args="$preserve_args $opt"
  77920. - func_echo "enabling shell trace mode"
  77921. - opt_debug='set -x'
  77922. - $opt_debug
  77923. - ;;
  77924. -
  77925. - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  77926. - execute_dlfiles="$execute_dlfiles $1"
  77927. - shift
  77928. - ;;
  77929. -
  77930. - --dry-run | -n) opt_dry_run=: ;;
  77931. - --features) func_features ;;
  77932. - --finish) mode="finish" ;;
  77933. -
  77934. - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  77935. - case $1 in
  77936. - # Valid mode arguments:
  77937. - clean) ;;
  77938. - compile) ;;
  77939. - execute) ;;
  77940. - finish) ;;
  77941. - install) ;;
  77942. - link) ;;
  77943. - relink) ;;
  77944. - uninstall) ;;
  77945. -
  77946. - # Catch anything else as an error
  77947. - *) func_error "invalid argument for $opt"
  77948. - exit_cmd=exit
  77949. - break
  77950. - ;;
  77951. - esac
  77952. -
  77953. - mode="$1"
  77954. - shift
  77955. - ;;
  77956. -
  77957. - --preserve-dup-deps)
  77958. - opt_duplicate_deps=: ;;
  77959. -
  77960. - --quiet|--silent) preserve_args="$preserve_args $opt"
  77961. - opt_silent=:
  77962. - ;;
  77963. -
  77964. - --verbose| -v) preserve_args="$preserve_args $opt"
  77965. - opt_silent=false
  77966. - ;;
  77967. -
  77968. - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  77969. - preserve_args="$preserve_args $opt $1"
  77970. - func_enable_tag "$1" # tagname is set here
  77971. - shift
  77972. - ;;
  77973. -
  77974. - # Separate optargs to long options:
  77975. - -dlopen=*|--mode=*|--tag=*)
  77976. - func_opt_split "$opt"
  77977. - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  77978. - shift
  77979. - ;;
  77980. -
  77981. - -\?|-h) func_usage ;;
  77982. - --help) opt_help=: ;;
  77983. - --version) func_version ;;
  77984. -
  77985. - -*) func_fatal_help "unrecognized option \`$opt'" ;;
  77986. -
  77987. - *) nonopt="$opt"
  77988. - break
  77989. - ;;
  77990. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  77991. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  77992. + sed_extractcf=/$re_begincf/,/$re_endcf/p
  77993. +
  77994. + # Validate tagname.
  77995. + case $tagname in
  77996. + *[!-_A-Za-z0-9,/]*)
  77997. + func_fatal_error "invalid tag name: $tagname"
  77998. + ;;
  77999. esac
  78000. - done
  78001. -
  78002.  
  78003. - case $host in
  78004. - *cygwin* | *mingw* | *pw32* | *cegcc*)
  78005. - # don't eliminate duplications in $postdeps and $predeps
  78006. - opt_duplicate_compiler_generated_deps=:
  78007. - ;;
  78008. + # Don't test for the "default" C tag, as we know it's
  78009. + # there but not specially marked.
  78010. + case $tagname in
  78011. + CC) ;;
  78012. *)
  78013. - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  78014. - ;;
  78015. - esac
  78016. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  78017. + taglist="$taglist $tagname"
  78018.  
  78019. - # Having warned about all mis-specified options, bail out if
  78020. - # anything was wrong.
  78021. - $exit_cmd $EXIT_FAILURE
  78022. + # Evaluate the configuration. Be careful to quote the path
  78023. + # and the sed script, to avoid splitting on whitespace, but
  78024. + # also don't use non-portable quotes within backquotes within
  78025. + # quotes we have to do it in 2 steps:
  78026. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  78027. + eval "$extractedcf"
  78028. + else
  78029. + func_error "ignoring unknown tag $tagname"
  78030. + fi
  78031. + ;;
  78032. + esac
  78033. }
  78034.  
  78035. +
  78036. # func_check_version_match
  78037. +# ------------------------
  78038. # Ensure that we are using m4 macros, and libtool script from the same
  78039. # release of libtool.
  78040. func_check_version_match ()
  78041. {
  78042. - if test "$package_revision" != "$macro_revision"; then
  78043. - if test "$VERSION" != "$macro_version"; then
  78044. - if test -z "$macro_version"; then
  78045. - cat >&2 <<_LT_EOF
  78046. + if test "$package_revision" != "$macro_revision"; then
  78047. + if test "$VERSION" != "$macro_version"; then
  78048. + if test -z "$macro_version"; then
  78049. + cat >&2 <<_LT_EOF
  78050. $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  78051. $progname: definition of this LT_INIT comes from an older release.
  78052. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  78053. $progname: and run autoconf again.
  78054. _LT_EOF
  78055. - else
  78056. - cat >&2 <<_LT_EOF
  78057. + else
  78058. + cat >&2 <<_LT_EOF
  78059. $progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  78060. $progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  78061. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  78062. $progname: and run autoconf again.
  78063. _LT_EOF
  78064. - fi
  78065. - else
  78066. - cat >&2 <<_LT_EOF
  78067. + fi
  78068. + else
  78069. + cat >&2 <<_LT_EOF
  78070. $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  78071. $progname: but the definition of this LT_INIT comes from revision $macro_revision.
  78072. $progname: You should recreate aclocal.m4 with macros from revision $package_revision
  78073. $progname: of $PACKAGE $VERSION and run autoconf again.
  78074. _LT_EOF
  78075. + fi
  78076. +
  78077. + exit $EXIT_MISMATCH
  78078. fi
  78079. +}
  78080.  
  78081. - exit $EXIT_MISMATCH
  78082. - fi
  78083. +
  78084. +# libtool_options_prep [ARG]...
  78085. +# -----------------------------
  78086. +# Preparation for options parsed by libtool.
  78087. +libtool_options_prep ()
  78088. +{
  78089. + $debug_mode
  78090. +
  78091. + # Option defaults:
  78092. + opt_config=false
  78093. + opt_dlopen=
  78094. + opt_dry_run=false
  78095. + opt_help=false
  78096. + opt_mode=
  78097. + opt_preserve_dup_deps=false
  78098. + opt_quiet=false
  78099. +
  78100. + nonopt=
  78101. + preserve_args=
  78102. +
  78103. + # Shorthand for --mode=foo, only valid as the first argument
  78104. + case $1 in
  78105. + clean|clea|cle|cl)
  78106. + shift; set dummy --mode clean ${1+"$@"}; shift
  78107. + ;;
  78108. + compile|compil|compi|comp|com|co|c)
  78109. + shift; set dummy --mode compile ${1+"$@"}; shift
  78110. + ;;
  78111. + execute|execut|execu|exec|exe|ex|e)
  78112. + shift; set dummy --mode execute ${1+"$@"}; shift
  78113. + ;;
  78114. + finish|finis|fini|fin|fi|f)
  78115. + shift; set dummy --mode finish ${1+"$@"}; shift
  78116. + ;;
  78117. + install|instal|insta|inst|ins|in|i)
  78118. + shift; set dummy --mode install ${1+"$@"}; shift
  78119. + ;;
  78120. + link|lin|li|l)
  78121. + shift; set dummy --mode link ${1+"$@"}; shift
  78122. + ;;
  78123. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  78124. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  78125. + ;;
  78126. + esac
  78127. +
  78128. + # Pass back the list of options.
  78129. + func_quote_for_eval ${1+"$@"}
  78130. + libtool_options_prep_result=$func_quote_for_eval_result
  78131. }
  78132. +func_add_hook func_options_prep libtool_options_prep
  78133.  
  78134.  
  78135. -## ----------- ##
  78136. -## Main. ##
  78137. -## ----------- ##
  78138. +# libtool_parse_options [ARG]...
  78139. +# ---------------------------------
  78140. +# Provide handling for libtool specific options.
  78141. +libtool_parse_options ()
  78142. +{
  78143. + $debug_cmd
  78144.  
  78145. -$opt_help || {
  78146. - # Sanity checks first:
  78147. - func_check_version_match
  78148. + # Perform our own loop to consume as many options as possible in
  78149. + # each iteration.
  78150. + while test $# -gt 0; do
  78151. + _G_opt=$1
  78152. + shift
  78153. + case $_G_opt in
  78154. + --dry-run|--dryrun|-n)
  78155. + opt_dry_run=:
  78156. + ;;
  78157. +
  78158. + --config) func_config ;;
  78159. +
  78160. + --dlopen|-dlopen)
  78161. + opt_dlopen="${opt_dlopen+$opt_dlopen
  78162. +}$1"
  78163. + shift
  78164. + ;;
  78165. +
  78166. + --preserve-dup-deps)
  78167. + opt_preserve_dup_deps=: ;;
  78168. +
  78169. + --features) func_features ;;
  78170. +
  78171. + --finish) set dummy --mode finish ${1+"$@"}; shift ;;
  78172. +
  78173. + --help) opt_help=: ;;
  78174. +
  78175. + --help-all) opt_help=': help-all' ;;
  78176. +
  78177. + --mode) test $# = 0 && func_missing_arg $_G_opt && break
  78178. + opt_mode=$1
  78179. + case $1 in
  78180. + # Valid mode arguments:
  78181. + clean|compile|execute|finish|install|link|relink|uninstall) ;;
  78182. +
  78183. + # Catch anything else as an error
  78184. + *) func_error "invalid argument for $_G_opt"
  78185. + exit_cmd=exit
  78186. + break
  78187. + ;;
  78188. + esac
  78189. + shift
  78190. + ;;
  78191. +
  78192. + --no-silent|--no-quiet)
  78193. + opt_quiet=false
  78194. + func_append preserve_args " $_G_opt"
  78195. + ;;
  78196. +
  78197. + --no-warnings|--no-warning|--no-warn)
  78198. + opt_warning=false
  78199. + func_append preserve_args " $_G_opt"
  78200. + ;;
  78201. +
  78202. + --no-verbose)
  78203. + opt_verbose=false
  78204. + func_append preserve_args " $_G_opt"
  78205. + ;;
  78206. +
  78207. + --silent|--quiet)
  78208. + opt_quiet=:
  78209. + opt_verbose=false
  78210. + func_append preserve_args " $_G_opt"
  78211. + ;;
  78212. +
  78213. + --tag) test $# = 0 && func_missing_arg $_G_opt && break
  78214. + opt_tag=$1
  78215. + func_append preserve_args " $_G_opt $1"
  78216. + func_enable_tag "$1"
  78217. + shift
  78218. + ;;
  78219. +
  78220. + --verbose|-v) opt_quiet=false
  78221. + opt_verbose=:
  78222. + func_append preserve_args " $_G_opt"
  78223. + ;;
  78224.  
  78225. - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  78226. - func_fatal_configuration "not configured to build any kind of library"
  78227. - fi
  78228. + # An option not handled by this hook function:
  78229. + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
  78230. + esac
  78231. + done
  78232.  
  78233. - test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  78234.  
  78235. + # save modified positional parameters for caller
  78236. + func_quote_for_eval ${1+"$@"}
  78237. + libtool_parse_options_result=$func_quote_for_eval_result
  78238. +}
  78239. +func_add_hook func_parse_options libtool_parse_options
  78240.  
  78241. - # Darwin sucks
  78242. - eval std_shrext=\"$shrext_cmds\"
  78243.  
  78244.  
  78245. - # Only execute mode is allowed to have -dlopen flags.
  78246. - if test -n "$execute_dlfiles" && test "$mode" != execute; then
  78247. - func_error "unrecognized option \`-dlopen'"
  78248. - $ECHO "$help" 1>&2
  78249. - exit $EXIT_FAILURE
  78250. - fi
  78251. +# libtool_validate_options [ARG]...
  78252. +# ---------------------------------
  78253. +# Perform any sanity checks on option settings and/or unconsumed
  78254. +# arguments.
  78255. +libtool_validate_options ()
  78256. +{
  78257. + # save first non-option argument
  78258. + if test 0 -lt $#; then
  78259. + nonopt=$1
  78260. + shift
  78261. + fi
  78262.  
  78263. - # Change the help message to a mode-specific one.
  78264. - generic_help="$help"
  78265. - help="Try \`$progname --help --mode=$mode' for more information."
  78266. + # preserve --debug
  78267. + test : = "$debug_cmd" || func_append preserve_args " --debug"
  78268. +
  78269. + case $host in
  78270. + # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
  78271. + # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
  78272. + *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
  78273. + # don't eliminate duplications in $postdeps and $predeps
  78274. + opt_duplicate_compiler_generated_deps=:
  78275. + ;;
  78276. + *)
  78277. + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
  78278. + ;;
  78279. + esac
  78280. +
  78281. + $opt_help || {
  78282. + # Sanity checks first:
  78283. + func_check_version_match
  78284. +
  78285. + test yes != "$build_libtool_libs" \
  78286. + && test yes != "$build_old_libs" \
  78287. + && func_fatal_configuration "not configured to build any kind of library"
  78288. +
  78289. + # Darwin sucks
  78290. + eval std_shrext=\"$shrext_cmds\"
  78291. +
  78292. + # Only execute mode is allowed to have -dlopen flags.
  78293. + if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
  78294. + func_error "unrecognized option '-dlopen'"
  78295. + $ECHO "$help" 1>&2
  78296. + exit $EXIT_FAILURE
  78297. + fi
  78298. +
  78299. + # Change the help message to a mode-specific one.
  78300. + generic_help=$help
  78301. + help="Try '$progname --help --mode=$opt_mode' for more information."
  78302. + }
  78303. +
  78304. + # Pass back the unparsed argument list
  78305. + func_quote_for_eval ${1+"$@"}
  78306. + libtool_validate_options_result=$func_quote_for_eval_result
  78307. }
  78308. +func_add_hook func_validate_options libtool_validate_options
  78309. +
  78310. +
  78311. +# Process options as early as possible so that --help and --version
  78312. +# can return quickly.
  78313. +func_options ${1+"$@"}
  78314. +eval set dummy "$func_options_result"; shift
  78315. +
  78316.  
  78317.  
  78318. +## ----------- ##
  78319. +## Main. ##
  78320. +## ----------- ##
  78321. +
  78322. +magic='%%%MAGIC variable%%%'
  78323. +magic_exe='%%%MAGIC EXE variable%%%'
  78324. +
  78325. +# Global variables.
  78326. +extracted_archives=
  78327. +extracted_serial=0
  78328. +
  78329. +# If this variable is set in any of the actions, the command in it
  78330. +# will be execed at the end. This prevents here-documents from being
  78331. +# left over by shells.
  78332. +exec_cmd=
  78333. +
  78334. +
  78335. +# A function that is used when there is no print builtin or printf.
  78336. +func_fallback_echo ()
  78337. +{
  78338. + eval 'cat <<_LTECHO_EOF
  78339. +$1
  78340. +_LTECHO_EOF'
  78341. +}
  78342. +
  78343. +# func_generated_by_libtool
  78344. +# True iff stdin has been generated by Libtool. This function is only
  78345. +# a basic sanity check; it will hardly flush out determined imposters.
  78346. +func_generated_by_libtool_p ()
  78347. +{
  78348. + $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  78349. +}
  78350. +
  78351. # func_lalib_p file
  78352. -# True iff FILE is a libtool `.la' library or `.lo' object file.
  78353. +# True iff FILE is a libtool '.la' library or '.lo' object file.
  78354. # This function is only a basic sanity check; it will hardly flush out
  78355. # determined imposters.
  78356. func_lalib_p ()
  78357. {
  78358. test -f "$1" &&
  78359. - $SED -e 4q "$1" 2>/dev/null \
  78360. - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  78361. + $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
  78362. }
  78363.  
  78364. # func_lalib_unsafe_p file
  78365. -# True iff FILE is a libtool `.la' library or `.lo' object file.
  78366. +# True iff FILE is a libtool '.la' library or '.lo' object file.
  78367. # This function implements the same check as func_lalib_p without
  78368. # resorting to external programs. To this end, it redirects stdin and
  78369. # closes it afterwards, without saving the original file descriptor.
  78370. # As a safety measure, use it only where a negative result would be
  78371. -# fatal anyway. Works if `file' does not exist.
  78372. +# fatal anyway. Works if 'file' does not exist.
  78373. func_lalib_unsafe_p ()
  78374. {
  78375. lalib_p=no
  78376. @@ -912,13 +2521,13 @@
  78377. for lalib_p_l in 1 2 3 4
  78378. do
  78379. read lalib_p_line
  78380. - case "$lalib_p_line" in
  78381. + case $lalib_p_line in
  78382. \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  78383. esac
  78384. done
  78385. exec 0<&5 5<&-
  78386. fi
  78387. - test "$lalib_p" = yes
  78388. + test yes = "$lalib_p"
  78389. }
  78390.  
  78391. # func_ltwrapper_script_p file
  78392. @@ -927,7 +2536,8 @@
  78393. # determined imposters.
  78394. func_ltwrapper_script_p ()
  78395. {
  78396. - func_lalib_p "$1"
  78397. + test -f "$1" &&
  78398. + $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
  78399. }
  78400.  
  78401. # func_ltwrapper_executable_p file
  78402. @@ -950,12 +2560,9 @@
  78403. # temporary ltwrapper_script.
  78404. func_ltwrapper_scriptname ()
  78405. {
  78406. - func_ltwrapper_scriptname_result=""
  78407. - if func_ltwrapper_executable_p "$1"; then
  78408. - func_dirname_and_basename "$1" "" "."
  78409. - func_stripname '' '.exe' "$func_basename_result"
  78410. - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  78411. - fi
  78412. + func_dirname_and_basename "$1" "" "."
  78413. + func_stripname '' '.exe' "$func_basename_result"
  78414. + func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
  78415. }
  78416.  
  78417. # func_ltwrapper_p file
  78418. @@ -974,11 +2581,13 @@
  78419. # FAIL_CMD may read-access the current command in variable CMD!
  78420. func_execute_cmds ()
  78421. {
  78422. - $opt_debug
  78423. + $debug_cmd
  78424. +
  78425. save_ifs=$IFS; IFS='~'
  78426. for cmd in $1; do
  78427. - IFS=$save_ifs
  78428. + IFS=$sp$nl
  78429. eval cmd=\"$cmd\"
  78430. + IFS=$save_ifs
  78431. func_show_eval "$cmd" "${2-:}"
  78432. done
  78433. IFS=$save_ifs
  78434. @@ -990,10 +2599,11 @@
  78435. # Note that it is not necessary on cygwin/mingw to append a dot to
  78436. # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  78437. # behavior happens only for exec(3), not for open(2)! Also, sourcing
  78438. -# `FILE.' does not work on cygwin managed mounts.
  78439. +# 'FILE.' does not work on cygwin managed mounts.
  78440. func_source ()
  78441. {
  78442. - $opt_debug
  78443. + $debug_cmd
  78444. +
  78445. case $1 in
  78446. */* | *\\*) . "$1" ;;
  78447. *) . "./$1" ;;
  78448. @@ -1001,6 +2611,37 @@
  78449. }
  78450.  
  78451.  
  78452. +# func_resolve_sysroot PATH
  78453. +# Replace a leading = in PATH with a sysroot. Store the result into
  78454. +# func_resolve_sysroot_result
  78455. +func_resolve_sysroot ()
  78456. +{
  78457. + func_resolve_sysroot_result=$1
  78458. + case $func_resolve_sysroot_result in
  78459. + =*)
  78460. + func_stripname '=' '' "$func_resolve_sysroot_result"
  78461. + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
  78462. + ;;
  78463. + esac
  78464. +}
  78465. +
  78466. +# func_replace_sysroot PATH
  78467. +# If PATH begins with the sysroot, replace it with = and
  78468. +# store the result into func_replace_sysroot_result.
  78469. +func_replace_sysroot ()
  78470. +{
  78471. + case $lt_sysroot:$1 in
  78472. + ?*:"$lt_sysroot"*)
  78473. + func_stripname "$lt_sysroot" '' "$1"
  78474. + func_replace_sysroot_result='='$func_stripname_result
  78475. + ;;
  78476. + *)
  78477. + # Including no sysroot.
  78478. + func_replace_sysroot_result=$1
  78479. + ;;
  78480. + esac
  78481. +}
  78482. +
  78483. # func_infer_tag arg
  78484. # Infer tagged configuration to use if any are available and
  78485. # if one wasn't chosen via the "--tag" command line option.
  78486. @@ -1009,32 +2650,37 @@
  78487. # arg is usually of the form 'gcc ...'
  78488. func_infer_tag ()
  78489. {
  78490. - $opt_debug
  78491. + $debug_cmd
  78492. +
  78493. if test -n "$available_tags" && test -z "$tagname"; then
  78494. CC_quoted=
  78495. for arg in $CC; do
  78496. - func_quote_for_eval "$arg"
  78497. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  78498. + func_append_quoted CC_quoted "$arg"
  78499. done
  78500. + CC_expanded=`func_echo_all $CC`
  78501. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  78502. case $@ in
  78503. # Blanks in the command may have been stripped by the calling shell,
  78504. # but not from the CC environment variable when configure was run.
  78505. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  78506. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  78507. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
  78508. # Blanks at the start of $base_compile will cause this to fail
  78509. # if we don't check for them as well.
  78510. *)
  78511. for z in $available_tags; do
  78512. if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  78513. # Evaluate the configuration.
  78514. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  78515. + eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  78516. CC_quoted=
  78517. for arg in $CC; do
  78518. # Double-quote args containing other shell metacharacters.
  78519. - func_quote_for_eval "$arg"
  78520. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  78521. + func_append_quoted CC_quoted "$arg"
  78522. done
  78523. + CC_expanded=`func_echo_all $CC`
  78524. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  78525. case "$@ " in
  78526. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  78527. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  78528. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
  78529. # The compiler in the base compile command matches
  78530. # the one in the tagged configuration.
  78531. # Assume this is the tagged configuration we want.
  78532. @@ -1049,7 +2695,7 @@
  78533. # line option must be used.
  78534. if test -z "$tagname"; then
  78535. func_echo "unable to infer tagged configuration"
  78536. - func_fatal_error "specify a tag with \`--tag'"
  78537. + func_fatal_error "specify a tag with '--tag'"
  78538. # else
  78539. # func_verbose "using $tagname tagged configuration"
  78540. fi
  78541. @@ -1065,15 +2711,15 @@
  78542. # but don't create it if we're doing a dry run.
  78543. func_write_libtool_object ()
  78544. {
  78545. - write_libobj=${1}
  78546. - if test "$build_libtool_libs" = yes; then
  78547. - write_lobj=\'${2}\'
  78548. + write_libobj=$1
  78549. + if test yes = "$build_libtool_libs"; then
  78550. + write_lobj=\'$2\'
  78551. else
  78552. write_lobj=none
  78553. fi
  78554.  
  78555. - if test "$build_old_libs" = yes; then
  78556. - write_oldobj=\'${3}\'
  78557. + if test yes = "$build_old_libs"; then
  78558. + write_oldobj=\'$3\'
  78559. else
  78560. write_oldobj=none
  78561. fi
  78562. @@ -1081,7 +2727,7 @@
  78563. $opt_dry_run || {
  78564. cat >${write_libobj}T <<EOF
  78565. # $write_libobj - a libtool object file
  78566. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  78567. +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  78568. #
  78569. # Please DO NOT delete this file!
  78570. # It is necessary for linking the library.
  78571. @@ -1093,17 +2739,536 @@
  78572. non_pic_object=$write_oldobj
  78573.  
  78574. EOF
  78575. - $MV "${write_libobj}T" "${write_libobj}"
  78576. + $MV "${write_libobj}T" "$write_libobj"
  78577. }
  78578. }
  78579.  
  78580. +
  78581. +##################################################
  78582. +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
  78583. +##################################################
  78584. +
  78585. +# func_convert_core_file_wine_to_w32 ARG
  78586. +# Helper function used by file name conversion functions when $build is *nix,
  78587. +# and $host is mingw, cygwin, or some other w32 environment. Relies on a
  78588. +# correctly configured wine environment available, with the winepath program
  78589. +# in $build's $PATH.
  78590. +#
  78591. +# ARG is the $build file name to be converted to w32 format.
  78592. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will
  78593. +# be empty on error (or when ARG is empty)
  78594. +func_convert_core_file_wine_to_w32 ()
  78595. +{
  78596. + $debug_cmd
  78597. +
  78598. + func_convert_core_file_wine_to_w32_result=$1
  78599. + if test -n "$1"; then
  78600. + # Unfortunately, winepath does not exit with a non-zero error code, so we
  78601. + # are forced to check the contents of stdout. On the other hand, if the
  78602. + # command is not found, the shell will set an exit code of 127 and print
  78603. + # *an error message* to stdout. So we must check for both error code of
  78604. + # zero AND non-empty stdout, which explains the odd construction:
  78605. + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
  78606. + if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
  78607. + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
  78608. + $SED -e "$sed_naive_backslashify"`
  78609. + else
  78610. + func_convert_core_file_wine_to_w32_result=
  78611. + fi
  78612. + fi
  78613. +}
  78614. +# end: func_convert_core_file_wine_to_w32
  78615. +
  78616. +
  78617. +# func_convert_core_path_wine_to_w32 ARG
  78618. +# Helper function used by path conversion functions when $build is *nix, and
  78619. +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
  78620. +# configured wine environment available, with the winepath program in $build's
  78621. +# $PATH. Assumes ARG has no leading or trailing path separator characters.
  78622. +#
  78623. +# ARG is path to be converted from $build format to win32.
  78624. +# Result is available in $func_convert_core_path_wine_to_w32_result.
  78625. +# Unconvertible file (directory) names in ARG are skipped; if no directory names
  78626. +# are convertible, then the result may be empty.
  78627. +func_convert_core_path_wine_to_w32 ()
  78628. +{
  78629. + $debug_cmd
  78630. +
  78631. + # unfortunately, winepath doesn't convert paths, only file names
  78632. + func_convert_core_path_wine_to_w32_result=
  78633. + if test -n "$1"; then
  78634. + oldIFS=$IFS
  78635. + IFS=:
  78636. + for func_convert_core_path_wine_to_w32_f in $1; do
  78637. + IFS=$oldIFS
  78638. + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
  78639. + if test -n "$func_convert_core_file_wine_to_w32_result"; then
  78640. + if test -z "$func_convert_core_path_wine_to_w32_result"; then
  78641. + func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
  78642. + else
  78643. + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
  78644. + fi
  78645. + fi
  78646. + done
  78647. + IFS=$oldIFS
  78648. + fi
  78649. +}
  78650. +# end: func_convert_core_path_wine_to_w32
  78651. +
  78652. +
  78653. +# func_cygpath ARGS...
  78654. +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
  78655. +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
  78656. +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
  78657. +# (2), returns the Cygwin file name or path in func_cygpath_result (input
  78658. +# file name or path is assumed to be in w32 format, as previously converted
  78659. +# from $build's *nix or MSYS format). In case (3), returns the w32 file name
  78660. +# or path in func_cygpath_result (input file name or path is assumed to be in
  78661. +# Cygwin format). Returns an empty string on error.
  78662. +#
  78663. +# ARGS are passed to cygpath, with the last one being the file name or path to
  78664. +# be converted.
  78665. +#
  78666. +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
  78667. +# environment variable; do not put it in $PATH.
  78668. +func_cygpath ()
  78669. +{
  78670. + $debug_cmd
  78671. +
  78672. + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
  78673. + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
  78674. + if test "$?" -ne 0; then
  78675. + # on failure, ensure result is empty
  78676. + func_cygpath_result=
  78677. + fi
  78678. + else
  78679. + func_cygpath_result=
  78680. + func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
  78681. + fi
  78682. +}
  78683. +#end: func_cygpath
  78684. +
  78685. +
  78686. +# func_convert_core_msys_to_w32 ARG
  78687. +# Convert file name or path ARG from MSYS format to w32 format. Return
  78688. +# result in func_convert_core_msys_to_w32_result.
  78689. +func_convert_core_msys_to_w32 ()
  78690. +{
  78691. + $debug_cmd
  78692. +
  78693. + # awkward: cmd appends spaces to result
  78694. + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
  78695. + $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
  78696. +}
  78697. +#end: func_convert_core_msys_to_w32
  78698. +
  78699. +
  78700. +# func_convert_file_check ARG1 ARG2
  78701. +# Verify that ARG1 (a file name in $build format) was converted to $host
  78702. +# format in ARG2. Otherwise, emit an error message, but continue (resetting
  78703. +# func_to_host_file_result to ARG1).
  78704. +func_convert_file_check ()
  78705. +{
  78706. + $debug_cmd
  78707. +
  78708. + if test -z "$2" && test -n "$1"; then
  78709. + func_error "Could not determine host file name corresponding to"
  78710. + func_error " '$1'"
  78711. + func_error "Continuing, but uninstalled executables may not work."
  78712. + # Fallback:
  78713. + func_to_host_file_result=$1
  78714. + fi
  78715. +}
  78716. +# end func_convert_file_check
  78717. +
  78718. +
  78719. +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
  78720. +# Verify that FROM_PATH (a path in $build format) was converted to $host
  78721. +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
  78722. +# func_to_host_file_result to a simplistic fallback value (see below).
  78723. +func_convert_path_check ()
  78724. +{
  78725. + $debug_cmd
  78726. +
  78727. + if test -z "$4" && test -n "$3"; then
  78728. + func_error "Could not determine the host path corresponding to"
  78729. + func_error " '$3'"
  78730. + func_error "Continuing, but uninstalled executables may not work."
  78731. + # Fallback. This is a deliberately simplistic "conversion" and
  78732. + # should not be "improved". See libtool.info.
  78733. + if test "x$1" != "x$2"; then
  78734. + lt_replace_pathsep_chars="s|$1|$2|g"
  78735. + func_to_host_path_result=`echo "$3" |
  78736. + $SED -e "$lt_replace_pathsep_chars"`
  78737. + else
  78738. + func_to_host_path_result=$3
  78739. + fi
  78740. + fi
  78741. +}
  78742. +# end func_convert_path_check
  78743. +
  78744. +
  78745. +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
  78746. +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
  78747. +# and appending REPL if ORIG matches BACKPAT.
  78748. +func_convert_path_front_back_pathsep ()
  78749. +{
  78750. + $debug_cmd
  78751. +
  78752. + case $4 in
  78753. + $1 ) func_to_host_path_result=$3$func_to_host_path_result
  78754. + ;;
  78755. + esac
  78756. + case $4 in
  78757. + $2 ) func_append func_to_host_path_result "$3"
  78758. + ;;
  78759. + esac
  78760. +}
  78761. +# end func_convert_path_front_back_pathsep
  78762. +
  78763. +
  78764. +##################################################
  78765. +# $build to $host FILE NAME CONVERSION FUNCTIONS #
  78766. +##################################################
  78767. +# invoked via '$to_host_file_cmd ARG'
  78768. +#
  78769. +# In each case, ARG is the path to be converted from $build to $host format.
  78770. +# Result will be available in $func_to_host_file_result.
  78771. +
  78772. +
  78773. +# func_to_host_file ARG
  78774. +# Converts the file name ARG from $build format to $host format. Return result
  78775. +# in func_to_host_file_result.
  78776. +func_to_host_file ()
  78777. +{
  78778. + $debug_cmd
  78779. +
  78780. + $to_host_file_cmd "$1"
  78781. +}
  78782. +# end func_to_host_file
  78783. +
  78784. +
  78785. +# func_to_tool_file ARG LAZY
  78786. +# converts the file name ARG from $build format to toolchain format. Return
  78787. +# result in func_to_tool_file_result. If the conversion in use is listed
  78788. +# in (the comma separated) LAZY, no conversion takes place.
  78789. +func_to_tool_file ()
  78790. +{
  78791. + $debug_cmd
  78792. +
  78793. + case ,$2, in
  78794. + *,"$to_tool_file_cmd",*)
  78795. + func_to_tool_file_result=$1
  78796. + ;;
  78797. + *)
  78798. + $to_tool_file_cmd "$1"
  78799. + func_to_tool_file_result=$func_to_host_file_result
  78800. + ;;
  78801. + esac
  78802. +}
  78803. +# end func_to_tool_file
  78804. +
  78805. +
  78806. +# func_convert_file_noop ARG
  78807. +# Copy ARG to func_to_host_file_result.
  78808. +func_convert_file_noop ()
  78809. +{
  78810. + func_to_host_file_result=$1
  78811. +}
  78812. +# end func_convert_file_noop
  78813. +
  78814. +
  78815. +# func_convert_file_msys_to_w32 ARG
  78816. +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
  78817. +# conversion to w32 is not available inside the cwrapper. Returns result in
  78818. +# func_to_host_file_result.
  78819. +func_convert_file_msys_to_w32 ()
  78820. +{
  78821. + $debug_cmd
  78822. +
  78823. + func_to_host_file_result=$1
  78824. + if test -n "$1"; then
  78825. + func_convert_core_msys_to_w32 "$1"
  78826. + func_to_host_file_result=$func_convert_core_msys_to_w32_result
  78827. + fi
  78828. + func_convert_file_check "$1" "$func_to_host_file_result"
  78829. +}
  78830. +# end func_convert_file_msys_to_w32
  78831. +
  78832. +
  78833. +# func_convert_file_cygwin_to_w32 ARG
  78834. +# Convert file name ARG from Cygwin to w32 format. Returns result in
  78835. +# func_to_host_file_result.
  78836. +func_convert_file_cygwin_to_w32 ()
  78837. +{
  78838. + $debug_cmd
  78839. +
  78840. + func_to_host_file_result=$1
  78841. + if test -n "$1"; then
  78842. + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
  78843. + # LT_CYGPATH in this case.
  78844. + func_to_host_file_result=`cygpath -m "$1"`
  78845. + fi
  78846. + func_convert_file_check "$1" "$func_to_host_file_result"
  78847. +}
  78848. +# end func_convert_file_cygwin_to_w32
  78849. +
  78850. +
  78851. +# func_convert_file_nix_to_w32 ARG
  78852. +# Convert file name ARG from *nix to w32 format. Requires a wine environment
  78853. +# and a working winepath. Returns result in func_to_host_file_result.
  78854. +func_convert_file_nix_to_w32 ()
  78855. +{
  78856. + $debug_cmd
  78857. +
  78858. + func_to_host_file_result=$1
  78859. + if test -n "$1"; then
  78860. + func_convert_core_file_wine_to_w32 "$1"
  78861. + func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
  78862. + fi
  78863. + func_convert_file_check "$1" "$func_to_host_file_result"
  78864. +}
  78865. +# end func_convert_file_nix_to_w32
  78866. +
  78867. +
  78868. +# func_convert_file_msys_to_cygwin ARG
  78869. +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
  78870. +# Returns result in func_to_host_file_result.
  78871. +func_convert_file_msys_to_cygwin ()
  78872. +{
  78873. + $debug_cmd
  78874. +
  78875. + func_to_host_file_result=$1
  78876. + if test -n "$1"; then
  78877. + func_convert_core_msys_to_w32 "$1"
  78878. + func_cygpath -u "$func_convert_core_msys_to_w32_result"
  78879. + func_to_host_file_result=$func_cygpath_result
  78880. + fi
  78881. + func_convert_file_check "$1" "$func_to_host_file_result"
  78882. +}
  78883. +# end func_convert_file_msys_to_cygwin
  78884. +
  78885. +
  78886. +# func_convert_file_nix_to_cygwin ARG
  78887. +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
  78888. +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
  78889. +# in func_to_host_file_result.
  78890. +func_convert_file_nix_to_cygwin ()
  78891. +{
  78892. + $debug_cmd
  78893. +
  78894. + func_to_host_file_result=$1
  78895. + if test -n "$1"; then
  78896. + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
  78897. + func_convert_core_file_wine_to_w32 "$1"
  78898. + func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
  78899. + func_to_host_file_result=$func_cygpath_result
  78900. + fi
  78901. + func_convert_file_check "$1" "$func_to_host_file_result"
  78902. +}
  78903. +# end func_convert_file_nix_to_cygwin
  78904. +
  78905. +
  78906. +#############################################
  78907. +# $build to $host PATH CONVERSION FUNCTIONS #
  78908. +#############################################
  78909. +# invoked via '$to_host_path_cmd ARG'
  78910. +#
  78911. +# In each case, ARG is the path to be converted from $build to $host format.
  78912. +# The result will be available in $func_to_host_path_result.
  78913. +#
  78914. +# Path separators are also converted from $build format to $host format. If
  78915. +# ARG begins or ends with a path separator character, it is preserved (but
  78916. +# converted to $host format) on output.
  78917. +#
  78918. +# All path conversion functions are named using the following convention:
  78919. +# file name conversion function : func_convert_file_X_to_Y ()
  78920. +# path conversion function : func_convert_path_X_to_Y ()
  78921. +# where, for any given $build/$host combination the 'X_to_Y' value is the
  78922. +# same. If conversion functions are added for new $build/$host combinations,
  78923. +# the two new functions must follow this pattern, or func_init_to_host_path_cmd
  78924. +# will break.
  78925. +
  78926. +
  78927. +# func_init_to_host_path_cmd
  78928. +# Ensures that function "pointer" variable $to_host_path_cmd is set to the
  78929. +# appropriate value, based on the value of $to_host_file_cmd.
  78930. +to_host_path_cmd=
  78931. +func_init_to_host_path_cmd ()
  78932. +{
  78933. + $debug_cmd
  78934. +
  78935. + if test -z "$to_host_path_cmd"; then
  78936. + func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
  78937. + to_host_path_cmd=func_convert_path_$func_stripname_result
  78938. + fi
  78939. +}
  78940. +
  78941. +
  78942. +# func_to_host_path ARG
  78943. +# Converts the path ARG from $build format to $host format. Return result
  78944. +# in func_to_host_path_result.
  78945. +func_to_host_path ()
  78946. +{
  78947. + $debug_cmd
  78948. +
  78949. + func_init_to_host_path_cmd
  78950. + $to_host_path_cmd "$1"
  78951. +}
  78952. +# end func_to_host_path
  78953. +
  78954. +
  78955. +# func_convert_path_noop ARG
  78956. +# Copy ARG to func_to_host_path_result.
  78957. +func_convert_path_noop ()
  78958. +{
  78959. + func_to_host_path_result=$1
  78960. +}
  78961. +# end func_convert_path_noop
  78962. +
  78963. +
  78964. +# func_convert_path_msys_to_w32 ARG
  78965. +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
  78966. +# conversion to w32 is not available inside the cwrapper. Returns result in
  78967. +# func_to_host_path_result.
  78968. +func_convert_path_msys_to_w32 ()
  78969. +{
  78970. + $debug_cmd
  78971. +
  78972. + func_to_host_path_result=$1
  78973. + if test -n "$1"; then
  78974. + # Remove leading and trailing path separator characters from ARG. MSYS
  78975. + # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
  78976. + # and winepath ignores them completely.
  78977. + func_stripname : : "$1"
  78978. + func_to_host_path_tmp1=$func_stripname_result
  78979. + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
  78980. + func_to_host_path_result=$func_convert_core_msys_to_w32_result
  78981. + func_convert_path_check : ";" \
  78982. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  78983. + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
  78984. + fi
  78985. +}
  78986. +# end func_convert_path_msys_to_w32
  78987. +
  78988. +
  78989. +# func_convert_path_cygwin_to_w32 ARG
  78990. +# Convert path ARG from Cygwin to w32 format. Returns result in
  78991. +# func_to_host_file_result.
  78992. +func_convert_path_cygwin_to_w32 ()
  78993. +{
  78994. + $debug_cmd
  78995. +
  78996. + func_to_host_path_result=$1
  78997. + if test -n "$1"; then
  78998. + # See func_convert_path_msys_to_w32:
  78999. + func_stripname : : "$1"
  79000. + func_to_host_path_tmp1=$func_stripname_result
  79001. + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
  79002. + func_convert_path_check : ";" \
  79003. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79004. + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
  79005. + fi
  79006. +}
  79007. +# end func_convert_path_cygwin_to_w32
  79008. +
  79009. +
  79010. +# func_convert_path_nix_to_w32 ARG
  79011. +# Convert path ARG from *nix to w32 format. Requires a wine environment and
  79012. +# a working winepath. Returns result in func_to_host_file_result.
  79013. +func_convert_path_nix_to_w32 ()
  79014. +{
  79015. + $debug_cmd
  79016. +
  79017. + func_to_host_path_result=$1
  79018. + if test -n "$1"; then
  79019. + # See func_convert_path_msys_to_w32:
  79020. + func_stripname : : "$1"
  79021. + func_to_host_path_tmp1=$func_stripname_result
  79022. + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
  79023. + func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
  79024. + func_convert_path_check : ";" \
  79025. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79026. + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
  79027. + fi
  79028. +}
  79029. +# end func_convert_path_nix_to_w32
  79030. +
  79031. +
  79032. +# func_convert_path_msys_to_cygwin ARG
  79033. +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
  79034. +# Returns result in func_to_host_file_result.
  79035. +func_convert_path_msys_to_cygwin ()
  79036. +{
  79037. + $debug_cmd
  79038. +
  79039. + func_to_host_path_result=$1
  79040. + if test -n "$1"; then
  79041. + # See func_convert_path_msys_to_w32:
  79042. + func_stripname : : "$1"
  79043. + func_to_host_path_tmp1=$func_stripname_result
  79044. + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
  79045. + func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
  79046. + func_to_host_path_result=$func_cygpath_result
  79047. + func_convert_path_check : : \
  79048. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79049. + func_convert_path_front_back_pathsep ":*" "*:" : "$1"
  79050. + fi
  79051. +}
  79052. +# end func_convert_path_msys_to_cygwin
  79053. +
  79054. +
  79055. +# func_convert_path_nix_to_cygwin ARG
  79056. +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
  79057. +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
  79058. +# func_to_host_file_result.
  79059. +func_convert_path_nix_to_cygwin ()
  79060. +{
  79061. + $debug_cmd
  79062. +
  79063. + func_to_host_path_result=$1
  79064. + if test -n "$1"; then
  79065. + # Remove leading and trailing path separator characters from
  79066. + # ARG. msys behavior is inconsistent here, cygpath turns them
  79067. + # into '.;' and ';.', and winepath ignores them completely.
  79068. + func_stripname : : "$1"
  79069. + func_to_host_path_tmp1=$func_stripname_result
  79070. + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
  79071. + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
  79072. + func_to_host_path_result=$func_cygpath_result
  79073. + func_convert_path_check : : \
  79074. + "$func_to_host_path_tmp1" "$func_to_host_path_result"
  79075. + func_convert_path_front_back_pathsep ":*" "*:" : "$1"
  79076. + fi
  79077. +}
  79078. +# end func_convert_path_nix_to_cygwin
  79079. +
  79080. +
  79081. +# func_dll_def_p FILE
  79082. +# True iff FILE is a Windows DLL '.def' file.
  79083. +# Keep in sync with _LT_DLL_DEF_P in libtool.m4
  79084. +func_dll_def_p ()
  79085. +{
  79086. + $debug_cmd
  79087. +
  79088. + func_dll_def_p_tmp=`$SED -n \
  79089. + -e 's/^[ ]*//' \
  79090. + -e '/^\(;.*\)*$/d' \
  79091. + -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
  79092. + -e q \
  79093. + "$1"`
  79094. + test DEF = "$func_dll_def_p_tmp"
  79095. +}
  79096. +
  79097. +
  79098. # func_mode_compile arg...
  79099. func_mode_compile ()
  79100. {
  79101. - $opt_debug
  79102. + $debug_cmd
  79103. +
  79104. # Get the compilation command and the source file.
  79105. base_compile=
  79106. - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  79107. + srcfile=$nonopt # always keep a non-empty value in "srcfile"
  79108. suppress_opt=yes
  79109. suppress_output=
  79110. arg_mode=normal
  79111. @@ -1116,12 +3281,12 @@
  79112. case $arg_mode in
  79113. arg )
  79114. # do not "continue". Instead, add this to base_compile
  79115. - lastarg="$arg"
  79116. + lastarg=$arg
  79117. arg_mode=normal
  79118. ;;
  79119.  
  79120. target )
  79121. - libobj="$arg"
  79122. + libobj=$arg
  79123. arg_mode=normal
  79124. continue
  79125. ;;
  79126. @@ -1131,18 +3296,18 @@
  79127. case $arg in
  79128. -o)
  79129. test -n "$libobj" && \
  79130. - func_fatal_error "you cannot specify \`-o' more than once"
  79131. + func_fatal_error "you cannot specify '-o' more than once"
  79132. arg_mode=target
  79133. continue
  79134. ;;
  79135.  
  79136. -pie | -fpie | -fPIE)
  79137. - pie_flag="$pie_flag $arg"
  79138. + func_append pie_flag " $arg"
  79139. continue
  79140. ;;
  79141.  
  79142. -shared | -static | -prefer-pic | -prefer-non-pic)
  79143. - later="$later $arg"
  79144. + func_append later " $arg"
  79145. continue
  79146. ;;
  79147.  
  79148. @@ -1160,18 +3325,17 @@
  79149. func_stripname '-Wc,' '' "$arg"
  79150. args=$func_stripname_result
  79151. lastarg=
  79152. - save_ifs="$IFS"; IFS=','
  79153. + save_ifs=$IFS; IFS=,
  79154. for arg in $args; do
  79155. - IFS="$save_ifs"
  79156. - func_quote_for_eval "$arg"
  79157. - lastarg="$lastarg $func_quote_for_eval_result"
  79158. + IFS=$save_ifs
  79159. + func_append_quoted lastarg "$arg"
  79160. done
  79161. - IFS="$save_ifs"
  79162. + IFS=$save_ifs
  79163. func_stripname ' ' '' "$lastarg"
  79164. lastarg=$func_stripname_result
  79165.  
  79166. # Add the arguments to base_compile.
  79167. - base_compile="$base_compile $lastarg"
  79168. + func_append base_compile " $lastarg"
  79169. continue
  79170. ;;
  79171.  
  79172. @@ -1179,16 +3343,15 @@
  79173. # Accept the current argument as the source file.
  79174. # The previous "srcfile" becomes the current argument.
  79175. #
  79176. - lastarg="$srcfile"
  79177. - srcfile="$arg"
  79178. + lastarg=$srcfile
  79179. + srcfile=$arg
  79180. ;;
  79181. esac # case $arg
  79182. ;;
  79183. esac # case $arg_mode
  79184.  
  79185. # Aesthetically quote the previous argument.
  79186. - func_quote_for_eval "$lastarg"
  79187. - base_compile="$base_compile $func_quote_for_eval_result"
  79188. + func_append_quoted base_compile "$lastarg"
  79189. done # for arg
  79190.  
  79191. case $arg_mode in
  79192. @@ -1196,13 +3359,13 @@
  79193. func_fatal_error "you must specify an argument for -Xcompile"
  79194. ;;
  79195. target)
  79196. - func_fatal_error "you must specify a target with \`-o'"
  79197. + func_fatal_error "you must specify a target with '-o'"
  79198. ;;
  79199. *)
  79200. # Get the name of the library object.
  79201. test -z "$libobj" && {
  79202. func_basename "$srcfile"
  79203. - libobj="$func_basename_result"
  79204. + libobj=$func_basename_result
  79205. }
  79206. ;;
  79207. esac
  79208. @@ -1213,7 +3376,7 @@
  79209. *.[cCFSifmso] | \
  79210. *.ada | *.adb | *.ads | *.asm | \
  79211. *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  79212. - *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  79213. + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
  79214. func_xform "$libobj"
  79215. libobj=$func_xform_result
  79216. ;;
  79217. @@ -1222,7 +3385,7 @@
  79218. case $libobj in
  79219. *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  79220. *)
  79221. - func_fatal_error "cannot determine name of library object from \`$libobj'"
  79222. + func_fatal_error "cannot determine name of library object from '$libobj'"
  79223. ;;
  79224. esac
  79225.  
  79226. @@ -1231,8 +3394,8 @@
  79227. for arg in $later; do
  79228. case $arg in
  79229. -shared)
  79230. - test "$build_libtool_libs" != yes && \
  79231. - func_fatal_configuration "can not build a shared library"
  79232. + test yes = "$build_libtool_libs" \
  79233. + || func_fatal_configuration "cannot build a shared library"
  79234. build_old_libs=no
  79235. continue
  79236. ;;
  79237. @@ -1258,17 +3421,17 @@
  79238. func_quote_for_eval "$libobj"
  79239. test "X$libobj" != "X$func_quote_for_eval_result" \
  79240. && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  79241. - && func_warning "libobj name \`$libobj' may not contain shell special characters."
  79242. + && func_warning "libobj name '$libobj' may not contain shell special characters."
  79243. func_dirname_and_basename "$obj" "/" ""
  79244. - objname="$func_basename_result"
  79245. - xdir="$func_dirname_result"
  79246. - lobj=${xdir}$objdir/$objname
  79247. + objname=$func_basename_result
  79248. + xdir=$func_dirname_result
  79249. + lobj=$xdir$objdir/$objname
  79250.  
  79251. test -z "$base_compile" && \
  79252. func_fatal_help "you must specify a compilation command"
  79253.  
  79254. # Delete any leftover library objects.
  79255. - if test "$build_old_libs" = yes; then
  79256. + if test yes = "$build_old_libs"; then
  79257. removelist="$obj $lobj $libobj ${libobj}T"
  79258. else
  79259. removelist="$lobj $libobj ${libobj}T"
  79260. @@ -1280,16 +3443,16 @@
  79261. pic_mode=default
  79262. ;;
  79263. esac
  79264. - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
  79265. + if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
  79266. # non-PIC code in shared libraries is not supported
  79267. pic_mode=default
  79268. fi
  79269.  
  79270. # Calculate the filename of the output object if compiler does
  79271. # not support -o with -c
  79272. - if test "$compiler_c_o" = no; then
  79273. - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  79274. - lockfile="$output_obj.lock"
  79275. + if test no = "$compiler_c_o"; then
  79276. + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
  79277. + lockfile=$output_obj.lock
  79278. else
  79279. output_obj=
  79280. need_locks=no
  79281. @@ -1298,12 +3461,12 @@
  79282.  
  79283. # Lock this critical section if it is needed
  79284. # We use this script file to make the link, it avoids creating a new file
  79285. - if test "$need_locks" = yes; then
  79286. + if test yes = "$need_locks"; then
  79287. until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  79288. func_echo "Waiting for $lockfile to be removed"
  79289. sleep 2
  79290. done
  79291. - elif test "$need_locks" = warn; then
  79292. + elif test warn = "$need_locks"; then
  79293. if test -f "$lockfile"; then
  79294. $ECHO "\
  79295. *** ERROR, $lockfile exists and contains:
  79296. @@ -1311,7 +3474,7 @@
  79297.  
  79298. This indicates that another process is trying to use the same
  79299. temporary object file, and libtool could not work around it because
  79300. -your compiler does not support \`-c' and \`-o' together. If you
  79301. +your compiler does not support '-c' and '-o' together. If you
  79302. repeat this compilation, it may succeed, by chance, but you had better
  79303. avoid parallel builds (make -j) in this platform, or get a better
  79304. compiler."
  79305. @@ -1319,26 +3482,25 @@
  79306. $opt_dry_run || $RM $removelist
  79307. exit $EXIT_FAILURE
  79308. fi
  79309. - removelist="$removelist $output_obj"
  79310. + func_append removelist " $output_obj"
  79311. $ECHO "$srcfile" > "$lockfile"
  79312. fi
  79313.  
  79314. $opt_dry_run || $RM $removelist
  79315. - removelist="$removelist $lockfile"
  79316. + func_append removelist " $lockfile"
  79317. trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  79318.  
  79319. - if test -n "$fix_srcfile_path"; then
  79320. - eval srcfile=\"$fix_srcfile_path\"
  79321. - fi
  79322. + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
  79323. + srcfile=$func_to_tool_file_result
  79324. func_quote_for_eval "$srcfile"
  79325. qsrcfile=$func_quote_for_eval_result
  79326.  
  79327. # Only build a PIC object if we are building libtool libraries.
  79328. - if test "$build_libtool_libs" = yes; then
  79329. + if test yes = "$build_libtool_libs"; then
  79330. # Without this assignment, base_compile gets emptied.
  79331. fbsd_hideous_sh_bug=$base_compile
  79332.  
  79333. - if test "$pic_mode" != no; then
  79334. + if test no != "$pic_mode"; then
  79335. command="$base_compile $qsrcfile $pic_flag"
  79336. else
  79337. # Don't build PIC code
  79338. @@ -1349,13 +3511,13 @@
  79339.  
  79340. if test -z "$output_obj"; then
  79341. # Place PIC objects in $objdir
  79342. - command="$command -o $lobj"
  79343. + func_append command " -o $lobj"
  79344. fi
  79345.  
  79346. func_show_eval_locale "$command" \
  79347. 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  79348.  
  79349. - if test "$need_locks" = warn &&
  79350. + if test warn = "$need_locks" &&
  79351. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  79352. $ECHO "\
  79353. *** ERROR, $lockfile contains:
  79354. @@ -1366,7 +3528,7 @@
  79355.  
  79356. This indicates that another process is trying to use the same
  79357. temporary object file, and libtool could not work around it because
  79358. -your compiler does not support \`-c' and \`-o' together. If you
  79359. +your compiler does not support '-c' and '-o' together. If you
  79360. repeat this compilation, it may succeed, by chance, but you had better
  79361. avoid parallel builds (make -j) in this platform, or get a better
  79362. compiler."
  79363. @@ -1382,29 +3544,29 @@
  79364. fi
  79365.  
  79366. # Allow error messages only from the first compilation.
  79367. - if test "$suppress_opt" = yes; then
  79368. + if test yes = "$suppress_opt"; then
  79369. suppress_output=' >/dev/null 2>&1'
  79370. fi
  79371. fi
  79372.  
  79373. # Only build a position-dependent object if we build old libraries.
  79374. - if test "$build_old_libs" = yes; then
  79375. - if test "$pic_mode" != yes; then
  79376. + if test yes = "$build_old_libs"; then
  79377. + if test yes != "$pic_mode"; then
  79378. # Don't build PIC code
  79379. command="$base_compile $qsrcfile$pie_flag"
  79380. else
  79381. command="$base_compile $qsrcfile $pic_flag"
  79382. fi
  79383. - if test "$compiler_c_o" = yes; then
  79384. - command="$command -o $obj"
  79385. + if test yes = "$compiler_c_o"; then
  79386. + func_append command " -o $obj"
  79387. fi
  79388.  
  79389. # Suppress compiler output if we already did a PIC compilation.
  79390. - command="$command$suppress_output"
  79391. + func_append command "$suppress_output"
  79392. func_show_eval_locale "$command" \
  79393. '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  79394.  
  79395. - if test "$need_locks" = warn &&
  79396. + if test warn = "$need_locks" &&
  79397. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  79398. $ECHO "\
  79399. *** ERROR, $lockfile contains:
  79400. @@ -1415,7 +3577,7 @@
  79401.  
  79402. This indicates that another process is trying to use the same
  79403. temporary object file, and libtool could not work around it because
  79404. -your compiler does not support \`-c' and \`-o' together. If you
  79405. +your compiler does not support '-c' and '-o' together. If you
  79406. repeat this compilation, it may succeed, by chance, but you had better
  79407. avoid parallel builds (make -j) in this platform, or get a better
  79408. compiler."
  79409. @@ -1435,7 +3597,7 @@
  79410. func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  79411.  
  79412. # Unlock the critical section if it was locked
  79413. - if test "$need_locks" != no; then
  79414. + if test no != "$need_locks"; then
  79415. removelist=$lockfile
  79416. $RM "$lockfile"
  79417. fi
  79418. @@ -1445,13 +3607,13 @@
  79419. }
  79420.  
  79421. $opt_help || {
  79422. -test "$mode" = compile && func_mode_compile ${1+"$@"}
  79423. + test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
  79424. }
  79425.  
  79426. func_mode_help ()
  79427. {
  79428. # We need to display help for each of the modes.
  79429. - case $mode in
  79430. + case $opt_mode in
  79431. "")
  79432. # Generic help is extracted from the usage comments
  79433. # at the start of this file.
  79434. @@ -1465,7 +3627,7 @@
  79435. Remove files from the build directory.
  79436.  
  79437. RM is the name of the program to use to delete files associated with each FILE
  79438. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  79439. +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
  79440. to RM.
  79441.  
  79442. If FILE is a libtool library, object or program, all the files associated
  79443. @@ -1482,17 +3644,18 @@
  79444.  
  79445. -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  79446. -no-suppress do not suppress compiler output for multiple passes
  79447. - -prefer-pic try to building PIC objects only
  79448. - -prefer-non-pic try to building non-PIC objects only
  79449. - -shared do not build a \`.o' file suitable for static linking
  79450. - -static only build a \`.o' file suitable for static linking
  79451. + -prefer-pic try to build PIC objects only
  79452. + -prefer-non-pic try to build non-PIC objects only
  79453. + -shared do not build a '.o' file suitable for static linking
  79454. + -static only build a '.o' file suitable for static linking
  79455. + -Wc,FLAG pass FLAG directly to the compiler
  79456.  
  79457. -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  79458. +COMPILE-COMMAND is a command to be used in creating a 'standard' object file
  79459. from the given SOURCEFILE.
  79460.  
  79461. The output file name is determined by removing the directory component from
  79462. -SOURCEFILE, then substituting the C source code suffix \`.c' with the
  79463. -library object suffix, \`.lo'."
  79464. +SOURCEFILE, then substituting the C source code suffix '.c' with the
  79465. +library object suffix, '.lo'."
  79466. ;;
  79467.  
  79468. execute)
  79469. @@ -1505,7 +3668,7 @@
  79470.  
  79471. -dlopen FILE add the directory containing FILE to the library path
  79472.  
  79473. -This mode sets the library path environment variable according to \`-dlopen'
  79474. +This mode sets the library path environment variable according to '-dlopen'
  79475. flags.
  79476.  
  79477. If any of the ARGS are libtool executable wrappers, then they are translated
  79478. @@ -1524,7 +3687,7 @@
  79479. Each LIBDIR is a directory that contains libtool libraries.
  79480.  
  79481. The commands that this mode executes may require superuser privileges. Use
  79482. -the \`--dry-run' option if you just want to see what would be executed."
  79483. +the '--dry-run' option if you just want to see what would be executed."
  79484. ;;
  79485.  
  79486. install)
  79487. @@ -1534,11 +3697,11 @@
  79488. Install executables or libraries.
  79489.  
  79490. INSTALL-COMMAND is the installation command. The first component should be
  79491. -either the \`install' or \`cp' program.
  79492. +either the 'install' or 'cp' program.
  79493.  
  79494. The following components of INSTALL-COMMAND are treated specially:
  79495.  
  79496. - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  79497. + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  79498.  
  79499. The rest of the components are interpreted as arguments to that command (only
  79500. BSD-compatible install options are recognized)."
  79501. @@ -1558,7 +3721,9 @@
  79502.  
  79503. -all-static do not do any dynamic linking at all
  79504. -avoid-version do not add a version suffix if possible
  79505. - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  79506. + -bindir BINDIR specify path to binaries directory (for systems where
  79507. + libraries must be found in the PATH setting at runtime)
  79508. + -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
  79509. -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  79510. -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  79511. -export-symbols SYMFILE
  79512. @@ -1572,7 +3737,8 @@
  79513. -no-install link a not-installable executable
  79514. -no-undefined declare that a library does not refer to external symbols
  79515. -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  79516. - -objectlist FILE Use a list of object files found in FILE to specify objects
  79517. + -objectlist FILE use a list of object files found in FILE to specify objects
  79518. + -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
  79519. -precious-files-regex REGEX
  79520. don't remove output files matching REGEX
  79521. -release RELEASE specify package release information
  79522. @@ -1586,21 +3752,26 @@
  79523. -version-info CURRENT[:REVISION[:AGE]]
  79524. specify library version info [each variable defaults to 0]
  79525. -weak LIBNAME declare that the target provides the LIBNAME interface
  79526. + -Wc,FLAG
  79527. + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
  79528. + -Wl,FLAG
  79529. + -Xlinker FLAG pass linker-specific FLAG directly to the linker
  79530. + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
  79531.  
  79532. -All other options (arguments beginning with \`-') are ignored.
  79533. +All other options (arguments beginning with '-') are ignored.
  79534.  
  79535. -Every other argument is treated as a filename. Files ending in \`.la' are
  79536. +Every other argument is treated as a filename. Files ending in '.la' are
  79537. treated as uninstalled libtool libraries, other files are standard or library
  79538. object files.
  79539.  
  79540. -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  79541. -only library objects (\`.lo' files) may be specified, and \`-rpath' is
  79542. +If the OUTPUT-FILE ends in '.la', then a libtool library is created,
  79543. +only library objects ('.lo' files) may be specified, and '-rpath' is
  79544. required, except when creating a convenience library.
  79545.  
  79546. -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  79547. -using \`ar' and \`ranlib', or on Windows using \`lib'.
  79548. +If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
  79549. +using 'ar' and 'ranlib', or on Windows using 'lib'.
  79550.  
  79551. -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  79552. +If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
  79553. is created, otherwise an executable program is created."
  79554. ;;
  79555.  
  79556. @@ -1611,7 +3782,7 @@
  79557. Remove libraries from an installation directory.
  79558.  
  79559. RM is the name of the program to use to delete files associated with each FILE
  79560. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  79561. +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
  79562. to RM.
  79563.  
  79564. If FILE is a libtool library, all the files associated with it are deleted.
  79565. @@ -1619,40 +3790,70 @@
  79566. ;;
  79567.  
  79568. *)
  79569. - func_fatal_help "invalid operation mode \`$mode'"
  79570. + func_fatal_help "invalid operation mode '$opt_mode'"
  79571. ;;
  79572. esac
  79573.  
  79574. - $ECHO
  79575. - $ECHO "Try \`$progname --help' for more information about other modes."
  79576. -
  79577. - exit $?
  79578. + echo
  79579. + $ECHO "Try '$progname --help' for more information about other modes."
  79580. }
  79581.  
  79582. - # Now that we've collected a possible --mode arg, show help if necessary
  79583. - $opt_help && func_mode_help
  79584. +# Now that we've collected a possible --mode arg, show help if necessary
  79585. +if $opt_help; then
  79586. + if test : = "$opt_help"; then
  79587. + func_mode_help
  79588. + else
  79589. + {
  79590. + func_help noexit
  79591. + for opt_mode in compile link execute install finish uninstall clean; do
  79592. + func_mode_help
  79593. + done
  79594. + } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
  79595. + {
  79596. + func_help noexit
  79597. + for opt_mode in compile link execute install finish uninstall clean; do
  79598. + echo
  79599. + func_mode_help
  79600. + done
  79601. + } |
  79602. + $SED '1d
  79603. + /^When reporting/,/^Report/{
  79604. + H
  79605. + d
  79606. + }
  79607. + $x
  79608. + /information about other modes/d
  79609. + /more detailed .*MODE/d
  79610. + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
  79611. + fi
  79612. + exit $?
  79613. +fi
  79614.  
  79615.  
  79616. # func_mode_execute arg...
  79617. func_mode_execute ()
  79618. {
  79619. - $opt_debug
  79620. + $debug_cmd
  79621. +
  79622. # The first argument is the command name.
  79623. - cmd="$nonopt"
  79624. + cmd=$nonopt
  79625. test -z "$cmd" && \
  79626. func_fatal_help "you must specify a COMMAND"
  79627.  
  79628. # Handle -dlopen flags immediately.
  79629. - for file in $execute_dlfiles; do
  79630. + for file in $opt_dlopen; do
  79631. test -f "$file" \
  79632. - || func_fatal_help "\`$file' is not a file"
  79633. + || func_fatal_help "'$file' is not a file"
  79634.  
  79635. dir=
  79636. case $file in
  79637. *.la)
  79638. + func_resolve_sysroot "$file"
  79639. + file=$func_resolve_sysroot_result
  79640. +
  79641. # Check to see that this really is a libtool archive.
  79642. func_lalib_unsafe_p "$file" \
  79643. - || func_fatal_help "\`$lib' is not a valid libtool archive"
  79644. + || func_fatal_help "'$lib' is not a valid libtool archive"
  79645.  
  79646. # Read the libtool library.
  79647. dlname=
  79648. @@ -1663,18 +3864,18 @@
  79649. if test -z "$dlname"; then
  79650. # Warn if it was a shared library.
  79651. test -n "$library_names" && \
  79652. - func_warning "\`$file' was not linked with \`-export-dynamic'"
  79653. + func_warning "'$file' was not linked with '-export-dynamic'"
  79654. continue
  79655. fi
  79656.  
  79657. func_dirname "$file" "" "."
  79658. - dir="$func_dirname_result"
  79659. + dir=$func_dirname_result
  79660.  
  79661. if test -f "$dir/$objdir/$dlname"; then
  79662. - dir="$dir/$objdir"
  79663. + func_append dir "/$objdir"
  79664. else
  79665. if test ! -f "$dir/$dlname"; then
  79666. - func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  79667. + func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
  79668. fi
  79669. fi
  79670. ;;
  79671. @@ -1682,18 +3883,18 @@
  79672. *.lo)
  79673. # Just add the directory containing the .lo file.
  79674. func_dirname "$file" "" "."
  79675. - dir="$func_dirname_result"
  79676. + dir=$func_dirname_result
  79677. ;;
  79678.  
  79679. *)
  79680. - func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  79681. + func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
  79682. continue
  79683. ;;
  79684. esac
  79685.  
  79686. # Get the absolute pathname.
  79687. absdir=`cd "$dir" && pwd`
  79688. - test -n "$absdir" && dir="$absdir"
  79689. + test -n "$absdir" && dir=$absdir
  79690.  
  79691. # Now add the directory to shlibpath_var.
  79692. if eval "test -z \"\$$shlibpath_var\""; then
  79693. @@ -1705,34 +3906,41 @@
  79694.  
  79695. # This variable tells wrapper scripts just to set shlibpath_var
  79696. # rather than running their programs.
  79697. - libtool_execute_magic="$magic"
  79698. + libtool_execute_magic=$magic
  79699.  
  79700. # Check if any of the arguments is a wrapper script.
  79701. args=
  79702. for file
  79703. do
  79704. case $file in
  79705. - -*) ;;
  79706. + -* | *.la | *.lo ) ;;
  79707. *)
  79708. # Do a test to see if this is really a libtool program.
  79709. if func_ltwrapper_script_p "$file"; then
  79710. func_source "$file"
  79711. # Transform arg to wrapped name.
  79712. - file="$progdir/$program"
  79713. + file=$progdir/$program
  79714. elif func_ltwrapper_executable_p "$file"; then
  79715. func_ltwrapper_scriptname "$file"
  79716. func_source "$func_ltwrapper_scriptname_result"
  79717. # Transform arg to wrapped name.
  79718. - file="$progdir/$program"
  79719. + file=$progdir/$program
  79720. fi
  79721. ;;
  79722. esac
  79723. # Quote arguments (to preserve shell metacharacters).
  79724. - func_quote_for_eval "$file"
  79725. - args="$args $func_quote_for_eval_result"
  79726. + func_append_quoted args "$file"
  79727. done
  79728.  
  79729. - if test "X$opt_dry_run" = Xfalse; then
  79730. + if $opt_dry_run; then
  79731. + # Display what would be done.
  79732. + if test -n "$shlibpath_var"; then
  79733. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  79734. + echo "export $shlibpath_var"
  79735. + fi
  79736. + $ECHO "$cmd$args"
  79737. + exit $EXIT_SUCCESS
  79738. + else
  79739. if test -n "$shlibpath_var"; then
  79740. # Export the shlibpath_var.
  79741. eval "export $shlibpath_var"
  79742. @@ -1749,34 +3957,64 @@
  79743. done
  79744.  
  79745. # Now prepare to actually exec the command.
  79746. - exec_cmd="\$cmd$args"
  79747. - else
  79748. - # Display what would be done.
  79749. - if test -n "$shlibpath_var"; then
  79750. - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  79751. - $ECHO "export $shlibpath_var"
  79752. - fi
  79753. - $ECHO "$cmd$args"
  79754. - exit $EXIT_SUCCESS
  79755. + exec_cmd=\$cmd$args
  79756. fi
  79757. }
  79758.  
  79759. -test "$mode" = execute && func_mode_execute ${1+"$@"}
  79760. +test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
  79761.  
  79762.  
  79763. # func_mode_finish arg...
  79764. func_mode_finish ()
  79765. {
  79766. - $opt_debug
  79767. - libdirs="$nonopt"
  79768. + $debug_cmd
  79769. +
  79770. + libs=
  79771. + libdirs=
  79772. admincmds=
  79773.  
  79774. - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  79775. - for dir
  79776. - do
  79777. - libdirs="$libdirs $dir"
  79778. - done
  79779. + for opt in "$nonopt" ${1+"$@"}
  79780. + do
  79781. + if test -d "$opt"; then
  79782. + func_append libdirs " $opt"
  79783. +
  79784. + elif test -f "$opt"; then
  79785. + if func_lalib_unsafe_p "$opt"; then
  79786. + func_append libs " $opt"
  79787. + else
  79788. + func_warning "'$opt' is not a valid libtool archive"
  79789. + fi
  79790.  
  79791. + else
  79792. + func_fatal_error "invalid argument '$opt'"
  79793. + fi
  79794. + done
  79795. +
  79796. + if test -n "$libs"; then
  79797. + if test -n "$lt_sysroot"; then
  79798. + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
  79799. + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
  79800. + else
  79801. + sysroot_cmd=
  79802. + fi
  79803. +
  79804. + # Remove sysroot references
  79805. + if $opt_dry_run; then
  79806. + for lib in $libs; do
  79807. + echo "removing references to $lt_sysroot and '=' prefixes from $lib"
  79808. + done
  79809. + else
  79810. + tmpdir=`func_mktempdir`
  79811. + for lib in $libs; do
  79812. + $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
  79813. + > $tmpdir/tmp-la
  79814. + mv -f $tmpdir/tmp-la $lib
  79815. + done
  79816. + ${RM}r "$tmpdir"
  79817. + fi
  79818. + fi
  79819. +
  79820. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  79821. for libdir in $libdirs; do
  79822. if test -n "$finish_cmds"; then
  79823. # Do each command in the finish commands.
  79824. @@ -1786,73 +4024,77 @@
  79825. if test -n "$finish_eval"; then
  79826. # Do the single finish_eval.
  79827. eval cmds=\"$finish_eval\"
  79828. - $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  79829. + $opt_dry_run || eval "$cmds" || func_append admincmds "
  79830. $cmds"
  79831. fi
  79832. done
  79833. fi
  79834.  
  79835. # Exit here if they wanted silent mode.
  79836. - $opt_silent && exit $EXIT_SUCCESS
  79837. + $opt_quiet && exit $EXIT_SUCCESS
  79838.  
  79839. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  79840. - $ECHO "Libraries have been installed in:"
  79841. - for libdir in $libdirs; do
  79842. - $ECHO " $libdir"
  79843. - done
  79844. - $ECHO
  79845. - $ECHO "If you ever happen to want to link against installed libraries"
  79846. - $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  79847. - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  79848. - $ECHO "flag during linking and do at least one of the following:"
  79849. - if test -n "$shlibpath_var"; then
  79850. - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  79851. - $ECHO " during execution"
  79852. - fi
  79853. - if test -n "$runpath_var"; then
  79854. - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  79855. - $ECHO " during linking"
  79856. - fi
  79857. - if test -n "$hardcode_libdir_flag_spec"; then
  79858. - libdir=LIBDIR
  79859. - eval flag=\"$hardcode_libdir_flag_spec\"
  79860. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  79861. + echo "----------------------------------------------------------------------"
  79862. + echo "Libraries have been installed in:"
  79863. + for libdir in $libdirs; do
  79864. + $ECHO " $libdir"
  79865. + done
  79866. + echo
  79867. + echo "If you ever happen to want to link against installed libraries"
  79868. + echo "in a given directory, LIBDIR, you must either use libtool, and"
  79869. + echo "specify the full pathname of the library, or use the '-LLIBDIR'"
  79870. + echo "flag during linking and do at least one of the following:"
  79871. + if test -n "$shlibpath_var"; then
  79872. + echo " - add LIBDIR to the '$shlibpath_var' environment variable"
  79873. + echo " during execution"
  79874. + fi
  79875. + if test -n "$runpath_var"; then
  79876. + echo " - add LIBDIR to the '$runpath_var' environment variable"
  79877. + echo " during linking"
  79878. + fi
  79879. + if test -n "$hardcode_libdir_flag_spec"; then
  79880. + libdir=LIBDIR
  79881. + eval flag=\"$hardcode_libdir_flag_spec\"
  79882.  
  79883. - $ECHO " - use the \`$flag' linker flag"
  79884. - fi
  79885. - if test -n "$admincmds"; then
  79886. - $ECHO " - have your system administrator run these commands:$admincmds"
  79887. - fi
  79888. - if test -f /etc/ld.so.conf; then
  79889. - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  79890. - fi
  79891. - $ECHO
  79892. + $ECHO " - use the '$flag' linker flag"
  79893. + fi
  79894. + if test -n "$admincmds"; then
  79895. + $ECHO " - have your system administrator run these commands:$admincmds"
  79896. + fi
  79897. + if test -f /etc/ld.so.conf; then
  79898. + echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
  79899. + fi
  79900. + echo
  79901.  
  79902. - $ECHO "See any operating system documentation about shared libraries for"
  79903. - case $host in
  79904. - solaris2.[6789]|solaris2.1[0-9])
  79905. - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  79906. - $ECHO "pages."
  79907. - ;;
  79908. - *)
  79909. - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  79910. - ;;
  79911. - esac
  79912. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  79913. + echo "See any operating system documentation about shared libraries for"
  79914. + case $host in
  79915. + solaris2.[6789]|solaris2.1[0-9])
  79916. + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  79917. + echo "pages."
  79918. + ;;
  79919. + *)
  79920. + echo "more information, such as the ld(1) and ld.so(8) manual pages."
  79921. + ;;
  79922. + esac
  79923. + echo "----------------------------------------------------------------------"
  79924. + fi
  79925. exit $EXIT_SUCCESS
  79926. }
  79927.  
  79928. -test "$mode" = finish && func_mode_finish ${1+"$@"}
  79929. +test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
  79930.  
  79931.  
  79932. # func_mode_install arg...
  79933. func_mode_install ()
  79934. {
  79935. - $opt_debug
  79936. + $debug_cmd
  79937. +
  79938. # There may be an optional sh(1) argument at the beginning of
  79939. # install_prog (especially on Windows NT).
  79940. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  79941. + if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
  79942. # Allow the use of GNU shtool's install command.
  79943. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  79944. + case $nonopt in *shtool*) :;; *) false;; esac
  79945. + then
  79946. # Aesthetically quote it.
  79947. func_quote_for_eval "$nonopt"
  79948. install_prog="$func_quote_for_eval_result "
  79949. @@ -1866,7 +4108,12 @@
  79950. # The real first argument should be the name of the installation program.
  79951. # Aesthetically quote it.
  79952. func_quote_for_eval "$arg"
  79953. - install_prog="$install_prog$func_quote_for_eval_result"
  79954. + func_append install_prog "$func_quote_for_eval_result"
  79955. + install_shared_prog=$install_prog
  79956. + case " $install_prog " in
  79957. + *[\\\ /]cp\ *) install_cp=: ;;
  79958. + *) install_cp=false ;;
  79959. + esac
  79960.  
  79961. # We need to accept at least all the BSD install flags.
  79962. dest=
  79963. @@ -1874,23 +4121,24 @@
  79964. opts=
  79965. prev=
  79966. install_type=
  79967. - isdir=no
  79968. + isdir=false
  79969. stripme=
  79970. + no_mode=:
  79971. for arg
  79972. do
  79973. + arg2=
  79974. if test -n "$dest"; then
  79975. - files="$files $dest"
  79976. + func_append files " $dest"
  79977. dest=$arg
  79978. continue
  79979. fi
  79980.  
  79981. case $arg in
  79982. - -d) isdir=yes ;;
  79983. + -d) isdir=: ;;
  79984. -f)
  79985. - case " $install_prog " in
  79986. - *[\\\ /]cp\ *) ;;
  79987. - *) prev=$arg ;;
  79988. - esac
  79989. + if $install_cp; then :; else
  79990. + prev=$arg
  79991. + fi
  79992. ;;
  79993. -g | -m | -o)
  79994. prev=$arg
  79995. @@ -1904,6 +4152,10 @@
  79996. *)
  79997. # If the previous option needed an argument, then skip it.
  79998. if test -n "$prev"; then
  79999. + if test X-m = "X$prev" && test -n "$install_override_mode"; then
  80000. + arg2=$install_override_mode
  80001. + no_mode=false
  80002. + fi
  80003. prev=
  80004. else
  80005. dest=$arg
  80006. @@ -1914,14 +4166,25 @@
  80007.  
  80008. # Aesthetically quote the argument.
  80009. func_quote_for_eval "$arg"
  80010. - install_prog="$install_prog $func_quote_for_eval_result"
  80011. + func_append install_prog " $func_quote_for_eval_result"
  80012. + if test -n "$arg2"; then
  80013. + func_quote_for_eval "$arg2"
  80014. + fi
  80015. + func_append install_shared_prog " $func_quote_for_eval_result"
  80016. done
  80017.  
  80018. test -z "$install_prog" && \
  80019. func_fatal_help "you must specify an install program"
  80020.  
  80021. test -n "$prev" && \
  80022. - func_fatal_help "the \`$prev' option requires an argument"
  80023. + func_fatal_help "the '$prev' option requires an argument"
  80024. +
  80025. + if test -n "$install_override_mode" && $no_mode; then
  80026. + if $install_cp; then :; else
  80027. + func_quote_for_eval "$install_override_mode"
  80028. + func_append install_shared_prog " -m $func_quote_for_eval_result"
  80029. + fi
  80030. + fi
  80031.  
  80032. if test -z "$files"; then
  80033. if test -z "$dest"; then
  80034. @@ -1936,19 +4199,19 @@
  80035. dest=$func_stripname_result
  80036.  
  80037. # Check to see that the destination is a directory.
  80038. - test -d "$dest" && isdir=yes
  80039. - if test "$isdir" = yes; then
  80040. - destdir="$dest"
  80041. + test -d "$dest" && isdir=:
  80042. + if $isdir; then
  80043. + destdir=$dest
  80044. destname=
  80045. else
  80046. func_dirname_and_basename "$dest" "" "."
  80047. - destdir="$func_dirname_result"
  80048. - destname="$func_basename_result"
  80049. + destdir=$func_dirname_result
  80050. + destname=$func_basename_result
  80051.  
  80052. # Not a directory, so check to see that there is only one file specified.
  80053. set dummy $files; shift
  80054. test "$#" -gt 1 && \
  80055. - func_fatal_help "\`$dest' is not a directory"
  80056. + func_fatal_help "'$dest' is not a directory"
  80057. fi
  80058. case $destdir in
  80059. [\\/]* | [A-Za-z]:[\\/]*) ;;
  80060. @@ -1957,7 +4220,7 @@
  80061. case $file in
  80062. *.lo) ;;
  80063. *)
  80064. - func_fatal_help "\`$destdir' must be an absolute directory name"
  80065. + func_fatal_help "'$destdir' must be an absolute directory name"
  80066. ;;
  80067. esac
  80068. done
  80069. @@ -1966,7 +4229,7 @@
  80070.  
  80071. # This variable tells wrapper scripts just to set variables rather
  80072. # than running their programs.
  80073. - libtool_install_magic="$magic"
  80074. + libtool_install_magic=$magic
  80075.  
  80076. staticlibs=
  80077. future_libdirs=
  80078. @@ -1977,13 +4240,16 @@
  80079. case $file in
  80080. *.$libext)
  80081. # Do the static libraries later.
  80082. - staticlibs="$staticlibs $file"
  80083. + func_append staticlibs " $file"
  80084. ;;
  80085.  
  80086. *.la)
  80087. + func_resolve_sysroot "$file"
  80088. + file=$func_resolve_sysroot_result
  80089. +
  80090. # Check to see that this really is a libtool archive.
  80091. func_lalib_unsafe_p "$file" \
  80092. - || func_fatal_help "\`$file' is not a valid libtool archive"
  80093. + || func_fatal_help "'$file' is not a valid libtool archive"
  80094.  
  80095. library_names=
  80096. old_library=
  80097. @@ -1994,23 +4260,23 @@
  80098. if test "X$destdir" = "X$libdir"; then
  80099. case "$current_libdirs " in
  80100. *" $libdir "*) ;;
  80101. - *) current_libdirs="$current_libdirs $libdir" ;;
  80102. + *) func_append current_libdirs " $libdir" ;;
  80103. esac
  80104. else
  80105. # Note the libdir as a future libdir.
  80106. case "$future_libdirs " in
  80107. *" $libdir "*) ;;
  80108. - *) future_libdirs="$future_libdirs $libdir" ;;
  80109. + *) func_append future_libdirs " $libdir" ;;
  80110. esac
  80111. fi
  80112.  
  80113. func_dirname "$file" "/" ""
  80114. - dir="$func_dirname_result"
  80115. - dir="$dir$objdir"
  80116. + dir=$func_dirname_result
  80117. + func_append dir "$objdir"
  80118.  
  80119. if test -n "$relink_command"; then
  80120. # Determine the prefix the user has applied to our future dir.
  80121. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  80122. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
  80123.  
  80124. # Don't allow the user to place us outside of our expected
  80125. # location b/c this prevents finding dependent libraries that
  80126. @@ -2019,38 +4285,45 @@
  80127. # are installed into $libdir/../bin (currently, that works fine)
  80128. # but it's something to keep an eye on.
  80129. test "$inst_prefix_dir" = "$destdir" && \
  80130. - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  80131. + func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
  80132.  
  80133. if test -n "$inst_prefix_dir"; then
  80134. # Stick the inst_prefix_dir data into the link command.
  80135. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  80136. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  80137. else
  80138. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  80139. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  80140. fi
  80141.  
  80142. - func_warning "relinking \`$file'"
  80143. + func_warning "relinking '$file'"
  80144. func_show_eval "$relink_command" \
  80145. - 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  80146. + 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
  80147. fi
  80148.  
  80149. # See the names of the shared library.
  80150. set dummy $library_names; shift
  80151. if test -n "$1"; then
  80152. - realname="$1"
  80153. + realname=$1
  80154. shift
  80155.  
  80156. - srcname="$realname"
  80157. - test -n "$relink_command" && srcname="$realname"T
  80158. + srcname=$realname
  80159. + test -n "$relink_command" && srcname=${realname}T
  80160.  
  80161. # Install the shared library and build the symlinks.
  80162. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  80163. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
  80164. 'exit $?'
  80165. - tstripme="$stripme"
  80166. + tstripme=$stripme
  80167. case $host_os in
  80168. cygwin* | mingw* | pw32* | cegcc*)
  80169. case $realname in
  80170. *.dll.a)
  80171. - tstripme=""
  80172. + tstripme=
  80173. + ;;
  80174. + esac
  80175. + ;;
  80176. + os2*)
  80177. + case $realname in
  80178. + *_dll.a)
  80179. + tstripme=
  80180. ;;
  80181. esac
  80182. ;;
  80183. @@ -2061,7 +4334,7 @@
  80184.  
  80185. if test "$#" -gt 0; then
  80186. # Delete the old symlinks, and create new ones.
  80187. - # Try `ln -sf' first, because the `ln' binary might depend on
  80188. + # Try 'ln -sf' first, because the 'ln' binary might depend on
  80189. # the symlink we replace! Solaris /bin/ln does not understand -f,
  80190. # so we also need to try rm && ln -s.
  80191. for linkname
  80192. @@ -2072,18 +4345,18 @@
  80193. fi
  80194.  
  80195. # Do each command in the postinstall commands.
  80196. - lib="$destdir/$realname"
  80197. + lib=$destdir/$realname
  80198. func_execute_cmds "$postinstall_cmds" 'exit $?'
  80199. fi
  80200.  
  80201. # Install the pseudo-library for information purposes.
  80202. func_basename "$file"
  80203. - name="$func_basename_result"
  80204. - instname="$dir/$name"i
  80205. + name=$func_basename_result
  80206. + instname=$dir/${name}i
  80207. func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  80208.  
  80209. # Maybe install the static library, too.
  80210. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  80211. + test -n "$old_library" && func_append staticlibs " $dir/$old_library"
  80212. ;;
  80213.  
  80214. *.lo)
  80215. @@ -2091,11 +4364,11 @@
  80216.  
  80217. # Figure out destination file name, if it wasn't already specified.
  80218. if test -n "$destname"; then
  80219. - destfile="$destdir/$destname"
  80220. + destfile=$destdir/$destname
  80221. else
  80222. func_basename "$file"
  80223. - destfile="$func_basename_result"
  80224. - destfile="$destdir/$destfile"
  80225. + destfile=$func_basename_result
  80226. + destfile=$destdir/$destfile
  80227. fi
  80228.  
  80229. # Deduce the name of the destination old-style object file.
  80230. @@ -2105,11 +4378,11 @@
  80231. staticdest=$func_lo2o_result
  80232. ;;
  80233. *.$objext)
  80234. - staticdest="$destfile"
  80235. + staticdest=$destfile
  80236. destfile=
  80237. ;;
  80238. *)
  80239. - func_fatal_help "cannot copy a libtool object to \`$destfile'"
  80240. + func_fatal_help "cannot copy a libtool object to '$destfile'"
  80241. ;;
  80242. esac
  80243.  
  80244. @@ -2118,7 +4391,7 @@
  80245. func_show_eval "$install_prog $file $destfile" 'exit $?'
  80246.  
  80247. # Install the old object if enabled.
  80248. - if test "$build_old_libs" = yes; then
  80249. + if test yes = "$build_old_libs"; then
  80250. # Deduce the name of the old-style object file.
  80251. func_lo2o "$file"
  80252. staticobj=$func_lo2o_result
  80253. @@ -2130,23 +4403,23 @@
  80254. *)
  80255. # Figure out destination file name, if it wasn't already specified.
  80256. if test -n "$destname"; then
  80257. - destfile="$destdir/$destname"
  80258. + destfile=$destdir/$destname
  80259. else
  80260. func_basename "$file"
  80261. - destfile="$func_basename_result"
  80262. - destfile="$destdir/$destfile"
  80263. + destfile=$func_basename_result
  80264. + destfile=$destdir/$destfile
  80265. fi
  80266.  
  80267. # If the file is missing, and there is a .exe on the end, strip it
  80268. # because it is most likely a libtool script we actually want to
  80269. # install
  80270. - stripped_ext=""
  80271. + stripped_ext=
  80272. case $file in
  80273. *.exe)
  80274. if test ! -f "$file"; then
  80275. func_stripname '' '.exe' "$file"
  80276. file=$func_stripname_result
  80277. - stripped_ext=".exe"
  80278. + stripped_ext=.exe
  80279. fi
  80280. ;;
  80281. esac
  80282. @@ -2174,19 +4447,19 @@
  80283.  
  80284. # Check the variables that should have been set.
  80285. test -z "$generated_by_libtool_version" && \
  80286. - func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  80287. + func_fatal_error "invalid libtool wrapper script '$wrapper'"
  80288.  
  80289. - finalize=yes
  80290. + finalize=:
  80291. for lib in $notinst_deplibs; do
  80292. # Check to see that each library is installed.
  80293. libdir=
  80294. if test -f "$lib"; then
  80295. func_source "$lib"
  80296. fi
  80297. - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  80298. + libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
  80299. if test -n "$libdir" && test ! -f "$libfile"; then
  80300. - func_warning "\`$lib' has not been installed in \`$libdir'"
  80301. - finalize=no
  80302. + func_warning "'$lib' has not been installed in '$libdir'"
  80303. + finalize=false
  80304. fi
  80305. done
  80306.  
  80307. @@ -2194,34 +4467,34 @@
  80308. func_source "$wrapper"
  80309.  
  80310. outputname=
  80311. - if test "$fast_install" = no && test -n "$relink_command"; then
  80312. + if test no = "$fast_install" && test -n "$relink_command"; then
  80313. $opt_dry_run || {
  80314. - if test "$finalize" = yes; then
  80315. + if $finalize; then
  80316. tmpdir=`func_mktempdir`
  80317. func_basename "$file$stripped_ext"
  80318. - file="$func_basename_result"
  80319. - outputname="$tmpdir/$file"
  80320. + file=$func_basename_result
  80321. + outputname=$tmpdir/$file
  80322. # Replace the output file specification.
  80323. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  80324. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
  80325.  
  80326. - $opt_silent || {
  80327. + $opt_quiet || {
  80328. func_quote_for_expand "$relink_command"
  80329. eval "func_echo $func_quote_for_expand_result"
  80330. }
  80331. if eval "$relink_command"; then :
  80332. else
  80333. - func_error "error: relink \`$file' with the above command before installing it"
  80334. + func_error "error: relink '$file' with the above command before installing it"
  80335. $opt_dry_run || ${RM}r "$tmpdir"
  80336. continue
  80337. fi
  80338. - file="$outputname"
  80339. + file=$outputname
  80340. else
  80341. - func_warning "cannot relink \`$file'"
  80342. + func_warning "cannot relink '$file'"
  80343. fi
  80344. }
  80345. else
  80346. # Install the binary that we compiled earlier.
  80347. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  80348. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
  80349. fi
  80350. fi
  80351.  
  80352. @@ -2253,15 +4526,17 @@
  80353.  
  80354. for file in $staticlibs; do
  80355. func_basename "$file"
  80356. - name="$func_basename_result"
  80357. + name=$func_basename_result
  80358.  
  80359. # Set up the ranlib parameters.
  80360. - oldlib="$destdir/$name"
  80361. + oldlib=$destdir/$name
  80362. + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
  80363. + tool_oldlib=$func_to_tool_file_result
  80364.  
  80365. func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  80366.  
  80367. if test -n "$stripme" && test -n "$old_striplib"; then
  80368. - func_show_eval "$old_striplib $oldlib" 'exit $?'
  80369. + func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
  80370. fi
  80371.  
  80372. # Do each command in the postinstall commands.
  80373. @@ -2269,18 +4544,18 @@
  80374. done
  80375.  
  80376. test -n "$future_libdirs" && \
  80377. - func_warning "remember to run \`$progname --finish$future_libdirs'"
  80378. + func_warning "remember to run '$progname --finish$future_libdirs'"
  80379.  
  80380. if test -n "$current_libdirs"; then
  80381. # Maybe just do a dry run.
  80382. $opt_dry_run && current_libdirs=" -n$current_libdirs"
  80383. - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  80384. + exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
  80385. else
  80386. exit $EXIT_SUCCESS
  80387. fi
  80388. }
  80389.  
  80390. -test "$mode" = install && func_mode_install ${1+"$@"}
  80391. +test install = "$opt_mode" && func_mode_install ${1+"$@"}
  80392.  
  80393.  
  80394. # func_generate_dlsyms outputname originator pic_p
  80395. @@ -2288,16 +4563,17 @@
  80396. # a dlpreopen symbol table.
  80397. func_generate_dlsyms ()
  80398. {
  80399. - $opt_debug
  80400. - my_outputname="$1"
  80401. - my_originator="$2"
  80402. - my_pic_p="${3-no}"
  80403. - my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  80404. + $debug_cmd
  80405. +
  80406. + my_outputname=$1
  80407. + my_originator=$2
  80408. + my_pic_p=${3-false}
  80409. + my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
  80410. my_dlsyms=
  80411.  
  80412. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  80413. + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
  80414. if test -n "$NM" && test -n "$global_symbol_pipe"; then
  80415. - my_dlsyms="${my_outputname}S.c"
  80416. + my_dlsyms=${my_outputname}S.c
  80417. else
  80418. func_error "not configured to extract global symbols from dlpreopened files"
  80419. fi
  80420. @@ -2308,7 +4584,7 @@
  80421. "") ;;
  80422. *.c)
  80423. # Discover the nlist of each of the dlfiles.
  80424. - nlist="$output_objdir/${my_outputname}.nm"
  80425. + nlist=$output_objdir/$my_outputname.nm
  80426.  
  80427. func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  80428.  
  80429. @@ -2316,26 +4592,45 @@
  80430. func_verbose "creating $output_objdir/$my_dlsyms"
  80431.  
  80432. $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  80433. -/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  80434. -/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  80435. +/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
  80436. +/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
  80437.  
  80438. #ifdef __cplusplus
  80439. extern \"C\" {
  80440. #endif
  80441.  
  80442. +#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
  80443. +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
  80444. +#endif
  80445. +
  80446. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  80447. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  80448. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  80449. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  80450. +# define LT_DLSYM_CONST
  80451. +#elif defined __osf__
  80452. +/* This system does not cope well with relocations in const data. */
  80453. +# define LT_DLSYM_CONST
  80454. +#else
  80455. +# define LT_DLSYM_CONST const
  80456. +#endif
  80457. +
  80458. +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
  80459. +
  80460. /* External symbol declarations for the compiler. */\
  80461. "
  80462.  
  80463. - if test "$dlself" = yes; then
  80464. - func_verbose "generating symbol list for \`$output'"
  80465. + if test yes = "$dlself"; then
  80466. + func_verbose "generating symbol list for '$output'"
  80467.  
  80468. $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  80469.  
  80470. # Add our own program objects to the symbol list.
  80471. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  80472. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  80473. for progfile in $progfiles; do
  80474. - func_verbose "extracting global C symbols from \`$progfile'"
  80475. - $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  80476. + func_to_tool_file "$progfile" func_convert_file_msys_to_w32
  80477. + func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
  80478. + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
  80479. done
  80480.  
  80481. if test -n "$exclude_expsyms"; then
  80482. @@ -2354,10 +4649,10 @@
  80483.  
  80484. # Prepare the list of exported symbols
  80485. if test -z "$export_symbols"; then
  80486. - export_symbols="$output_objdir/$outputname.exp"
  80487. + export_symbols=$output_objdir/$outputname.exp
  80488. $opt_dry_run || {
  80489. $RM $export_symbols
  80490. - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  80491. + eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  80492. case $host in
  80493. *cygwin* | *mingw* | *cegcc* )
  80494. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  80495. @@ -2367,11 +4662,11 @@
  80496. }
  80497. else
  80498. $opt_dry_run || {
  80499. - eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  80500. + eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  80501. eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  80502. eval '$MV "$nlist"T "$nlist"'
  80503. case $host in
  80504. - *cygwin | *mingw* | *cegcc* )
  80505. + *cygwin* | *mingw* | *cegcc* )
  80506. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  80507. eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  80508. ;;
  80509. @@ -2381,13 +4676,55 @@
  80510. fi
  80511.  
  80512. for dlprefile in $dlprefiles; do
  80513. - func_verbose "extracting global C symbols from \`$dlprefile'"
  80514. + func_verbose "extracting global C symbols from '$dlprefile'"
  80515. func_basename "$dlprefile"
  80516. - name="$func_basename_result"
  80517. - $opt_dry_run || {
  80518. - eval '$ECHO ": $name " >> "$nlist"'
  80519. - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  80520. - }
  80521. + name=$func_basename_result
  80522. + case $host in
  80523. + *cygwin* | *mingw* | *cegcc* )
  80524. + # if an import library, we need to obtain dlname
  80525. + if func_win32_import_lib_p "$dlprefile"; then
  80526. + func_tr_sh "$dlprefile"
  80527. + eval "curr_lafile=\$libfile_$func_tr_sh_result"
  80528. + dlprefile_dlbasename=
  80529. + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
  80530. + # Use subshell, to avoid clobbering current variable values
  80531. + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
  80532. + if test -n "$dlprefile_dlname"; then
  80533. + func_basename "$dlprefile_dlname"
  80534. + dlprefile_dlbasename=$func_basename_result
  80535. + else
  80536. + # no lafile. user explicitly requested -dlpreopen <import library>.
  80537. + $sharedlib_from_linklib_cmd "$dlprefile"
  80538. + dlprefile_dlbasename=$sharedlib_from_linklib_result
  80539. + fi
  80540. + fi
  80541. + $opt_dry_run || {
  80542. + if test -n "$dlprefile_dlbasename"; then
  80543. + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
  80544. + else
  80545. + func_warning "Could not compute DLL name from $name"
  80546. + eval '$ECHO ": $name " >> "$nlist"'
  80547. + fi
  80548. + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
  80549. + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
  80550. + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
  80551. + }
  80552. + else # not an import lib
  80553. + $opt_dry_run || {
  80554. + eval '$ECHO ": $name " >> "$nlist"'
  80555. + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
  80556. + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  80557. + }
  80558. + fi
  80559. + ;;
  80560. + *)
  80561. + $opt_dry_run || {
  80562. + eval '$ECHO ": $name " >> "$nlist"'
  80563. + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
  80564. + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  80565. + }
  80566. + ;;
  80567. + esac
  80568. done
  80569.  
  80570. $opt_dry_run || {
  80571. @@ -2415,39 +4752,46 @@
  80572. if test -f "$nlist"S; then
  80573. eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  80574. else
  80575. - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  80576. + echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
  80577. fi
  80578.  
  80579. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80580. + func_show_eval '$RM "${nlist}I"'
  80581. + if test -n "$global_symbol_to_import"; then
  80582. + eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
  80583. + fi
  80584. +
  80585. + echo >> "$output_objdir/$my_dlsyms" "\
  80586.  
  80587. /* The mapping between symbol names and symbols. */
  80588. typedef struct {
  80589. const char *name;
  80590. void *address;
  80591. } lt_dlsymlist;
  80592. +extern LT_DLSYM_CONST lt_dlsymlist
  80593. +lt_${my_prefix}_LTX_preloaded_symbols[];\
  80594. "
  80595. - case $host in
  80596. - *cygwin* | *mingw* | *cegcc* )
  80597. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80598. -/* DATA imports from DLLs on WIN32 con't be const, because
  80599. - runtime relocations are performed -- see ld's documentation
  80600. - on pseudo-relocs. */"
  80601. - lt_dlsym_const= ;;
  80602. - *osf5*)
  80603. - echo >> "$output_objdir/$my_dlsyms" "\
  80604. -/* This system does not cope well with relocations in const data */"
  80605. - lt_dlsym_const= ;;
  80606. - *)
  80607. - lt_dlsym_const=const ;;
  80608. - esac
  80609.  
  80610. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80611. -extern $lt_dlsym_const lt_dlsymlist
  80612. -lt_${my_prefix}_LTX_preloaded_symbols[];
  80613. -$lt_dlsym_const lt_dlsymlist
  80614. + if test -s "$nlist"I; then
  80615. + echo >> "$output_objdir/$my_dlsyms" "\
  80616. +static void lt_syminit(void)
  80617. +{
  80618. + LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
  80619. + for (; symbol->name; ++symbol)
  80620. + {"
  80621. + $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
  80622. + echo >> "$output_objdir/$my_dlsyms" "\
  80623. + }
  80624. +}"
  80625. + fi
  80626. + echo >> "$output_objdir/$my_dlsyms" "\
  80627. +LT_DLSYM_CONST lt_dlsymlist
  80628. lt_${my_prefix}_LTX_preloaded_symbols[] =
  80629. -{\
  80630. - { \"$my_originator\", (void *) 0 },"
  80631. +{ {\"$my_originator\", (void *) 0},"
  80632. +
  80633. + if test -s "$nlist"I; then
  80634. + echo >> "$output_objdir/$my_dlsyms" "\
  80635. + {\"@INIT@\", (void *) &lt_syminit},"
  80636. + fi
  80637.  
  80638. case $need_lib_prefix in
  80639. no)
  80640. @@ -2457,7 +4801,7 @@
  80641. eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  80642. ;;
  80643. esac
  80644. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  80645. + echo >> "$output_objdir/$my_dlsyms" "\
  80646. {0, (void *) 0}
  80647. };
  80648.  
  80649. @@ -2484,14 +4828,12 @@
  80650. # linked before any other PIC object. But we must not use
  80651. # pic_flag when linking with -static. The problem exists in
  80652. # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  80653. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  80654. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  80655. pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  80656. *-*-hpux*)
  80657. pic_flag_for_symtable=" $pic_flag" ;;
  80658. *)
  80659. - if test "X$my_pic_p" != Xno; then
  80660. - pic_flag_for_symtable=" $pic_flag"
  80661. - fi
  80662. + $my_pic_p && pic_flag_for_symtable=" $pic_flag"
  80663. ;;
  80664. esac
  80665. ;;
  80666. @@ -2500,7 +4842,7 @@
  80667. for arg in $LTCFLAGS; do
  80668. case $arg in
  80669. -pie | -fpie | -fPIE) ;;
  80670. - *) symtab_cflags="$symtab_cflags $arg" ;;
  80671. + *) func_append symtab_cflags " $arg" ;;
  80672. esac
  80673. done
  80674.  
  80675. @@ -2508,28 +4850,28 @@
  80676. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  80677.  
  80678. # Clean up the generated files.
  80679. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  80680. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
  80681.  
  80682. # Transform the symbol file into the correct name.
  80683. - symfileobj="$output_objdir/${my_outputname}S.$objext"
  80684. + symfileobj=$output_objdir/${my_outputname}S.$objext
  80685. case $host in
  80686. *cygwin* | *mingw* | *cegcc* )
  80687. if test -f "$output_objdir/$my_outputname.def"; then
  80688. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80689. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80690. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80691. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  80692. else
  80693. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80694. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80695. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80696. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80697. fi
  80698. ;;
  80699. *)
  80700. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80701. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  80702. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80703. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  80704. ;;
  80705. esac
  80706. ;;
  80707. *)
  80708. - func_fatal_error "unknown suffix for \`$my_dlsyms'"
  80709. + func_fatal_error "unknown suffix for '$my_dlsyms'"
  80710. ;;
  80711. esac
  80712. else
  80713. @@ -2538,38 +4880,81 @@
  80714. # really was required.
  80715.  
  80716. # Nullify the symbol file.
  80717. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  80718. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  80719. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
  80720. + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
  80721. fi
  80722. }
  80723.  
  80724. +# func_cygming_gnu_implib_p ARG
  80725. +# This predicate returns with zero status (TRUE) if
  80726. +# ARG is a GNU/binutils-style import library. Returns
  80727. +# with nonzero status (FALSE) otherwise.
  80728. +func_cygming_gnu_implib_p ()
  80729. +{
  80730. + $debug_cmd
  80731. +
  80732. + func_to_tool_file "$1" func_convert_file_msys_to_w32
  80733. + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
  80734. + test -n "$func_cygming_gnu_implib_tmp"
  80735. +}
  80736. +
  80737. +# func_cygming_ms_implib_p ARG
  80738. +# This predicate returns with zero status (TRUE) if
  80739. +# ARG is an MS-style import library. Returns
  80740. +# with nonzero status (FALSE) otherwise.
  80741. +func_cygming_ms_implib_p ()
  80742. +{
  80743. + $debug_cmd
  80744. +
  80745. + func_to_tool_file "$1" func_convert_file_msys_to_w32
  80746. + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
  80747. + test -n "$func_cygming_ms_implib_tmp"
  80748. +}
  80749. +
  80750. # func_win32_libid arg
  80751. # return the library type of file 'arg'
  80752. #
  80753. # Need a lot of goo to handle *both* DLLs and import libs
  80754. # Has to be a shell function in order to 'eat' the argument
  80755. # that is supplied when $file_magic_command is called.
  80756. +# Despite the name, also deal with 64 bit binaries.
  80757. func_win32_libid ()
  80758. {
  80759. - $opt_debug
  80760. - win32_libid_type="unknown"
  80761. + $debug_cmd
  80762. +
  80763. + win32_libid_type=unknown
  80764. win32_fileres=`file -L $1 2>/dev/null`
  80765. case $win32_fileres in
  80766. *ar\ archive\ import\ library*) # definitely import
  80767. win32_libid_type="x86 archive import"
  80768. ;;
  80769. *ar\ archive*) # could be an import, or static
  80770. + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
  80771. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  80772. - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  80773. - win32_nmres=`eval $NM -f posix -A $1 |
  80774. - $SED -n -e '
  80775. + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
  80776. + case $nm_interface in
  80777. + "MS dumpbin")
  80778. + if func_cygming_ms_implib_p "$1" ||
  80779. + func_cygming_gnu_implib_p "$1"
  80780. + then
  80781. + win32_nmres=import
  80782. + else
  80783. + win32_nmres=
  80784. + fi
  80785. + ;;
  80786. + *)
  80787. + func_to_tool_file "$1" func_convert_file_msys_to_w32
  80788. + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
  80789. + $SED -n -e '
  80790. 1,100{
  80791. / I /{
  80792. - s,.*,import,
  80793. + s|.*|import|
  80794. p
  80795. q
  80796. }
  80797. }'`
  80798. + ;;
  80799. + esac
  80800. case $win32_nmres in
  80801. import*) win32_libid_type="x86 archive import";;
  80802. *) win32_libid_type="x86 archive static";;
  80803. @@ -2590,15 +4975,131 @@
  80804. $ECHO "$win32_libid_type"
  80805. }
  80806.  
  80807. +# func_cygming_dll_for_implib ARG
  80808. +#
  80809. +# Platform-specific function to extract the
  80810. +# name of the DLL associated with the specified
  80811. +# import library ARG.
  80812. +# Invoked by eval'ing the libtool variable
  80813. +# $sharedlib_from_linklib_cmd
  80814. +# Result is available in the variable
  80815. +# $sharedlib_from_linklib_result
  80816. +func_cygming_dll_for_implib ()
  80817. +{
  80818. + $debug_cmd
  80819. +
  80820. + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
  80821. +}
  80822. +
  80823. +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
  80824. +#
  80825. +# The is the core of a fallback implementation of a
  80826. +# platform-specific function to extract the name of the
  80827. +# DLL associated with the specified import library LIBNAME.
  80828. +#
  80829. +# SECTION_NAME is either .idata$6 or .idata$7, depending
  80830. +# on the platform and compiler that created the implib.
  80831. +#
  80832. +# Echos the name of the DLL associated with the
  80833. +# specified import library.
  80834. +func_cygming_dll_for_implib_fallback_core ()
  80835. +{
  80836. + $debug_cmd
  80837. +
  80838. + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
  80839. + $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
  80840. + $SED '/^Contents of section '"$match_literal"':/{
  80841. + # Place marker at beginning of archive member dllname section
  80842. + s/.*/====MARK====/
  80843. + p
  80844. + d
  80845. + }
  80846. + # These lines can sometimes be longer than 43 characters, but
  80847. + # are always uninteresting
  80848. + /:[ ]*file format pe[i]\{,1\}-/d
  80849. + /^In archive [^:]*:/d
  80850. + # Ensure marker is printed
  80851. + /^====MARK====/p
  80852. + # Remove all lines with less than 43 characters
  80853. + /^.\{43\}/!d
  80854. + # From remaining lines, remove first 43 characters
  80855. + s/^.\{43\}//' |
  80856. + $SED -n '
  80857. + # Join marker and all lines until next marker into a single line
  80858. + /^====MARK====/ b para
  80859. + H
  80860. + $ b para
  80861. + b
  80862. + :para
  80863. + x
  80864. + s/\n//g
  80865. + # Remove the marker
  80866. + s/^====MARK====//
  80867. + # Remove trailing dots and whitespace
  80868. + s/[\. \t]*$//
  80869. + # Print
  80870. + /./p' |
  80871. + # we now have a list, one entry per line, of the stringified
  80872. + # contents of the appropriate section of all members of the
  80873. + # archive that possess that section. Heuristic: eliminate
  80874. + # all those that have a first or second character that is
  80875. + # a '.' (that is, objdump's representation of an unprintable
  80876. + # character.) This should work for all archives with less than
  80877. + # 0x302f exports -- but will fail for DLLs whose name actually
  80878. + # begins with a literal '.' or a single character followed by
  80879. + # a '.'.
  80880. + #
  80881. + # Of those that remain, print the first one.
  80882. + $SED -e '/^\./d;/^.\./d;q'
  80883. +}
  80884. +
  80885. +# func_cygming_dll_for_implib_fallback ARG
  80886. +# Platform-specific function to extract the
  80887. +# name of the DLL associated with the specified
  80888. +# import library ARG.
  80889. +#
  80890. +# This fallback implementation is for use when $DLLTOOL
  80891. +# does not support the --identify-strict option.
  80892. +# Invoked by eval'ing the libtool variable
  80893. +# $sharedlib_from_linklib_cmd
  80894. +# Result is available in the variable
  80895. +# $sharedlib_from_linklib_result
  80896. +func_cygming_dll_for_implib_fallback ()
  80897. +{
  80898. + $debug_cmd
  80899. +
  80900. + if func_cygming_gnu_implib_p "$1"; then
  80901. + # binutils import library
  80902. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
  80903. + elif func_cygming_ms_implib_p "$1"; then
  80904. + # ms-generated import library
  80905. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
  80906. + else
  80907. + # unknown
  80908. + sharedlib_from_linklib_result=
  80909. + fi
  80910. +}
  80911.  
  80912.  
  80913. # func_extract_an_archive dir oldlib
  80914. func_extract_an_archive ()
  80915. {
  80916. - $opt_debug
  80917. - f_ex_an_ar_dir="$1"; shift
  80918. - f_ex_an_ar_oldlib="$1"
  80919. - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  80920. + $debug_cmd
  80921. +
  80922. + f_ex_an_ar_dir=$1; shift
  80923. + f_ex_an_ar_oldlib=$1
  80924. + if test yes = "$lock_old_archive_extraction"; then
  80925. + lockfile=$f_ex_an_ar_oldlib.lock
  80926. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  80927. + func_echo "Waiting for $lockfile to be removed"
  80928. + sleep 2
  80929. + done
  80930. + fi
  80931. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
  80932. + 'stat=$?; rm -f "$lockfile"; exit $stat'
  80933. + if test yes = "$lock_old_archive_extraction"; then
  80934. + $opt_dry_run || rm -f "$lockfile"
  80935. + fi
  80936. if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  80937. :
  80938. else
  80939. @@ -2610,22 +5111,23 @@
  80940. # func_extract_archives gentop oldlib ...
  80941. func_extract_archives ()
  80942. {
  80943. - $opt_debug
  80944. - my_gentop="$1"; shift
  80945. + $debug_cmd
  80946. +
  80947. + my_gentop=$1; shift
  80948. my_oldlibs=${1+"$@"}
  80949. - my_oldobjs=""
  80950. - my_xlib=""
  80951. - my_xabs=""
  80952. - my_xdir=""
  80953. + my_oldobjs=
  80954. + my_xlib=
  80955. + my_xabs=
  80956. + my_xdir=
  80957.  
  80958. for my_xlib in $my_oldlibs; do
  80959. # Extract the objects.
  80960. case $my_xlib in
  80961. - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  80962. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
  80963. *) my_xabs=`pwd`"/$my_xlib" ;;
  80964. esac
  80965. func_basename "$my_xlib"
  80966. - my_xlib="$func_basename_result"
  80967. + my_xlib=$func_basename_result
  80968. my_xlib_u=$my_xlib
  80969. while :; do
  80970. case " $extracted_archives " in
  80971. @@ -2637,7 +5139,7 @@
  80972. esac
  80973. done
  80974. extracted_archives="$extracted_archives $my_xlib_u"
  80975. - my_xdir="$my_gentop/$my_xlib_u"
  80976. + my_xdir=$my_gentop/$my_xlib_u
  80977.  
  80978. func_mkdir_p "$my_xdir"
  80979.  
  80980. @@ -2650,26 +5152,27 @@
  80981. cd $my_xdir || exit $?
  80982. darwin_archive=$my_xabs
  80983. darwin_curdir=`pwd`
  80984. - darwin_base_archive=`basename "$darwin_archive"`
  80985. + func_basename "$darwin_archive"
  80986. + darwin_base_archive=$func_basename_result
  80987. darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  80988. if test -n "$darwin_arches"; then
  80989. darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  80990. darwin_arch=
  80991. func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  80992. - for darwin_arch in $darwin_arches ; do
  80993. - func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  80994. - $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  80995. - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  80996. - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  80997. + for darwin_arch in $darwin_arches; do
  80998. + func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
  80999. + $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
  81000. + cd "unfat-$$/$darwin_base_archive-$darwin_arch"
  81001. + func_extract_an_archive "`pwd`" "$darwin_base_archive"
  81002. cd "$darwin_curdir"
  81003. - $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  81004. + $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
  81005. done # $darwin_arches
  81006. ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  81007. - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  81008. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
  81009. darwin_file=
  81010. darwin_files=
  81011. for darwin_file in $darwin_filelist; do
  81012. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  81013. + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
  81014. $LIPO -create -output "$darwin_file" $darwin_files
  81015. done # $darwin_filelist
  81016. $RM -rf unfat-$$
  81017. @@ -2684,31 +5187,36 @@
  81018. func_extract_an_archive "$my_xdir" "$my_xabs"
  81019. ;;
  81020. esac
  81021. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  81022. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
  81023. done
  81024.  
  81025. - func_extract_archives_result="$my_oldobjs"
  81026. + func_extract_archives_result=$my_oldobjs
  81027. }
  81028.  
  81029.  
  81030. -
  81031. -# func_emit_wrapper_part1 [arg=no]
  81032. +# func_emit_wrapper [arg=no]
  81033. #
  81034. -# Emit the first part of a libtool wrapper script on stdout.
  81035. -# For more information, see the description associated with
  81036. -# func_emit_wrapper(), below.
  81037. -func_emit_wrapper_part1 ()
  81038. +# Emit a libtool wrapper script on stdout.
  81039. +# Don't directly open a file because we may want to
  81040. +# incorporate the script contents within a cygwin/mingw
  81041. +# wrapper executable. Must ONLY be called from within
  81042. +# func_mode_link because it depends on a number of variables
  81043. +# set therein.
  81044. +#
  81045. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  81046. +# variable will take. If 'yes', then the emitted script
  81047. +# will assume that the directory where it is stored is
  81048. +# the $objdir directory. This is a cygwin/mingw-specific
  81049. +# behavior.
  81050. +func_emit_wrapper ()
  81051. {
  81052. - func_emit_wrapper_part1_arg1=no
  81053. - if test -n "$1" ; then
  81054. - func_emit_wrapper_part1_arg1=$1
  81055. - fi
  81056. + func_emit_wrapper_arg1=${1-no}
  81057.  
  81058. $ECHO "\
  81059. #! $SHELL
  81060.  
  81061. # $output - temporary wrapper script for $objdir/$outputname
  81062. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  81063. +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  81064. #
  81065. # The $output program cannot be directly executed until all the libtool
  81066. # libraries that it depends on are installed.
  81067. @@ -2718,7 +5226,6 @@
  81068.  
  81069. # Sed substitution that helps us do robust quoting. It backslashifies
  81070. # metacharacters that are still active within double-quoted strings.
  81071. -Xsed='${SED} -e 1s/^X//'
  81072. sed_quote_subst='$sed_quote_subst'
  81073.  
  81074. # Be Bourne compatible
  81075. @@ -2749,31 +5256,135 @@
  81076. else
  81077. # When we are sourced in execute mode, \$file and \$ECHO are already set.
  81078. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  81079. - ECHO=\"$qecho\"
  81080. - file=\"\$0\"
  81081. - # Make sure echo works.
  81082. - if test \"X\$1\" = X--no-reexec; then
  81083. - # Discard the --no-reexec flag, and continue.
  81084. - shift
  81085. - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  81086. - # Yippee, \$ECHO works!
  81087. - :
  81088. - else
  81089. - # Restart under the correct shell, and then maybe \$ECHO will work.
  81090. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  81091. - fi
  81092. - fi\
  81093. + file=\"\$0\""
  81094. +
  81095. + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
  81096. + $ECHO "\
  81097. +
  81098. +# A function that is used when there is no print builtin or printf.
  81099. +func_fallback_echo ()
  81100. +{
  81101. + eval 'cat <<_LTECHO_EOF
  81102. +\$1
  81103. +_LTECHO_EOF'
  81104. +}
  81105. + ECHO=\"$qECHO\"
  81106. + fi
  81107. +
  81108. +# Very basic option parsing. These options are (a) specific to
  81109. +# the libtool wrapper, (b) are identical between the wrapper
  81110. +# /script/ and the wrapper /executable/ that is used only on
  81111. +# windows platforms, and (c) all begin with the string "--lt-"
  81112. +# (application programs are unlikely to have options that match
  81113. +# this pattern).
  81114. +#
  81115. +# There are only two supported options: --lt-debug and
  81116. +# --lt-dump-script. There is, deliberately, no --lt-help.
  81117. +#
  81118. +# The first argument to this parsing function should be the
  81119. +# script's $0 value, followed by "$@".
  81120. +lt_option_debug=
  81121. +func_parse_lt_options ()
  81122. +{
  81123. + lt_script_arg0=\$0
  81124. + shift
  81125. + for lt_opt
  81126. + do
  81127. + case \"\$lt_opt\" in
  81128. + --lt-debug) lt_option_debug=1 ;;
  81129. + --lt-dump-script)
  81130. + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
  81131. + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
  81132. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
  81133. + cat \"\$lt_dump_D/\$lt_dump_F\"
  81134. + exit 0
  81135. + ;;
  81136. + --lt-*)
  81137. + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
  81138. + exit 1
  81139. + ;;
  81140. + esac
  81141. + done
  81142. +
  81143. + # Print the debug banner immediately:
  81144. + if test -n \"\$lt_option_debug\"; then
  81145. + echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
  81146. + fi
  81147. +}
  81148. +
  81149. +# Used when --lt-debug. Prints its arguments to stdout
  81150. +# (redirection is the responsibility of the caller)
  81151. +func_lt_dump_args ()
  81152. +{
  81153. + lt_dump_args_N=1;
  81154. + for lt_arg
  81155. + do
  81156. + \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
  81157. + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
  81158. + done
  81159. +}
  81160. +
  81161. +# Core function for launching the target application
  81162. +func_exec_program_core ()
  81163. +{
  81164. "
  81165. - $ECHO "\
  81166. + case $host in
  81167. + # Backslashes separate directories on plain windows
  81168. + *-*-mingw | *-*-os2* | *-cegcc*)
  81169. + $ECHO "\
  81170. + if test -n \"\$lt_option_debug\"; then
  81171. + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
  81172. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  81173. + fi
  81174. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  81175. +"
  81176. + ;;
  81177. +
  81178. + *)
  81179. + $ECHO "\
  81180. + if test -n \"\$lt_option_debug\"; then
  81181. + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
  81182. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  81183. + fi
  81184. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  81185. +"
  81186. + ;;
  81187. + esac
  81188. + $ECHO "\
  81189. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  81190. + exit 1
  81191. +}
  81192. +
  81193. +# A function to encapsulate launching the target application
  81194. +# Strips options in the --lt-* namespace from \$@ and
  81195. +# launches target application with the remaining arguments.
  81196. +func_exec_program ()
  81197. +{
  81198. + case \" \$* \" in
  81199. + *\\ --lt-*)
  81200. + for lt_wr_arg
  81201. + do
  81202. + case \$lt_wr_arg in
  81203. + --lt-*) ;;
  81204. + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
  81205. + esac
  81206. + shift
  81207. + done ;;
  81208. + esac
  81209. + func_exec_program_core \${1+\"\$@\"}
  81210. +}
  81211. +
  81212. + # Parse options
  81213. + func_parse_lt_options \"\$0\" \${1+\"\$@\"}
  81214.  
  81215. # Find the directory that this script lives in.
  81216. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  81217. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
  81218. test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  81219.  
  81220. # Follow symbolic links until we get to the real thisdir.
  81221. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  81222. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
  81223. while test -n \"\$file\"; do
  81224. - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  81225. + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
  81226.  
  81227. # If there was a directory component, then change thisdir.
  81228. if test \"x\$destdir\" != \"x\$file\"; then
  81229. @@ -2783,30 +5394,13 @@
  81230. esac
  81231. fi
  81232.  
  81233. - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  81234. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  81235. + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
  81236. + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
  81237. done
  81238. -"
  81239. -}
  81240. -# end: func_emit_wrapper_part1
  81241. -
  81242. -# func_emit_wrapper_part2 [arg=no]
  81243. -#
  81244. -# Emit the second part of a libtool wrapper script on stdout.
  81245. -# For more information, see the description associated with
  81246. -# func_emit_wrapper(), below.
  81247. -func_emit_wrapper_part2 ()
  81248. -{
  81249. - func_emit_wrapper_part2_arg1=no
  81250. - if test -n "$1" ; then
  81251. - func_emit_wrapper_part2_arg1=$1
  81252. - fi
  81253. -
  81254. - $ECHO "\
  81255.  
  81256. # Usually 'no', except on cygwin/mingw when embedded into
  81257. # the cwrapper.
  81258. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  81259. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
  81260. if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  81261. # special case for '.'
  81262. if test \"\$thisdir\" = \".\"; then
  81263. @@ -2814,7 +5408,7 @@
  81264. fi
  81265. # remove .libs from thisdir
  81266. case \"\$thisdir\" in
  81267. - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  81268. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
  81269. $objdir ) thisdir=. ;;
  81270. esac
  81271. fi
  81272. @@ -2824,13 +5418,13 @@
  81273. test -n \"\$absdir\" && thisdir=\"\$absdir\"
  81274. "
  81275.  
  81276. - if test "$fast_install" = yes; then
  81277. + if test yes = "$fast_install"; then
  81278. $ECHO "\
  81279. program=lt-'$outputname'$exeext
  81280. progdir=\"\$thisdir/$objdir\"
  81281.  
  81282. if test ! -f \"\$progdir/\$program\" ||
  81283. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  81284. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
  81285. test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  81286.  
  81287. file=\"\$\$-\$program\"
  81288. @@ -2847,7 +5441,7 @@
  81289. if test -n \"\$relink_command\"; then
  81290. if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  81291. else
  81292. - $ECHO \"\$relink_command_output\" >&2
  81293. + \$ECHO \"\$relink_command_output\" >&2
  81294. $RM \"\$progdir/\$file\"
  81295. exit 1
  81296. fi
  81297. @@ -2869,262 +5463,49 @@
  81298.  
  81299. if test -f \"\$progdir/\$program\"; then"
  81300.  
  81301. + # fixup the dll searchpath if we need to.
  81302. + #
  81303. + # Fix the DLL searchpath if we need to. Do this before prepending
  81304. + # to shlibpath, because on Windows, both are PATH and uninstalled
  81305. + # libraries must come first.
  81306. + if test -n "$dllsearchpath"; then
  81307. + $ECHO "\
  81308. + # Add the dll search path components to the executable PATH
  81309. + PATH=$dllsearchpath:\$PATH
  81310. +"
  81311. + fi
  81312. +
  81313. # Export our shlibpath_var if we have one.
  81314. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81315. + if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81316. $ECHO "\
  81317. # Add our own library path to $shlibpath_var
  81318. $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  81319.  
  81320. # Some systems cannot cope with colon-terminated $shlibpath_var
  81321. # The second colon is a workaround for a bug in BeOS R4 sed
  81322. - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  81323. + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
  81324.  
  81325. export $shlibpath_var
  81326. "
  81327. fi
  81328.  
  81329. - # fixup the dll searchpath if we need to.
  81330. - if test -n "$dllsearchpath"; then
  81331. - $ECHO "\
  81332. - # Add the dll search path components to the executable PATH
  81333. - PATH=$dllsearchpath:\$PATH
  81334. -"
  81335. - fi
  81336. -
  81337. $ECHO "\
  81338. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  81339. # Run the actual program with our arguments.
  81340. -"
  81341. - case $host in
  81342. - # Backslashes separate directories on plain windows
  81343. - *-*-mingw | *-*-os2* | *-cegcc*)
  81344. - $ECHO "\
  81345. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  81346. -"
  81347. - ;;
  81348. -
  81349. - *)
  81350. - $ECHO "\
  81351. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  81352. -"
  81353. - ;;
  81354. - esac
  81355. - $ECHO "\
  81356. - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  81357. - exit 1
  81358. + func_exec_program \${1+\"\$@\"}
  81359. fi
  81360. else
  81361. # The program doesn't exist.
  81362. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  81363. + \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
  81364. \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  81365. - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  81366. + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  81367. exit 1
  81368. fi
  81369. fi\
  81370. "
  81371. }
  81372. -# end: func_emit_wrapper_part2
  81373. -
  81374. -
  81375. -# func_emit_wrapper [arg=no]
  81376. -#
  81377. -# Emit a libtool wrapper script on stdout.
  81378. -# Don't directly open a file because we may want to
  81379. -# incorporate the script contents within a cygwin/mingw
  81380. -# wrapper executable. Must ONLY be called from within
  81381. -# func_mode_link because it depends on a number of variables
  81382. -# set therein.
  81383. -#
  81384. -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  81385. -# variable will take. If 'yes', then the emitted script
  81386. -# will assume that the directory in which it is stored is
  81387. -# the $objdir directory. This is a cygwin/mingw-specific
  81388. -# behavior.
  81389. -func_emit_wrapper ()
  81390. -{
  81391. - func_emit_wrapper_arg1=no
  81392. - if test -n "$1" ; then
  81393. - func_emit_wrapper_arg1=$1
  81394. - fi
  81395. -
  81396. - # split this up so that func_emit_cwrapperexe_src
  81397. - # can call each part independently.
  81398. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  81399. - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  81400. -}
  81401.  
  81402.  
  81403. -# func_to_host_path arg
  81404. -#
  81405. -# Convert paths to host format when used with build tools.
  81406. -# Intended for use with "native" mingw (where libtool itself
  81407. -# is running under the msys shell), or in the following cross-
  81408. -# build environments:
  81409. -# $build $host
  81410. -# mingw (msys) mingw [e.g. native]
  81411. -# cygwin mingw
  81412. -# *nix + wine mingw
  81413. -# where wine is equipped with the `winepath' executable.
  81414. -# In the native mingw case, the (msys) shell automatically
  81415. -# converts paths for any non-msys applications it launches,
  81416. -# but that facility isn't available from inside the cwrapper.
  81417. -# Similar accommodations are necessary for $host mingw and
  81418. -# $build cygwin. Calling this function does no harm for other
  81419. -# $host/$build combinations not listed above.
  81420. -#
  81421. -# ARG is the path (on $build) that should be converted to
  81422. -# the proper representation for $host. The result is stored
  81423. -# in $func_to_host_path_result.
  81424. -func_to_host_path ()
  81425. -{
  81426. - func_to_host_path_result="$1"
  81427. - if test -n "$1" ; then
  81428. - case $host in
  81429. - *mingw* )
  81430. - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  81431. - case $build in
  81432. - *mingw* ) # actually, msys
  81433. - # awkward: cmd appends spaces to result
  81434. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  81435. - func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  81436. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  81437. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  81438. - $SED -e "$lt_sed_naive_backslashify"`
  81439. - ;;
  81440. - *cygwin* )
  81441. - func_to_host_path_tmp1=`cygpath -w "$1"`
  81442. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  81443. - $SED -e "$lt_sed_naive_backslashify"`
  81444. - ;;
  81445. - * )
  81446. - # Unfortunately, winepath does not exit with a non-zero
  81447. - # error code, so we are forced to check the contents of
  81448. - # stdout. On the other hand, if the command is not
  81449. - # found, the shell will set an exit code of 127 and print
  81450. - # *an error message* to stdout. So we must check for both
  81451. - # error code of zero AND non-empty stdout, which explains
  81452. - # the odd construction:
  81453. - func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  81454. - if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  81455. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  81456. - $SED -e "$lt_sed_naive_backslashify"`
  81457. - else
  81458. - # Allow warning below.
  81459. - func_to_host_path_result=""
  81460. - fi
  81461. - ;;
  81462. - esac
  81463. - if test -z "$func_to_host_path_result" ; then
  81464. - func_error "Could not determine host path corresponding to"
  81465. - func_error " '$1'"
  81466. - func_error "Continuing, but uninstalled executables may not work."
  81467. - # Fallback:
  81468. - func_to_host_path_result="$1"
  81469. - fi
  81470. - ;;
  81471. - esac
  81472. - fi
  81473. -}
  81474. -# end: func_to_host_path
  81475. -
  81476. -# func_to_host_pathlist arg
  81477. -#
  81478. -# Convert pathlists to host format when used with build tools.
  81479. -# See func_to_host_path(), above. This function supports the
  81480. -# following $build/$host combinations (but does no harm for
  81481. -# combinations not listed here):
  81482. -# $build $host
  81483. -# mingw (msys) mingw [e.g. native]
  81484. -# cygwin mingw
  81485. -# *nix + wine mingw
  81486. -#
  81487. -# Path separators are also converted from $build format to
  81488. -# $host format. If ARG begins or ends with a path separator
  81489. -# character, it is preserved (but converted to $host format)
  81490. -# on output.
  81491. -#
  81492. -# ARG is a pathlist (on $build) that should be converted to
  81493. -# the proper representation on $host. The result is stored
  81494. -# in $func_to_host_pathlist_result.
  81495. -func_to_host_pathlist ()
  81496. -{
  81497. - func_to_host_pathlist_result="$1"
  81498. - if test -n "$1" ; then
  81499. - case $host in
  81500. - *mingw* )
  81501. - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  81502. - # Remove leading and trailing path separator characters from
  81503. - # ARG. msys behavior is inconsistent here, cygpath turns them
  81504. - # into '.;' and ';.', and winepath ignores them completely.
  81505. - func_to_host_pathlist_tmp2="$1"
  81506. - # Once set for this call, this variable should not be
  81507. - # reassigned. It is used in tha fallback case.
  81508. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  81509. - $SED -e 's|^:*||' -e 's|:*$||'`
  81510. - case $build in
  81511. - *mingw* ) # Actually, msys.
  81512. - # Awkward: cmd appends spaces to result.
  81513. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  81514. - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  81515. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  81516. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  81517. - $SED -e "$lt_sed_naive_backslashify"`
  81518. - ;;
  81519. - *cygwin* )
  81520. - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  81521. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  81522. - $SED -e "$lt_sed_naive_backslashify"`
  81523. - ;;
  81524. - * )
  81525. - # unfortunately, winepath doesn't convert pathlists
  81526. - func_to_host_pathlist_result=""
  81527. - func_to_host_pathlist_oldIFS=$IFS
  81528. - IFS=:
  81529. - for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  81530. - IFS=$func_to_host_pathlist_oldIFS
  81531. - if test -n "$func_to_host_pathlist_f" ; then
  81532. - func_to_host_path "$func_to_host_pathlist_f"
  81533. - if test -n "$func_to_host_path_result" ; then
  81534. - if test -z "$func_to_host_pathlist_result" ; then
  81535. - func_to_host_pathlist_result="$func_to_host_path_result"
  81536. - else
  81537. - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  81538. - fi
  81539. - fi
  81540. - fi
  81541. - IFS=:
  81542. - done
  81543. - IFS=$func_to_host_pathlist_oldIFS
  81544. - ;;
  81545. - esac
  81546. - if test -z "$func_to_host_pathlist_result" ; then
  81547. - func_error "Could not determine the host path(s) corresponding to"
  81548. - func_error " '$1'"
  81549. - func_error "Continuing, but uninstalled executables may not work."
  81550. - # Fallback. This may break if $1 contains DOS-style drive
  81551. - # specifications. The fix is not to complicate the expression
  81552. - # below, but for the user to provide a working wine installation
  81553. - # with winepath so that path translation in the cross-to-mingw
  81554. - # case works properly.
  81555. - lt_replace_pathsep_nix_to_dos="s|:|;|g"
  81556. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  81557. - $SED -e "$lt_replace_pathsep_nix_to_dos"`
  81558. - fi
  81559. - # Now, add the leading and trailing path separators back
  81560. - case "$1" in
  81561. - :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  81562. - ;;
  81563. - esac
  81564. - case "$1" in
  81565. - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  81566. - ;;
  81567. - esac
  81568. - ;;
  81569. - esac
  81570. - fi
  81571. -}
  81572. -# end: func_to_host_pathlist
  81573. -
  81574. # func_emit_cwrapperexe_src
  81575. # emit the source code for a wrapper executable on stdout
  81576. # Must ONLY be called from within func_mode_link because
  81577. @@ -3134,38 +5515,30 @@
  81578. cat <<EOF
  81579.  
  81580. /* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  81581. - Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  81582. + Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  81583.  
  81584. The $output program cannot be directly executed until all the libtool
  81585. libraries that it depends on are installed.
  81586.  
  81587. This wrapper executable should never be moved out of the build directory.
  81588. If it is, it will not operate correctly.
  81589. -
  81590. - Currently, it simply execs the wrapper *script* "$SHELL $output",
  81591. - but could eventually absorb all of the scripts functionality and
  81592. - exec $objdir/$outputname directly.
  81593. */
  81594. EOF
  81595. cat <<"EOF"
  81596. +#ifdef _MSC_VER
  81597. +# define _CRT_SECURE_NO_DEPRECATE 1
  81598. +#endif
  81599. #include <stdio.h>
  81600. #include <stdlib.h>
  81601. #ifdef _MSC_VER
  81602. # include <direct.h>
  81603. # include <process.h>
  81604. # include <io.h>
  81605. -# define setmode _setmode
  81606. #else
  81607. # include <unistd.h>
  81608. # include <stdint.h>
  81609. # ifdef __CYGWIN__
  81610. # include <io.h>
  81611. -# define HAVE_SETENV
  81612. -# ifdef __STRICT_ANSI__
  81613. -char *realpath (const char *, char *);
  81614. -int putenv (char *);
  81615. -int setenv (const char *, const char *, int);
  81616. -# endif
  81617. # endif
  81618. #endif
  81619. #include <malloc.h>
  81620. @@ -3177,9 +5550,45 @@
  81621. #include <fcntl.h>
  81622. #include <sys/stat.h>
  81623.  
  81624. -#if defined(PATH_MAX)
  81625. +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
  81626. +
  81627. +/* declarations of non-ANSI functions */
  81628. +#if defined __MINGW32__
  81629. +# ifdef __STRICT_ANSI__
  81630. +int _putenv (const char *);
  81631. +# endif
  81632. +#elif defined __CYGWIN__
  81633. +# ifdef __STRICT_ANSI__
  81634. +char *realpath (const char *, char *);
  81635. +int putenv (char *);
  81636. +int setenv (const char *, const char *, int);
  81637. +# endif
  81638. +/* #elif defined other_platform || defined ... */
  81639. +#endif
  81640. +
  81641. +/* portability defines, excluding path handling macros */
  81642. +#if defined _MSC_VER
  81643. +# define setmode _setmode
  81644. +# define stat _stat
  81645. +# define chmod _chmod
  81646. +# define getcwd _getcwd
  81647. +# define putenv _putenv
  81648. +# define S_IXUSR _S_IEXEC
  81649. +#elif defined __MINGW32__
  81650. +# define setmode _setmode
  81651. +# define stat _stat
  81652. +# define chmod _chmod
  81653. +# define getcwd _getcwd
  81654. +# define putenv _putenv
  81655. +#elif defined __CYGWIN__
  81656. +# define HAVE_SETENV
  81657. +# define FOPEN_WB "wb"
  81658. +/* #elif defined other platforms ... */
  81659. +#endif
  81660. +
  81661. +#if defined PATH_MAX
  81662. # define LT_PATHMAX PATH_MAX
  81663. -#elif defined(MAXPATHLEN)
  81664. +#elif defined MAXPATHLEN
  81665. # define LT_PATHMAX MAXPATHLEN
  81666. #else
  81667. # define LT_PATHMAX 1024
  81668. @@ -3192,21 +5601,14 @@
  81669. # define S_IXGRP 0
  81670. #endif
  81671.  
  81672. -#ifdef _MSC_VER
  81673. -# define S_IXUSR _S_IEXEC
  81674. -# define stat _stat
  81675. -# ifndef _INTPTR_T_DEFINED
  81676. -# define intptr_t int
  81677. -# endif
  81678. -#endif
  81679. -
  81680. +/* path handling portability macros */
  81681. #ifndef DIR_SEPARATOR
  81682. # define DIR_SEPARATOR '/'
  81683. # define PATH_SEPARATOR ':'
  81684. #endif
  81685.  
  81686. -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  81687. - defined (__OS2__)
  81688. +#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
  81689. + defined __OS2__
  81690. # define HAVE_DOS_BASED_FILE_SYSTEM
  81691. # define FOPEN_WB "wb"
  81692. # ifndef DIR_SEPARATOR_2
  81693. @@ -3230,10 +5632,6 @@
  81694. # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  81695. #endif /* PATH_SEPARATOR_2 */
  81696.  
  81697. -#ifdef __CYGWIN__
  81698. -# define FOPEN_WB "wb"
  81699. -#endif
  81700. -
  81701. #ifndef FOPEN_WB
  81702. # define FOPEN_WB "w"
  81703. #endif
  81704. @@ -3243,25 +5641,16 @@
  81705.  
  81706. #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  81707. #define XFREE(stale) do { \
  81708. - if (stale) { free ((void *) stale); stale = 0; } \
  81709. + if (stale) { free (stale); stale = 0; } \
  81710. } while (0)
  81711.  
  81712. -#undef LTWRAPPER_DEBUGPRINTF
  81713. -#if defined DEBUGWRAPPER
  81714. -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  81715. -static void
  81716. -ltwrapper_debugprintf (const char *fmt, ...)
  81717. -{
  81718. - va_list args;
  81719. - va_start (args, fmt);
  81720. - (void) vfprintf (stderr, fmt, args);
  81721. - va_end (args);
  81722. -}
  81723. +#if defined LT_DEBUGWRAPPER
  81724. +static int lt_debug = 1;
  81725. #else
  81726. -# define LTWRAPPER_DEBUGPRINTF(args)
  81727. +static int lt_debug = 0;
  81728. #endif
  81729.  
  81730. -const char *program_name = NULL;
  81731. +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
  81732.  
  81733. void *xmalloc (size_t num);
  81734. char *xstrdup (const char *string);
  81735. @@ -3271,41 +5660,32 @@
  81736. int make_executable (const char *path);
  81737. int check_executable (const char *path);
  81738. char *strendzap (char *str, const char *pat);
  81739. -void lt_fatal (const char *message, ...);
  81740. +void lt_debugprintf (const char *file, int line, const char *fmt, ...);
  81741. +void lt_fatal (const char *file, int line, const char *message, ...);
  81742. +static const char *nonnull (const char *s);
  81743. +static const char *nonempty (const char *s);
  81744. void lt_setenv (const char *name, const char *value);
  81745. char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  81746. -void lt_opt_process_env_set (const char *arg);
  81747. -void lt_opt_process_env_prepend (const char *arg);
  81748. -void lt_opt_process_env_append (const char *arg);
  81749. -int lt_split_name_value (const char *arg, char** name, char** value);
  81750. void lt_update_exe_path (const char *name, const char *value);
  81751. void lt_update_lib_path (const char *name, const char *value);
  81752. -
  81753. -static const char *script_text_part1 =
  81754. -EOF
  81755. -
  81756. - func_emit_wrapper_part1 yes |
  81757. - $SED -e 's/\([\\"]\)/\\\1/g' \
  81758. - -e 's/^/ "/' -e 's/$/\\n"/'
  81759. - echo ";"
  81760. - cat <<EOF
  81761. -
  81762. -static const char *script_text_part2 =
  81763. +char **prepare_spawn (char **argv);
  81764. +void lt_dump_script (FILE *f);
  81765. EOF
  81766. - func_emit_wrapper_part2 yes |
  81767. - $SED -e 's/\([\\"]\)/\\\1/g' \
  81768. - -e 's/^/ "/' -e 's/$/\\n"/'
  81769. - echo ";"
  81770.  
  81771. cat <<EOF
  81772. -const char * MAGIC_EXE = "$magic_exe";
  81773. +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
  81774. +# define externally_visible volatile
  81775. +#else
  81776. +# define externally_visible __attribute__((externally_visible)) volatile
  81777. +#endif
  81778. +externally_visible const char * MAGIC_EXE = "$magic_exe";
  81779. const char * LIB_PATH_VARNAME = "$shlibpath_var";
  81780. EOF
  81781.  
  81782. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81783. - func_to_host_pathlist "$temp_rpath"
  81784. + if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  81785. + func_to_host_path "$temp_rpath"
  81786. cat <<EOF
  81787. -const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  81788. +const char * LIB_PATH_VALUE = "$func_to_host_path_result";
  81789. EOF
  81790. else
  81791. cat <<"EOF"
  81792. @@ -3314,10 +5694,10 @@
  81793. fi
  81794.  
  81795. if test -n "$dllsearchpath"; then
  81796. - func_to_host_pathlist "$dllsearchpath:"
  81797. + func_to_host_path "$dllsearchpath:"
  81798. cat <<EOF
  81799. const char * EXE_PATH_VARNAME = "PATH";
  81800. -const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  81801. +const char * EXE_PATH_VALUE = "$func_to_host_path_result";
  81802. EOF
  81803. else
  81804. cat <<"EOF"
  81805. @@ -3326,7 +5706,7 @@
  81806. EOF
  81807. fi
  81808.  
  81809. - if test "$fast_install" = yes; then
  81810. + if test yes = "$fast_install"; then
  81811. cat <<EOF
  81812. const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  81813. EOF
  81814. @@ -3340,24 +5720,10 @@
  81815. cat <<"EOF"
  81816.  
  81817. #define LTWRAPPER_OPTION_PREFIX "--lt-"
  81818. -#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  81819.  
  81820. -static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  81821. static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  81822. -
  81823. static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  81824. -
  81825. -static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  81826. -static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  81827. - /* argument is putenv-style "foo=bar", value of foo is set to bar */
  81828. -
  81829. -static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  81830. -static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  81831. - /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  81832. -
  81833. -static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  81834. -static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  81835. - /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  81836. +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
  81837.  
  81838. int
  81839. main (int argc, char *argv[])
  81840. @@ -3369,21 +5735,24 @@
  81841. char *actual_cwrapper_name;
  81842. char *target_name;
  81843. char *lt_argv_zero;
  81844. - intptr_t rval = 127;
  81845. + int rval = 127;
  81846.  
  81847. int i;
  81848.  
  81849. program_name = (char *) xstrdup (base_name (argv[0]));
  81850. - LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  81851. - LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  81852. + newargz = XMALLOC (char *, (size_t) argc + 1);
  81853.  
  81854. - /* very simple arg parsing; don't want to rely on getopt */
  81855. + /* very simple arg parsing; don't want to rely on getopt
  81856. + * also, copy all non cwrapper options to newargz, except
  81857. + * argz[0], which is handled differently
  81858. + */
  81859. + newargc=0;
  81860. for (i = 1; i < argc; i++)
  81861. {
  81862. - if (strcmp (argv[i], dumpscript_opt) == 0)
  81863. + if (STREQ (argv[i], dumpscript_opt))
  81864. {
  81865. EOF
  81866. - case "$host" in
  81867. + case $host in
  81868. *mingw* | *cygwin* )
  81869. # make stdout use "unix" line endings
  81870. echo " setmode(1,_O_BINARY);"
  81871. @@ -3391,25 +5760,57 @@
  81872. esac
  81873.  
  81874. cat <<"EOF"
  81875. - printf ("%s", script_text_part1);
  81876. - printf ("%s", script_text_part2);
  81877. + lt_dump_script (stdout);
  81878. return 0;
  81879. }
  81880. + if (STREQ (argv[i], debug_opt))
  81881. + {
  81882. + lt_debug = 1;
  81883. + continue;
  81884. + }
  81885. + if (STREQ (argv[i], ltwrapper_option_prefix))
  81886. + {
  81887. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  81888. + namespace, but it is not one of the ones we know about and
  81889. + have already dealt with, above (inluding dump-script), then
  81890. + report an error. Otherwise, targets might begin to believe
  81891. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  81892. + namespace. The first time any user complains about this, we'll
  81893. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  81894. + or a configure.ac-settable value.
  81895. + */
  81896. + lt_fatal (__FILE__, __LINE__,
  81897. + "unrecognized %s option: '%s'",
  81898. + ltwrapper_option_prefix, argv[i]);
  81899. + }
  81900. + /* otherwise ... */
  81901. + newargz[++newargc] = xstrdup (argv[i]);
  81902. }
  81903. + newargz[++newargc] = NULL;
  81904. +
  81905. +EOF
  81906. + cat <<EOF
  81907. + /* The GNU banner must be the first non-error debug message */
  81908. + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
  81909. +EOF
  81910. + cat <<"EOF"
  81911. + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
  81912. + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
  81913.  
  81914. - newargz = XMALLOC (char *, argc + 1);
  81915. tmp_pathspec = find_executable (argv[0]);
  81916. if (tmp_pathspec == NULL)
  81917. - lt_fatal ("Couldn't find %s", argv[0]);
  81918. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  81919. - tmp_pathspec));
  81920. + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
  81921. + lt_debugprintf (__FILE__, __LINE__,
  81922. + "(main) found exe (before symlink chase) at: %s\n",
  81923. + tmp_pathspec);
  81924.  
  81925. actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  81926. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  81927. - actual_cwrapper_path));
  81928. + lt_debugprintf (__FILE__, __LINE__,
  81929. + "(main) found exe (after symlink chase) at: %s\n",
  81930. + actual_cwrapper_path);
  81931. XFREE (tmp_pathspec);
  81932.  
  81933. - actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  81934. + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
  81935. strendzap (actual_cwrapper_path, actual_cwrapper_name);
  81936.  
  81937. /* wrapper name transforms */
  81938. @@ -3427,8 +5828,9 @@
  81939. target_name = tmp_pathspec;
  81940. tmp_pathspec = 0;
  81941.  
  81942. - LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  81943. - target_name));
  81944. + lt_debugprintf (__FILE__, __LINE__,
  81945. + "(main) libtool target name: %s\n",
  81946. + target_name);
  81947. EOF
  81948.  
  81949. cat <<EOF
  81950. @@ -3478,80 +5880,19 @@
  81951.  
  81952. lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  81953. lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  81954. - lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  81955. + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
  81956. + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
  81957. + because on Windows, both *_VARNAMEs are PATH but uninstalled
  81958. + libraries must come first. */
  81959. lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  81960. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  81961.  
  81962. - newargc=0;
  81963. - for (i = 1; i < argc; i++)
  81964. - {
  81965. - if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  81966. - {
  81967. - if (argv[i][env_set_opt_len] == '=')
  81968. - {
  81969. - const char *p = argv[i] + env_set_opt_len + 1;
  81970. - lt_opt_process_env_set (p);
  81971. - }
  81972. - else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  81973. - {
  81974. - lt_opt_process_env_set (argv[++i]); /* don't copy */
  81975. - }
  81976. - else
  81977. - lt_fatal ("%s missing required argument", env_set_opt);
  81978. - continue;
  81979. - }
  81980. - if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  81981. - {
  81982. - if (argv[i][env_prepend_opt_len] == '=')
  81983. - {
  81984. - const char *p = argv[i] + env_prepend_opt_len + 1;
  81985. - lt_opt_process_env_prepend (p);
  81986. - }
  81987. - else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  81988. - {
  81989. - lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  81990. - }
  81991. - else
  81992. - lt_fatal ("%s missing required argument", env_prepend_opt);
  81993. - continue;
  81994. - }
  81995. - if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  81996. - {
  81997. - if (argv[i][env_append_opt_len] == '=')
  81998. - {
  81999. - const char *p = argv[i] + env_append_opt_len + 1;
  82000. - lt_opt_process_env_append (p);
  82001. - }
  82002. - else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  82003. - {
  82004. - lt_opt_process_env_append (argv[++i]); /* don't copy */
  82005. - }
  82006. - else
  82007. - lt_fatal ("%s missing required argument", env_append_opt);
  82008. - continue;
  82009. - }
  82010. - if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  82011. - {
  82012. - /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  82013. - namespace, but it is not one of the ones we know about and
  82014. - have already dealt with, above (inluding dump-script), then
  82015. - report an error. Otherwise, targets might begin to believe
  82016. - they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  82017. - namespace. The first time any user complains about this, we'll
  82018. - need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  82019. - or a configure.ac-settable value.
  82020. - */
  82021. - lt_fatal ("Unrecognized option in %s namespace: '%s'",
  82022. - ltwrapper_option_prefix, argv[i]);
  82023. - }
  82024. - /* otherwise ... */
  82025. - newargz[++newargc] = xstrdup (argv[i]);
  82026. - }
  82027. - newargz[++newargc] = NULL;
  82028. -
  82029. - LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  82030. + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
  82031. + nonnull (lt_argv_zero));
  82032. for (i = 0; i < newargc; i++)
  82033. {
  82034. - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  82035. + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
  82036. + i, nonnull (newargz[i]));
  82037. }
  82038.  
  82039. EOF
  82040. @@ -3560,11 +5901,14 @@
  82041. mingw*)
  82042. cat <<"EOF"
  82043. /* execv doesn't actually work on mingw as expected on unix */
  82044. - rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  82045. + newargz = prepare_spawn (newargz);
  82046. + rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  82047. if (rval == -1)
  82048. {
  82049. /* failed to start process */
  82050. - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  82051. + lt_debugprintf (__FILE__, __LINE__,
  82052. + "(main) failed to launch target \"%s\": %s\n",
  82053. + lt_argv_zero, nonnull (strerror (errno)));
  82054. return 127;
  82055. }
  82056. return rval;
  82057. @@ -3586,7 +5930,7 @@
  82058. {
  82059. void *p = (void *) malloc (num);
  82060. if (!p)
  82061. - lt_fatal ("Memory exhausted");
  82062. + lt_fatal (__FILE__, __LINE__, "memory exhausted");
  82063.  
  82064. return p;
  82065. }
  82066. @@ -3603,7 +5947,7 @@
  82067. {
  82068. const char *base;
  82069.  
  82070. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  82071. +#if defined HAVE_DOS_BASED_FILE_SYSTEM
  82072. /* Skip over the disk name in MSDOS pathnames. */
  82073. if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  82074. name += 2;
  82075. @@ -3620,8 +5964,8 @@
  82076. {
  82077. struct stat st;
  82078.  
  82079. - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  82080. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  82081. + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
  82082. + nonempty (path));
  82083. if ((!path) || (!*path))
  82084. return 0;
  82085.  
  82086. @@ -3638,8 +5982,8 @@
  82087. int rval = 0;
  82088. struct stat st;
  82089.  
  82090. - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  82091. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  82092. + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
  82093. + nonempty (path));
  82094. if ((!path) || (!*path))
  82095. return 0;
  82096.  
  82097. @@ -3662,17 +6006,17 @@
  82098. const char *p_next;
  82099. /* static buffer for getcwd */
  82100. char tmp[LT_PATHMAX + 1];
  82101. - int tmp_len;
  82102. + size_t tmp_len;
  82103. char *concat_name;
  82104.  
  82105. - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  82106. - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  82107. + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
  82108. + nonempty (wrapper));
  82109.  
  82110. if ((wrapper == NULL) || (*wrapper == '\0'))
  82111. return NULL;
  82112.  
  82113. /* Absolute path? */
  82114. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  82115. +#if defined HAVE_DOS_BASED_FILE_SYSTEM
  82116. if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  82117. {
  82118. concat_name = xstrdup (wrapper);
  82119. @@ -3690,7 +6034,7 @@
  82120. return concat_name;
  82121. XFREE (concat_name);
  82122. }
  82123. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  82124. +#if defined HAVE_DOS_BASED_FILE_SYSTEM
  82125. }
  82126. #endif
  82127.  
  82128. @@ -3713,13 +6057,14 @@
  82129. for (q = p; *q; q++)
  82130. if (IS_PATH_SEPARATOR (*q))
  82131. break;
  82132. - p_len = q - p;
  82133. + p_len = (size_t) (q - p);
  82134. p_next = (*q == '\0' ? q : q + 1);
  82135. if (p_len == 0)
  82136. {
  82137. /* empty path: current directory */
  82138. if (getcwd (tmp, LT_PATHMAX) == NULL)
  82139. - lt_fatal ("getcwd failed");
  82140. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  82141. + nonnull (strerror (errno)));
  82142. tmp_len = strlen (tmp);
  82143. concat_name =
  82144. XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  82145. @@ -3744,7 +6089,8 @@
  82146. }
  82147. /* Relative path | not found in path: prepend cwd */
  82148. if (getcwd (tmp, LT_PATHMAX) == NULL)
  82149. - lt_fatal ("getcwd failed");
  82150. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  82151. + nonnull (strerror (errno)));
  82152. tmp_len = strlen (tmp);
  82153. concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  82154. memcpy (concat_name, tmp, tmp_len);
  82155. @@ -3770,8 +6116,9 @@
  82156. int has_symlinks = 0;
  82157. while (strlen (tmp_pathspec) && !has_symlinks)
  82158. {
  82159. - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  82160. - tmp_pathspec));
  82161. + lt_debugprintf (__FILE__, __LINE__,
  82162. + "checking path component for symlinks: %s\n",
  82163. + tmp_pathspec);
  82164. if (lstat (tmp_pathspec, &s) == 0)
  82165. {
  82166. if (S_ISLNK (s.st_mode) != 0)
  82167. @@ -3793,8 +6140,9 @@
  82168. }
  82169. else
  82170. {
  82171. - char *errstr = strerror (errno);
  82172. - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  82173. + lt_fatal (__FILE__, __LINE__,
  82174. + "error accessing file \"%s\": %s",
  82175. + tmp_pathspec, nonnull (strerror (errno)));
  82176. }
  82177. }
  82178. XFREE (tmp_pathspec);
  82179. @@ -3807,7 +6155,8 @@
  82180. tmp_pathspec = realpath (pathspec, buf);
  82181. if (tmp_pathspec == 0)
  82182. {
  82183. - lt_fatal ("Could not follow symlinks for %s", pathspec);
  82184. + lt_fatal (__FILE__, __LINE__,
  82185. + "could not follow symlinks for %s", pathspec);
  82186. }
  82187. return xstrdup (tmp_pathspec);
  82188. #endif
  82189. @@ -3827,17 +6176,31 @@
  82190. if (patlen <= len)
  82191. {
  82192. str += len - patlen;
  82193. - if (strcmp (str, pat) == 0)
  82194. + if (STREQ (str, pat))
  82195. *str = '\0';
  82196. }
  82197. return str;
  82198. }
  82199.  
  82200. +void
  82201. +lt_debugprintf (const char *file, int line, const char *fmt, ...)
  82202. +{
  82203. + va_list args;
  82204. + if (lt_debug)
  82205. + {
  82206. + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
  82207. + va_start (args, fmt);
  82208. + (void) vfprintf (stderr, fmt, args);
  82209. + va_end (args);
  82210. + }
  82211. +}
  82212. +
  82213. static void
  82214. -lt_error_core (int exit_status, const char *mode,
  82215. +lt_error_core (int exit_status, const char *file,
  82216. + int line, const char *mode,
  82217. const char *message, va_list ap)
  82218. {
  82219. - fprintf (stderr, "%s: %s: ", program_name, mode);
  82220. + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
  82221. vfprintf (stderr, message, ap);
  82222. fprintf (stderr, ".\n");
  82223.  
  82224. @@ -3846,27 +6209,39 @@
  82225. }
  82226.  
  82227. void
  82228. -lt_fatal (const char *message, ...)
  82229. +lt_fatal (const char *file, int line, const char *message, ...)
  82230. {
  82231. va_list ap;
  82232. va_start (ap, message);
  82233. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  82234. + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
  82235. va_end (ap);
  82236. }
  82237.  
  82238. +static const char *
  82239. +nonnull (const char *s)
  82240. +{
  82241. + return s ? s : "(null)";
  82242. +}
  82243. +
  82244. +static const char *
  82245. +nonempty (const char *s)
  82246. +{
  82247. + return (s && !*s) ? "(empty)" : nonnull (s);
  82248. +}
  82249. +
  82250. void
  82251. lt_setenv (const char *name, const char *value)
  82252. {
  82253. - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  82254. - (name ? name : "<NULL>"),
  82255. - (value ? value : "<NULL>")));
  82256. + lt_debugprintf (__FILE__, __LINE__,
  82257. + "(lt_setenv) setting '%s' to '%s'\n",
  82258. + nonnull (name), nonnull (value));
  82259. {
  82260. #ifdef HAVE_SETENV
  82261. /* always make a copy, for consistency with !HAVE_SETENV */
  82262. char *str = xstrdup (value);
  82263. setenv (name, str, 1);
  82264. #else
  82265. - int len = strlen (name) + 1 + strlen (value) + 1;
  82266. + size_t len = strlen (name) + 1 + strlen (value) + 1;
  82267. char *str = XMALLOC (char, len);
  82268. sprintf (str, "%s=%s", name, value);
  82269. if (putenv (str) != EXIT_SUCCESS)
  82270. @@ -3883,8 +6258,8 @@
  82271. char *new_value;
  82272. if (orig_value && *orig_value)
  82273. {
  82274. - int orig_value_len = strlen (orig_value);
  82275. - int add_len = strlen (add);
  82276. + size_t orig_value_len = strlen (orig_value);
  82277. + size_t add_len = strlen (add);
  82278. new_value = XMALLOC (char, add_len + orig_value_len + 1);
  82279. if (to_end)
  82280. {
  82281. @@ -3904,104 +6279,21 @@
  82282. return new_value;
  82283. }
  82284.  
  82285. -int
  82286. -lt_split_name_value (const char *arg, char** name, char** value)
  82287. -{
  82288. - const char *p;
  82289. - int len;
  82290. - if (!arg || !*arg)
  82291. - return 1;
  82292. -
  82293. - p = strchr (arg, (int)'=');
  82294. -
  82295. - if (!p)
  82296. - return 1;
  82297. -
  82298. - *value = xstrdup (++p);
  82299. -
  82300. - len = strlen (arg) - strlen (*value);
  82301. - *name = XMALLOC (char, len);
  82302. - strncpy (*name, arg, len-1);
  82303. - (*name)[len - 1] = '\0';
  82304. -
  82305. - return 0;
  82306. -}
  82307. -
  82308. -void
  82309. -lt_opt_process_env_set (const char *arg)
  82310. -{
  82311. - char *name = NULL;
  82312. - char *value = NULL;
  82313. -
  82314. - if (lt_split_name_value (arg, &name, &value) != 0)
  82315. - {
  82316. - XFREE (name);
  82317. - XFREE (value);
  82318. - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  82319. - }
  82320. -
  82321. - lt_setenv (name, value);
  82322. - XFREE (name);
  82323. - XFREE (value);
  82324. -}
  82325. -
  82326. -void
  82327. -lt_opt_process_env_prepend (const char *arg)
  82328. -{
  82329. - char *name = NULL;
  82330. - char *value = NULL;
  82331. - char *new_value = NULL;
  82332. -
  82333. - if (lt_split_name_value (arg, &name, &value) != 0)
  82334. - {
  82335. - XFREE (name);
  82336. - XFREE (value);
  82337. - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  82338. - }
  82339. -
  82340. - new_value = lt_extend_str (getenv (name), value, 0);
  82341. - lt_setenv (name, new_value);
  82342. - XFREE (new_value);
  82343. - XFREE (name);
  82344. - XFREE (value);
  82345. -}
  82346. -
  82347. -void
  82348. -lt_opt_process_env_append (const char *arg)
  82349. -{
  82350. - char *name = NULL;
  82351. - char *value = NULL;
  82352. - char *new_value = NULL;
  82353. -
  82354. - if (lt_split_name_value (arg, &name, &value) != 0)
  82355. - {
  82356. - XFREE (name);
  82357. - XFREE (value);
  82358. - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  82359. - }
  82360. -
  82361. - new_value = lt_extend_str (getenv (name), value, 1);
  82362. - lt_setenv (name, new_value);
  82363. - XFREE (new_value);
  82364. - XFREE (name);
  82365. - XFREE (value);
  82366. -}
  82367. -
  82368. void
  82369. lt_update_exe_path (const char *name, const char *value)
  82370. {
  82371. - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  82372. - (name ? name : "<NULL>"),
  82373. - (value ? value : "<NULL>")));
  82374. + lt_debugprintf (__FILE__, __LINE__,
  82375. + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  82376. + nonnull (name), nonnull (value));
  82377.  
  82378. if (name && *name && value && *value)
  82379. {
  82380. char *new_value = lt_extend_str (getenv (name), value, 0);
  82381. /* some systems can't cope with a ':'-terminated path #' */
  82382. - int len = strlen (new_value);
  82383. - while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  82384. + size_t len = strlen (new_value);
  82385. + while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  82386. {
  82387. - new_value[len-1] = '\0';
  82388. + new_value[--len] = '\0';
  82389. }
  82390. lt_setenv (name, new_value);
  82391. XFREE (new_value);
  82392. @@ -4011,9 +6303,9 @@
  82393. void
  82394. lt_update_lib_path (const char *name, const char *value)
  82395. {
  82396. - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  82397. - (name ? name : "<NULL>"),
  82398. - (value ? value : "<NULL>")));
  82399. + lt_debugprintf (__FILE__, __LINE__,
  82400. + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  82401. + nonnull (name), nonnull (value));
  82402.  
  82403. if (name && *name && value && *value)
  82404. {
  82405. @@ -4023,25 +6315,192 @@
  82406. }
  82407. }
  82408.  
  82409. +EOF
  82410. + case $host_os in
  82411. + mingw*)
  82412. + cat <<"EOF"
  82413. +
  82414. +/* Prepares an argument vector before calling spawn().
  82415. + Note that spawn() does not by itself call the command interpreter
  82416. + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
  82417. + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
  82418. + GetVersionEx(&v);
  82419. + v.dwPlatformId == VER_PLATFORM_WIN32_NT;
  82420. + }) ? "cmd.exe" : "command.com").
  82421. + Instead it simply concatenates the arguments, separated by ' ', and calls
  82422. + CreateProcess(). We must quote the arguments since Win32 CreateProcess()
  82423. + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
  82424. + special way:
  82425. + - Space and tab are interpreted as delimiters. They are not treated as
  82426. + delimiters if they are surrounded by double quotes: "...".
  82427. + - Unescaped double quotes are removed from the input. Their only effect is
  82428. + that within double quotes, space and tab are treated like normal
  82429. + characters.
  82430. + - Backslashes not followed by double quotes are not special.
  82431. + - But 2*n+1 backslashes followed by a double quote become
  82432. + n backslashes followed by a double quote (n >= 0):
  82433. + \" -> "
  82434. + \\\" -> \"
  82435. + \\\\\" -> \\"
  82436. + */
  82437. +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
  82438. +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
  82439. +char **
  82440. +prepare_spawn (char **argv)
  82441. +{
  82442. + size_t argc;
  82443. + char **new_argv;
  82444. + size_t i;
  82445. +
  82446. + /* Count number of arguments. */
  82447. + for (argc = 0; argv[argc] != NULL; argc++)
  82448. + ;
  82449. +
  82450. + /* Allocate new argument vector. */
  82451. + new_argv = XMALLOC (char *, argc + 1);
  82452. +
  82453. + /* Put quoted arguments into the new argument vector. */
  82454. + for (i = 0; i < argc; i++)
  82455. + {
  82456. + const char *string = argv[i];
  82457. +
  82458. + if (string[0] == '\0')
  82459. + new_argv[i] = xstrdup ("\"\"");
  82460. + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
  82461. + {
  82462. + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
  82463. + size_t length;
  82464. + unsigned int backslashes;
  82465. + const char *s;
  82466. + char *quoted_string;
  82467. + char *p;
  82468. +
  82469. + length = 0;
  82470. + backslashes = 0;
  82471. + if (quote_around)
  82472. + length++;
  82473. + for (s = string; *s != '\0'; s++)
  82474. + {
  82475. + char c = *s;
  82476. + if (c == '"')
  82477. + length += backslashes + 1;
  82478. + length++;
  82479. + if (c == '\\')
  82480. + backslashes++;
  82481. + else
  82482. + backslashes = 0;
  82483. + }
  82484. + if (quote_around)
  82485. + length += backslashes + 1;
  82486. +
  82487. + quoted_string = XMALLOC (char, length + 1);
  82488. +
  82489. + p = quoted_string;
  82490. + backslashes = 0;
  82491. + if (quote_around)
  82492. + *p++ = '"';
  82493. + for (s = string; *s != '\0'; s++)
  82494. + {
  82495. + char c = *s;
  82496. + if (c == '"')
  82497. + {
  82498. + unsigned int j;
  82499. + for (j = backslashes + 1; j > 0; j--)
  82500. + *p++ = '\\';
  82501. + }
  82502. + *p++ = c;
  82503. + if (c == '\\')
  82504. + backslashes++;
  82505. + else
  82506. + backslashes = 0;
  82507. + }
  82508. + if (quote_around)
  82509. + {
  82510. + unsigned int j;
  82511. + for (j = backslashes; j > 0; j--)
  82512. + *p++ = '\\';
  82513. + *p++ = '"';
  82514. + }
  82515. + *p = '\0';
  82516. +
  82517. + new_argv[i] = quoted_string;
  82518. + }
  82519. + else
  82520. + new_argv[i] = (char *) string;
  82521. + }
  82522. + new_argv[argc] = NULL;
  82523. +
  82524. + return new_argv;
  82525. +}
  82526. +EOF
  82527. + ;;
  82528. + esac
  82529.  
  82530. + cat <<"EOF"
  82531. +void lt_dump_script (FILE* f)
  82532. +{
  82533. +EOF
  82534. + func_emit_wrapper yes |
  82535. + $SED -n -e '
  82536. +s/^\(.\{79\}\)\(..*\)/\1\
  82537. +\2/
  82538. +h
  82539. +s/\([\\"]\)/\\\1/g
  82540. +s/$/\\n/
  82541. +s/\([^\n]*\).*/ fputs ("\1", f);/p
  82542. +g
  82543. +D'
  82544. + cat <<"EOF"
  82545. +}
  82546. EOF
  82547. }
  82548. # end: func_emit_cwrapperexe_src
  82549.  
  82550. +# func_win32_import_lib_p ARG
  82551. +# True if ARG is an import lib, as indicated by $file_magic_cmd
  82552. +func_win32_import_lib_p ()
  82553. +{
  82554. + $debug_cmd
  82555. +
  82556. + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
  82557. + *import*) : ;;
  82558. + *) false ;;
  82559. + esac
  82560. +}
  82561. +
  82562. +# func_suncc_cstd_abi
  82563. +# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
  82564. +# Several compiler flags select an ABI that is incompatible with the
  82565. +# Cstd library. Avoid specifying it if any are in CXXFLAGS.
  82566. +func_suncc_cstd_abi ()
  82567. +{
  82568. + $debug_cmd
  82569. +
  82570. + case " $compile_command " in
  82571. + *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
  82572. + suncc_use_cstd_abi=no
  82573. + ;;
  82574. + *)
  82575. + suncc_use_cstd_abi=yes
  82576. + ;;
  82577. + esac
  82578. +}
  82579. +
  82580. # func_mode_link arg...
  82581. func_mode_link ()
  82582. {
  82583. - $opt_debug
  82584. + $debug_cmd
  82585. +
  82586. case $host in
  82587. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  82588. # It is impossible to link a dll without this setting, and
  82589. # we shouldn't force the makefile maintainer to figure out
  82590. - # which system we are compiling for in order to pass an extra
  82591. + # what system we are compiling for in order to pass an extra
  82592. # flag for every libtool invocation.
  82593. # allow_undefined=no
  82594.  
  82595. # FIXME: Unfortunately, there are problems with the above when trying
  82596. - # to make a dll which has undefined symbols, in which case not
  82597. + # to make a dll that has undefined symbols, in which case not
  82598. # even a static library is built. For now, we need to specify
  82599. # -no-undefined on the libtool link line when we can be certain
  82600. # that all symbols are satisfied, otherwise we get a static library.
  82601. @@ -4072,6 +6531,7 @@
  82602. new_inherited_linker_flags=
  82603.  
  82604. avoid_version=no
  82605. + bindir=
  82606. dlfiles=
  82607. dlprefiles=
  82608. dlself=no
  82609. @@ -4084,10 +6544,11 @@
  82610. module=no
  82611. no_install=no
  82612. objs=
  82613. + os2dllname=
  82614. non_pic_objects=
  82615. precious_files_regex=
  82616. prefer_static_libs=no
  82617. - preload=no
  82618. + preload=false
  82619. prev=
  82620. prevarg=
  82621. release=
  82622. @@ -4099,7 +6560,7 @@
  82623. vinfo=
  82624. vinfo_number=no
  82625. weak_libs=
  82626. - single_module="${wl}-single_module"
  82627. + single_module=$wl-single_module
  82628. func_infer_tag $base_compile
  82629.  
  82630. # We need to know -static, to get the right output filenames.
  82631. @@ -4107,15 +6568,15 @@
  82632. do
  82633. case $arg in
  82634. -shared)
  82635. - test "$build_libtool_libs" != yes && \
  82636. - func_fatal_configuration "can not build a shared library"
  82637. + test yes != "$build_libtool_libs" \
  82638. + && func_fatal_configuration "cannot build a shared library"
  82639. build_old_libs=no
  82640. break
  82641. ;;
  82642. -all-static | -static | -static-libtool-libs)
  82643. case $arg in
  82644. -all-static)
  82645. - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  82646. + if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
  82647. func_warning "complete static linking is impossible in this configuration"
  82648. fi
  82649. if test -n "$link_static_flag"; then
  82650. @@ -4148,7 +6609,7 @@
  82651.  
  82652. # Go through the arguments, transforming them on the way.
  82653. while test "$#" -gt 0; do
  82654. - arg="$1"
  82655. + arg=$1
  82656. shift
  82657. func_quote_for_eval "$arg"
  82658. qarg=$func_quote_for_eval_unquoted_result
  82659. @@ -4164,17 +6625,22 @@
  82660. esac
  82661.  
  82662. case $prev in
  82663. + bindir)
  82664. + bindir=$arg
  82665. + prev=
  82666. + continue
  82667. + ;;
  82668. dlfiles|dlprefiles)
  82669. - if test "$preload" = no; then
  82670. + $preload || {
  82671. # Add the symbol object into the linking commands.
  82672. func_append compile_command " @SYMFILE@"
  82673. func_append finalize_command " @SYMFILE@"
  82674. - preload=yes
  82675. - fi
  82676. + preload=:
  82677. + }
  82678. case $arg in
  82679. *.la | *.lo) ;; # We handle these cases below.
  82680. force)
  82681. - if test "$dlself" = no; then
  82682. + if test no = "$dlself"; then
  82683. dlself=needless
  82684. export_dynamic=yes
  82685. fi
  82686. @@ -4182,9 +6648,9 @@
  82687. continue
  82688. ;;
  82689. self)
  82690. - if test "$prev" = dlprefiles; then
  82691. + if test dlprefiles = "$prev"; then
  82692. dlself=yes
  82693. - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  82694. + elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
  82695. dlself=yes
  82696. else
  82697. dlself=needless
  82698. @@ -4194,10 +6660,10 @@
  82699. continue
  82700. ;;
  82701. *)
  82702. - if test "$prev" = dlfiles; then
  82703. - dlfiles="$dlfiles $arg"
  82704. + if test dlfiles = "$prev"; then
  82705. + func_append dlfiles " $arg"
  82706. else
  82707. - dlprefiles="$dlprefiles $arg"
  82708. + func_append dlprefiles " $arg"
  82709. fi
  82710. prev=
  82711. continue
  82712. @@ -4205,14 +6671,14 @@
  82713. esac
  82714. ;;
  82715. expsyms)
  82716. - export_symbols="$arg"
  82717. + export_symbols=$arg
  82718. test -f "$arg" \
  82719. - || func_fatal_error "symbol file \`$arg' does not exist"
  82720. + || func_fatal_error "symbol file '$arg' does not exist"
  82721. prev=
  82722. continue
  82723. ;;
  82724. expsyms_regex)
  82725. - export_symbols_regex="$arg"
  82726. + export_symbols_regex=$arg
  82727. prev=
  82728. continue
  82729. ;;
  82730. @@ -4221,7 +6687,7 @@
  82731. *-*-darwin*)
  82732. case "$deplibs " in
  82733. *" $qarg.ltframework "*) ;;
  82734. - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  82735. + *) func_append deplibs " $qarg.ltframework" # this is fixed later
  82736. ;;
  82737. esac
  82738. ;;
  82739. @@ -4230,7 +6696,13 @@
  82740. continue
  82741. ;;
  82742. inst_prefix)
  82743. - inst_prefix_dir="$arg"
  82744. + inst_prefix_dir=$arg
  82745. + prev=
  82746. + continue
  82747. + ;;
  82748. + mllvm)
  82749. + # Clang does not use LLVM to link, so we can simply discard any
  82750. + # '-mllvm $arg' options when doing the link step.
  82751. prev=
  82752. continue
  82753. ;;
  82754. @@ -4240,7 +6712,7 @@
  82755. moreargs=
  82756. for fil in `cat "$save_arg"`
  82757. do
  82758. -# moreargs="$moreargs $fil"
  82759. +# func_append moreargs " $fil"
  82760. arg=$fil
  82761. # A libtool-controlled object.
  82762.  
  82763. @@ -4254,22 +6726,22 @@
  82764.  
  82765. if test -z "$pic_object" ||
  82766. test -z "$non_pic_object" ||
  82767. - test "$pic_object" = none &&
  82768. - test "$non_pic_object" = none; then
  82769. - func_fatal_error "cannot find name of object for \`$arg'"
  82770. + test none = "$pic_object" &&
  82771. + test none = "$non_pic_object"; then
  82772. + func_fatal_error "cannot find name of object for '$arg'"
  82773. fi
  82774.  
  82775. # Extract subdirectory from the argument.
  82776. func_dirname "$arg" "/" ""
  82777. - xdir="$func_dirname_result"
  82778. + xdir=$func_dirname_result
  82779.  
  82780. - if test "$pic_object" != none; then
  82781. + if test none != "$pic_object"; then
  82782. # Prepend the subdirectory the object is found in.
  82783. - pic_object="$xdir$pic_object"
  82784. + pic_object=$xdir$pic_object
  82785.  
  82786. - if test "$prev" = dlfiles; then
  82787. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  82788. - dlfiles="$dlfiles $pic_object"
  82789. + if test dlfiles = "$prev"; then
  82790. + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
  82791. + func_append dlfiles " $pic_object"
  82792. prev=
  82793. continue
  82794. else
  82795. @@ -4279,31 +6751,31 @@
  82796. fi
  82797.  
  82798. # CHECK ME: I think I busted this. -Ossama
  82799. - if test "$prev" = dlprefiles; then
  82800. + if test dlprefiles = "$prev"; then
  82801. # Preload the old-style object.
  82802. - dlprefiles="$dlprefiles $pic_object"
  82803. + func_append dlprefiles " $pic_object"
  82804. prev=
  82805. fi
  82806.  
  82807. # A PIC object.
  82808. func_append libobjs " $pic_object"
  82809. - arg="$pic_object"
  82810. + arg=$pic_object
  82811. fi
  82812.  
  82813. # Non-PIC object.
  82814. - if test "$non_pic_object" != none; then
  82815. + if test none != "$non_pic_object"; then
  82816. # Prepend the subdirectory the object is found in.
  82817. - non_pic_object="$xdir$non_pic_object"
  82818. + non_pic_object=$xdir$non_pic_object
  82819.  
  82820. # A standard non-PIC object
  82821. func_append non_pic_objects " $non_pic_object"
  82822. - if test -z "$pic_object" || test "$pic_object" = none ; then
  82823. - arg="$non_pic_object"
  82824. + if test -z "$pic_object" || test none = "$pic_object"; then
  82825. + arg=$non_pic_object
  82826. fi
  82827. else
  82828. # If the PIC object exists, use it instead.
  82829. # $xdir was prepended to $pic_object above.
  82830. - non_pic_object="$pic_object"
  82831. + non_pic_object=$pic_object
  82832. func_append non_pic_objects " $non_pic_object"
  82833. fi
  82834. else
  82835. @@ -4311,7 +6783,7 @@
  82836. if $opt_dry_run; then
  82837. # Extract subdirectory from the argument.
  82838. func_dirname "$arg" "/" ""
  82839. - xdir="$func_dirname_result"
  82840. + xdir=$func_dirname_result
  82841.  
  82842. func_lo2o "$arg"
  82843. pic_object=$xdir$objdir/$func_lo2o_result
  82844. @@ -4319,24 +6791,29 @@
  82845. func_append libobjs " $pic_object"
  82846. func_append non_pic_objects " $non_pic_object"
  82847. else
  82848. - func_fatal_error "\`$arg' is not a valid libtool object"
  82849. + func_fatal_error "'$arg' is not a valid libtool object"
  82850. fi
  82851. fi
  82852. done
  82853. else
  82854. - func_fatal_error "link input file \`$arg' does not exist"
  82855. + func_fatal_error "link input file '$arg' does not exist"
  82856. fi
  82857. arg=$save_arg
  82858. prev=
  82859. continue
  82860. ;;
  82861. + os2dllname)
  82862. + os2dllname=$arg
  82863. + prev=
  82864. + continue
  82865. + ;;
  82866. precious_regex)
  82867. - precious_files_regex="$arg"
  82868. + precious_files_regex=$arg
  82869. prev=
  82870. continue
  82871. ;;
  82872. release)
  82873. - release="-$arg"
  82874. + release=-$arg
  82875. prev=
  82876. continue
  82877. ;;
  82878. @@ -4348,48 +6825,48 @@
  82879. func_fatal_error "only absolute run-paths are allowed"
  82880. ;;
  82881. esac
  82882. - if test "$prev" = rpath; then
  82883. + if test rpath = "$prev"; then
  82884. case "$rpath " in
  82885. *" $arg "*) ;;
  82886. - *) rpath="$rpath $arg" ;;
  82887. + *) func_append rpath " $arg" ;;
  82888. esac
  82889. else
  82890. case "$xrpath " in
  82891. *" $arg "*) ;;
  82892. - *) xrpath="$xrpath $arg" ;;
  82893. + *) func_append xrpath " $arg" ;;
  82894. esac
  82895. fi
  82896. prev=
  82897. continue
  82898. ;;
  82899. shrext)
  82900. - shrext_cmds="$arg"
  82901. + shrext_cmds=$arg
  82902. prev=
  82903. continue
  82904. ;;
  82905. weak)
  82906. - weak_libs="$weak_libs $arg"
  82907. + func_append weak_libs " $arg"
  82908. prev=
  82909. continue
  82910. ;;
  82911. xcclinker)
  82912. - linker_flags="$linker_flags $qarg"
  82913. - compiler_flags="$compiler_flags $qarg"
  82914. + func_append linker_flags " $qarg"
  82915. + func_append compiler_flags " $qarg"
  82916. prev=
  82917. func_append compile_command " $qarg"
  82918. func_append finalize_command " $qarg"
  82919. continue
  82920. ;;
  82921. xcompiler)
  82922. - compiler_flags="$compiler_flags $qarg"
  82923. + func_append compiler_flags " $qarg"
  82924. prev=
  82925. func_append compile_command " $qarg"
  82926. func_append finalize_command " $qarg"
  82927. continue
  82928. ;;
  82929. xlinker)
  82930. - linker_flags="$linker_flags $qarg"
  82931. - compiler_flags="$compiler_flags $wl$qarg"
  82932. + func_append linker_flags " $qarg"
  82933. + func_append compiler_flags " $wl$qarg"
  82934. prev=
  82935. func_append compile_command " $wl$qarg"
  82936. func_append finalize_command " $wl$qarg"
  82937. @@ -4403,7 +6880,7 @@
  82938. esac
  82939. fi # test -n "$prev"
  82940.  
  82941. - prevarg="$arg"
  82942. + prevarg=$arg
  82943.  
  82944. case $arg in
  82945. -all-static)
  82946. @@ -4417,7 +6894,7 @@
  82947.  
  82948. -allow-undefined)
  82949. # FIXME: remove this flag sometime in the future.
  82950. - func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  82951. + func_fatal_error "'-allow-undefined' must not be used because it is the default"
  82952. ;;
  82953.  
  82954. -avoid-version)
  82955. @@ -4425,6 +6902,11 @@
  82956. continue
  82957. ;;
  82958.  
  82959. + -bindir)
  82960. + prev=bindir
  82961. + continue
  82962. + ;;
  82963. +
  82964. -dlopen)
  82965. prev=dlfiles
  82966. continue
  82967. @@ -4444,7 +6926,7 @@
  82968. if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  82969. func_fatal_error "more than one -exported-symbols argument is not allowed"
  82970. fi
  82971. - if test "X$arg" = "X-export-symbols"; then
  82972. + if test X-export-symbols = "X$arg"; then
  82973. prev=expsyms
  82974. else
  82975. prev=expsyms_regex
  82976. @@ -4475,44 +6957,51 @@
  82977. ;;
  82978.  
  82979. -L*)
  82980. - func_stripname '-L' '' "$arg"
  82981. - dir=$func_stripname_result
  82982. - if test -z "$dir"; then
  82983. + func_stripname "-L" '' "$arg"
  82984. + if test -z "$func_stripname_result"; then
  82985. if test "$#" -gt 0; then
  82986. - func_fatal_error "require no space between \`-L' and \`$1'"
  82987. + func_fatal_error "require no space between '-L' and '$1'"
  82988. else
  82989. - func_fatal_error "need path for \`-L' option"
  82990. + func_fatal_error "need path for '-L' option"
  82991. fi
  82992. fi
  82993. + func_resolve_sysroot "$func_stripname_result"
  82994. + dir=$func_resolve_sysroot_result
  82995. # We need an absolute path.
  82996. case $dir in
  82997. [\\/]* | [A-Za-z]:[\\/]*) ;;
  82998. *)
  82999. absdir=`cd "$dir" && pwd`
  83000. test -z "$absdir" && \
  83001. - func_fatal_error "cannot determine absolute directory name of \`$dir'"
  83002. - dir="$absdir"
  83003. + func_fatal_error "cannot determine absolute directory name of '$dir'"
  83004. + dir=$absdir
  83005. ;;
  83006. esac
  83007. case "$deplibs " in
  83008. - *" -L$dir "*) ;;
  83009. + *" -L$dir "* | *" $arg "*)
  83010. + # Will only happen for absolute or sysroot arguments
  83011. + ;;
  83012. *)
  83013. - deplibs="$deplibs -L$dir"
  83014. - lib_search_path="$lib_search_path $dir"
  83015. + # Preserve sysroot, but never include relative directories
  83016. + case $dir in
  83017. + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
  83018. + *) func_append deplibs " -L$dir" ;;
  83019. + esac
  83020. + func_append lib_search_path " $dir"
  83021. ;;
  83022. esac
  83023. case $host in
  83024. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  83025. - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  83026. + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
  83027. case :$dllsearchpath: in
  83028. *":$dir:"*) ;;
  83029. ::) dllsearchpath=$dir;;
  83030. - *) dllsearchpath="$dllsearchpath:$dir";;
  83031. + *) func_append dllsearchpath ":$dir";;
  83032. esac
  83033. case :$dllsearchpath: in
  83034. *":$testbindir:"*) ;;
  83035. ::) dllsearchpath=$testbindir;;
  83036. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  83037. + *) func_append dllsearchpath ":$testbindir";;
  83038. esac
  83039. ;;
  83040. esac
  83041. @@ -4520,43 +7009,48 @@
  83042. ;;
  83043.  
  83044. -l*)
  83045. - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  83046. + if test X-lc = "X$arg" || test X-lm = "X$arg"; then
  83047. case $host in
  83048. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  83049. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
  83050. # These systems don't actually have a C or math library (as such)
  83051. continue
  83052. ;;
  83053. *-*-os2*)
  83054. # These systems don't actually have a C library (as such)
  83055. - test "X$arg" = "X-lc" && continue
  83056. + test X-lc = "X$arg" && continue
  83057. ;;
  83058. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  83059. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
  83060. # Do not include libc due to us having libc/libc_r.
  83061. - test "X$arg" = "X-lc" && continue
  83062. + test X-lc = "X$arg" && continue
  83063. ;;
  83064. *-*-rhapsody* | *-*-darwin1.[012])
  83065. # Rhapsody C and math libraries are in the System framework
  83066. - deplibs="$deplibs System.ltframework"
  83067. + func_append deplibs " System.ltframework"
  83068. continue
  83069. ;;
  83070. *-*-sco3.2v5* | *-*-sco5v6*)
  83071. # Causes problems with __ctype
  83072. - test "X$arg" = "X-lc" && continue
  83073. + test X-lc = "X$arg" && continue
  83074. ;;
  83075. *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  83076. # Compiler inserts libc in the correct place for threads to work
  83077. - test "X$arg" = "X-lc" && continue
  83078. + test X-lc = "X$arg" && continue
  83079. ;;
  83080. esac
  83081. - elif test "X$arg" = "X-lc_r"; then
  83082. + elif test X-lc_r = "X$arg"; then
  83083. case $host in
  83084. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  83085. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
  83086. # Do not include libc_r directly, use -pthread flag.
  83087. continue
  83088. ;;
  83089. esac
  83090. fi
  83091. - deplibs="$deplibs $arg"
  83092. + func_append deplibs " $arg"
  83093. + continue
  83094. + ;;
  83095. +
  83096. + -mllvm)
  83097. + prev=mllvm
  83098. continue
  83099. ;;
  83100.  
  83101. @@ -4568,27 +7062,28 @@
  83102. # Tru64 UNIX uses -model [arg] to determine the layout of C++
  83103. # classes, name mangling, and exception handling.
  83104. # Darwin uses the -arch flag to determine output architecture.
  83105. - -model|-arch|-isysroot)
  83106. - compiler_flags="$compiler_flags $arg"
  83107. + -model|-arch|-isysroot|--sysroot)
  83108. + func_append compiler_flags " $arg"
  83109. func_append compile_command " $arg"
  83110. func_append finalize_command " $arg"
  83111. prev=xcompiler
  83112. continue
  83113. ;;
  83114.  
  83115. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  83116. - compiler_flags="$compiler_flags $arg"
  83117. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
  83118. + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
  83119. + func_append compiler_flags " $arg"
  83120. func_append compile_command " $arg"
  83121. func_append finalize_command " $arg"
  83122. case "$new_inherited_linker_flags " in
  83123. *" $arg "*) ;;
  83124. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  83125. + * ) func_append new_inherited_linker_flags " $arg" ;;
  83126. esac
  83127. continue
  83128. ;;
  83129.  
  83130. -multi_module)
  83131. - single_module="${wl}-multi_module"
  83132. + single_module=$wl-multi_module
  83133. continue
  83134. ;;
  83135.  
  83136. @@ -4602,8 +7097,8 @@
  83137. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  83138. # The PATH hackery in wrapper scripts is required on Windows
  83139. # and Darwin in order for the loader to find any dlls it needs.
  83140. - func_warning "\`-no-install' is ignored for $host"
  83141. - func_warning "assuming \`-no-fast-install' instead"
  83142. + func_warning "'-no-install' is ignored for $host"
  83143. + func_warning "assuming '-no-fast-install' instead"
  83144. fast_install=no
  83145. ;;
  83146. *) no_install=yes ;;
  83147. @@ -4621,6 +7116,11 @@
  83148. continue
  83149. ;;
  83150.  
  83151. + -os2dllname)
  83152. + prev=os2dllname
  83153. + continue
  83154. + ;;
  83155. +
  83156. -o) prev=output ;;
  83157.  
  83158. -precious-files-regex)
  83159. @@ -4649,13 +7149,17 @@
  83160. # We need an absolute path.
  83161. case $dir in
  83162. [\\/]* | [A-Za-z]:[\\/]*) ;;
  83163. + =*)
  83164. + func_stripname '=' '' "$dir"
  83165. + dir=$lt_sysroot$func_stripname_result
  83166. + ;;
  83167. *)
  83168. func_fatal_error "only absolute run-paths are allowed"
  83169. ;;
  83170. esac
  83171. case "$xrpath " in
  83172. *" $dir "*) ;;
  83173. - *) xrpath="$xrpath $dir" ;;
  83174. + *) func_append xrpath " $dir" ;;
  83175. esac
  83176. continue
  83177. ;;
  83178. @@ -4704,14 +7208,14 @@
  83179. func_stripname '-Wc,' '' "$arg"
  83180. args=$func_stripname_result
  83181. arg=
  83182. - save_ifs="$IFS"; IFS=','
  83183. + save_ifs=$IFS; IFS=,
  83184. for flag in $args; do
  83185. - IFS="$save_ifs"
  83186. + IFS=$save_ifs
  83187. func_quote_for_eval "$flag"
  83188. - arg="$arg $wl$func_quote_for_eval_result"
  83189. - compiler_flags="$compiler_flags $func_quote_for_eval_result"
  83190. + func_append arg " $func_quote_for_eval_result"
  83191. + func_append compiler_flags " $func_quote_for_eval_result"
  83192. done
  83193. - IFS="$save_ifs"
  83194. + IFS=$save_ifs
  83195. func_stripname ' ' '' "$arg"
  83196. arg=$func_stripname_result
  83197. ;;
  83198. @@ -4720,15 +7224,15 @@
  83199. func_stripname '-Wl,' '' "$arg"
  83200. args=$func_stripname_result
  83201. arg=
  83202. - save_ifs="$IFS"; IFS=','
  83203. + save_ifs=$IFS; IFS=,
  83204. for flag in $args; do
  83205. - IFS="$save_ifs"
  83206. + IFS=$save_ifs
  83207. func_quote_for_eval "$flag"
  83208. - arg="$arg $wl$func_quote_for_eval_result"
  83209. - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  83210. - linker_flags="$linker_flags $func_quote_for_eval_result"
  83211. + func_append arg " $wl$func_quote_for_eval_result"
  83212. + func_append compiler_flags " $wl$func_quote_for_eval_result"
  83213. + func_append linker_flags " $func_quote_for_eval_result"
  83214. done
  83215. - IFS="$save_ifs"
  83216. + IFS=$save_ifs
  83217. func_stripname ' ' '' "$arg"
  83218. arg=$func_stripname_result
  83219. ;;
  83220. @@ -4751,38 +7255,65 @@
  83221. # -msg_* for osf cc
  83222. -msg_*)
  83223. func_quote_for_eval "$arg"
  83224. - arg="$func_quote_for_eval_result"
  83225. + arg=$func_quote_for_eval_result
  83226. ;;
  83227.  
  83228. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  83229. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  83230. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  83231. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  83232. - # -q* pass through compiler args for the IBM compiler
  83233. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  83234. - # compiler args for GCC
  83235. - # -F/path gives path to uninstalled frameworks, gcc on darwin
  83236. - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  83237. - # @file GCC response files
  83238. + # Flags to be passed through unchanged, with rationale:
  83239. + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
  83240. + # -r[0-9][0-9]* specify processor for the SGI compiler
  83241. + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
  83242. + # +DA*, +DD* enable 64-bit mode for the HP compiler
  83243. + # -q* compiler args for the IBM compiler
  83244. + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
  83245. + # -F/path path to uninstalled frameworks, gcc on darwin
  83246. + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
  83247. + # -fstack-protector* stack protector flags for GCC
  83248. + # @file GCC response files
  83249. + # -tp=* Portland pgcc target processor selection
  83250. + # --sysroot=* for sysroot support
  83251. + # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
  83252. + # -specs=* GCC specs files
  83253. + # -stdlib=* select c++ std lib with clang
  83254. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  83255. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  83256. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
  83257. + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
  83258. + -specs=*)
  83259. func_quote_for_eval "$arg"
  83260. - arg="$func_quote_for_eval_result"
  83261. + arg=$func_quote_for_eval_result
  83262. func_append compile_command " $arg"
  83263. func_append finalize_command " $arg"
  83264. - compiler_flags="$compiler_flags $arg"
  83265. + func_append compiler_flags " $arg"
  83266. continue
  83267. ;;
  83268.  
  83269. + -Z*)
  83270. + if test os2 = "`expr $host : '.*\(os2\)'`"; then
  83271. + # OS/2 uses -Zxxx to specify OS/2-specific options
  83272. + compiler_flags="$compiler_flags $arg"
  83273. + func_append compile_command " $arg"
  83274. + func_append finalize_command " $arg"
  83275. + case $arg in
  83276. + -Zlinker | -Zstack)
  83277. + prev=xcompiler
  83278. + ;;
  83279. + esac
  83280. + continue
  83281. + else
  83282. + # Otherwise treat like 'Some other compiler flag' below
  83283. + func_quote_for_eval "$arg"
  83284. + arg=$func_quote_for_eval_result
  83285. + fi
  83286. + ;;
  83287. +
  83288. # Some other compiler flag.
  83289. -* | +*)
  83290. func_quote_for_eval "$arg"
  83291. - arg="$func_quote_for_eval_result"
  83292. + arg=$func_quote_for_eval_result
  83293. ;;
  83294.  
  83295. *.$objext)
  83296. # A standard object.
  83297. - objs="$objs $arg"
  83298. + func_append objs " $arg"
  83299. ;;
  83300.  
  83301. *.lo)
  83302. @@ -4798,22 +7329,22 @@
  83303.  
  83304. if test -z "$pic_object" ||
  83305. test -z "$non_pic_object" ||
  83306. - test "$pic_object" = none &&
  83307. - test "$non_pic_object" = none; then
  83308. - func_fatal_error "cannot find name of object for \`$arg'"
  83309. + test none = "$pic_object" &&
  83310. + test none = "$non_pic_object"; then
  83311. + func_fatal_error "cannot find name of object for '$arg'"
  83312. fi
  83313.  
  83314. # Extract subdirectory from the argument.
  83315. func_dirname "$arg" "/" ""
  83316. - xdir="$func_dirname_result"
  83317. + xdir=$func_dirname_result
  83318.  
  83319. - if test "$pic_object" != none; then
  83320. + test none = "$pic_object" || {
  83321. # Prepend the subdirectory the object is found in.
  83322. - pic_object="$xdir$pic_object"
  83323. + pic_object=$xdir$pic_object
  83324.  
  83325. - if test "$prev" = dlfiles; then
  83326. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  83327. - dlfiles="$dlfiles $pic_object"
  83328. + if test dlfiles = "$prev"; then
  83329. + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
  83330. + func_append dlfiles " $pic_object"
  83331. prev=
  83332. continue
  83333. else
  83334. @@ -4823,31 +7354,31 @@
  83335. fi
  83336.  
  83337. # CHECK ME: I think I busted this. -Ossama
  83338. - if test "$prev" = dlprefiles; then
  83339. + if test dlprefiles = "$prev"; then
  83340. # Preload the old-style object.
  83341. - dlprefiles="$dlprefiles $pic_object"
  83342. + func_append dlprefiles " $pic_object"
  83343. prev=
  83344. fi
  83345.  
  83346. # A PIC object.
  83347. func_append libobjs " $pic_object"
  83348. - arg="$pic_object"
  83349. - fi
  83350. + arg=$pic_object
  83351. + }
  83352.  
  83353. # Non-PIC object.
  83354. - if test "$non_pic_object" != none; then
  83355. + if test none != "$non_pic_object"; then
  83356. # Prepend the subdirectory the object is found in.
  83357. - non_pic_object="$xdir$non_pic_object"
  83358. + non_pic_object=$xdir$non_pic_object
  83359.  
  83360. # A standard non-PIC object
  83361. func_append non_pic_objects " $non_pic_object"
  83362. - if test -z "$pic_object" || test "$pic_object" = none ; then
  83363. - arg="$non_pic_object"
  83364. + if test -z "$pic_object" || test none = "$pic_object"; then
  83365. + arg=$non_pic_object
  83366. fi
  83367. else
  83368. # If the PIC object exists, use it instead.
  83369. # $xdir was prepended to $pic_object above.
  83370. - non_pic_object="$pic_object"
  83371. + non_pic_object=$pic_object
  83372. func_append non_pic_objects " $non_pic_object"
  83373. fi
  83374. else
  83375. @@ -4855,7 +7386,7 @@
  83376. if $opt_dry_run; then
  83377. # Extract subdirectory from the argument.
  83378. func_dirname "$arg" "/" ""
  83379. - xdir="$func_dirname_result"
  83380. + xdir=$func_dirname_result
  83381.  
  83382. func_lo2o "$arg"
  83383. pic_object=$xdir$objdir/$func_lo2o_result
  83384. @@ -4863,31 +7394,32 @@
  83385. func_append libobjs " $pic_object"
  83386. func_append non_pic_objects " $non_pic_object"
  83387. else
  83388. - func_fatal_error "\`$arg' is not a valid libtool object"
  83389. + func_fatal_error "'$arg' is not a valid libtool object"
  83390. fi
  83391. fi
  83392. ;;
  83393.  
  83394. *.$libext)
  83395. # An archive.
  83396. - deplibs="$deplibs $arg"
  83397. - old_deplibs="$old_deplibs $arg"
  83398. + func_append deplibs " $arg"
  83399. + func_append old_deplibs " $arg"
  83400. continue
  83401. ;;
  83402.  
  83403. *.la)
  83404. # A libtool-controlled library.
  83405.  
  83406. - if test "$prev" = dlfiles; then
  83407. + func_resolve_sysroot "$arg"
  83408. + if test dlfiles = "$prev"; then
  83409. # This library was specified with -dlopen.
  83410. - dlfiles="$dlfiles $arg"
  83411. + func_append dlfiles " $func_resolve_sysroot_result"
  83412. prev=
  83413. - elif test "$prev" = dlprefiles; then
  83414. + elif test dlprefiles = "$prev"; then
  83415. # The library was specified with -dlpreopen.
  83416. - dlprefiles="$dlprefiles $arg"
  83417. + func_append dlprefiles " $func_resolve_sysroot_result"
  83418. prev=
  83419. else
  83420. - deplibs="$deplibs $arg"
  83421. + func_append deplibs " $func_resolve_sysroot_result"
  83422. fi
  83423. continue
  83424. ;;
  83425. @@ -4897,7 +7429,7 @@
  83426. # Unknown arguments in both finalize_command and compile_command need
  83427. # to be aesthetically quoted because they are evaled later.
  83428. func_quote_for_eval "$arg"
  83429. - arg="$func_quote_for_eval_result"
  83430. + arg=$func_quote_for_eval_result
  83431. ;;
  83432. esac # arg
  83433.  
  83434. @@ -4909,9 +7441,9 @@
  83435. done # argument parsing loop
  83436.  
  83437. test -n "$prev" && \
  83438. - func_fatal_help "the \`$prevarg' option requires an argument"
  83439. + func_fatal_help "the '$prevarg' option requires an argument"
  83440.  
  83441. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  83442. + if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
  83443. eval arg=\"$export_dynamic_flag_spec\"
  83444. func_append compile_command " $arg"
  83445. func_append finalize_command " $arg"
  83446. @@ -4920,20 +7452,25 @@
  83447. oldlibs=
  83448. # calculate the name of the file, without its directory
  83449. func_basename "$output"
  83450. - outputname="$func_basename_result"
  83451. - libobjs_save="$libobjs"
  83452. + outputname=$func_basename_result
  83453. + libobjs_save=$libobjs
  83454.  
  83455. if test -n "$shlibpath_var"; then
  83456. # get the directories listed in $shlibpath_var
  83457. - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  83458. + eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
  83459. else
  83460. shlib_search_path=
  83461. fi
  83462. eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  83463. eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  83464.  
  83465. + # Definition is injected by LT_CONFIG during libtool generation.
  83466. + func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
  83467. +
  83468. func_dirname "$output" "/" ""
  83469. - output_objdir="$func_dirname_result$objdir"
  83470. + output_objdir=$func_dirname_result$objdir
  83471. + func_to_tool_file "$output_objdir/"
  83472. + tool_output_objdir=$func_to_tool_file_result
  83473. # Create the object directory.
  83474. func_mkdir_p "$output_objdir"
  83475.  
  83476. @@ -4954,15 +7491,15 @@
  83477. # Find all interdependent deplibs by searching for libraries
  83478. # that are linked more than once (e.g. -la -lb -la)
  83479. for deplib in $deplibs; do
  83480. - if $opt_duplicate_deps ; then
  83481. + if $opt_preserve_dup_deps; then
  83482. case "$libs " in
  83483. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  83484. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  83485. esac
  83486. fi
  83487. - libs="$libs $deplib"
  83488. + func_append libs " $deplib"
  83489. done
  83490.  
  83491. - if test "$linkmode" = lib; then
  83492. + if test lib = "$linkmode"; then
  83493. libs="$predeps $libs $compiler_lib_search_path $postdeps"
  83494.  
  83495. # Compute libraries that are listed more than once in $predeps
  83496. @@ -4972,9 +7509,9 @@
  83497. if $opt_duplicate_compiler_generated_deps; then
  83498. for pre_post_dep in $predeps $postdeps; do
  83499. case "$pre_post_deps " in
  83500. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  83501. + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
  83502. esac
  83503. - pre_post_deps="$pre_post_deps $pre_post_dep"
  83504. + func_append pre_post_deps " $pre_post_dep"
  83505. done
  83506. fi
  83507. pre_post_deps=
  83508. @@ -4994,7 +7531,7 @@
  83509. case $file in
  83510. *.la) ;;
  83511. *)
  83512. - func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  83513. + func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
  83514. ;;
  83515. esac
  83516. done
  83517. @@ -5002,7 +7539,7 @@
  83518. prog)
  83519. compile_deplibs=
  83520. finalize_deplibs=
  83521. - alldeplibs=no
  83522. + alldeplibs=false
  83523. newdlfiles=
  83524. newdlprefiles=
  83525. passes="conv scan dlopen dlpreopen link"
  83526. @@ -5014,85 +7551,85 @@
  83527. for pass in $passes; do
  83528. # The preopen pass in lib mode reverses $deplibs; put it back here
  83529. # so that -L comes before libs that need it for instance...
  83530. - if test "$linkmode,$pass" = "lib,link"; then
  83531. + if test lib,link = "$linkmode,$pass"; then
  83532. ## FIXME: Find the place where the list is rebuilt in the wrong
  83533. ## order, and fix it there properly
  83534. tmp_deplibs=
  83535. for deplib in $deplibs; do
  83536. tmp_deplibs="$deplib $tmp_deplibs"
  83537. done
  83538. - deplibs="$tmp_deplibs"
  83539. + deplibs=$tmp_deplibs
  83540. fi
  83541.  
  83542. - if test "$linkmode,$pass" = "lib,link" ||
  83543. - test "$linkmode,$pass" = "prog,scan"; then
  83544. - libs="$deplibs"
  83545. + if test lib,link = "$linkmode,$pass" ||
  83546. + test prog,scan = "$linkmode,$pass"; then
  83547. + libs=$deplibs
  83548. deplibs=
  83549. fi
  83550. - if test "$linkmode" = prog; then
  83551. + if test prog = "$linkmode"; then
  83552. case $pass in
  83553. - dlopen) libs="$dlfiles" ;;
  83554. - dlpreopen) libs="$dlprefiles" ;;
  83555. - link)
  83556. - libs="$deplibs %DEPLIBS%"
  83557. - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  83558. - ;;
  83559. + dlopen) libs=$dlfiles ;;
  83560. + dlpreopen) libs=$dlprefiles ;;
  83561. + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  83562. esac
  83563. fi
  83564. - if test "$linkmode,$pass" = "lib,dlpreopen"; then
  83565. + if test lib,dlpreopen = "$linkmode,$pass"; then
  83566. # Collect and forward deplibs of preopened libtool libs
  83567. for lib in $dlprefiles; do
  83568. # Ignore non-libtool-libs
  83569. dependency_libs=
  83570. + func_resolve_sysroot "$lib"
  83571. case $lib in
  83572. - *.la) func_source "$lib" ;;
  83573. + *.la) func_source "$func_resolve_sysroot_result" ;;
  83574. esac
  83575.  
  83576. # Collect preopened libtool deplibs, except any this library
  83577. # has declared as weak libs
  83578. for deplib in $dependency_libs; do
  83579. - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  83580. + func_basename "$deplib"
  83581. + deplib_base=$func_basename_result
  83582. case " $weak_libs " in
  83583. *" $deplib_base "*) ;;
  83584. - *) deplibs="$deplibs $deplib" ;;
  83585. + *) func_append deplibs " $deplib" ;;
  83586. esac
  83587. done
  83588. done
  83589. - libs="$dlprefiles"
  83590. + libs=$dlprefiles
  83591. fi
  83592. - if test "$pass" = dlopen; then
  83593. + if test dlopen = "$pass"; then
  83594. # Collect dlpreopened libraries
  83595. - save_deplibs="$deplibs"
  83596. + save_deplibs=$deplibs
  83597. deplibs=
  83598. fi
  83599.  
  83600. for deplib in $libs; do
  83601. lib=
  83602. - found=no
  83603. + found=false
  83604. case $deplib in
  83605. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  83606. - if test "$linkmode,$pass" = "prog,link"; then
  83607. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
  83608. + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
  83609. + if test prog,link = "$linkmode,$pass"; then
  83610. compile_deplibs="$deplib $compile_deplibs"
  83611. finalize_deplibs="$deplib $finalize_deplibs"
  83612. else
  83613. - compiler_flags="$compiler_flags $deplib"
  83614. - if test "$linkmode" = lib ; then
  83615. + func_append compiler_flags " $deplib"
  83616. + if test lib = "$linkmode"; then
  83617. case "$new_inherited_linker_flags " in
  83618. *" $deplib "*) ;;
  83619. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  83620. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  83621. esac
  83622. fi
  83623. fi
  83624. continue
  83625. ;;
  83626. -l*)
  83627. - if test "$linkmode" != lib && test "$linkmode" != prog; then
  83628. - func_warning "\`-l' is ignored for archives/objects"
  83629. + if test lib != "$linkmode" && test prog != "$linkmode"; then
  83630. + func_warning "'-l' is ignored for archives/objects"
  83631. continue
  83632. fi
  83633. func_stripname '-l' '' "$deplib"
  83634. name=$func_stripname_result
  83635. - if test "$linkmode" = lib; then
  83636. + if test lib = "$linkmode"; then
  83637. searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  83638. else
  83639. searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  83640. @@ -5100,31 +7637,22 @@
  83641. for searchdir in $searchdirs; do
  83642. for search_ext in .la $std_shrext .so .a; do
  83643. # Search the libtool library
  83644. - lib="$searchdir/lib${name}${search_ext}"
  83645. + lib=$searchdir/lib$name$search_ext
  83646. if test -f "$lib"; then
  83647. - if test "$search_ext" = ".la"; then
  83648. - found=yes
  83649. + if test .la = "$search_ext"; then
  83650. + found=:
  83651. else
  83652. - found=no
  83653. + found=false
  83654. fi
  83655. break 2
  83656. fi
  83657. done
  83658. done
  83659. - if test "$found" != yes; then
  83660. - # deplib doesn't seem to be a libtool library
  83661. - if test "$linkmode,$pass" = "prog,link"; then
  83662. - compile_deplibs="$deplib $compile_deplibs"
  83663. - finalize_deplibs="$deplib $finalize_deplibs"
  83664. - else
  83665. - deplibs="$deplib $deplibs"
  83666. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  83667. - fi
  83668. - continue
  83669. - else # deplib is a libtool library
  83670. + if $found; then
  83671. + # deplib is a libtool library
  83672. # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  83673. # We need to do some special things here, and not later.
  83674. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  83675. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  83676. case " $predeps $postdeps " in
  83677. *" $deplib "*)
  83678. if func_lalib_p "$lib"; then
  83679. @@ -5132,19 +7660,19 @@
  83680. old_library=
  83681. func_source "$lib"
  83682. for l in $old_library $library_names; do
  83683. - ll="$l"
  83684. + ll=$l
  83685. done
  83686. - if test "X$ll" = "X$old_library" ; then # only static version available
  83687. - found=no
  83688. + if test "X$ll" = "X$old_library"; then # only static version available
  83689. + found=false
  83690. func_dirname "$lib" "" "."
  83691. - ladir="$func_dirname_result"
  83692. + ladir=$func_dirname_result
  83693. lib=$ladir/$old_library
  83694. - if test "$linkmode,$pass" = "prog,link"; then
  83695. + if test prog,link = "$linkmode,$pass"; then
  83696. compile_deplibs="$deplib $compile_deplibs"
  83697. finalize_deplibs="$deplib $finalize_deplibs"
  83698. else
  83699. deplibs="$deplib $deplibs"
  83700. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  83701. + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
  83702. fi
  83703. continue
  83704. fi
  83705. @@ -5153,18 +7681,28 @@
  83706. *) ;;
  83707. esac
  83708. fi
  83709. + else
  83710. + # deplib doesn't seem to be a libtool library
  83711. + if test prog,link = "$linkmode,$pass"; then
  83712. + compile_deplibs="$deplib $compile_deplibs"
  83713. + finalize_deplibs="$deplib $finalize_deplibs"
  83714. + else
  83715. + deplibs="$deplib $deplibs"
  83716. + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
  83717. + fi
  83718. + continue
  83719. fi
  83720. ;; # -l
  83721. *.ltframework)
  83722. - if test "$linkmode,$pass" = "prog,link"; then
  83723. + if test prog,link = "$linkmode,$pass"; then
  83724. compile_deplibs="$deplib $compile_deplibs"
  83725. finalize_deplibs="$deplib $finalize_deplibs"
  83726. else
  83727. deplibs="$deplib $deplibs"
  83728. - if test "$linkmode" = lib ; then
  83729. + if test lib = "$linkmode"; then
  83730. case "$new_inherited_linker_flags " in
  83731. *" $deplib "*) ;;
  83732. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  83733. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  83734. esac
  83735. fi
  83736. fi
  83737. @@ -5174,47 +7712,53 @@
  83738. case $linkmode in
  83739. lib)
  83740. deplibs="$deplib $deplibs"
  83741. - test "$pass" = conv && continue
  83742. + test conv = "$pass" && continue
  83743. newdependency_libs="$deplib $newdependency_libs"
  83744. func_stripname '-L' '' "$deplib"
  83745. - newlib_search_path="$newlib_search_path $func_stripname_result"
  83746. + func_resolve_sysroot "$func_stripname_result"
  83747. + func_append newlib_search_path " $func_resolve_sysroot_result"
  83748. ;;
  83749. prog)
  83750. - if test "$pass" = conv; then
  83751. + if test conv = "$pass"; then
  83752. deplibs="$deplib $deplibs"
  83753. continue
  83754. fi
  83755. - if test "$pass" = scan; then
  83756. + if test scan = "$pass"; then
  83757. deplibs="$deplib $deplibs"
  83758. else
  83759. compile_deplibs="$deplib $compile_deplibs"
  83760. finalize_deplibs="$deplib $finalize_deplibs"
  83761. fi
  83762. func_stripname '-L' '' "$deplib"
  83763. - newlib_search_path="$newlib_search_path $func_stripname_result"
  83764. + func_resolve_sysroot "$func_stripname_result"
  83765. + func_append newlib_search_path " $func_resolve_sysroot_result"
  83766. ;;
  83767. *)
  83768. - func_warning "\`-L' is ignored for archives/objects"
  83769. + func_warning "'-L' is ignored for archives/objects"
  83770. ;;
  83771. esac # linkmode
  83772. continue
  83773. ;; # -L
  83774. -R*)
  83775. - if test "$pass" = link; then
  83776. + if test link = "$pass"; then
  83777. func_stripname '-R' '' "$deplib"
  83778. - dir=$func_stripname_result
  83779. + func_resolve_sysroot "$func_stripname_result"
  83780. + dir=$func_resolve_sysroot_result
  83781. # Make sure the xrpath contains only unique directories.
  83782. case "$xrpath " in
  83783. *" $dir "*) ;;
  83784. - *) xrpath="$xrpath $dir" ;;
  83785. + *) func_append xrpath " $dir" ;;
  83786. esac
  83787. fi
  83788. deplibs="$deplib $deplibs"
  83789. continue
  83790. ;;
  83791. - *.la) lib="$deplib" ;;
  83792. + *.la)
  83793. + func_resolve_sysroot "$deplib"
  83794. + lib=$func_resolve_sysroot_result
  83795. + ;;
  83796. *.$libext)
  83797. - if test "$pass" = conv; then
  83798. + if test conv = "$pass"; then
  83799. deplibs="$deplib $deplibs"
  83800. continue
  83801. fi
  83802. @@ -5225,40 +7769,40 @@
  83803. case " $dlpreconveniencelibs " in
  83804. *" $deplib "*) ;;
  83805. *)
  83806. - valid_a_lib=no
  83807. + valid_a_lib=false
  83808. case $deplibs_check_method in
  83809. match_pattern*)
  83810. set dummy $deplibs_check_method; shift
  83811. match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  83812. - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  83813. + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
  83814. | $EGREP "$match_pattern_regex" > /dev/null; then
  83815. - valid_a_lib=yes
  83816. + valid_a_lib=:
  83817. fi
  83818. ;;
  83819. pass_all)
  83820. - valid_a_lib=yes
  83821. + valid_a_lib=:
  83822. ;;
  83823. esac
  83824. - if test "$valid_a_lib" != yes; then
  83825. - $ECHO
  83826. - $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  83827. - $ECHO "*** I have the capability to make that library automatically link in when"
  83828. - $ECHO "*** you link to this library. But I can only do this if you have a"
  83829. - $ECHO "*** shared version of the library, which you do not appear to have"
  83830. - $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  83831. - $ECHO "*** that it is just a static archive that I should not use here."
  83832. - else
  83833. - $ECHO
  83834. + if $valid_a_lib; then
  83835. + echo
  83836. $ECHO "*** Warning: Linking the shared library $output against the"
  83837. $ECHO "*** static library $deplib is not portable!"
  83838. deplibs="$deplib $deplibs"
  83839. + else
  83840. + echo
  83841. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  83842. + echo "*** I have the capability to make that library automatically link in when"
  83843. + echo "*** you link to this library. But I can only do this if you have a"
  83844. + echo "*** shared version of the library, which you do not appear to have"
  83845. + echo "*** because the file extensions .$libext of this argument makes me believe"
  83846. + echo "*** that it is just a static archive that I should not use here."
  83847. fi
  83848. ;;
  83849. esac
  83850. continue
  83851. ;;
  83852. prog)
  83853. - if test "$pass" != link; then
  83854. + if test link != "$pass"; then
  83855. deplibs="$deplib $deplibs"
  83856. else
  83857. compile_deplibs="$deplib $compile_deplibs"
  83858. @@ -5269,38 +7813,36 @@
  83859. esac # linkmode
  83860. ;; # *.$libext
  83861. *.lo | *.$objext)
  83862. - if test "$pass" = conv; then
  83863. + if test conv = "$pass"; then
  83864. deplibs="$deplib $deplibs"
  83865. - elif test "$linkmode" = prog; then
  83866. - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  83867. + elif test prog = "$linkmode"; then
  83868. + if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
  83869. # If there is no dlopen support or we're linking statically,
  83870. # we need to preload.
  83871. - newdlprefiles="$newdlprefiles $deplib"
  83872. + func_append newdlprefiles " $deplib"
  83873. compile_deplibs="$deplib $compile_deplibs"
  83874. finalize_deplibs="$deplib $finalize_deplibs"
  83875. else
  83876. - newdlfiles="$newdlfiles $deplib"
  83877. + func_append newdlfiles " $deplib"
  83878. fi
  83879. fi
  83880. continue
  83881. ;;
  83882. %DEPLIBS%)
  83883. - alldeplibs=yes
  83884. + alldeplibs=:
  83885. continue
  83886. ;;
  83887. esac # case $deplib
  83888.  
  83889. - if test "$found" = yes || test -f "$lib"; then :
  83890. - else
  83891. - func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  83892. - fi
  83893. + $found || test -f "$lib" \
  83894. + || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
  83895.  
  83896. # Check to see that this really is a libtool archive.
  83897. func_lalib_unsafe_p "$lib" \
  83898. - || func_fatal_error "\`$lib' is not a valid libtool archive"
  83899. + || func_fatal_error "'$lib' is not a valid libtool archive"
  83900.  
  83901. func_dirname "$lib" "" "."
  83902. - ladir="$func_dirname_result"
  83903. + ladir=$func_dirname_result
  83904.  
  83905. dlname=
  83906. dlopen=
  83907. @@ -5321,146 +7863,178 @@
  83908.  
  83909. # Convert "-framework foo" to "foo.ltframework"
  83910. if test -n "$inherited_linker_flags"; then
  83911. - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  83912. + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
  83913. for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  83914. case " $new_inherited_linker_flags " in
  83915. *" $tmp_inherited_linker_flag "*) ;;
  83916. - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  83917. + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
  83918. esac
  83919. done
  83920. fi
  83921. - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  83922. - if test "$linkmode,$pass" = "lib,link" ||
  83923. - test "$linkmode,$pass" = "prog,scan" ||
  83924. - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  83925. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  83926. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  83927. + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  83928. + if test lib,link = "$linkmode,$pass" ||
  83929. + test prog,scan = "$linkmode,$pass" ||
  83930. + { test prog != "$linkmode" && test lib != "$linkmode"; }; then
  83931. + test -n "$dlopen" && func_append dlfiles " $dlopen"
  83932. + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
  83933. fi
  83934.  
  83935. - if test "$pass" = conv; then
  83936. + if test conv = "$pass"; then
  83937. # Only check for convenience libraries
  83938. deplibs="$lib $deplibs"
  83939. if test -z "$libdir"; then
  83940. if test -z "$old_library"; then
  83941. - func_fatal_error "cannot find name of link library for \`$lib'"
  83942. + func_fatal_error "cannot find name of link library for '$lib'"
  83943. fi
  83944. # It is a libtool convenience library, so add in its objects.
  83945. - convenience="$convenience $ladir/$objdir/$old_library"
  83946. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  83947. - tmp_libs=
  83948. - for deplib in $dependency_libs; do
  83949. - deplibs="$deplib $deplibs"
  83950. - if $opt_duplicate_deps ; then
  83951. - case "$tmp_libs " in
  83952. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  83953. - esac
  83954. - fi
  83955. - tmp_libs="$tmp_libs $deplib"
  83956. - done
  83957. - elif test "$linkmode" != prog && test "$linkmode" != lib; then
  83958. - func_fatal_error "\`$lib' is not a convenience library"
  83959. + func_append convenience " $ladir/$objdir/$old_library"
  83960. + func_append old_convenience " $ladir/$objdir/$old_library"
  83961. + elif test prog != "$linkmode" && test lib != "$linkmode"; then
  83962. + func_fatal_error "'$lib' is not a convenience library"
  83963. fi
  83964. + tmp_libs=
  83965. + for deplib in $dependency_libs; do
  83966. + deplibs="$deplib $deplibs"
  83967. + if $opt_preserve_dup_deps; then
  83968. + case "$tmp_libs " in
  83969. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  83970. + esac
  83971. + fi
  83972. + func_append tmp_libs " $deplib"
  83973. + done
  83974. continue
  83975. fi # $pass = conv
  83976.  
  83977.  
  83978. # Get the name of the library we link against.
  83979. linklib=
  83980. - for l in $old_library $library_names; do
  83981. - linklib="$l"
  83982. - done
  83983. + if test -n "$old_library" &&
  83984. + { test yes = "$prefer_static_libs" ||
  83985. + test built,no = "$prefer_static_libs,$installed"; }; then
  83986. + linklib=$old_library
  83987. + else
  83988. + for l in $old_library $library_names; do
  83989. + linklib=$l
  83990. + done
  83991. + fi
  83992. if test -z "$linklib"; then
  83993. - func_fatal_error "cannot find name of link library for \`$lib'"
  83994. + func_fatal_error "cannot find name of link library for '$lib'"
  83995. fi
  83996.  
  83997. # This library was specified with -dlopen.
  83998. - if test "$pass" = dlopen; then
  83999. - if test -z "$libdir"; then
  84000. - func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  84001. - fi
  84002. + if test dlopen = "$pass"; then
  84003. + test -z "$libdir" \
  84004. + && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
  84005. if test -z "$dlname" ||
  84006. - test "$dlopen_support" != yes ||
  84007. - test "$build_libtool_libs" = no; then
  84008. + test yes != "$dlopen_support" ||
  84009. + test no = "$build_libtool_libs"
  84010. + then
  84011. # If there is no dlname, no dlopen support or we're linking
  84012. # statically, we need to preload. We also need to preload any
  84013. # dependent libraries so libltdl's deplib preloader doesn't
  84014. # bomb out in the load deplibs phase.
  84015. - dlprefiles="$dlprefiles $lib $dependency_libs"
  84016. + func_append dlprefiles " $lib $dependency_libs"
  84017. else
  84018. - newdlfiles="$newdlfiles $lib"
  84019. + func_append newdlfiles " $lib"
  84020. fi
  84021. continue
  84022. fi # $pass = dlopen
  84023.  
  84024. # We need an absolute path.
  84025. case $ladir in
  84026. - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  84027. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
  84028. *)
  84029. abs_ladir=`cd "$ladir" && pwd`
  84030. if test -z "$abs_ladir"; then
  84031. - func_warning "cannot determine absolute directory name of \`$ladir'"
  84032. + func_warning "cannot determine absolute directory name of '$ladir'"
  84033. func_warning "passing it literally to the linker, although it might fail"
  84034. - abs_ladir="$ladir"
  84035. + abs_ladir=$ladir
  84036. fi
  84037. ;;
  84038. esac
  84039. func_basename "$lib"
  84040. - laname="$func_basename_result"
  84041. + laname=$func_basename_result
  84042.  
  84043. # Find the relevant object directory and library name.
  84044. - if test "X$installed" = Xyes; then
  84045. - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  84046. - func_warning "library \`$lib' was moved."
  84047. - dir="$ladir"
  84048. - absdir="$abs_ladir"
  84049. - libdir="$abs_ladir"
  84050. + if test yes = "$installed"; then
  84051. + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  84052. + func_warning "library '$lib' was moved."
  84053. + dir=$ladir
  84054. + absdir=$abs_ladir
  84055. + libdir=$abs_ladir
  84056. else
  84057. - dir="$libdir"
  84058. - absdir="$libdir"
  84059. + dir=$lt_sysroot$libdir
  84060. + absdir=$lt_sysroot$libdir
  84061. fi
  84062. - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  84063. + test yes = "$hardcode_automatic" && avoidtemprpath=yes
  84064. else
  84065. if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  84066. - dir="$ladir"
  84067. - absdir="$abs_ladir"
  84068. + dir=$ladir
  84069. + absdir=$abs_ladir
  84070. # Remove this search path later
  84071. - notinst_path="$notinst_path $abs_ladir"
  84072. + func_append notinst_path " $abs_ladir"
  84073. else
  84074. - dir="$ladir/$objdir"
  84075. - absdir="$abs_ladir/$objdir"
  84076. + dir=$ladir/$objdir
  84077. + absdir=$abs_ladir/$objdir
  84078. # Remove this search path later
  84079. - notinst_path="$notinst_path $abs_ladir"
  84080. + func_append notinst_path " $abs_ladir"
  84081. fi
  84082. fi # $installed = yes
  84083. func_stripname 'lib' '.la' "$laname"
  84084. name=$func_stripname_result
  84085.  
  84086. # This library was specified with -dlpreopen.
  84087. - if test "$pass" = dlpreopen; then
  84088. - if test -z "$libdir" && test "$linkmode" = prog; then
  84089. - func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  84090. - fi
  84091. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  84092. - # are required to link).
  84093. - if test -n "$old_library"; then
  84094. - newdlprefiles="$newdlprefiles $dir/$old_library"
  84095. - # Keep a list of preopened convenience libraries to check
  84096. - # that they are being used correctly in the link pass.
  84097. - test -z "$libdir" && \
  84098. - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  84099. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  84100. - elif test -n "$dlname"; then
  84101. - newdlprefiles="$newdlprefiles $dir/$dlname"
  84102. - else
  84103. - newdlprefiles="$newdlprefiles $dir/$linklib"
  84104. + if test dlpreopen = "$pass"; then
  84105. + if test -z "$libdir" && test prog = "$linkmode"; then
  84106. + func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
  84107. fi
  84108. + case $host in
  84109. + # special handling for platforms with PE-DLLs.
  84110. + *cygwin* | *mingw* | *cegcc* )
  84111. + # Linker will automatically link against shared library if both
  84112. + # static and shared are present. Therefore, ensure we extract
  84113. + # symbols from the import library if a shared library is present
  84114. + # (otherwise, the dlopen module name will be incorrect). We do
  84115. + # this by putting the import library name into $newdlprefiles.
  84116. + # We recover the dlopen module name by 'saving' the la file
  84117. + # name in a special purpose variable, and (later) extracting the
  84118. + # dlname from the la file.
  84119. + if test -n "$dlname"; then
  84120. + func_tr_sh "$dir/$linklib"
  84121. + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
  84122. + func_append newdlprefiles " $dir/$linklib"
  84123. + else
  84124. + func_append newdlprefiles " $dir/$old_library"
  84125. + # Keep a list of preopened convenience libraries to check
  84126. + # that they are being used correctly in the link pass.
  84127. + test -z "$libdir" && \
  84128. + func_append dlpreconveniencelibs " $dir/$old_library"
  84129. + fi
  84130. + ;;
  84131. + * )
  84132. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  84133. + # are required to link).
  84134. + if test -n "$old_library"; then
  84135. + func_append newdlprefiles " $dir/$old_library"
  84136. + # Keep a list of preopened convenience libraries to check
  84137. + # that they are being used correctly in the link pass.
  84138. + test -z "$libdir" && \
  84139. + func_append dlpreconveniencelibs " $dir/$old_library"
  84140. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  84141. + elif test -n "$dlname"; then
  84142. + func_append newdlprefiles " $dir/$dlname"
  84143. + else
  84144. + func_append newdlprefiles " $dir/$linklib"
  84145. + fi
  84146. + ;;
  84147. + esac
  84148. fi # $pass = dlpreopen
  84149.  
  84150. if test -z "$libdir"; then
  84151. # Link the convenience library
  84152. - if test "$linkmode" = lib; then
  84153. + if test lib = "$linkmode"; then
  84154. deplibs="$dir/$old_library $deplibs"
  84155. - elif test "$linkmode,$pass" = "prog,link"; then
  84156. + elif test prog,link = "$linkmode,$pass"; then
  84157. compile_deplibs="$dir/$old_library $compile_deplibs"
  84158. finalize_deplibs="$dir/$old_library $finalize_deplibs"
  84159. else
  84160. @@ -5470,52 +8044,53 @@
  84161. fi
  84162.  
  84163.  
  84164. - if test "$linkmode" = prog && test "$pass" != link; then
  84165. - newlib_search_path="$newlib_search_path $ladir"
  84166. + if test prog = "$linkmode" && test link != "$pass"; then
  84167. + func_append newlib_search_path " $ladir"
  84168. deplibs="$lib $deplibs"
  84169.  
  84170. - linkalldeplibs=no
  84171. - if test "$link_all_deplibs" != no || test -z "$library_names" ||
  84172. - test "$build_libtool_libs" = no; then
  84173. - linkalldeplibs=yes
  84174. + linkalldeplibs=false
  84175. + if test no != "$link_all_deplibs" || test -z "$library_names" ||
  84176. + test no = "$build_libtool_libs"; then
  84177. + linkalldeplibs=:
  84178. fi
  84179.  
  84180. tmp_libs=
  84181. for deplib in $dependency_libs; do
  84182. case $deplib in
  84183. -L*) func_stripname '-L' '' "$deplib"
  84184. - newlib_search_path="$newlib_search_path $func_stripname_result"
  84185. + func_resolve_sysroot "$func_stripname_result"
  84186. + func_append newlib_search_path " $func_resolve_sysroot_result"
  84187. ;;
  84188. esac
  84189. # Need to link against all dependency_libs?
  84190. - if test "$linkalldeplibs" = yes; then
  84191. + if $linkalldeplibs; then
  84192. deplibs="$deplib $deplibs"
  84193. else
  84194. # Need to hardcode shared library paths
  84195. # or/and link against static libraries
  84196. newdependency_libs="$deplib $newdependency_libs"
  84197. fi
  84198. - if $opt_duplicate_deps ; then
  84199. + if $opt_preserve_dup_deps; then
  84200. case "$tmp_libs " in
  84201. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  84202. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  84203. esac
  84204. fi
  84205. - tmp_libs="$tmp_libs $deplib"
  84206. + func_append tmp_libs " $deplib"
  84207. done # for deplib
  84208. continue
  84209. fi # $linkmode = prog...
  84210.  
  84211. - if test "$linkmode,$pass" = "prog,link"; then
  84212. + if test prog,link = "$linkmode,$pass"; then
  84213. if test -n "$library_names" &&
  84214. - { { test "$prefer_static_libs" = no ||
  84215. - test "$prefer_static_libs,$installed" = "built,yes"; } ||
  84216. + { { test no = "$prefer_static_libs" ||
  84217. + test built,yes = "$prefer_static_libs,$installed"; } ||
  84218. test -z "$old_library"; }; then
  84219. # We need to hardcode the library path
  84220. - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  84221. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
  84222. # Make sure the rpath contains only unique directories.
  84223. - case "$temp_rpath:" in
  84224. + case $temp_rpath: in
  84225. *"$absdir:"*) ;;
  84226. - *) temp_rpath="$temp_rpath$absdir:" ;;
  84227. + *) func_append temp_rpath "$absdir:" ;;
  84228. esac
  84229. fi
  84230.  
  84231. @@ -5527,7 +8102,7 @@
  84232. *)
  84233. case "$compile_rpath " in
  84234. *" $absdir "*) ;;
  84235. - *) compile_rpath="$compile_rpath $absdir"
  84236. + *) func_append compile_rpath " $absdir" ;;
  84237. esac
  84238. ;;
  84239. esac
  84240. @@ -5536,15 +8111,15 @@
  84241. *)
  84242. case "$finalize_rpath " in
  84243. *" $libdir "*) ;;
  84244. - *) finalize_rpath="$finalize_rpath $libdir"
  84245. + *) func_append finalize_rpath " $libdir" ;;
  84246. esac
  84247. ;;
  84248. esac
  84249. fi # $linkmode,$pass = prog,link...
  84250.  
  84251. - if test "$alldeplibs" = yes &&
  84252. - { test "$deplibs_check_method" = pass_all ||
  84253. - { test "$build_libtool_libs" = yes &&
  84254. + if $alldeplibs &&
  84255. + { test pass_all = "$deplibs_check_method" ||
  84256. + { test yes = "$build_libtool_libs" &&
  84257. test -n "$library_names"; }; }; then
  84258. # We only need to search for static libraries
  84259. continue
  84260. @@ -5553,20 +8128,20 @@
  84261.  
  84262. link_static=no # Whether the deplib will be linked statically
  84263. use_static_libs=$prefer_static_libs
  84264. - if test "$use_static_libs" = built && test "$installed" = yes; then
  84265. + if test built = "$use_static_libs" && test yes = "$installed"; then
  84266. use_static_libs=no
  84267. fi
  84268. if test -n "$library_names" &&
  84269. - { test "$use_static_libs" = no || test -z "$old_library"; }; then
  84270. + { test no = "$use_static_libs" || test -z "$old_library"; }; then
  84271. case $host in
  84272. - *cygwin* | *mingw* | *cegcc*)
  84273. + *cygwin* | *mingw* | *cegcc* | *os2*)
  84274. # No point in relinking DLLs because paths are not encoded
  84275. - notinst_deplibs="$notinst_deplibs $lib"
  84276. + func_append notinst_deplibs " $lib"
  84277. need_relink=no
  84278. ;;
  84279. *)
  84280. - if test "$installed" = no; then
  84281. - notinst_deplibs="$notinst_deplibs $lib"
  84282. + if test no = "$installed"; then
  84283. + func_append notinst_deplibs " $lib"
  84284. need_relink=yes
  84285. fi
  84286. ;;
  84287. @@ -5575,24 +8150,24 @@
  84288.  
  84289. # Warn about portability, can't link against -module's on some
  84290. # systems (darwin). Don't bleat about dlopened modules though!
  84291. - dlopenmodule=""
  84292. + dlopenmodule=
  84293. for dlpremoduletest in $dlprefiles; do
  84294. if test "X$dlpremoduletest" = "X$lib"; then
  84295. - dlopenmodule="$dlpremoduletest"
  84296. + dlopenmodule=$dlpremoduletest
  84297. break
  84298. fi
  84299. done
  84300. - if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  84301. - $ECHO
  84302. - if test "$linkmode" = prog; then
  84303. + if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
  84304. + echo
  84305. + if test prog = "$linkmode"; then
  84306. $ECHO "*** Warning: Linking the executable $output against the loadable module"
  84307. else
  84308. $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  84309. fi
  84310. $ECHO "*** $linklib is not portable!"
  84311. fi
  84312. - if test "$linkmode" = lib &&
  84313. - test "$hardcode_into_libs" = yes; then
  84314. + if test lib = "$linkmode" &&
  84315. + test yes = "$hardcode_into_libs"; then
  84316. # Hardcode the library path.
  84317. # Skip directories that are in the system default run-time
  84318. # search path.
  84319. @@ -5601,7 +8176,7 @@
  84320. *)
  84321. case "$compile_rpath " in
  84322. *" $absdir "*) ;;
  84323. - *) compile_rpath="$compile_rpath $absdir"
  84324. + *) func_append compile_rpath " $absdir" ;;
  84325. esac
  84326. ;;
  84327. esac
  84328. @@ -5610,7 +8185,7 @@
  84329. *)
  84330. case "$finalize_rpath " in
  84331. *" $libdir "*) ;;
  84332. - *) finalize_rpath="$finalize_rpath $libdir"
  84333. + *) func_append finalize_rpath " $libdir" ;;
  84334. esac
  84335. ;;
  84336. esac
  84337. @@ -5620,43 +8195,43 @@
  84338. # figure out the soname
  84339. set dummy $library_names
  84340. shift
  84341. - realname="$1"
  84342. + realname=$1
  84343. shift
  84344. libname=`eval "\\$ECHO \"$libname_spec\""`
  84345. # use dlname if we got it. it's perfectly good, no?
  84346. if test -n "$dlname"; then
  84347. - soname="$dlname"
  84348. + soname=$dlname
  84349. elif test -n "$soname_spec"; then
  84350. # bleh windows
  84351. case $host in
  84352. - *cygwin* | mingw* | *cegcc*)
  84353. + *cygwin* | mingw* | *cegcc* | *os2*)
  84354. func_arith $current - $age
  84355. major=$func_arith_result
  84356. - versuffix="-$major"
  84357. + versuffix=-$major
  84358. ;;
  84359. esac
  84360. eval soname=\"$soname_spec\"
  84361. else
  84362. - soname="$realname"
  84363. + soname=$realname
  84364. fi
  84365.  
  84366. # Make a new name for the extract_expsyms_cmds to use
  84367. - soroot="$soname"
  84368. + soroot=$soname
  84369. func_basename "$soroot"
  84370. - soname="$func_basename_result"
  84371. + soname=$func_basename_result
  84372. func_stripname 'lib' '.dll' "$soname"
  84373. newlib=libimp-$func_stripname_result.a
  84374.  
  84375. # If the library has no export list, then create one now
  84376. if test -f "$output_objdir/$soname-def"; then :
  84377. else
  84378. - func_verbose "extracting exported symbol list from \`$soname'"
  84379. + func_verbose "extracting exported symbol list from '$soname'"
  84380. func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  84381. fi
  84382.  
  84383. # Create $newlib
  84384. if test -f "$output_objdir/$newlib"; then :; else
  84385. - func_verbose "generating import library for \`$soname'"
  84386. + func_verbose "generating import library for '$soname'"
  84387. func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  84388. fi
  84389. # make sure the library variables are pointing to the new library
  84390. @@ -5664,70 +8239,70 @@
  84391. linklib=$newlib
  84392. fi # test -n "$old_archive_from_expsyms_cmds"
  84393.  
  84394. - if test "$linkmode" = prog || test "$mode" != relink; then
  84395. + if test prog = "$linkmode" || test relink != "$opt_mode"; then
  84396. add_shlibpath=
  84397. add_dir=
  84398. add=
  84399. lib_linked=yes
  84400. case $hardcode_action in
  84401. immediate | unsupported)
  84402. - if test "$hardcode_direct" = no; then
  84403. - add="$dir/$linklib"
  84404. + if test no = "$hardcode_direct"; then
  84405. + add=$dir/$linklib
  84406. case $host in
  84407. - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  84408. - *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  84409. + *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
  84410. + *-*-sysv4*uw2*) add_dir=-L$dir ;;
  84411. *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  84412. - *-*-unixware7*) add_dir="-L$dir" ;;
  84413. + *-*-unixware7*) add_dir=-L$dir ;;
  84414. *-*-darwin* )
  84415. - # if the lib is a (non-dlopened) module then we can not
  84416. + # if the lib is a (non-dlopened) module then we cannot
  84417. # link against it, someone is ignoring the earlier warnings
  84418. if /usr/bin/file -L $add 2> /dev/null |
  84419. - $GREP ": [^:]* bundle" >/dev/null ; then
  84420. + $GREP ": [^:]* bundle" >/dev/null; then
  84421. if test "X$dlopenmodule" != "X$lib"; then
  84422. $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  84423. - if test -z "$old_library" ; then
  84424. - $ECHO
  84425. - $ECHO "*** And there doesn't seem to be a static archive available"
  84426. - $ECHO "*** The link will probably fail, sorry"
  84427. + if test -z "$old_library"; then
  84428. + echo
  84429. + echo "*** And there doesn't seem to be a static archive available"
  84430. + echo "*** The link will probably fail, sorry"
  84431. else
  84432. - add="$dir/$old_library"
  84433. + add=$dir/$old_library
  84434. fi
  84435. elif test -n "$old_library"; then
  84436. - add="$dir/$old_library"
  84437. + add=$dir/$old_library
  84438. fi
  84439. fi
  84440. esac
  84441. - elif test "$hardcode_minus_L" = no; then
  84442. + elif test no = "$hardcode_minus_L"; then
  84443. case $host in
  84444. - *-*-sunos*) add_shlibpath="$dir" ;;
  84445. + *-*-sunos*) add_shlibpath=$dir ;;
  84446. esac
  84447. - add_dir="-L$dir"
  84448. - add="-l$name"
  84449. - elif test "$hardcode_shlibpath_var" = no; then
  84450. - add_shlibpath="$dir"
  84451. - add="-l$name"
  84452. + add_dir=-L$dir
  84453. + add=-l$name
  84454. + elif test no = "$hardcode_shlibpath_var"; then
  84455. + add_shlibpath=$dir
  84456. + add=-l$name
  84457. else
  84458. lib_linked=no
  84459. fi
  84460. ;;
  84461. relink)
  84462. - if test "$hardcode_direct" = yes &&
  84463. - test "$hardcode_direct_absolute" = no; then
  84464. - add="$dir/$linklib"
  84465. - elif test "$hardcode_minus_L" = yes; then
  84466. - add_dir="-L$dir"
  84467. + if test yes = "$hardcode_direct" &&
  84468. + test no = "$hardcode_direct_absolute"; then
  84469. + add=$dir/$linklib
  84470. + elif test yes = "$hardcode_minus_L"; then
  84471. + add_dir=-L$absdir
  84472. # Try looking first in the location we're being installed to.
  84473. if test -n "$inst_prefix_dir"; then
  84474. case $libdir in
  84475. [\\/]*)
  84476. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  84477. + func_append add_dir " -L$inst_prefix_dir$libdir"
  84478. ;;
  84479. esac
  84480. fi
  84481. - add="-l$name"
  84482. - elif test "$hardcode_shlibpath_var" = yes; then
  84483. - add_shlibpath="$dir"
  84484. - add="-l$name"
  84485. + add=-l$name
  84486. + elif test yes = "$hardcode_shlibpath_var"; then
  84487. + add_shlibpath=$dir
  84488. + add=-l$name
  84489. else
  84490. lib_linked=no
  84491. fi
  84492. @@ -5735,72 +8310,72 @@
  84493. *) lib_linked=no ;;
  84494. esac
  84495.  
  84496. - if test "$lib_linked" != yes; then
  84497. + if test yes != "$lib_linked"; then
  84498. func_fatal_configuration "unsupported hardcode properties"
  84499. fi
  84500.  
  84501. if test -n "$add_shlibpath"; then
  84502. case :$compile_shlibpath: in
  84503. *":$add_shlibpath:"*) ;;
  84504. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  84505. + *) func_append compile_shlibpath "$add_shlibpath:" ;;
  84506. esac
  84507. fi
  84508. - if test "$linkmode" = prog; then
  84509. + if test prog = "$linkmode"; then
  84510. test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  84511. test -n "$add" && compile_deplibs="$add $compile_deplibs"
  84512. else
  84513. test -n "$add_dir" && deplibs="$add_dir $deplibs"
  84514. test -n "$add" && deplibs="$add $deplibs"
  84515. - if test "$hardcode_direct" != yes &&
  84516. - test "$hardcode_minus_L" != yes &&
  84517. - test "$hardcode_shlibpath_var" = yes; then
  84518. + if test yes != "$hardcode_direct" &&
  84519. + test yes != "$hardcode_minus_L" &&
  84520. + test yes = "$hardcode_shlibpath_var"; then
  84521. case :$finalize_shlibpath: in
  84522. *":$libdir:"*) ;;
  84523. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  84524. + *) func_append finalize_shlibpath "$libdir:" ;;
  84525. esac
  84526. fi
  84527. fi
  84528. fi
  84529.  
  84530. - if test "$linkmode" = prog || test "$mode" = relink; then
  84531. + if test prog = "$linkmode" || test relink = "$opt_mode"; then
  84532. add_shlibpath=
  84533. add_dir=
  84534. add=
  84535. # Finalize command for both is simple: just hardcode it.
  84536. - if test "$hardcode_direct" = yes &&
  84537. - test "$hardcode_direct_absolute" = no; then
  84538. - add="$libdir/$linklib"
  84539. - elif test "$hardcode_minus_L" = yes; then
  84540. - add_dir="-L$libdir"
  84541. - add="-l$name"
  84542. - elif test "$hardcode_shlibpath_var" = yes; then
  84543. + if test yes = "$hardcode_direct" &&
  84544. + test no = "$hardcode_direct_absolute"; then
  84545. + add=$libdir/$linklib
  84546. + elif test yes = "$hardcode_minus_L"; then
  84547. + add_dir=-L$libdir
  84548. + add=-l$name
  84549. + elif test yes = "$hardcode_shlibpath_var"; then
  84550. case :$finalize_shlibpath: in
  84551. *":$libdir:"*) ;;
  84552. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  84553. + *) func_append finalize_shlibpath "$libdir:" ;;
  84554. esac
  84555. - add="-l$name"
  84556. - elif test "$hardcode_automatic" = yes; then
  84557. + add=-l$name
  84558. + elif test yes = "$hardcode_automatic"; then
  84559. if test -n "$inst_prefix_dir" &&
  84560. - test -f "$inst_prefix_dir$libdir/$linklib" ; then
  84561. - add="$inst_prefix_dir$libdir/$linklib"
  84562. + test -f "$inst_prefix_dir$libdir/$linklib"; then
  84563. + add=$inst_prefix_dir$libdir/$linklib
  84564. else
  84565. - add="$libdir/$linklib"
  84566. + add=$libdir/$linklib
  84567. fi
  84568. else
  84569. # We cannot seem to hardcode it, guess we'll fake it.
  84570. - add_dir="-L$libdir"
  84571. + add_dir=-L$libdir
  84572. # Try looking first in the location we're being installed to.
  84573. if test -n "$inst_prefix_dir"; then
  84574. case $libdir in
  84575. [\\/]*)
  84576. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  84577. + func_append add_dir " -L$inst_prefix_dir$libdir"
  84578. ;;
  84579. esac
  84580. fi
  84581. - add="-l$name"
  84582. + add=-l$name
  84583. fi
  84584.  
  84585. - if test "$linkmode" = prog; then
  84586. + if test prog = "$linkmode"; then
  84587. test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  84588. test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  84589. else
  84590. @@ -5808,43 +8383,43 @@
  84591. test -n "$add" && deplibs="$add $deplibs"
  84592. fi
  84593. fi
  84594. - elif test "$linkmode" = prog; then
  84595. + elif test prog = "$linkmode"; then
  84596. # Here we assume that one of hardcode_direct or hardcode_minus_L
  84597. # is not unsupported. This is valid on all known static and
  84598. # shared platforms.
  84599. - if test "$hardcode_direct" != unsupported; then
  84600. - test -n "$old_library" && linklib="$old_library"
  84601. + if test unsupported != "$hardcode_direct"; then
  84602. + test -n "$old_library" && linklib=$old_library
  84603. compile_deplibs="$dir/$linklib $compile_deplibs"
  84604. finalize_deplibs="$dir/$linklib $finalize_deplibs"
  84605. else
  84606. compile_deplibs="-l$name -L$dir $compile_deplibs"
  84607. finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  84608. fi
  84609. - elif test "$build_libtool_libs" = yes; then
  84610. + elif test yes = "$build_libtool_libs"; then
  84611. # Not a shared library
  84612. - if test "$deplibs_check_method" != pass_all; then
  84613. + if test pass_all != "$deplibs_check_method"; then
  84614. # We're trying link a shared library against a static one
  84615. # but the system doesn't support it.
  84616.  
  84617. # Just print a warning and add the library to dependency_libs so
  84618. # that the program can be linked against the static library.
  84619. - $ECHO
  84620. - $ECHO "*** Warning: This system can not link to static lib archive $lib."
  84621. - $ECHO "*** I have the capability to make that library automatically link in when"
  84622. - $ECHO "*** you link to this library. But I can only do this if you have a"
  84623. - $ECHO "*** shared version of the library, which you do not appear to have."
  84624. - if test "$module" = yes; then
  84625. - $ECHO "*** But as you try to build a module library, libtool will still create "
  84626. - $ECHO "*** a static module, that should work as long as the dlopening application"
  84627. - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  84628. + echo
  84629. + $ECHO "*** Warning: This system cannot link to static lib archive $lib."
  84630. + echo "*** I have the capability to make that library automatically link in when"
  84631. + echo "*** you link to this library. But I can only do this if you have a"
  84632. + echo "*** shared version of the library, which you do not appear to have."
  84633. + if test yes = "$module"; then
  84634. + echo "*** But as you try to build a module library, libtool will still create "
  84635. + echo "*** a static module, that should work as long as the dlopening application"
  84636. + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  84637. if test -z "$global_symbol_pipe"; then
  84638. - $ECHO
  84639. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  84640. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  84641. - $ECHO "*** not find such a program. So, this module is probably useless."
  84642. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  84643. + echo
  84644. + echo "*** However, this would only work if libtool was able to extract symbol"
  84645. + echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
  84646. + echo "*** not find such a program. So, this module is probably useless."
  84647. + echo "*** 'nm' from GNU binutils and a full rebuild may help."
  84648. fi
  84649. - if test "$build_old_libs" = no; then
  84650. + if test no = "$build_old_libs"; then
  84651. build_libtool_libs=module
  84652. build_old_libs=yes
  84653. else
  84654. @@ -5857,11 +8432,11 @@
  84655. fi
  84656. fi # link shared/static library?
  84657.  
  84658. - if test "$linkmode" = lib; then
  84659. + if test lib = "$linkmode"; then
  84660. if test -n "$dependency_libs" &&
  84661. - { test "$hardcode_into_libs" != yes ||
  84662. - test "$build_old_libs" = yes ||
  84663. - test "$link_static" = yes; }; then
  84664. + { test yes != "$hardcode_into_libs" ||
  84665. + test yes = "$build_old_libs" ||
  84666. + test yes = "$link_static"; }; then
  84667. # Extract -R from dependency_libs
  84668. temp_deplibs=
  84669. for libdir in $dependency_libs; do
  84670. @@ -5870,46 +8445,54 @@
  84671. temp_xrpath=$func_stripname_result
  84672. case " $xrpath " in
  84673. *" $temp_xrpath "*) ;;
  84674. - *) xrpath="$xrpath $temp_xrpath";;
  84675. + *) func_append xrpath " $temp_xrpath";;
  84676. esac;;
  84677. - *) temp_deplibs="$temp_deplibs $libdir";;
  84678. + *) func_append temp_deplibs " $libdir";;
  84679. esac
  84680. done
  84681. - dependency_libs="$temp_deplibs"
  84682. + dependency_libs=$temp_deplibs
  84683. fi
  84684.  
  84685. - newlib_search_path="$newlib_search_path $absdir"
  84686. + func_append newlib_search_path " $absdir"
  84687. # Link against this library
  84688. - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  84689. + test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  84690. # ... and its dependency_libs
  84691. tmp_libs=
  84692. for deplib in $dependency_libs; do
  84693. newdependency_libs="$deplib $newdependency_libs"
  84694. - if $opt_duplicate_deps ; then
  84695. + case $deplib in
  84696. + -L*) func_stripname '-L' '' "$deplib"
  84697. + func_resolve_sysroot "$func_stripname_result";;
  84698. + *) func_resolve_sysroot "$deplib" ;;
  84699. + esac
  84700. + if $opt_preserve_dup_deps; then
  84701. case "$tmp_libs " in
  84702. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  84703. + *" $func_resolve_sysroot_result "*)
  84704. + func_append specialdeplibs " $func_resolve_sysroot_result" ;;
  84705. esac
  84706. fi
  84707. - tmp_libs="$tmp_libs $deplib"
  84708. + func_append tmp_libs " $func_resolve_sysroot_result"
  84709. done
  84710.  
  84711. - if test "$link_all_deplibs" != no; then
  84712. + if test no != "$link_all_deplibs"; then
  84713. # Add the search paths of all dependency libraries
  84714. for deplib in $dependency_libs; do
  84715. path=
  84716. case $deplib in
  84717. - -L*) path="$deplib" ;;
  84718. + -L*) path=$deplib ;;
  84719. *.la)
  84720. + func_resolve_sysroot "$deplib"
  84721. + deplib=$func_resolve_sysroot_result
  84722. func_dirname "$deplib" "" "."
  84723. - dir="$func_dirname_result"
  84724. + dir=$func_dirname_result
  84725. # We need an absolute path.
  84726. case $dir in
  84727. - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  84728. + [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
  84729. *)
  84730. absdir=`cd "$dir" && pwd`
  84731. if test -z "$absdir"; then
  84732. - func_warning "cannot determine absolute directory name of \`$dir'"
  84733. - absdir="$dir"
  84734. + func_warning "cannot determine absolute directory name of '$dir'"
  84735. + absdir=$dir
  84736. fi
  84737. ;;
  84738. esac
  84739. @@ -5917,35 +8500,35 @@
  84740. case $host in
  84741. *-*-darwin*)
  84742. depdepl=
  84743. - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  84744. - if test -n "$deplibrary_names" ; then
  84745. - for tmp in $deplibrary_names ; do
  84746. + eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  84747. + if test -n "$deplibrary_names"; then
  84748. + for tmp in $deplibrary_names; do
  84749. depdepl=$tmp
  84750. done
  84751. - if test -f "$absdir/$objdir/$depdepl" ; then
  84752. - depdepl="$absdir/$objdir/$depdepl"
  84753. - darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84754. + if test -f "$absdir/$objdir/$depdepl"; then
  84755. + depdepl=$absdir/$objdir/$depdepl
  84756. + darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84757. if test -z "$darwin_install_name"; then
  84758. - darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84759. + darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  84760. fi
  84761. - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  84762. - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  84763. + func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
  84764. + func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
  84765. path=
  84766. fi
  84767. fi
  84768. ;;
  84769. *)
  84770. - path="-L$absdir/$objdir"
  84771. + path=-L$absdir/$objdir
  84772. ;;
  84773. esac
  84774. else
  84775. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  84776. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  84777. test -z "$libdir" && \
  84778. - func_fatal_error "\`$deplib' is not a valid libtool archive"
  84779. + func_fatal_error "'$deplib' is not a valid libtool archive"
  84780. test "$absdir" != "$libdir" && \
  84781. - func_warning "\`$deplib' seems to be moved"
  84782. + func_warning "'$deplib' seems to be moved"
  84783.  
  84784. - path="-L$absdir"
  84785. + path=-L$absdir
  84786. fi
  84787. ;;
  84788. esac
  84789. @@ -5957,38 +8540,38 @@
  84790. fi # link_all_deplibs != no
  84791. fi # linkmode = lib
  84792. done # for deplib in $libs
  84793. - if test "$pass" = link; then
  84794. - if test "$linkmode" = "prog"; then
  84795. + if test link = "$pass"; then
  84796. + if test prog = "$linkmode"; then
  84797. compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  84798. finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  84799. else
  84800. - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  84801. + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  84802. fi
  84803. fi
  84804. - dependency_libs="$newdependency_libs"
  84805. - if test "$pass" = dlpreopen; then
  84806. + dependency_libs=$newdependency_libs
  84807. + if test dlpreopen = "$pass"; then
  84808. # Link the dlpreopened libraries before other libraries
  84809. for deplib in $save_deplibs; do
  84810. deplibs="$deplib $deplibs"
  84811. done
  84812. fi
  84813. - if test "$pass" != dlopen; then
  84814. - if test "$pass" != conv; then
  84815. + if test dlopen != "$pass"; then
  84816. + test conv = "$pass" || {
  84817. # Make sure lib_search_path contains only unique directories.
  84818. lib_search_path=
  84819. for dir in $newlib_search_path; do
  84820. case "$lib_search_path " in
  84821. *" $dir "*) ;;
  84822. - *) lib_search_path="$lib_search_path $dir" ;;
  84823. + *) func_append lib_search_path " $dir" ;;
  84824. esac
  84825. done
  84826. newlib_search_path=
  84827. - fi
  84828. + }
  84829.  
  84830. - if test "$linkmode,$pass" != "prog,link"; then
  84831. - vars="deplibs"
  84832. - else
  84833. + if test prog,link = "$linkmode,$pass"; then
  84834. vars="compile_deplibs finalize_deplibs"
  84835. + else
  84836. + vars=deplibs
  84837. fi
  84838. for var in $vars dependency_libs; do
  84839. # Add libraries to $var in reverse order
  84840. @@ -6037,71 +8620,102 @@
  84841. -L*)
  84842. case " $tmp_libs " in
  84843. *" $deplib "*) ;;
  84844. - *) tmp_libs="$tmp_libs $deplib" ;;
  84845. + *) func_append tmp_libs " $deplib" ;;
  84846. esac
  84847. ;;
  84848. - *) tmp_libs="$tmp_libs $deplib" ;;
  84849. + *) func_append tmp_libs " $deplib" ;;
  84850. esac
  84851. done
  84852. eval $var=\"$tmp_libs\"
  84853. done # for var
  84854. fi
  84855. +
  84856. + # Add Sun CC postdeps if required:
  84857. + test CXX = "$tagname" && {
  84858. + case $host_os in
  84859. + linux*)
  84860. + case `$CC -V 2>&1 | sed 5q` in
  84861. + *Sun\ C*) # Sun C++ 5.9
  84862. + func_suncc_cstd_abi
  84863. +
  84864. + if test no != "$suncc_use_cstd_abi"; then
  84865. + func_append postdeps ' -library=Cstd -library=Crun'
  84866. + fi
  84867. + ;;
  84868. + esac
  84869. + ;;
  84870. +
  84871. + solaris*)
  84872. + func_cc_basename "$CC"
  84873. + case $func_cc_basename_result in
  84874. + CC* | sunCC*)
  84875. + func_suncc_cstd_abi
  84876. +
  84877. + if test no != "$suncc_use_cstd_abi"; then
  84878. + func_append postdeps ' -library=Cstd -library=Crun'
  84879. + fi
  84880. + ;;
  84881. + esac
  84882. + ;;
  84883. + esac
  84884. + }
  84885. +
  84886. # Last step: remove runtime libs from dependency_libs
  84887. # (they stay in deplibs)
  84888. tmp_libs=
  84889. - for i in $dependency_libs ; do
  84890. + for i in $dependency_libs; do
  84891. case " $predeps $postdeps $compiler_lib_search_path " in
  84892. *" $i "*)
  84893. - i=""
  84894. + i=
  84895. ;;
  84896. esac
  84897. - if test -n "$i" ; then
  84898. - tmp_libs="$tmp_libs $i"
  84899. + if test -n "$i"; then
  84900. + func_append tmp_libs " $i"
  84901. fi
  84902. done
  84903. dependency_libs=$tmp_libs
  84904. done # for pass
  84905. - if test "$linkmode" = prog; then
  84906. - dlfiles="$newdlfiles"
  84907. + if test prog = "$linkmode"; then
  84908. + dlfiles=$newdlfiles
  84909. fi
  84910. - if test "$linkmode" = prog || test "$linkmode" = lib; then
  84911. - dlprefiles="$newdlprefiles"
  84912. + if test prog = "$linkmode" || test lib = "$linkmode"; then
  84913. + dlprefiles=$newdlprefiles
  84914. fi
  84915.  
  84916. case $linkmode in
  84917. oldlib)
  84918. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  84919. - func_warning "\`-dlopen' is ignored for archives"
  84920. + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
  84921. + func_warning "'-dlopen' is ignored for archives"
  84922. fi
  84923.  
  84924. case " $deplibs" in
  84925. *\ -l* | *\ -L*)
  84926. - func_warning "\`-l' and \`-L' are ignored for archives" ;;
  84927. + func_warning "'-l' and '-L' are ignored for archives" ;;
  84928. esac
  84929.  
  84930. test -n "$rpath" && \
  84931. - func_warning "\`-rpath' is ignored for archives"
  84932. + func_warning "'-rpath' is ignored for archives"
  84933.  
  84934. test -n "$xrpath" && \
  84935. - func_warning "\`-R' is ignored for archives"
  84936. + func_warning "'-R' is ignored for archives"
  84937.  
  84938. test -n "$vinfo" && \
  84939. - func_warning "\`-version-info/-version-number' is ignored for archives"
  84940. + func_warning "'-version-info/-version-number' is ignored for archives"
  84941.  
  84942. test -n "$release" && \
  84943. - func_warning "\`-release' is ignored for archives"
  84944. + func_warning "'-release' is ignored for archives"
  84945.  
  84946. test -n "$export_symbols$export_symbols_regex" && \
  84947. - func_warning "\`-export-symbols' is ignored for archives"
  84948. + func_warning "'-export-symbols' is ignored for archives"
  84949.  
  84950. # Now set the variables for building old libraries.
  84951. build_libtool_libs=no
  84952. - oldlibs="$output"
  84953. - objs="$objs$old_deplibs"
  84954. + oldlibs=$output
  84955. + func_append objs "$old_deplibs"
  84956. ;;
  84957.  
  84958. lib)
  84959. - # Make sure we only generate libraries of the form `libNAME.la'.
  84960. + # Make sure we only generate libraries of the form 'libNAME.la'.
  84961. case $outputname in
  84962. lib*)
  84963. func_stripname 'lib' '.la' "$outputname"
  84964. @@ -6110,10 +8724,10 @@
  84965. eval libname=\"$libname_spec\"
  84966. ;;
  84967. *)
  84968. - test "$module" = no && \
  84969. - func_fatal_help "libtool library \`$output' must begin with \`lib'"
  84970. + test no = "$module" \
  84971. + && func_fatal_help "libtool library '$output' must begin with 'lib'"
  84972.  
  84973. - if test "$need_lib_prefix" != no; then
  84974. + if test no != "$need_lib_prefix"; then
  84975. # Add the "lib" prefix for modules if required
  84976. func_stripname '' '.la' "$outputname"
  84977. name=$func_stripname_result
  84978. @@ -6127,31 +8741,31 @@
  84979. esac
  84980.  
  84981. if test -n "$objs"; then
  84982. - if test "$deplibs_check_method" != pass_all; then
  84983. - func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  84984. + if test pass_all != "$deplibs_check_method"; then
  84985. + func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
  84986. else
  84987. - $ECHO
  84988. + echo
  84989. $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  84990. $ECHO "*** objects $objs is not portable!"
  84991. - libobjs="$libobjs $objs"
  84992. + func_append libobjs " $objs"
  84993. fi
  84994. fi
  84995.  
  84996. - test "$dlself" != no && \
  84997. - func_warning "\`-dlopen self' is ignored for libtool libraries"
  84998. + test no = "$dlself" \
  84999. + || func_warning "'-dlopen self' is ignored for libtool libraries"
  85000.  
  85001. set dummy $rpath
  85002. shift
  85003. - test "$#" -gt 1 && \
  85004. - func_warning "ignoring multiple \`-rpath's for a libtool library"
  85005. + test 1 -lt "$#" \
  85006. + && func_warning "ignoring multiple '-rpath's for a libtool library"
  85007.  
  85008. - install_libdir="$1"
  85009. + install_libdir=$1
  85010.  
  85011. oldlibs=
  85012. if test -z "$rpath"; then
  85013. - if test "$build_libtool_libs" = yes; then
  85014. + if test yes = "$build_libtool_libs"; then
  85015. # Building a libtool convenience library.
  85016. - # Some compilers have problems with a `.al' extension so
  85017. + # Some compilers have problems with a '.al' extension so
  85018. # convenience libraries should have the same extension an
  85019. # archive normally would.
  85020. oldlibs="$output_objdir/$libname.$libext $oldlibs"
  85021. @@ -6160,20 +8774,20 @@
  85022. fi
  85023.  
  85024. test -n "$vinfo" && \
  85025. - func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  85026. + func_warning "'-version-info/-version-number' is ignored for convenience libraries"
  85027.  
  85028. test -n "$release" && \
  85029. - func_warning "\`-release' is ignored for convenience libraries"
  85030. + func_warning "'-release' is ignored for convenience libraries"
  85031. else
  85032.  
  85033. # Parse the version information argument.
  85034. - save_ifs="$IFS"; IFS=':'
  85035. + save_ifs=$IFS; IFS=:
  85036. set dummy $vinfo 0 0 0
  85037. shift
  85038. - IFS="$save_ifs"
  85039. + IFS=$save_ifs
  85040.  
  85041. test -n "$7" && \
  85042. - func_fatal_help "too many parameters to \`-version-info'"
  85043. + func_fatal_help "too many parameters to '-version-info'"
  85044.  
  85045. # convert absolute version numbers to libtool ages
  85046. # this retains compatibility with .la files and attempts
  85047. @@ -6181,44 +8795,42 @@
  85048.  
  85049. case $vinfo_number in
  85050. yes)
  85051. - number_major="$1"
  85052. - number_minor="$2"
  85053. - number_revision="$3"
  85054. + number_major=$1
  85055. + number_minor=$2
  85056. + number_revision=$3
  85057. #
  85058. # There are really only two kinds -- those that
  85059. # use the current revision as the major version
  85060. # and those that subtract age and use age as
  85061. # a minor version. But, then there is irix
  85062. - # which has an extra 1 added just for fun
  85063. + # that has an extra 1 added just for fun
  85064. #
  85065. case $version_type in
  85066. - darwin|linux|osf|windows|none)
  85067. + # correct linux to gnu/linux during the next big refactor
  85068. + darwin|freebsd-elf|linux|osf|windows|none)
  85069. func_arith $number_major + $number_minor
  85070. current=$func_arith_result
  85071. - age="$number_minor"
  85072. - revision="$number_revision"
  85073. + age=$number_minor
  85074. + revision=$number_revision
  85075. ;;
  85076. - freebsd-aout|freebsd-elf|sunos)
  85077. - current="$number_major"
  85078. - revision="$number_minor"
  85079. - age="0"
  85080. + freebsd-aout|qnx|sunos)
  85081. + current=$number_major
  85082. + revision=$number_minor
  85083. + age=0
  85084. ;;
  85085. irix|nonstopux)
  85086. func_arith $number_major + $number_minor
  85087. current=$func_arith_result
  85088. - age="$number_minor"
  85089. - revision="$number_minor"
  85090. + age=$number_minor
  85091. + revision=$number_minor
  85092. lt_irix_increment=no
  85093. ;;
  85094. - *)
  85095. - func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  85096. - ;;
  85097. esac
  85098. ;;
  85099. no)
  85100. - current="$1"
  85101. - revision="$2"
  85102. - age="$3"
  85103. + current=$1
  85104. + revision=$2
  85105. + age=$3
  85106. ;;
  85107. esac
  85108.  
  85109. @@ -6226,30 +8838,30 @@
  85110. case $current in
  85111. 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  85112. *)
  85113. - func_error "CURRENT \`$current' must be a nonnegative integer"
  85114. - func_fatal_error "\`$vinfo' is not valid version information"
  85115. + func_error "CURRENT '$current' must be a nonnegative integer"
  85116. + func_fatal_error "'$vinfo' is not valid version information"
  85117. ;;
  85118. esac
  85119.  
  85120. case $revision in
  85121. 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  85122. *)
  85123. - func_error "REVISION \`$revision' must be a nonnegative integer"
  85124. - func_fatal_error "\`$vinfo' is not valid version information"
  85125. + func_error "REVISION '$revision' must be a nonnegative integer"
  85126. + func_fatal_error "'$vinfo' is not valid version information"
  85127. ;;
  85128. esac
  85129.  
  85130. case $age in
  85131. 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  85132. *)
  85133. - func_error "AGE \`$age' must be a nonnegative integer"
  85134. - func_fatal_error "\`$vinfo' is not valid version information"
  85135. + func_error "AGE '$age' must be a nonnegative integer"
  85136. + func_fatal_error "'$vinfo' is not valid version information"
  85137. ;;
  85138. esac
  85139.  
  85140. if test "$age" -gt "$current"; then
  85141. - func_error "AGE \`$age' is greater than the current interface number \`$current'"
  85142. - func_fatal_error "\`$vinfo' is not valid version information"
  85143. + func_error "AGE '$age' is greater than the current interface number '$current'"
  85144. + func_fatal_error "'$vinfo' is not valid version information"
  85145. fi
  85146.  
  85147. # Calculate the version variables.
  85148. @@ -6264,26 +8876,36 @@
  85149. # verstring for coding it into the library header
  85150. func_arith $current - $age
  85151. major=.$func_arith_result
  85152. - versuffix="$major.$age.$revision"
  85153. + versuffix=$major.$age.$revision
  85154. # Darwin ld doesn't like 0 for these options...
  85155. func_arith $current + 1
  85156. minor_current=$func_arith_result
  85157. - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  85158. + xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
  85159. verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  85160. + # On Darwin other compilers
  85161. + case $CC in
  85162. + nagfor*)
  85163. + verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
  85164. + ;;
  85165. + *)
  85166. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  85167. + ;;
  85168. + esac
  85169. ;;
  85170.  
  85171. freebsd-aout)
  85172. - major=".$current"
  85173. - versuffix=".$current.$revision";
  85174. + major=.$current
  85175. + versuffix=.$current.$revision
  85176. ;;
  85177.  
  85178. freebsd-elf)
  85179. - major=".$current"
  85180. - versuffix=".$current"
  85181. + func_arith $current - $age
  85182. + major=.$func_arith_result
  85183. + versuffix=$major.$age.$revision
  85184. ;;
  85185.  
  85186. irix | nonstopux)
  85187. - if test "X$lt_irix_increment" = "Xno"; then
  85188. + if test no = "$lt_irix_increment"; then
  85189. func_arith $current - $age
  85190. else
  85191. func_arith $current - $age + 1
  85192. @@ -6294,69 +8916,74 @@
  85193. nonstopux) verstring_prefix=nonstopux ;;
  85194. *) verstring_prefix=sgi ;;
  85195. esac
  85196. - verstring="$verstring_prefix$major.$revision"
  85197. + verstring=$verstring_prefix$major.$revision
  85198.  
  85199. # Add in all the interfaces that we are compatible with.
  85200. loop=$revision
  85201. - while test "$loop" -ne 0; do
  85202. + while test 0 -ne "$loop"; do
  85203. func_arith $revision - $loop
  85204. iface=$func_arith_result
  85205. func_arith $loop - 1
  85206. loop=$func_arith_result
  85207. - verstring="$verstring_prefix$major.$iface:$verstring"
  85208. + verstring=$verstring_prefix$major.$iface:$verstring
  85209. done
  85210.  
  85211. - # Before this point, $major must not contain `.'.
  85212. + # Before this point, $major must not contain '.'.
  85213. major=.$major
  85214. - versuffix="$major.$revision"
  85215. + versuffix=$major.$revision
  85216. ;;
  85217.  
  85218. - linux)
  85219. + linux) # correct to gnu/linux during the next big refactor
  85220. func_arith $current - $age
  85221. major=.$func_arith_result
  85222. - versuffix="$major.$age.$revision"
  85223. + versuffix=$major.$age.$revision
  85224. ;;
  85225.  
  85226. osf)
  85227. func_arith $current - $age
  85228. major=.$func_arith_result
  85229. - versuffix=".$current.$age.$revision"
  85230. - verstring="$current.$age.$revision"
  85231. + versuffix=.$current.$age.$revision
  85232. + verstring=$current.$age.$revision
  85233.  
  85234. # Add in all the interfaces that we are compatible with.
  85235. loop=$age
  85236. - while test "$loop" -ne 0; do
  85237. + while test 0 -ne "$loop"; do
  85238. func_arith $current - $loop
  85239. iface=$func_arith_result
  85240. func_arith $loop - 1
  85241. loop=$func_arith_result
  85242. - verstring="$verstring:${iface}.0"
  85243. + verstring=$verstring:$iface.0
  85244. done
  85245.  
  85246. # Make executables depend on our current version.
  85247. - verstring="$verstring:${current}.0"
  85248. + func_append verstring ":$current.0"
  85249. ;;
  85250.  
  85251. qnx)
  85252. - major=".$current"
  85253. - versuffix=".$current"
  85254. + major=.$current
  85255. + versuffix=.$current
  85256. + ;;
  85257. +
  85258. + sco)
  85259. + major=.$current
  85260. + versuffix=.$current
  85261. ;;
  85262.  
  85263. sunos)
  85264. - major=".$current"
  85265. - versuffix=".$current.$revision"
  85266. + major=.$current
  85267. + versuffix=.$current.$revision
  85268. ;;
  85269.  
  85270. windows)
  85271. # Use '-' rather than '.', since we only want one
  85272. - # extension on DOS 8.3 filesystems.
  85273. + # extension on DOS 8.3 file systems.
  85274. func_arith $current - $age
  85275. major=$func_arith_result
  85276. - versuffix="-$major"
  85277. + versuffix=-$major
  85278. ;;
  85279.  
  85280. *)
  85281. - func_fatal_configuration "unknown library version type \`$version_type'"
  85282. + func_fatal_configuration "unknown library version type '$version_type'"
  85283. ;;
  85284. esac
  85285.  
  85286. @@ -6370,42 +8997,45 @@
  85287. verstring=
  85288. ;;
  85289. *)
  85290. - verstring="0.0"
  85291. + verstring=0.0
  85292. ;;
  85293. esac
  85294. - if test "$need_version" = no; then
  85295. + if test no = "$need_version"; then
  85296. versuffix=
  85297. else
  85298. - versuffix=".0.0"
  85299. + versuffix=.0.0
  85300. fi
  85301. fi
  85302.  
  85303. # Remove version info from name if versioning should be avoided
  85304. - if test "$avoid_version" = yes && test "$need_version" = no; then
  85305. + if test yes,no = "$avoid_version,$need_version"; then
  85306. major=
  85307. versuffix=
  85308. - verstring=""
  85309. + verstring=
  85310. fi
  85311.  
  85312. # Check to see if the archive will have undefined symbols.
  85313. - if test "$allow_undefined" = yes; then
  85314. - if test "$allow_undefined_flag" = unsupported; then
  85315. - func_warning "undefined symbols not allowed in $host shared libraries"
  85316. - build_libtool_libs=no
  85317. - build_old_libs=yes
  85318. + if test yes = "$allow_undefined"; then
  85319. + if test unsupported = "$allow_undefined_flag"; then
  85320. + if test yes = "$build_old_libs"; then
  85321. + func_warning "undefined symbols not allowed in $host shared libraries; building static only"
  85322. + build_libtool_libs=no
  85323. + else
  85324. + func_fatal_error "can't build $host shared library unless -no-undefined is specified"
  85325. + fi
  85326. fi
  85327. else
  85328. # Don't allow undefined symbols.
  85329. - allow_undefined_flag="$no_undefined_flag"
  85330. + allow_undefined_flag=$no_undefined_flag
  85331. fi
  85332.  
  85333. fi
  85334.  
  85335. - func_generate_dlsyms "$libname" "$libname" "yes"
  85336. - libobjs="$libobjs $symfileobj"
  85337. - test "X$libobjs" = "X " && libobjs=
  85338. + func_generate_dlsyms "$libname" "$libname" :
  85339. + func_append libobjs " $symfileobj"
  85340. + test " " = "$libobjs" && libobjs=
  85341.  
  85342. - if test "$mode" != relink; then
  85343. + if test relink != "$opt_mode"; then
  85344. # Remove our outputs, but don't remove object files since they
  85345. # may have been created when compiling PIC objects.
  85346. removelist=
  85347. @@ -6414,14 +9044,14 @@
  85348. case $p in
  85349. *.$objext | *.gcno)
  85350. ;;
  85351. - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  85352. - if test "X$precious_files_regex" != "X"; then
  85353. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
  85354. + if test -n "$precious_files_regex"; then
  85355. if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  85356. then
  85357. continue
  85358. fi
  85359. fi
  85360. - removelist="$removelist $p"
  85361. + func_append removelist " $p"
  85362. ;;
  85363. *) ;;
  85364. esac
  85365. @@ -6431,64 +9061,65 @@
  85366. fi
  85367.  
  85368. # Now set the variables for building old libraries.
  85369. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  85370. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  85371. + if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
  85372. + func_append oldlibs " $output_objdir/$libname.$libext"
  85373.  
  85374. # Transform .lo files to .o files.
  85375. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  85376. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
  85377. fi
  85378.  
  85379. # Eliminate all temporary directories.
  85380. #for path in $notinst_path; do
  85381. - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  85382. - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  85383. - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  85384. + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
  85385. + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
  85386. + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
  85387. #done
  85388.  
  85389. if test -n "$xrpath"; then
  85390. # If the user specified any rpath flags, then add them.
  85391. temp_xrpath=
  85392. for libdir in $xrpath; do
  85393. - temp_xrpath="$temp_xrpath -R$libdir"
  85394. + func_replace_sysroot "$libdir"
  85395. + func_append temp_xrpath " -R$func_replace_sysroot_result"
  85396. case "$finalize_rpath " in
  85397. *" $libdir "*) ;;
  85398. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  85399. + *) func_append finalize_rpath " $libdir" ;;
  85400. esac
  85401. done
  85402. - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  85403. + if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
  85404. dependency_libs="$temp_xrpath $dependency_libs"
  85405. fi
  85406. fi
  85407.  
  85408. # Make sure dlfiles contains only unique files that won't be dlpreopened
  85409. - old_dlfiles="$dlfiles"
  85410. + old_dlfiles=$dlfiles
  85411. dlfiles=
  85412. for lib in $old_dlfiles; do
  85413. case " $dlprefiles $dlfiles " in
  85414. *" $lib "*) ;;
  85415. - *) dlfiles="$dlfiles $lib" ;;
  85416. + *) func_append dlfiles " $lib" ;;
  85417. esac
  85418. done
  85419.  
  85420. # Make sure dlprefiles contains only unique files
  85421. - old_dlprefiles="$dlprefiles"
  85422. + old_dlprefiles=$dlprefiles
  85423. dlprefiles=
  85424. for lib in $old_dlprefiles; do
  85425. case "$dlprefiles " in
  85426. *" $lib "*) ;;
  85427. - *) dlprefiles="$dlprefiles $lib" ;;
  85428. + *) func_append dlprefiles " $lib" ;;
  85429. esac
  85430. done
  85431.  
  85432. - if test "$build_libtool_libs" = yes; then
  85433. + if test yes = "$build_libtool_libs"; then
  85434. if test -n "$rpath"; then
  85435. case $host in
  85436. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  85437. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
  85438. # these systems don't actually have a c library (as such)!
  85439. ;;
  85440. *-*-rhapsody* | *-*-darwin1.[012])
  85441. # Rhapsody C library is in the System framework
  85442. - deplibs="$deplibs System.ltframework"
  85443. + func_append deplibs " System.ltframework"
  85444. ;;
  85445. *-*-netbsd*)
  85446. # Don't link with libc until the a.out ld.so is fixed.
  85447. @@ -6504,8 +9135,8 @@
  85448. ;;
  85449. *)
  85450. # Add libc to deplibs on all other systems if necessary.
  85451. - if test "$build_libtool_need_lc" = "yes"; then
  85452. - deplibs="$deplibs -lc"
  85453. + if test yes = "$build_libtool_need_lc"; then
  85454. + func_append deplibs " -lc"
  85455. fi
  85456. ;;
  85457. esac
  85458. @@ -6520,9 +9151,9 @@
  85459. # I'm not sure if I'm treating the release correctly. I think
  85460. # release should show up in the -l (ie -lgmp5) so we don't want to
  85461. # add it in twice. Is that correct?
  85462. - release=""
  85463. - versuffix=""
  85464. - major=""
  85465. + release=
  85466. + versuffix=
  85467. + major=
  85468. newdeplibs=
  85469. droppeddeps=no
  85470. case $deplibs_check_method in
  85471. @@ -6551,35 +9182,35 @@
  85472. -l*)
  85473. func_stripname -l '' "$i"
  85474. name=$func_stripname_result
  85475. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85476. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85477. case " $predeps $postdeps " in
  85478. *" $i "*)
  85479. - newdeplibs="$newdeplibs $i"
  85480. - i=""
  85481. + func_append newdeplibs " $i"
  85482. + i=
  85483. ;;
  85484. esac
  85485. fi
  85486. - if test -n "$i" ; then
  85487. + if test -n "$i"; then
  85488. libname=`eval "\\$ECHO \"$libname_spec\""`
  85489. deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  85490. set dummy $deplib_matches; shift
  85491. deplib_match=$1
  85492. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  85493. - newdeplibs="$newdeplibs $i"
  85494. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
  85495. + func_append newdeplibs " $i"
  85496. else
  85497. droppeddeps=yes
  85498. - $ECHO
  85499. + echo
  85500. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  85501. - $ECHO "*** I have the capability to make that library automatically link in when"
  85502. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85503. - $ECHO "*** shared version of the library, which I believe you do not have"
  85504. - $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  85505. - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  85506. + echo "*** I have the capability to make that library automatically link in when"
  85507. + echo "*** you link to this library. But I can only do this if you have a"
  85508. + echo "*** shared version of the library, which I believe you do not have"
  85509. + echo "*** because a test_compile did reveal that the linker did not use it for"
  85510. + echo "*** its dynamic dependency list that programs get resolved with at runtime."
  85511. fi
  85512. fi
  85513. ;;
  85514. *)
  85515. - newdeplibs="$newdeplibs $i"
  85516. + func_append newdeplibs " $i"
  85517. ;;
  85518. esac
  85519. done
  85520. @@ -6594,43 +9225,43 @@
  85521. $opt_dry_run || $RM conftest
  85522. if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  85523. ldd_output=`ldd conftest`
  85524. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85525. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85526. case " $predeps $postdeps " in
  85527. *" $i "*)
  85528. - newdeplibs="$newdeplibs $i"
  85529. - i=""
  85530. + func_append newdeplibs " $i"
  85531. + i=
  85532. ;;
  85533. esac
  85534. fi
  85535. - if test -n "$i" ; then
  85536. + if test -n "$i"; then
  85537. libname=`eval "\\$ECHO \"$libname_spec\""`
  85538. deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  85539. set dummy $deplib_matches; shift
  85540. deplib_match=$1
  85541. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  85542. - newdeplibs="$newdeplibs $i"
  85543. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
  85544. + func_append newdeplibs " $i"
  85545. else
  85546. droppeddeps=yes
  85547. - $ECHO
  85548. + echo
  85549. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  85550. - $ECHO "*** I have the capability to make that library automatically link in when"
  85551. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85552. - $ECHO "*** shared version of the library, which you do not appear to have"
  85553. - $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  85554. - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  85555. + echo "*** I have the capability to make that library automatically link in when"
  85556. + echo "*** you link to this library. But I can only do this if you have a"
  85557. + echo "*** shared version of the library, which you do not appear to have"
  85558. + echo "*** because a test_compile did reveal that the linker did not use this one"
  85559. + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  85560. fi
  85561. fi
  85562. else
  85563. droppeddeps=yes
  85564. - $ECHO
  85565. + echo
  85566. $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  85567. - $ECHO "*** make it link in! You will probably need to install it or some"
  85568. - $ECHO "*** library that it depends on before this library will be fully"
  85569. - $ECHO "*** functional. Installing it before continuing would be even better."
  85570. + echo "*** make it link in! You will probably need to install it or some"
  85571. + echo "*** library that it depends on before this library will be fully"
  85572. + echo "*** functional. Installing it before continuing would be even better."
  85573. fi
  85574. ;;
  85575. *)
  85576. - newdeplibs="$newdeplibs $i"
  85577. + func_append newdeplibs " $i"
  85578. ;;
  85579. esac
  85580. done
  85581. @@ -6644,18 +9275,30 @@
  85582. -l*)
  85583. func_stripname -l '' "$a_deplib"
  85584. name=$func_stripname_result
  85585. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85586. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85587. case " $predeps $postdeps " in
  85588. *" $a_deplib "*)
  85589. - newdeplibs="$newdeplibs $a_deplib"
  85590. - a_deplib=""
  85591. + func_append newdeplibs " $a_deplib"
  85592. + a_deplib=
  85593. ;;
  85594. esac
  85595. fi
  85596. - if test -n "$a_deplib" ; then
  85597. + if test -n "$a_deplib"; then
  85598. libname=`eval "\\$ECHO \"$libname_spec\""`
  85599. + if test -n "$file_magic_glob"; then
  85600. + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
  85601. + else
  85602. + libnameglob=$libname
  85603. + fi
  85604. + test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
  85605. for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  85606. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  85607. + if test yes = "$want_nocaseglob"; then
  85608. + shopt -s nocaseglob
  85609. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  85610. + $nocaseglob
  85611. + else
  85612. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  85613. + fi
  85614. for potent_lib in $potential_libs; do
  85615. # Follow soft links.
  85616. if ls -lLd "$potent_lib" 2>/dev/null |
  85617. @@ -6667,33 +9310,33 @@
  85618. # We might still enter an endless loop, since a link
  85619. # loop can be closed while we follow links,
  85620. # but so what?
  85621. - potlib="$potent_lib"
  85622. + potlib=$potent_lib
  85623. while test -h "$potlib" 2>/dev/null; do
  85624. - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  85625. + potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
  85626. case $potliblink in
  85627. - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  85628. - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  85629. + [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
  85630. + *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
  85631. esac
  85632. done
  85633. if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  85634. $SED -e 10q |
  85635. $EGREP "$file_magic_regex" > /dev/null; then
  85636. - newdeplibs="$newdeplibs $a_deplib"
  85637. - a_deplib=""
  85638. + func_append newdeplibs " $a_deplib"
  85639. + a_deplib=
  85640. break 2
  85641. fi
  85642. done
  85643. done
  85644. fi
  85645. - if test -n "$a_deplib" ; then
  85646. + if test -n "$a_deplib"; then
  85647. droppeddeps=yes
  85648. - $ECHO
  85649. + echo
  85650. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  85651. - $ECHO "*** I have the capability to make that library automatically link in when"
  85652. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85653. - $ECHO "*** shared version of the library, which you do not appear to have"
  85654. - $ECHO "*** because I did check the linker path looking for a file starting"
  85655. - if test -z "$potlib" ; then
  85656. + echo "*** I have the capability to make that library automatically link in when"
  85657. + echo "*** you link to this library. But I can only do this if you have a"
  85658. + echo "*** shared version of the library, which you do not appear to have"
  85659. + echo "*** because I did check the linker path looking for a file starting"
  85660. + if test -z "$potlib"; then
  85661. $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  85662. else
  85663. $ECHO "*** with $libname and none of the candidates passed a file format test"
  85664. @@ -6703,7 +9346,7 @@
  85665. ;;
  85666. *)
  85667. # Add a -L argument.
  85668. - newdeplibs="$newdeplibs $a_deplib"
  85669. + func_append newdeplibs " $a_deplib"
  85670. ;;
  85671. esac
  85672. done # Gone through all deplibs.
  85673. @@ -6716,38 +9359,38 @@
  85674. -l*)
  85675. func_stripname -l '' "$a_deplib"
  85676. name=$func_stripname_result
  85677. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85678. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85679. case " $predeps $postdeps " in
  85680. *" $a_deplib "*)
  85681. - newdeplibs="$newdeplibs $a_deplib"
  85682. - a_deplib=""
  85683. + func_append newdeplibs " $a_deplib"
  85684. + a_deplib=
  85685. ;;
  85686. esac
  85687. fi
  85688. - if test -n "$a_deplib" ; then
  85689. + if test -n "$a_deplib"; then
  85690. libname=`eval "\\$ECHO \"$libname_spec\""`
  85691. for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  85692. potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  85693. for potent_lib in $potential_libs; do
  85694. - potlib="$potent_lib" # see symlink-check above in file_magic test
  85695. - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  85696. + potlib=$potent_lib # see symlink-check above in file_magic test
  85697. + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
  85698. $EGREP "$match_pattern_regex" > /dev/null; then
  85699. - newdeplibs="$newdeplibs $a_deplib"
  85700. - a_deplib=""
  85701. + func_append newdeplibs " $a_deplib"
  85702. + a_deplib=
  85703. break 2
  85704. fi
  85705. done
  85706. done
  85707. fi
  85708. - if test -n "$a_deplib" ; then
  85709. + if test -n "$a_deplib"; then
  85710. droppeddeps=yes
  85711. - $ECHO
  85712. + echo
  85713. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  85714. - $ECHO "*** I have the capability to make that library automatically link in when"
  85715. - $ECHO "*** you link to this library. But I can only do this if you have a"
  85716. - $ECHO "*** shared version of the library, which you do not appear to have"
  85717. - $ECHO "*** because I did check the linker path looking for a file starting"
  85718. - if test -z "$potlib" ; then
  85719. + echo "*** I have the capability to make that library automatically link in when"
  85720. + echo "*** you link to this library. But I can only do this if you have a"
  85721. + echo "*** shared version of the library, which you do not appear to have"
  85722. + echo "*** because I did check the linker path looking for a file starting"
  85723. + if test -z "$potlib"; then
  85724. $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  85725. else
  85726. $ECHO "*** with $libname and none of the candidates passed a file format test"
  85727. @@ -6757,32 +9400,32 @@
  85728. ;;
  85729. *)
  85730. # Add a -L argument.
  85731. - newdeplibs="$newdeplibs $a_deplib"
  85732. + func_append newdeplibs " $a_deplib"
  85733. ;;
  85734. esac
  85735. done # Gone through all deplibs.
  85736. ;;
  85737. none | unknown | *)
  85738. - newdeplibs=""
  85739. - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  85740. - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  85741. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  85742. - for i in $predeps $postdeps ; do
  85743. + newdeplibs=
  85744. + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
  85745. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then
  85746. + for i in $predeps $postdeps; do
  85747. # can't use Xsed below, because $i might contain '/'
  85748. - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  85749. + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
  85750. done
  85751. fi
  85752. - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  85753. - $GREP . >/dev/null; then
  85754. - $ECHO
  85755. - if test "X$deplibs_check_method" = "Xnone"; then
  85756. - $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  85757. + case $tmp_deplibs in
  85758. + *[!\ \ ]*)
  85759. + echo
  85760. + if test none = "$deplibs_check_method"; then
  85761. + echo "*** Warning: inter-library dependencies are not supported in this platform."
  85762. else
  85763. - $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  85764. + echo "*** Warning: inter-library dependencies are not known to be supported."
  85765. fi
  85766. - $ECHO "*** All declared inter-library dependencies are being dropped."
  85767. + echo "*** All declared inter-library dependencies are being dropped."
  85768. droppeddeps=yes
  85769. - fi
  85770. + ;;
  85771. + esac
  85772. ;;
  85773. esac
  85774. versuffix=$versuffix_save
  85775. @@ -6794,44 +9437,44 @@
  85776. case $host in
  85777. *-*-rhapsody* | *-*-darwin1.[012])
  85778. # On Rhapsody replace the C library with the System framework
  85779. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  85780. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
  85781. ;;
  85782. esac
  85783.  
  85784. - if test "$droppeddeps" = yes; then
  85785. - if test "$module" = yes; then
  85786. - $ECHO
  85787. - $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  85788. + if test yes = "$droppeddeps"; then
  85789. + if test yes = "$module"; then
  85790. + echo
  85791. + echo "*** Warning: libtool could not satisfy all declared inter-library"
  85792. $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  85793. - $ECHO "*** a static module, that should work as long as the dlopening"
  85794. - $ECHO "*** application is linked with the -dlopen flag."
  85795. + echo "*** a static module, that should work as long as the dlopening"
  85796. + echo "*** application is linked with the -dlopen flag."
  85797. if test -z "$global_symbol_pipe"; then
  85798. - $ECHO
  85799. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  85800. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  85801. - $ECHO "*** not find such a program. So, this module is probably useless."
  85802. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  85803. + echo
  85804. + echo "*** However, this would only work if libtool was able to extract symbol"
  85805. + echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
  85806. + echo "*** not find such a program. So, this module is probably useless."
  85807. + echo "*** 'nm' from GNU binutils and a full rebuild may help."
  85808. fi
  85809. - if test "$build_old_libs" = no; then
  85810. - oldlibs="$output_objdir/$libname.$libext"
  85811. + if test no = "$build_old_libs"; then
  85812. + oldlibs=$output_objdir/$libname.$libext
  85813. build_libtool_libs=module
  85814. build_old_libs=yes
  85815. else
  85816. build_libtool_libs=no
  85817. fi
  85818. else
  85819. - $ECHO "*** The inter-library dependencies that have been dropped here will be"
  85820. - $ECHO "*** automatically added whenever a program is linked with this library"
  85821. - $ECHO "*** or is declared to -dlopen it."
  85822. -
  85823. - if test "$allow_undefined" = no; then
  85824. - $ECHO
  85825. - $ECHO "*** Since this library must not contain undefined symbols,"
  85826. - $ECHO "*** because either the platform does not support them or"
  85827. - $ECHO "*** it was explicitly requested with -no-undefined,"
  85828. - $ECHO "*** libtool will only create a static version of it."
  85829. - if test "$build_old_libs" = no; then
  85830. - oldlibs="$output_objdir/$libname.$libext"
  85831. + echo "*** The inter-library dependencies that have been dropped here will be"
  85832. + echo "*** automatically added whenever a program is linked with this library"
  85833. + echo "*** or is declared to -dlopen it."
  85834. +
  85835. + if test no = "$allow_undefined"; then
  85836. + echo
  85837. + echo "*** Since this library must not contain undefined symbols,"
  85838. + echo "*** because either the platform does not support them or"
  85839. + echo "*** it was explicitly requested with -no-undefined,"
  85840. + echo "*** libtool will only create a static version of it."
  85841. + if test no = "$build_old_libs"; then
  85842. + oldlibs=$output_objdir/$libname.$libext
  85843. build_libtool_libs=module
  85844. build_old_libs=yes
  85845. else
  85846. @@ -6846,9 +9489,9 @@
  85847. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  85848. case $host in
  85849. *-*-darwin*)
  85850. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  85851. - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  85852. - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  85853. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  85854. + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  85855. + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  85856. ;;
  85857. esac
  85858.  
  85859. @@ -6861,7 +9504,7 @@
  85860. *)
  85861. case " $deplibs " in
  85862. *" -L$path/$objdir "*)
  85863. - new_libs="$new_libs -L$path/$objdir" ;;
  85864. + func_append new_libs " -L$path/$objdir" ;;
  85865. esac
  85866. ;;
  85867. esac
  85868. @@ -6871,13 +9514,13 @@
  85869. -L*)
  85870. case " $new_libs " in
  85871. *" $deplib "*) ;;
  85872. - *) new_libs="$new_libs $deplib" ;;
  85873. + *) func_append new_libs " $deplib" ;;
  85874. esac
  85875. ;;
  85876. - *) new_libs="$new_libs $deplib" ;;
  85877. + *) func_append new_libs " $deplib" ;;
  85878. esac
  85879. done
  85880. - deplibs="$new_libs"
  85881. + deplibs=$new_libs
  85882.  
  85883. # All the library-specific variables (install_libdir is set above).
  85884. library_names=
  85885. @@ -6885,62 +9528,65 @@
  85886. dlname=
  85887.  
  85888. # Test again, we may have decided not to build it any more
  85889. - if test "$build_libtool_libs" = yes; then
  85890. - if test "$hardcode_into_libs" = yes; then
  85891. + if test yes = "$build_libtool_libs"; then
  85892. + # Remove $wl instances when linking with ld.
  85893. + # FIXME: should test the right _cmds variable.
  85894. + case $archive_cmds in
  85895. + *\$LD\ *) wl= ;;
  85896. + esac
  85897. + if test yes = "$hardcode_into_libs"; then
  85898. # Hardcode the library paths
  85899. hardcode_libdirs=
  85900. dep_rpath=
  85901. - rpath="$finalize_rpath"
  85902. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  85903. + rpath=$finalize_rpath
  85904. + test relink = "$opt_mode" || rpath=$compile_rpath$rpath
  85905. for libdir in $rpath; do
  85906. if test -n "$hardcode_libdir_flag_spec"; then
  85907. if test -n "$hardcode_libdir_separator"; then
  85908. + func_replace_sysroot "$libdir"
  85909. + libdir=$func_replace_sysroot_result
  85910. if test -z "$hardcode_libdirs"; then
  85911. - hardcode_libdirs="$libdir"
  85912. + hardcode_libdirs=$libdir
  85913. else
  85914. # Just accumulate the unique libdirs.
  85915. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  85916. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  85917. ;;
  85918. *)
  85919. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  85920. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  85921. ;;
  85922. esac
  85923. fi
  85924. else
  85925. eval flag=\"$hardcode_libdir_flag_spec\"
  85926. - dep_rpath="$dep_rpath $flag"
  85927. + func_append dep_rpath " $flag"
  85928. fi
  85929. elif test -n "$runpath_var"; then
  85930. case "$perm_rpath " in
  85931. *" $libdir "*) ;;
  85932. - *) perm_rpath="$perm_rpath $libdir" ;;
  85933. + *) func_append perm_rpath " $libdir" ;;
  85934. esac
  85935. fi
  85936. done
  85937. # Substitute the hardcoded libdirs into the rpath.
  85938. if test -n "$hardcode_libdir_separator" &&
  85939. test -n "$hardcode_libdirs"; then
  85940. - libdir="$hardcode_libdirs"
  85941. - if test -n "$hardcode_libdir_flag_spec_ld"; then
  85942. - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  85943. - else
  85944. - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  85945. - fi
  85946. + libdir=$hardcode_libdirs
  85947. + eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
  85948. fi
  85949. if test -n "$runpath_var" && test -n "$perm_rpath"; then
  85950. # We should set the runpath_var.
  85951. rpath=
  85952. for dir in $perm_rpath; do
  85953. - rpath="$rpath$dir:"
  85954. + func_append rpath "$dir:"
  85955. done
  85956. eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  85957. fi
  85958. test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  85959. fi
  85960.  
  85961. - shlibpath="$finalize_shlibpath"
  85962. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  85963. + shlibpath=$finalize_shlibpath
  85964. + test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
  85965. if test -n "$shlibpath"; then
  85966. eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  85967. fi
  85968. @@ -6950,34 +9596,34 @@
  85969. eval library_names=\"$library_names_spec\"
  85970. set dummy $library_names
  85971. shift
  85972. - realname="$1"
  85973. + realname=$1
  85974. shift
  85975.  
  85976. if test -n "$soname_spec"; then
  85977. eval soname=\"$soname_spec\"
  85978. else
  85979. - soname="$realname"
  85980. + soname=$realname
  85981. fi
  85982. if test -z "$dlname"; then
  85983. dlname=$soname
  85984. fi
  85985.  
  85986. - lib="$output_objdir/$realname"
  85987. + lib=$output_objdir/$realname
  85988. linknames=
  85989. for link
  85990. do
  85991. - linknames="$linknames $link"
  85992. + func_append linknames " $link"
  85993. done
  85994.  
  85995. # Use standard objects if they are pic
  85996. - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  85997. + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  85998. test "X$libobjs" = "X " && libobjs=
  85999.  
  86000. delfiles=
  86001. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  86002. $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  86003. - export_symbols="$output_objdir/$libname.uexp"
  86004. - delfiles="$delfiles $export_symbols"
  86005. + export_symbols=$output_objdir/$libname.uexp
  86006. + func_append delfiles " $export_symbols"
  86007. fi
  86008.  
  86009. orig_export_symbols=
  86010. @@ -6985,36 +9631,68 @@
  86011. cygwin* | mingw* | cegcc*)
  86012. if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  86013. # exporting using user supplied symfile
  86014. - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  86015. + func_dll_def_p "$export_symbols" || {
  86016. # and it's NOT already a .def file. Must figure out
  86017. # which of the given symbols are data symbols and tag
  86018. # them as such. So, trigger use of export_symbols_cmds.
  86019. # export_symbols gets reassigned inside the "prepare
  86020. # the list of exported symbols" if statement, so the
  86021. # include_expsyms logic still works.
  86022. - orig_export_symbols="$export_symbols"
  86023. + orig_export_symbols=$export_symbols
  86024. export_symbols=
  86025. always_export_symbols=yes
  86026. - fi
  86027. + }
  86028. fi
  86029. ;;
  86030. esac
  86031.  
  86032. # Prepare the list of exported symbols
  86033. if test -z "$export_symbols"; then
  86034. - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  86035. - func_verbose "generating symbol list for \`$libname.la'"
  86036. - export_symbols="$output_objdir/$libname.exp"
  86037. + if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
  86038. + func_verbose "generating symbol list for '$libname.la'"
  86039. + export_symbols=$output_objdir/$libname.exp
  86040. $opt_dry_run || $RM $export_symbols
  86041. cmds=$export_symbols_cmds
  86042. - save_ifs="$IFS"; IFS='~'
  86043. - for cmd in $cmds; do
  86044. - IFS="$save_ifs"
  86045. - eval cmd=\"$cmd\"
  86046. - func_len " $cmd"
  86047. - len=$func_len_result
  86048. - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  86049. + save_ifs=$IFS; IFS='~'
  86050. + for cmd1 in $cmds; do
  86051. + IFS=$save_ifs
  86052. + # Take the normal branch if the nm_file_list_spec branch
  86053. + # doesn't work or if tool conversion is not needed.
  86054. + case $nm_file_list_spec~$to_tool_file_cmd in
  86055. + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
  86056. + try_normal_branch=yes
  86057. + eval cmd=\"$cmd1\"
  86058. + func_len " $cmd"
  86059. + len=$func_len_result
  86060. + ;;
  86061. + *)
  86062. + try_normal_branch=no
  86063. + ;;
  86064. + esac
  86065. + if test yes = "$try_normal_branch" \
  86066. + && { test "$len" -lt "$max_cmd_len" \
  86067. + || test "$max_cmd_len" -le -1; }
  86068. + then
  86069. + func_show_eval "$cmd" 'exit $?'
  86070. + skipped_export=false
  86071. + elif test -n "$nm_file_list_spec"; then
  86072. + func_basename "$output"
  86073. + output_la=$func_basename_result
  86074. + save_libobjs=$libobjs
  86075. + save_output=$output
  86076. + output=$output_objdir/$output_la.nm
  86077. + func_to_tool_file "$output"
  86078. + libobjs=$nm_file_list_spec$func_to_tool_file_result
  86079. + func_append delfiles " $output"
  86080. + func_verbose "creating $NM input file list: $output"
  86081. + for obj in $save_libobjs; do
  86082. + func_to_tool_file "$obj"
  86083. + $ECHO "$func_to_tool_file_result"
  86084. + done > "$output"
  86085. + eval cmd=\"$cmd1\"
  86086. func_show_eval "$cmd" 'exit $?'
  86087. + output=$save_output
  86088. + libobjs=$save_libobjs
  86089. skipped_export=false
  86090. else
  86091. # The command line is too long to execute in one step.
  86092. @@ -7025,8 +9703,8 @@
  86093. break
  86094. fi
  86095. done
  86096. - IFS="$save_ifs"
  86097. - if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  86098. + IFS=$save_ifs
  86099. + if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
  86100. func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  86101. func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  86102. fi
  86103. @@ -7034,21 +9712,21 @@
  86104. fi
  86105.  
  86106. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  86107. - tmp_export_symbols="$export_symbols"
  86108. - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  86109. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  86110. + tmp_export_symbols=$export_symbols
  86111. + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
  86112. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  86113. fi
  86114.  
  86115. - if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  86116. + if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
  86117. # The given exports_symbols file has to be filtered, so filter it.
  86118. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  86119. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
  86120. # FIXME: $output_objdir/$libname.filter potentially contains lots of
  86121. - # 's' commands which not all seds can handle. GNU sed should be fine
  86122. + # 's' commands, which not all seds can handle. GNU sed should be fine
  86123. # though. Also, the filter scales superlinearly with the number of
  86124. # global variables. join(1) would be nice here, but unfortunately
  86125. # isn't a blessed tool.
  86126. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  86127. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  86128. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  86129. export_symbols=$output_objdir/$libname.def
  86130. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  86131. fi
  86132. @@ -7058,15 +9736,15 @@
  86133. case " $convenience " in
  86134. *" $test_deplib "*) ;;
  86135. *)
  86136. - tmp_deplibs="$tmp_deplibs $test_deplib"
  86137. + func_append tmp_deplibs " $test_deplib"
  86138. ;;
  86139. esac
  86140. done
  86141. - deplibs="$tmp_deplibs"
  86142. + deplibs=$tmp_deplibs
  86143.  
  86144. if test -n "$convenience"; then
  86145. if test -n "$whole_archive_flag_spec" &&
  86146. - test "$compiler_needs_object" = yes &&
  86147. + test yes = "$compiler_needs_object" &&
  86148. test -z "$libobjs"; then
  86149. # extract the archives, so we have objects to list.
  86150. # TODO: could optimize this to just extract one archive.
  86151. @@ -7077,27 +9755,27 @@
  86152. eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  86153. test "X$libobjs" = "X " && libobjs=
  86154. else
  86155. - gentop="$output_objdir/${outputname}x"
  86156. - generated="$generated $gentop"
  86157. + gentop=$output_objdir/${outputname}x
  86158. + func_append generated " $gentop"
  86159.  
  86160. func_extract_archives $gentop $convenience
  86161. - libobjs="$libobjs $func_extract_archives_result"
  86162. + func_append libobjs " $func_extract_archives_result"
  86163. test "X$libobjs" = "X " && libobjs=
  86164. fi
  86165. fi
  86166.  
  86167. - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  86168. + if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
  86169. eval flag=\"$thread_safe_flag_spec\"
  86170. - linker_flags="$linker_flags $flag"
  86171. + func_append linker_flags " $flag"
  86172. fi
  86173.  
  86174. # Make a backup of the uninstalled library when relinking
  86175. - if test "$mode" = relink; then
  86176. + if test relink = "$opt_mode"; then
  86177. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  86178. fi
  86179.  
  86180. # Do each of the archive commands.
  86181. - if test "$module" = yes && test -n "$module_cmds" ; then
  86182. + if test yes = "$module" && test -n "$module_cmds"; then
  86183. if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  86184. eval test_cmds=\"$module_expsym_cmds\"
  86185. cmds=$module_expsym_cmds
  86186. @@ -7115,7 +9793,7 @@
  86187. fi
  86188. fi
  86189.  
  86190. - if test "X$skipped_export" != "X:" &&
  86191. + if test : != "$skipped_export" &&
  86192. func_len " $test_cmds" &&
  86193. len=$func_len_result &&
  86194. test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  86195. @@ -7137,7 +9815,8 @@
  86196. save_libobjs=$libobjs
  86197. fi
  86198. save_output=$output
  86199. - output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  86200. + func_basename "$output"
  86201. + output_la=$func_basename_result
  86202.  
  86203. # Clear the reloadable object creation command queue and
  86204. # initialize k to one.
  86205. @@ -7147,37 +9826,42 @@
  86206. last_robj=
  86207. k=1
  86208.  
  86209. - if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  86210. - output=${output_objdir}/${output_la}.lnkscript
  86211. + if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
  86212. + output=$output_objdir/$output_la.lnkscript
  86213. func_verbose "creating GNU ld script: $output"
  86214. - $ECHO 'INPUT (' > $output
  86215. + echo 'INPUT (' > $output
  86216. for obj in $save_libobjs
  86217. do
  86218. - $ECHO "$obj" >> $output
  86219. + func_to_tool_file "$obj"
  86220. + $ECHO "$func_to_tool_file_result" >> $output
  86221. done
  86222. - $ECHO ')' >> $output
  86223. - delfiles="$delfiles $output"
  86224. - elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  86225. - output=${output_objdir}/${output_la}.lnk
  86226. + echo ')' >> $output
  86227. + func_append delfiles " $output"
  86228. + func_to_tool_file "$output"
  86229. + output=$func_to_tool_file_result
  86230. + elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
  86231. + output=$output_objdir/$output_la.lnk
  86232. func_verbose "creating linker input file list: $output"
  86233. : > $output
  86234. set x $save_libobjs
  86235. shift
  86236. firstobj=
  86237. - if test "$compiler_needs_object" = yes; then
  86238. + if test yes = "$compiler_needs_object"; then
  86239. firstobj="$1 "
  86240. shift
  86241. fi
  86242. for obj
  86243. do
  86244. - $ECHO "$obj" >> $output
  86245. + func_to_tool_file "$obj"
  86246. + $ECHO "$func_to_tool_file_result" >> $output
  86247. done
  86248. - delfiles="$delfiles $output"
  86249. - output=$firstobj\"$file_list_spec$output\"
  86250. + func_append delfiles " $output"
  86251. + func_to_tool_file "$output"
  86252. + output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
  86253. else
  86254. if test -n "$save_libobjs"; then
  86255. func_verbose "creating reloadable object files..."
  86256. - output=$output_objdir/$output_la-${k}.$objext
  86257. + output=$output_objdir/$output_la-$k.$objext
  86258. eval test_cmds=\"$reload_cmds\"
  86259. func_len " $test_cmds"
  86260. len0=$func_len_result
  86261. @@ -7189,25 +9873,27 @@
  86262. func_len " $obj"
  86263. func_arith $len + $func_len_result
  86264. len=$func_arith_result
  86265. - if test "X$objlist" = X ||
  86266. + if test -z "$objlist" ||
  86267. test "$len" -lt "$max_cmd_len"; then
  86268. func_append objlist " $obj"
  86269. else
  86270. # The command $test_cmds is almost too long, add a
  86271. # command to the queue.
  86272. - if test "$k" -eq 1 ; then
  86273. + if test 1 -eq "$k"; then
  86274. # The first file doesn't have a previous command to add.
  86275. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  86276. + reload_objs=$objlist
  86277. + eval concat_cmds=\"$reload_cmds\"
  86278. else
  86279. # All subsequent reloadable object files will link in
  86280. # the last one created.
  86281. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  86282. + reload_objs="$objlist $last_robj"
  86283. + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
  86284. fi
  86285. - last_robj=$output_objdir/$output_la-${k}.$objext
  86286. + last_robj=$output_objdir/$output_la-$k.$objext
  86287. func_arith $k + 1
  86288. k=$func_arith_result
  86289. - output=$output_objdir/$output_la-${k}.$objext
  86290. - objlist=$obj
  86291. + output=$output_objdir/$output_la-$k.$objext
  86292. + objlist=" $obj"
  86293. func_len " $last_robj"
  86294. func_arith $len0 + $func_len_result
  86295. len=$func_arith_result
  86296. @@ -7217,19 +9903,20 @@
  86297. # reloadable object file. All subsequent reloadable object
  86298. # files will link in the last one created.
  86299. test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  86300. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  86301. + reload_objs="$objlist $last_robj"
  86302. + eval concat_cmds=\"\$concat_cmds$reload_cmds\"
  86303. if test -n "$last_robj"; then
  86304. - eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  86305. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  86306. fi
  86307. - delfiles="$delfiles $output"
  86308. + func_append delfiles " $output"
  86309.  
  86310. else
  86311. output=
  86312. fi
  86313.  
  86314. - if ${skipped_export-false}; then
  86315. - func_verbose "generating symbol list for \`$libname.la'"
  86316. - export_symbols="$output_objdir/$libname.exp"
  86317. + ${skipped_export-false} && {
  86318. + func_verbose "generating symbol list for '$libname.la'"
  86319. + export_symbols=$output_objdir/$libname.exp
  86320. $opt_dry_run || $RM $export_symbols
  86321. libobjs=$output
  86322. # Append the command to create the export file.
  86323. @@ -7238,16 +9925,16 @@
  86324. if test -n "$last_robj"; then
  86325. eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  86326. fi
  86327. - fi
  86328. + }
  86329.  
  86330. test -n "$save_libobjs" &&
  86331. func_verbose "creating a temporary reloadable object file: $output"
  86332.  
  86333. # Loop through the commands generated above and execute them.
  86334. - save_ifs="$IFS"; IFS='~'
  86335. + save_ifs=$IFS; IFS='~'
  86336. for cmd in $concat_cmds; do
  86337. - IFS="$save_ifs"
  86338. - $opt_silent || {
  86339. + IFS=$save_ifs
  86340. + $opt_quiet || {
  86341. func_quote_for_expand "$cmd"
  86342. eval "func_echo $func_quote_for_expand_result"
  86343. }
  86344. @@ -7255,7 +9942,7 @@
  86345. lt_exit=$?
  86346.  
  86347. # Restore the uninstalled library and exit
  86348. - if test "$mode" = relink; then
  86349. + if test relink = "$opt_mode"; then
  86350. ( cd "$output_objdir" && \
  86351. $RM "${realname}T" && \
  86352. $MV "${realname}U" "$realname" )
  86353. @@ -7264,7 +9951,7 @@
  86354. exit $lt_exit
  86355. }
  86356. done
  86357. - IFS="$save_ifs"
  86358. + IFS=$save_ifs
  86359.  
  86360. if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  86361. func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  86362. @@ -7272,27 +9959,27 @@
  86363. fi
  86364. fi
  86365.  
  86366. - if ${skipped_export-false}; then
  86367. + ${skipped_export-false} && {
  86368. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  86369. - tmp_export_symbols="$export_symbols"
  86370. - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  86371. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  86372. + tmp_export_symbols=$export_symbols
  86373. + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
  86374. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  86375. fi
  86376.  
  86377. if test -n "$orig_export_symbols"; then
  86378. # The given exports_symbols file has to be filtered, so filter it.
  86379. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  86380. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
  86381. # FIXME: $output_objdir/$libname.filter potentially contains lots of
  86382. - # 's' commands which not all seds can handle. GNU sed should be fine
  86383. + # 's' commands, which not all seds can handle. GNU sed should be fine
  86384. # though. Also, the filter scales superlinearly with the number of
  86385. # global variables. join(1) would be nice here, but unfortunately
  86386. # isn't a blessed tool.
  86387. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  86388. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  86389. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  86390. export_symbols=$output_objdir/$libname.def
  86391. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  86392. fi
  86393. - fi
  86394. + }
  86395.  
  86396. libobjs=$output
  86397. # Restore the value of output.
  86398. @@ -7306,7 +9993,7 @@
  86399. # value of $libobjs for piecewise linking.
  86400.  
  86401. # Do each of the archive commands.
  86402. - if test "$module" = yes && test -n "$module_cmds" ; then
  86403. + if test yes = "$module" && test -n "$module_cmds"; then
  86404. if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  86405. cmds=$module_expsym_cmds
  86406. else
  86407. @@ -7328,19 +10015,20 @@
  86408.  
  86409. # Add any objects from preloaded convenience libraries
  86410. if test -n "$dlprefiles"; then
  86411. - gentop="$output_objdir/${outputname}x"
  86412. - generated="$generated $gentop"
  86413. + gentop=$output_objdir/${outputname}x
  86414. + func_append generated " $gentop"
  86415.  
  86416. func_extract_archives $gentop $dlprefiles
  86417. - libobjs="$libobjs $func_extract_archives_result"
  86418. + func_append libobjs " $func_extract_archives_result"
  86419. test "X$libobjs" = "X " && libobjs=
  86420. fi
  86421.  
  86422. - save_ifs="$IFS"; IFS='~'
  86423. + save_ifs=$IFS; IFS='~'
  86424. for cmd in $cmds; do
  86425. - IFS="$save_ifs"
  86426. + IFS=$sp$nl
  86427. eval cmd=\"$cmd\"
  86428. - $opt_silent || {
  86429. + IFS=$save_ifs
  86430. + $opt_quiet || {
  86431. func_quote_for_expand "$cmd"
  86432. eval "func_echo $func_quote_for_expand_result"
  86433. }
  86434. @@ -7348,7 +10036,7 @@
  86435. lt_exit=$?
  86436.  
  86437. # Restore the uninstalled library and exit
  86438. - if test "$mode" = relink; then
  86439. + if test relink = "$opt_mode"; then
  86440. ( cd "$output_objdir" && \
  86441. $RM "${realname}T" && \
  86442. $MV "${realname}U" "$realname" )
  86443. @@ -7357,10 +10045,10 @@
  86444. exit $lt_exit
  86445. }
  86446. done
  86447. - IFS="$save_ifs"
  86448. + IFS=$save_ifs
  86449.  
  86450. # Restore the uninstalled library and exit
  86451. - if test "$mode" = relink; then
  86452. + if test relink = "$opt_mode"; then
  86453. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  86454.  
  86455. if test -n "$convenience"; then
  86456. @@ -7380,39 +10068,39 @@
  86457. done
  86458.  
  86459. # If -module or -export-dynamic was specified, set the dlname.
  86460. - if test "$module" = yes || test "$export_dynamic" = yes; then
  86461. + if test yes = "$module" || test yes = "$export_dynamic"; then
  86462. # On all known operating systems, these are identical.
  86463. - dlname="$soname"
  86464. + dlname=$soname
  86465. fi
  86466. fi
  86467. ;;
  86468.  
  86469. obj)
  86470. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  86471. - func_warning "\`-dlopen' is ignored for objects"
  86472. + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
  86473. + func_warning "'-dlopen' is ignored for objects"
  86474. fi
  86475.  
  86476. case " $deplibs" in
  86477. *\ -l* | *\ -L*)
  86478. - func_warning "\`-l' and \`-L' are ignored for objects" ;;
  86479. + func_warning "'-l' and '-L' are ignored for objects" ;;
  86480. esac
  86481.  
  86482. test -n "$rpath" && \
  86483. - func_warning "\`-rpath' is ignored for objects"
  86484. + func_warning "'-rpath' is ignored for objects"
  86485.  
  86486. test -n "$xrpath" && \
  86487. - func_warning "\`-R' is ignored for objects"
  86488. + func_warning "'-R' is ignored for objects"
  86489.  
  86490. test -n "$vinfo" && \
  86491. - func_warning "\`-version-info' is ignored for objects"
  86492. + func_warning "'-version-info' is ignored for objects"
  86493.  
  86494. test -n "$release" && \
  86495. - func_warning "\`-release' is ignored for objects"
  86496. + func_warning "'-release' is ignored for objects"
  86497.  
  86498. case $output in
  86499. *.lo)
  86500. test -n "$objs$old_deplibs" && \
  86501. - func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  86502. + func_fatal_error "cannot build library object '$output' from non-libtool objects"
  86503.  
  86504. libobj=$output
  86505. func_lo2o "$libobj"
  86506. @@ -7420,7 +10108,7 @@
  86507. ;;
  86508. *)
  86509. libobj=
  86510. - obj="$output"
  86511. + obj=$output
  86512. ;;
  86513. esac
  86514.  
  86515. @@ -7433,28 +10121,33 @@
  86516. # the extraction.
  86517. reload_conv_objs=
  86518. gentop=
  86519. - # reload_cmds runs $LD directly, so let us get rid of
  86520. - # -Wl from whole_archive_flag_spec and hope we can get by with
  86521. - # turning comma into space..
  86522. - wl=
  86523. -
  86524. + # if reload_cmds runs $LD directly, get rid of -Wl from
  86525. + # whole_archive_flag_spec and hope we can get by with turning comma
  86526. + # into space.
  86527. + case $reload_cmds in
  86528. + *\$LD[\ \$]*) wl= ;;
  86529. + esac
  86530. if test -n "$convenience"; then
  86531. if test -n "$whole_archive_flag_spec"; then
  86532. eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  86533. - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  86534. + test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
  86535. + reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
  86536. else
  86537. - gentop="$output_objdir/${obj}x"
  86538. - generated="$generated $gentop"
  86539. + gentop=$output_objdir/${obj}x
  86540. + func_append generated " $gentop"
  86541.  
  86542. func_extract_archives $gentop $convenience
  86543. reload_conv_objs="$reload_objs $func_extract_archives_result"
  86544. fi
  86545. fi
  86546.  
  86547. + # If we're not building shared, we need to use non_pic_objs
  86548. + test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
  86549. +
  86550. # Create the old-style object.
  86551. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  86552. + reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
  86553.  
  86554. - output="$obj"
  86555. + output=$obj
  86556. func_execute_cmds "$reload_cmds" 'exit $?'
  86557.  
  86558. # Exit if we aren't doing a library object file.
  86559. @@ -7466,7 +10159,7 @@
  86560. exit $EXIT_SUCCESS
  86561. fi
  86562.  
  86563. - if test "$build_libtool_libs" != yes; then
  86564. + test yes = "$build_libtool_libs" || {
  86565. if test -n "$gentop"; then
  86566. func_show_eval '${RM}r "$gentop"'
  86567. fi
  86568. @@ -7476,12 +10169,12 @@
  86569. # $show "echo timestamp > $libobj"
  86570. # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  86571. exit $EXIT_SUCCESS
  86572. - fi
  86573. + }
  86574.  
  86575. - if test -n "$pic_flag" || test "$pic_mode" != default; then
  86576. + if test -n "$pic_flag" || test default != "$pic_mode"; then
  86577. # Only do commands if we really have different PIC objects.
  86578. reload_objs="$libobjs $reload_conv_objs"
  86579. - output="$libobj"
  86580. + output=$libobj
  86581. func_execute_cmds "$reload_cmds" 'exit $?'
  86582. fi
  86583.  
  86584. @@ -7498,22 +10191,20 @@
  86585. output=$func_stripname_result.exe;;
  86586. esac
  86587. test -n "$vinfo" && \
  86588. - func_warning "\`-version-info' is ignored for programs"
  86589. + func_warning "'-version-info' is ignored for programs"
  86590.  
  86591. test -n "$release" && \
  86592. - func_warning "\`-release' is ignored for programs"
  86593. + func_warning "'-release' is ignored for programs"
  86594.  
  86595. - test "$preload" = yes \
  86596. - && test "$dlopen_support" = unknown \
  86597. - && test "$dlopen_self" = unknown \
  86598. - && test "$dlopen_self_static" = unknown && \
  86599. - func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  86600. + $preload \
  86601. + && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
  86602. + && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
  86603.  
  86604. case $host in
  86605. *-*-rhapsody* | *-*-darwin1.[012])
  86606. # On Rhapsody replace the C library is the System framework
  86607. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  86608. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  86609. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
  86610. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
  86611. ;;
  86612. esac
  86613.  
  86614. @@ -7521,17 +10212,17 @@
  86615. *-*-darwin*)
  86616. # Don't allow lazy linking, it breaks C++ global constructors
  86617. # But is supposedly fixed on 10.4 or later (yay!).
  86618. - if test "$tagname" = CXX ; then
  86619. + if test CXX = "$tagname"; then
  86620. case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  86621. 10.[0123])
  86622. - compile_command="$compile_command ${wl}-bind_at_load"
  86623. - finalize_command="$finalize_command ${wl}-bind_at_load"
  86624. + func_append compile_command " $wl-bind_at_load"
  86625. + func_append finalize_command " $wl-bind_at_load"
  86626. ;;
  86627. esac
  86628. fi
  86629. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  86630. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  86631. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  86632. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  86633. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  86634. ;;
  86635. esac
  86636.  
  86637. @@ -7545,7 +10236,7 @@
  86638. *)
  86639. case " $compile_deplibs " in
  86640. *" -L$path/$objdir "*)
  86641. - new_libs="$new_libs -L$path/$objdir" ;;
  86642. + func_append new_libs " -L$path/$objdir" ;;
  86643. esac
  86644. ;;
  86645. esac
  86646. @@ -7555,17 +10246,17 @@
  86647. -L*)
  86648. case " $new_libs " in
  86649. *" $deplib "*) ;;
  86650. - *) new_libs="$new_libs $deplib" ;;
  86651. + *) func_append new_libs " $deplib" ;;
  86652. esac
  86653. ;;
  86654. - *) new_libs="$new_libs $deplib" ;;
  86655. + *) func_append new_libs " $deplib" ;;
  86656. esac
  86657. done
  86658. - compile_deplibs="$new_libs"
  86659. + compile_deplibs=$new_libs
  86660.  
  86661.  
  86662. - compile_command="$compile_command $compile_deplibs"
  86663. - finalize_command="$finalize_command $finalize_deplibs"
  86664. + func_append compile_command " $compile_deplibs"
  86665. + func_append finalize_command " $finalize_deplibs"
  86666.  
  86667. if test -n "$rpath$xrpath"; then
  86668. # If the user specified any rpath flags, then add them.
  86669. @@ -7573,7 +10264,7 @@
  86670. # This is the magic to use -rpath.
  86671. case "$finalize_rpath " in
  86672. *" $libdir "*) ;;
  86673. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  86674. + *) func_append finalize_rpath " $libdir" ;;
  86675. esac
  86676. done
  86677. fi
  86678. @@ -7585,39 +10276,39 @@
  86679. if test -n "$hardcode_libdir_flag_spec"; then
  86680. if test -n "$hardcode_libdir_separator"; then
  86681. if test -z "$hardcode_libdirs"; then
  86682. - hardcode_libdirs="$libdir"
  86683. + hardcode_libdirs=$libdir
  86684. else
  86685. # Just accumulate the unique libdirs.
  86686. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  86687. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  86688. ;;
  86689. *)
  86690. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  86691. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  86692. ;;
  86693. esac
  86694. fi
  86695. else
  86696. eval flag=\"$hardcode_libdir_flag_spec\"
  86697. - rpath="$rpath $flag"
  86698. + func_append rpath " $flag"
  86699. fi
  86700. elif test -n "$runpath_var"; then
  86701. case "$perm_rpath " in
  86702. *" $libdir "*) ;;
  86703. - *) perm_rpath="$perm_rpath $libdir" ;;
  86704. + *) func_append perm_rpath " $libdir" ;;
  86705. esac
  86706. fi
  86707. case $host in
  86708. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  86709. - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  86710. + testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
  86711. case :$dllsearchpath: in
  86712. *":$libdir:"*) ;;
  86713. ::) dllsearchpath=$libdir;;
  86714. - *) dllsearchpath="$dllsearchpath:$libdir";;
  86715. + *) func_append dllsearchpath ":$libdir";;
  86716. esac
  86717. case :$dllsearchpath: in
  86718. *":$testbindir:"*) ;;
  86719. ::) dllsearchpath=$testbindir;;
  86720. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  86721. + *) func_append dllsearchpath ":$testbindir";;
  86722. esac
  86723. ;;
  86724. esac
  86725. @@ -7625,10 +10316,10 @@
  86726. # Substitute the hardcoded libdirs into the rpath.
  86727. if test -n "$hardcode_libdir_separator" &&
  86728. test -n "$hardcode_libdirs"; then
  86729. - libdir="$hardcode_libdirs"
  86730. + libdir=$hardcode_libdirs
  86731. eval rpath=\" $hardcode_libdir_flag_spec\"
  86732. fi
  86733. - compile_rpath="$rpath"
  86734. + compile_rpath=$rpath
  86735.  
  86736. rpath=
  86737. hardcode_libdirs=
  86738. @@ -7636,82 +10327,86 @@
  86739. if test -n "$hardcode_libdir_flag_spec"; then
  86740. if test -n "$hardcode_libdir_separator"; then
  86741. if test -z "$hardcode_libdirs"; then
  86742. - hardcode_libdirs="$libdir"
  86743. + hardcode_libdirs=$libdir
  86744. else
  86745. # Just accumulate the unique libdirs.
  86746. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  86747. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  86748. ;;
  86749. *)
  86750. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  86751. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  86752. ;;
  86753. esac
  86754. fi
  86755. else
  86756. eval flag=\"$hardcode_libdir_flag_spec\"
  86757. - rpath="$rpath $flag"
  86758. + func_append rpath " $flag"
  86759. fi
  86760. elif test -n "$runpath_var"; then
  86761. case "$finalize_perm_rpath " in
  86762. *" $libdir "*) ;;
  86763. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  86764. + *) func_append finalize_perm_rpath " $libdir" ;;
  86765. esac
  86766. fi
  86767. done
  86768. # Substitute the hardcoded libdirs into the rpath.
  86769. if test -n "$hardcode_libdir_separator" &&
  86770. test -n "$hardcode_libdirs"; then
  86771. - libdir="$hardcode_libdirs"
  86772. + libdir=$hardcode_libdirs
  86773. eval rpath=\" $hardcode_libdir_flag_spec\"
  86774. fi
  86775. - finalize_rpath="$rpath"
  86776. + finalize_rpath=$rpath
  86777.  
  86778. - if test -n "$libobjs" && test "$build_old_libs" = yes; then
  86779. + if test -n "$libobjs" && test yes = "$build_old_libs"; then
  86780. # Transform all the library objects into standard objects.
  86781. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  86782. - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  86783. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  86784. + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  86785. fi
  86786.  
  86787. - func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  86788. + func_generate_dlsyms "$outputname" "@PROGRAM@" false
  86789.  
  86790. # template prelinking step
  86791. if test -n "$prelink_cmds"; then
  86792. func_execute_cmds "$prelink_cmds" 'exit $?'
  86793. fi
  86794.  
  86795. - wrappers_required=yes
  86796. + wrappers_required=:
  86797. case $host in
  86798. - *cygwin* | *mingw* )
  86799. - if test "$build_libtool_libs" != yes; then
  86800. - wrappers_required=no
  86801. - fi
  86802. + *cegcc* | *mingw32ce*)
  86803. + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
  86804. + wrappers_required=false
  86805. ;;
  86806. - *cegcc)
  86807. - # Disable wrappers for cegcc, we are cross compiling anyway.
  86808. - wrappers_required=no
  86809. + *cygwin* | *mingw* )
  86810. + test yes = "$build_libtool_libs" || wrappers_required=false
  86811. ;;
  86812. *)
  86813. - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  86814. - wrappers_required=no
  86815. + if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
  86816. + wrappers_required=false
  86817. fi
  86818. ;;
  86819. esac
  86820. - if test "$wrappers_required" = no; then
  86821. + $wrappers_required || {
  86822. # Replace the output file specification.
  86823. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  86824. - link_command="$compile_command$compile_rpath"
  86825. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  86826. + link_command=$compile_command$compile_rpath
  86827.  
  86828. # We have no uninstalled library dependencies, so finalize right now.
  86829. exit_status=0
  86830. func_show_eval "$link_command" 'exit_status=$?'
  86831.  
  86832. + if test -n "$postlink_cmds"; then
  86833. + func_to_tool_file "$output"
  86834. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
  86835. + func_execute_cmds "$postlink_cmds" 'exit $?'
  86836. + fi
  86837. +
  86838. # Delete the generated files.
  86839. - if test -f "$output_objdir/${outputname}S.${objext}"; then
  86840. - func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  86841. + if test -f "$output_objdir/${outputname}S.$objext"; then
  86842. + func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
  86843. fi
  86844.  
  86845. exit $exit_status
  86846. - fi
  86847. + }
  86848.  
  86849. if test -n "$compile_shlibpath$finalize_shlibpath"; then
  86850. compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  86851. @@ -7727,7 +10422,7 @@
  86852. # We should set the runpath_var.
  86853. rpath=
  86854. for dir in $perm_rpath; do
  86855. - rpath="$rpath$dir:"
  86856. + func_append rpath "$dir:"
  86857. done
  86858. compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  86859. fi
  86860. @@ -7735,54 +10430,68 @@
  86861. # We should set the runpath_var.
  86862. rpath=
  86863. for dir in $finalize_perm_rpath; do
  86864. - rpath="$rpath$dir:"
  86865. + func_append rpath "$dir:"
  86866. done
  86867. finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  86868. fi
  86869. fi
  86870.  
  86871. - if test "$no_install" = yes; then
  86872. + if test yes = "$no_install"; then
  86873. # We don't need to create a wrapper script.
  86874. - link_command="$compile_var$compile_command$compile_rpath"
  86875. + link_command=$compile_var$compile_command$compile_rpath
  86876. # Replace the output file specification.
  86877. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  86878. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  86879. # Delete the old output file.
  86880. $opt_dry_run || $RM $output
  86881. # Link the executable and exit
  86882. func_show_eval "$link_command" 'exit $?'
  86883. - exit $EXIT_SUCCESS
  86884. - fi
  86885. -
  86886. - if test "$hardcode_action" = relink; then
  86887. - # Fast installation is not supported
  86888. - link_command="$compile_var$compile_command$compile_rpath"
  86889. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  86890.  
  86891. - func_warning "this platform does not like uninstalled shared libraries"
  86892. - func_warning "\`$output' will be relinked during installation"
  86893. - else
  86894. - if test "$fast_install" != no; then
  86895. - link_command="$finalize_var$compile_command$finalize_rpath"
  86896. - if test "$fast_install" = yes; then
  86897. - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  86898. - else
  86899. - # fast_install is set to needless
  86900. - relink_command=
  86901. - fi
  86902. - else
  86903. - link_command="$compile_var$compile_command$compile_rpath"
  86904. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  86905. + if test -n "$postlink_cmds"; then
  86906. + func_to_tool_file "$output"
  86907. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
  86908. + func_execute_cmds "$postlink_cmds" 'exit $?'
  86909. fi
  86910. +
  86911. + exit $EXIT_SUCCESS
  86912. fi
  86913.  
  86914. + case $hardcode_action,$fast_install in
  86915. + relink,*)
  86916. + # Fast installation is not supported
  86917. + link_command=$compile_var$compile_command$compile_rpath
  86918. + relink_command=$finalize_var$finalize_command$finalize_rpath
  86919. +
  86920. + func_warning "this platform does not like uninstalled shared libraries"
  86921. + func_warning "'$output' will be relinked during installation"
  86922. + ;;
  86923. + *,yes)
  86924. + link_command=$finalize_var$compile_command$finalize_rpath
  86925. + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
  86926. + ;;
  86927. + *,no)
  86928. + link_command=$compile_var$compile_command$compile_rpath
  86929. + relink_command=$finalize_var$finalize_command$finalize_rpath
  86930. + ;;
  86931. + *,needless)
  86932. + link_command=$finalize_var$compile_command$finalize_rpath
  86933. + relink_command=
  86934. + ;;
  86935. + esac
  86936. +
  86937. # Replace the output file specification.
  86938. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  86939. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  86940.  
  86941. # Delete the old output files.
  86942. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  86943.  
  86944. func_show_eval "$link_command" 'exit $?'
  86945.  
  86946. + if test -n "$postlink_cmds"; then
  86947. + func_to_tool_file "$output_objdir/$outputname"
  86948. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
  86949. + func_execute_cmds "$postlink_cmds" 'exit $?'
  86950. + fi
  86951. +
  86952. # Now create the wrapper script.
  86953. func_verbose "creating $output"
  86954.  
  86955. @@ -7800,18 +10509,7 @@
  86956. fi
  86957. done
  86958. relink_command="(cd `pwd`; $relink_command)"
  86959. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  86960. - fi
  86961. -
  86962. - # Quote $ECHO for shipping.
  86963. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  86964. - case $progpath in
  86965. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  86966. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  86967. - esac
  86968. - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  86969. - else
  86970. - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  86971. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  86972. fi
  86973.  
  86974. # Only actually do things if not in dry run mode.
  86975. @@ -7835,8 +10533,8 @@
  86976. func_dirname_and_basename "$output" "" "."
  86977. output_name=$func_basename_result
  86978. output_path=$func_dirname_result
  86979. - cwrappersource="$output_path/$objdir/lt-$output_name.c"
  86980. - cwrapper="$output_path/$output_name.exe"
  86981. + cwrappersource=$output_path/$objdir/lt-$output_name.c
  86982. + cwrapper=$output_path/$output_name.exe
  86983. $RM $cwrappersource $cwrapper
  86984. trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  86985.  
  86986. @@ -7857,7 +10555,7 @@
  86987. trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  86988. $opt_dry_run || {
  86989. # note: this script will not be executed, so do not chmod.
  86990. - if test "x$build" = "x$host" ; then
  86991. + if test "x$build" = "x$host"; then
  86992. $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  86993. else
  86994. func_emit_wrapper no > $func_ltwrapper_scriptname_result
  86995. @@ -7880,43 +10578,45 @@
  86996. # See if we need to build an old-fashioned archive.
  86997. for oldlib in $oldlibs; do
  86998.  
  86999. - if test "$build_libtool_libs" = convenience; then
  87000. - oldobjs="$libobjs_save $symfileobj"
  87001. - addlibs="$convenience"
  87002. - build_libtool_libs=no
  87003. - else
  87004. - if test "$build_libtool_libs" = module; then
  87005. - oldobjs="$libobjs_save"
  87006. + case $build_libtool_libs in
  87007. + convenience)
  87008. + oldobjs="$libobjs_save $symfileobj"
  87009. + addlibs=$convenience
  87010. build_libtool_libs=no
  87011. - else
  87012. + ;;
  87013. + module)
  87014. + oldobjs=$libobjs_save
  87015. + addlibs=$old_convenience
  87016. + build_libtool_libs=no
  87017. + ;;
  87018. + *)
  87019. oldobjs="$old_deplibs $non_pic_objects"
  87020. - if test "$preload" = yes && test -f "$symfileobj"; then
  87021. - oldobjs="$oldobjs $symfileobj"
  87022. - fi
  87023. - fi
  87024. - addlibs="$old_convenience"
  87025. - fi
  87026. + $preload && test -f "$symfileobj" \
  87027. + && func_append oldobjs " $symfileobj"
  87028. + addlibs=$old_convenience
  87029. + ;;
  87030. + esac
  87031.  
  87032. if test -n "$addlibs"; then
  87033. - gentop="$output_objdir/${outputname}x"
  87034. - generated="$generated $gentop"
  87035. + gentop=$output_objdir/${outputname}x
  87036. + func_append generated " $gentop"
  87037.  
  87038. func_extract_archives $gentop $addlibs
  87039. - oldobjs="$oldobjs $func_extract_archives_result"
  87040. + func_append oldobjs " $func_extract_archives_result"
  87041. fi
  87042.  
  87043. # Do each command in the archive commands.
  87044. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  87045. + if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
  87046. cmds=$old_archive_from_new_cmds
  87047. else
  87048.  
  87049. # Add any objects from preloaded convenience libraries
  87050. if test -n "$dlprefiles"; then
  87051. - gentop="$output_objdir/${outputname}x"
  87052. - generated="$generated $gentop"
  87053. + gentop=$output_objdir/${outputname}x
  87054. + func_append generated " $gentop"
  87055.  
  87056. func_extract_archives $gentop $dlprefiles
  87057. - oldobjs="$oldobjs $func_extract_archives_result"
  87058. + func_append oldobjs " $func_extract_archives_result"
  87059. fi
  87060.  
  87061. # POSIX demands no paths to be encoded in archives. We have
  87062. @@ -7932,9 +10632,9 @@
  87063. done | sort | sort -uc >/dev/null 2>&1); then
  87064. :
  87065. else
  87066. - $ECHO "copying selected object files to avoid basename conflicts..."
  87067. - gentop="$output_objdir/${outputname}x"
  87068. - generated="$generated $gentop"
  87069. + echo "copying selected object files to avoid basename conflicts..."
  87070. + gentop=$output_objdir/${outputname}x
  87071. + func_append generated " $gentop"
  87072. func_mkdir_p "$gentop"
  87073. save_oldobjs=$oldobjs
  87074. oldobjs=
  87075. @@ -7942,7 +10642,7 @@
  87076. for obj in $save_oldobjs
  87077. do
  87078. func_basename "$obj"
  87079. - objbase="$func_basename_result"
  87080. + objbase=$func_basename_result
  87081. case " $oldobjs " in
  87082. " ") oldobjs=$obj ;;
  87083. *[\ /]"$objbase "*)
  87084. @@ -7958,18 +10658,30 @@
  87085. esac
  87086. done
  87087. func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  87088. - oldobjs="$oldobjs $gentop/$newobj"
  87089. + func_append oldobjs " $gentop/$newobj"
  87090. ;;
  87091. - *) oldobjs="$oldobjs $obj" ;;
  87092. + *) func_append oldobjs " $obj" ;;
  87093. esac
  87094. done
  87095. fi
  87096. + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
  87097. + tool_oldlib=$func_to_tool_file_result
  87098. eval cmds=\"$old_archive_cmds\"
  87099.  
  87100. func_len " $cmds"
  87101. len=$func_len_result
  87102. if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  87103. cmds=$old_archive_cmds
  87104. + elif test -n "$archiver_list_spec"; then
  87105. + func_verbose "using command file archive linking..."
  87106. + for obj in $oldobjs
  87107. + do
  87108. + func_to_tool_file "$obj"
  87109. + $ECHO "$func_to_tool_file_result"
  87110. + done > $output_objdir/$libname.libcmd
  87111. + func_to_tool_file "$output_objdir/$libname.libcmd"
  87112. + oldobjs=" $archiver_list_spec$func_to_tool_file_result"
  87113. + cmds=$old_archive_cmds
  87114. else
  87115. # the command line is too long to link in one step, link in parts
  87116. func_verbose "using piecewise archive linking..."
  87117. @@ -7999,18 +10711,18 @@
  87118. else
  87119. # the above command should be used before it gets too long
  87120. oldobjs=$objlist
  87121. - if test "$obj" = "$last_oldobj" ; then
  87122. + if test "$obj" = "$last_oldobj"; then
  87123. RANLIB=$save_RANLIB
  87124. fi
  87125. test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  87126. - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  87127. + eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
  87128. objlist=
  87129. len=$len0
  87130. fi
  87131. done
  87132. RANLIB=$save_RANLIB
  87133. oldobjs=$objlist
  87134. - if test "X$oldobjs" = "X" ; then
  87135. + if test -z "$oldobjs"; then
  87136. eval cmds=\"\$concat_cmds\"
  87137. else
  87138. eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  87139. @@ -8027,7 +10739,7 @@
  87140. case $output in
  87141. *.la)
  87142. old_library=
  87143. - test "$build_old_libs" = yes && old_library="$libname.$libext"
  87144. + test yes = "$build_old_libs" && old_library=$libname.$libext
  87145. func_verbose "creating $output"
  87146.  
  87147. # Preserve any variables that may affect compiler behavior
  87148. @@ -8042,52 +10754,63 @@
  87149. fi
  87150. done
  87151. # Quote the link command for shipping.
  87152. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  87153. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  87154. - if test "$hardcode_automatic" = yes ; then
  87155. + relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  87156. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  87157. + if test yes = "$hardcode_automatic"; then
  87158. relink_command=
  87159. fi
  87160.  
  87161. # Only create the output if not a dry run.
  87162. $opt_dry_run || {
  87163. for installed in no yes; do
  87164. - if test "$installed" = yes; then
  87165. + if test yes = "$installed"; then
  87166. if test -z "$install_libdir"; then
  87167. break
  87168. fi
  87169. - output="$output_objdir/$outputname"i
  87170. + output=$output_objdir/${outputname}i
  87171. # Replace all uninstalled libtool libraries with the installed ones
  87172. newdependency_libs=
  87173. for deplib in $dependency_libs; do
  87174. case $deplib in
  87175. *.la)
  87176. func_basename "$deplib"
  87177. - name="$func_basename_result"
  87178. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  87179. + name=$func_basename_result
  87180. + func_resolve_sysroot "$deplib"
  87181. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
  87182. test -z "$libdir" && \
  87183. - func_fatal_error "\`$deplib' is not a valid libtool archive"
  87184. - newdependency_libs="$newdependency_libs $libdir/$name"
  87185. + func_fatal_error "'$deplib' is not a valid libtool archive"
  87186. + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
  87187. ;;
  87188. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  87189. + -L*)
  87190. + func_stripname -L '' "$deplib"
  87191. + func_replace_sysroot "$func_stripname_result"
  87192. + func_append newdependency_libs " -L$func_replace_sysroot_result"
  87193. + ;;
  87194. + -R*)
  87195. + func_stripname -R '' "$deplib"
  87196. + func_replace_sysroot "$func_stripname_result"
  87197. + func_append newdependency_libs " -R$func_replace_sysroot_result"
  87198. + ;;
  87199. + *) func_append newdependency_libs " $deplib" ;;
  87200. esac
  87201. done
  87202. - dependency_libs="$newdependency_libs"
  87203. + dependency_libs=$newdependency_libs
  87204. newdlfiles=
  87205.  
  87206. for lib in $dlfiles; do
  87207. case $lib in
  87208. *.la)
  87209. func_basename "$lib"
  87210. - name="$func_basename_result"
  87211. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87212. + name=$func_basename_result
  87213. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87214. test -z "$libdir" && \
  87215. - func_fatal_error "\`$lib' is not a valid libtool archive"
  87216. - newdlfiles="$newdlfiles $libdir/$name"
  87217. + func_fatal_error "'$lib' is not a valid libtool archive"
  87218. + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
  87219. ;;
  87220. - *) newdlfiles="$newdlfiles $lib" ;;
  87221. + *) func_append newdlfiles " $lib" ;;
  87222. esac
  87223. done
  87224. - dlfiles="$newdlfiles"
  87225. + dlfiles=$newdlfiles
  87226. newdlprefiles=
  87227. for lib in $dlprefiles; do
  87228. case $lib in
  87229. @@ -8097,44 +10820,61 @@
  87230. # didn't already link the preopened objects directly into
  87231. # the library:
  87232. func_basename "$lib"
  87233. - name="$func_basename_result"
  87234. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87235. + name=$func_basename_result
  87236. + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  87237. test -z "$libdir" && \
  87238. - func_fatal_error "\`$lib' is not a valid libtool archive"
  87239. - newdlprefiles="$newdlprefiles $libdir/$name"
  87240. + func_fatal_error "'$lib' is not a valid libtool archive"
  87241. + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
  87242. ;;
  87243. esac
  87244. done
  87245. - dlprefiles="$newdlprefiles"
  87246. + dlprefiles=$newdlprefiles
  87247. else
  87248. newdlfiles=
  87249. for lib in $dlfiles; do
  87250. case $lib in
  87251. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  87252. + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
  87253. *) abs=`pwd`"/$lib" ;;
  87254. esac
  87255. - newdlfiles="$newdlfiles $abs"
  87256. + func_append newdlfiles " $abs"
  87257. done
  87258. - dlfiles="$newdlfiles"
  87259. + dlfiles=$newdlfiles
  87260. newdlprefiles=
  87261. for lib in $dlprefiles; do
  87262. case $lib in
  87263. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  87264. + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
  87265. *) abs=`pwd`"/$lib" ;;
  87266. esac
  87267. - newdlprefiles="$newdlprefiles $abs"
  87268. + func_append newdlprefiles " $abs"
  87269. done
  87270. - dlprefiles="$newdlprefiles"
  87271. + dlprefiles=$newdlprefiles
  87272. fi
  87273. $RM $output
  87274. # place dlname in correct position for cygwin
  87275. + # In fact, it would be nice if we could use this code for all target
  87276. + # systems that can't hard-code library paths into their executables
  87277. + # and that have no shared library path variable independent of PATH,
  87278. + # but it turns out we can't easily determine that from inspecting
  87279. + # libtool variables, so we have to hard-code the OSs to which it
  87280. + # applies here; at the moment, that means platforms that use the PE
  87281. + # object format with DLL files. See the long comment at the top of
  87282. + # tests/bindir.at for full details.
  87283. tdlname=$dlname
  87284. case $host,$output,$installed,$module,$dlname in
  87285. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  87286. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
  87287. + # If a -bindir argument was supplied, place the dll there.
  87288. + if test -n "$bindir"; then
  87289. + func_relative_path "$install_libdir" "$bindir"
  87290. + tdlname=$func_relative_path_result/$dlname
  87291. + else
  87292. + # Otherwise fall back on heuristic.
  87293. + tdlname=../bin/$dlname
  87294. + fi
  87295. + ;;
  87296. esac
  87297. $ECHO > $output "\
  87298. # $outputname - a libtool library file
  87299. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  87300. +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
  87301. #
  87302. # Please DO NOT delete this file!
  87303. # It is necessary for linking the library.
  87304. @@ -8148,7 +10888,7 @@
  87305. # The name of the static archive.
  87306. old_library='$old_library'
  87307.  
  87308. -# Linker flags that can not go in dependency_libs.
  87309. +# Linker flags that cannot go in dependency_libs.
  87310. inherited_linker_flags='$new_inherited_linker_flags'
  87311.  
  87312. # Libraries that this one depends upon.
  87313. @@ -8174,7 +10914,7 @@
  87314.  
  87315. # Directory that this library needs to be installed in:
  87316. libdir='$install_libdir'"
  87317. - if test "$installed" = no && test "$need_relink" = yes; then
  87318. + if test no,yes = "$installed,$need_relink"; then
  87319. $ECHO >> $output "\
  87320. relink_command=\"$relink_command\""
  87321. fi
  87322. @@ -8189,29 +10929,31 @@
  87323. exit $EXIT_SUCCESS
  87324. }
  87325.  
  87326. -{ test "$mode" = link || test "$mode" = relink; } &&
  87327. - func_mode_link ${1+"$@"}
  87328. +if test link = "$opt_mode" || test relink = "$opt_mode"; then
  87329. + func_mode_link ${1+"$@"}
  87330. +fi
  87331.  
  87332.  
  87333. # func_mode_uninstall arg...
  87334. func_mode_uninstall ()
  87335. {
  87336. - $opt_debug
  87337. - RM="$nonopt"
  87338. + $debug_cmd
  87339. +
  87340. + RM=$nonopt
  87341. files=
  87342. - rmforce=
  87343. + rmforce=false
  87344. exit_status=0
  87345.  
  87346. # This variable tells wrapper scripts just to set variables rather
  87347. # than running their programs.
  87348. - libtool_install_magic="$magic"
  87349. + libtool_install_magic=$magic
  87350.  
  87351. for arg
  87352. do
  87353. case $arg in
  87354. - -f) RM="$RM $arg"; rmforce=yes ;;
  87355. - -*) RM="$RM $arg" ;;
  87356. - *) files="$files $arg" ;;
  87357. + -f) func_append RM " $arg"; rmforce=: ;;
  87358. + -*) func_append RM " $arg" ;;
  87359. + *) func_append files " $arg" ;;
  87360. esac
  87361. done
  87362.  
  87363. @@ -8220,24 +10962,23 @@
  87364.  
  87365. rmdirs=
  87366.  
  87367. - origobjdir="$objdir"
  87368. for file in $files; do
  87369. func_dirname "$file" "" "."
  87370. - dir="$func_dirname_result"
  87371. - if test "X$dir" = X.; then
  87372. - objdir="$origobjdir"
  87373. + dir=$func_dirname_result
  87374. + if test . = "$dir"; then
  87375. + odir=$objdir
  87376. else
  87377. - objdir="$dir/$origobjdir"
  87378. + odir=$dir/$objdir
  87379. fi
  87380. func_basename "$file"
  87381. - name="$func_basename_result"
  87382. - test "$mode" = uninstall && objdir="$dir"
  87383. + name=$func_basename_result
  87384. + test uninstall = "$opt_mode" && odir=$dir
  87385.  
  87386. - # Remember objdir for removal later, being careful to avoid duplicates
  87387. - if test "$mode" = clean; then
  87388. + # Remember odir for removal later, being careful to avoid duplicates
  87389. + if test clean = "$opt_mode"; then
  87390. case " $rmdirs " in
  87391. - *" $objdir "*) ;;
  87392. - *) rmdirs="$rmdirs $objdir" ;;
  87393. + *" $odir "*) ;;
  87394. + *) func_append rmdirs " $odir" ;;
  87395. esac
  87396. fi
  87397.  
  87398. @@ -8249,11 +10990,11 @@
  87399. elif test -d "$file"; then
  87400. exit_status=1
  87401. continue
  87402. - elif test "$rmforce" = yes; then
  87403. + elif $rmforce; then
  87404. continue
  87405. fi
  87406.  
  87407. - rmfiles="$file"
  87408. + rmfiles=$file
  87409.  
  87410. case $name in
  87411. *.la)
  87412. @@ -8263,28 +11004,27 @@
  87413.  
  87414. # Delete the libtool libraries and symlinks.
  87415. for n in $library_names; do
  87416. - rmfiles="$rmfiles $objdir/$n"
  87417. + func_append rmfiles " $odir/$n"
  87418. done
  87419. - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
  87420. + test -n "$old_library" && func_append rmfiles " $odir/$old_library"
  87421.  
  87422. - case "$mode" in
  87423. + case $opt_mode in
  87424. clean)
  87425. - case " $library_names " in
  87426. - # " " in the beginning catches empty $dlname
  87427. + case " $library_names " in
  87428. *" $dlname "*) ;;
  87429. - *) rmfiles="$rmfiles $objdir/$dlname" ;;
  87430. + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
  87431. esac
  87432. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  87433. + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
  87434. ;;
  87435. uninstall)
  87436. if test -n "$library_names"; then
  87437. # Do each command in the postuninstall commands.
  87438. - func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  87439. + func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
  87440. fi
  87441.  
  87442. if test -n "$old_library"; then
  87443. # Do each command in the old_postuninstall commands.
  87444. - func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  87445. + func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
  87446. fi
  87447. # FIXME: should reinstall the best remaining shared library.
  87448. ;;
  87449. @@ -8300,21 +11040,19 @@
  87450. func_source $dir/$name
  87451.  
  87452. # Add PIC object to the list of files to remove.
  87453. - if test -n "$pic_object" &&
  87454. - test "$pic_object" != none; then
  87455. - rmfiles="$rmfiles $dir/$pic_object"
  87456. + if test -n "$pic_object" && test none != "$pic_object"; then
  87457. + func_append rmfiles " $dir/$pic_object"
  87458. fi
  87459.  
  87460. # Add non-PIC object to the list of files to remove.
  87461. - if test -n "$non_pic_object" &&
  87462. - test "$non_pic_object" != none; then
  87463. - rmfiles="$rmfiles $dir/$non_pic_object"
  87464. + if test -n "$non_pic_object" && test none != "$non_pic_object"; then
  87465. + func_append rmfiles " $dir/$non_pic_object"
  87466. fi
  87467. fi
  87468. ;;
  87469.  
  87470. *)
  87471. - if test "$mode" = clean ; then
  87472. + if test clean = "$opt_mode"; then
  87473. noexename=$name
  87474. case $file in
  87475. *.exe)
  87476. @@ -8324,7 +11062,7 @@
  87477. noexename=$func_stripname_result
  87478. # $file with .exe has already been added to rmfiles,
  87479. # add $file without .exe
  87480. - rmfiles="$rmfiles $file"
  87481. + func_append rmfiles " $file"
  87482. ;;
  87483. esac
  87484. # Do a test to see if this is a libtool program.
  87485. @@ -8333,7 +11071,7 @@
  87486. func_ltwrapper_scriptname "$file"
  87487. relink_command=
  87488. func_source $func_ltwrapper_scriptname_result
  87489. - rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  87490. + func_append rmfiles " $func_ltwrapper_scriptname_result"
  87491. else
  87492. relink_command=
  87493. func_source $dir/$noexename
  87494. @@ -8341,12 +11079,12 @@
  87495.  
  87496. # note $name still contains .exe if it was in $file originally
  87497. # as does the version of $file that was added into $rmfiles
  87498. - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
  87499. - if test "$fast_install" = yes && test -n "$relink_command"; then
  87500. - rmfiles="$rmfiles $objdir/lt-$name"
  87501. + func_append rmfiles " $odir/$name $odir/${name}S.$objext"
  87502. + if test yes = "$fast_install" && test -n "$relink_command"; then
  87503. + func_append rmfiles " $odir/lt-$name"
  87504. fi
  87505. - if test "X$noexename" != "X$name" ; then
  87506. - rmfiles="$rmfiles $objdir/lt-${noexename}.c"
  87507. + if test "X$noexename" != "X$name"; then
  87508. + func_append rmfiles " $odir/lt-$noexename.c"
  87509. fi
  87510. fi
  87511. fi
  87512. @@ -8354,9 +11092,8 @@
  87513. esac
  87514. func_show_eval "$RM $rmfiles" 'exit_status=1'
  87515. done
  87516. - objdir="$origobjdir"
  87517.  
  87518. - # Try to remove the ${objdir}s in the directories where we deleted files
  87519. + # Try to remove the $objdir's in the directories where we deleted files
  87520. for dir in $rmdirs; do
  87521. if test -d "$dir"; then
  87522. func_show_eval "rmdir $dir >/dev/null 2>&1"
  87523. @@ -8366,16 +11103,17 @@
  87524. exit $exit_status
  87525. }
  87526.  
  87527. -{ test "$mode" = uninstall || test "$mode" = clean; } &&
  87528. - func_mode_uninstall ${1+"$@"}
  87529. +if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
  87530. + func_mode_uninstall ${1+"$@"}
  87531. +fi
  87532.  
  87533. -test -z "$mode" && {
  87534. - help="$generic_help"
  87535. +test -z "$opt_mode" && {
  87536. + help=$generic_help
  87537. func_fatal_help "you must specify a MODE"
  87538. }
  87539.  
  87540. test -z "$exec_cmd" && \
  87541. - func_fatal_help "invalid operation mode \`$mode'"
  87542. + func_fatal_help "invalid operation mode '$opt_mode'"
  87543.  
  87544. if test -n "$exec_cmd"; then
  87545. eval exec "$exec_cmd"
  87546. @@ -8386,7 +11124,7 @@
  87547.  
  87548.  
  87549. # The TAGs below are defined such that we never get into a situation
  87550. -# in which we disable both kinds of libraries. Given conflicting
  87551. +# where we disable both kinds of libraries. Given conflicting
  87552. # choices, we go for a static library, that is the most portable,
  87553. # since we can't tell whether shared libraries were disabled because
  87554. # the user asked for that or because the platform doesn't support
  87555. @@ -8409,5 +11147,3 @@
  87556. # mode:shell-script
  87557. # sh-indentation:2
  87558. # End:
  87559. -# vi:sw=2
  87560. -
  87561. diff -Nru Fiasco-master/m4/libtool.m4 Fiasco-master-pfiasco/m4/libtool.m4
  87562. --- Fiasco-master/m4/libtool.m4 2013-06-06 22:56:44.000000000 -0400
  87563. +++ Fiasco-master-pfiasco/m4/libtool.m4 2019-06-17 20:58:43.180202066 -0400
  87564. @@ -1,7 +1,6 @@
  87565. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  87566. #
  87567. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  87568. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  87569. +# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
  87570. # Written by Gordon Matzigkeit, 1996
  87571. #
  87572. # This file is free software; the Free Software Foundation gives
  87573. @@ -9,35 +8,30 @@
  87574. # modifications, as long as this notice is preserved.
  87575.  
  87576. m4_define([_LT_COPYING], [dnl
  87577. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  87578. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  87579. -# Written by Gordon Matzigkeit, 1996
  87580. -#
  87581. -# This file is part of GNU Libtool.
  87582. +# Copyright (C) 2014 Free Software Foundation, Inc.
  87583. +# This is free software; see the source for copying conditions. There is NO
  87584. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  87585. +
  87586. +# GNU Libtool is free software; you can redistribute it and/or modify
  87587. +# it under the terms of the GNU General Public License as published by
  87588. +# the Free Software Foundation; either version 2 of of the License, or
  87589. +# (at your option) any later version.
  87590. #
  87591. -# GNU Libtool is free software; you can redistribute it and/or
  87592. -# modify it under the terms of the GNU General Public License as
  87593. -# published by the Free Software Foundation; either version 2 of
  87594. -# the License, or (at your option) any later version.
  87595. +# As a special exception to the GNU General Public License, if you
  87596. +# distribute this file as part of a program or library that is built
  87597. +# using GNU Libtool, you may include this file under the same
  87598. +# distribution terms that you use for the rest of that program.
  87599. #
  87600. -# As a special exception to the GNU General Public License,
  87601. -# if you distribute this file as part of a program or library that
  87602. -# is built using GNU Libtool, you may include this file under the
  87603. -# same distribution terms that you use for the rest of that program.
  87604. -#
  87605. -# GNU Libtool is distributed in the hope that it will be useful,
  87606. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  87607. +# GNU Libtool is distributed in the hope that it will be useful, but
  87608. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  87609. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  87610. # GNU General Public License for more details.
  87611. #
  87612. # You should have received a copy of the GNU General Public License
  87613. -# along with GNU Libtool; see the file COPYING. If not, a copy
  87614. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  87615. -# obtained by writing to the Free Software Foundation, Inc.,
  87616. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  87617. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  87618. ])
  87619.  
  87620. -# serial 56 LT_INIT
  87621. +# serial 58 LT_INIT
  87622.  
  87623.  
  87624. # LT_PREREQ(VERSION)
  87625. @@ -65,7 +59,8 @@
  87626. # LT_INIT([OPTIONS])
  87627. # ------------------
  87628. AC_DEFUN([LT_INIT],
  87629. -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  87630. +[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
  87631. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  87632. AC_BEFORE([$0], [LT_LANG])dnl
  87633. AC_BEFORE([$0], [LT_OUTPUT])dnl
  87634. AC_BEFORE([$0], [LTDL_INIT])dnl
  87635. @@ -82,11 +77,13 @@
  87636. AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  87637. m4_require([_LT_PROG_LTMAIN])dnl
  87638.  
  87639. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  87640. +
  87641. dnl Parse OPTIONS
  87642. _LT_SET_OPTIONS([$0], [$1])
  87643.  
  87644. # This can be used to rebuild libtool when needed
  87645. -LIBTOOL_DEPS="$ltmain"
  87646. +LIBTOOL_DEPS=$ltmain
  87647.  
  87648. # Always use our own libtool.
  87649. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  87650. @@ -106,26 +103,43 @@
  87651. dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  87652.  
  87653.  
  87654. +# _LT_PREPARE_CC_BASENAME
  87655. +# -----------------------
  87656. +m4_defun([_LT_PREPARE_CC_BASENAME], [
  87657. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  87658. +func_cc_basename ()
  87659. +{
  87660. + for cc_temp in @S|@*""; do
  87661. + case $cc_temp in
  87662. + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  87663. + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  87664. + \-*) ;;
  87665. + *) break;;
  87666. + esac
  87667. + done
  87668. + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  87669. +}
  87670. +])# _LT_PREPARE_CC_BASENAME
  87671. +
  87672. +
  87673. # _LT_CC_BASENAME(CC)
  87674. # -------------------
  87675. -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  87676. +# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
  87677. +# but that macro is also expanded into generated libtool script, which
  87678. +# arranges for $SED and $ECHO to be set by different means.
  87679. m4_defun([_LT_CC_BASENAME],
  87680. -[for cc_temp in $1""; do
  87681. - case $cc_temp in
  87682. - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  87683. - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  87684. - \-*) ;;
  87685. - *) break;;
  87686. - esac
  87687. -done
  87688. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  87689. +[m4_require([_LT_PREPARE_CC_BASENAME])dnl
  87690. +AC_REQUIRE([_LT_DECL_SED])dnl
  87691. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  87692. +func_cc_basename $1
  87693. +cc_basename=$func_cc_basename_result
  87694. ])
  87695.  
  87696.  
  87697. # _LT_FILEUTILS_DEFAULTS
  87698. # ----------------------
  87699. # It is okay to use these file commands and assume they have been set
  87700. -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  87701. +# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
  87702. m4_defun([_LT_FILEUTILS_DEFAULTS],
  87703. [: ${CP="cp -f"}
  87704. : ${MV="mv -f"}
  87705. @@ -138,6 +152,11 @@
  87706. m4_defun([_LT_SETUP],
  87707. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  87708. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  87709. +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  87710. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  87711. +
  87712. +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
  87713. +dnl
  87714. _LT_DECL([], [host_alias], [0], [The host system])dnl
  87715. _LT_DECL([], [host], [0])dnl
  87716. _LT_DECL([], [host_os], [0])dnl
  87717. @@ -160,68 +179,54 @@
  87718. dnl
  87719. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  87720. m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  87721. +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
  87722. m4_require([_LT_CMD_RELOAD])dnl
  87723. m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  87724. +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  87725. m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  87726. m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  87727. +m4_require([_LT_WITH_SYSROOT])dnl
  87728. +m4_require([_LT_CMD_TRUNCATE])dnl
  87729.  
  87730. _LT_CONFIG_LIBTOOL_INIT([
  87731. -# See if we are running on zsh, and set the options which allow our
  87732. +# See if we are running on zsh, and set the options that allow our
  87733. # commands through without removal of \ escapes INIT.
  87734. -if test -n "\${ZSH_VERSION+set}" ; then
  87735. +if test -n "\${ZSH_VERSION+set}"; then
  87736. setopt NO_GLOB_SUBST
  87737. fi
  87738. ])
  87739. -if test -n "${ZSH_VERSION+set}" ; then
  87740. +if test -n "${ZSH_VERSION+set}"; then
  87741. setopt NO_GLOB_SUBST
  87742. fi
  87743.  
  87744. _LT_CHECK_OBJDIR
  87745.  
  87746. m4_require([_LT_TAG_COMPILER])dnl
  87747. -_LT_PROG_ECHO_BACKSLASH
  87748.  
  87749. case $host_os in
  87750. aix3*)
  87751. # AIX sometimes has problems with the GCC collect2 program. For some
  87752. # reason, if we set the COLLECT_NAMES environment variable, the problems
  87753. # vanish in a puff of smoke.
  87754. - if test "X${COLLECT_NAMES+set}" != Xset; then
  87755. + if test set != "${COLLECT_NAMES+set}"; then
  87756. COLLECT_NAMES=
  87757. export COLLECT_NAMES
  87758. fi
  87759. ;;
  87760. esac
  87761.  
  87762. -# Sed substitution that helps us do robust quoting. It backslashifies
  87763. -# metacharacters that are still active within double-quoted strings.
  87764. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  87765. -
  87766. -# Same as above, but do not quote variable references.
  87767. -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  87768. -
  87769. -# Sed substitution to delay expansion of an escaped shell variable in a
  87770. -# double_quote_subst'ed string.
  87771. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  87772. -
  87773. -# Sed substitution to delay expansion of an escaped single quote.
  87774. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  87775. -
  87776. -# Sed substitution to avoid accidental globbing in evaled expressions
  87777. -no_glob_subst='s/\*/\\\*/g'
  87778. -
  87779. # Global variables:
  87780. ofile=libtool
  87781. can_build_shared=yes
  87782.  
  87783. -# All known linkers require a `.a' archive for static linking (except MSVC,
  87784. +# All known linkers require a '.a' archive for static linking (except MSVC,
  87785. # which needs '.lib').
  87786. libext=a
  87787.  
  87788. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  87789. +with_gnu_ld=$lt_cv_prog_gnu_ld
  87790.  
  87791. -old_CC="$CC"
  87792. -old_CFLAGS="$CFLAGS"
  87793. +old_CC=$CC
  87794. +old_CFLAGS=$CFLAGS
  87795.  
  87796. # Set sane defaults for various variables
  87797. test -z "$CC" && CC=cc
  87798. @@ -250,16 +255,38 @@
  87799. ])# _LT_SETUP
  87800.  
  87801.  
  87802. +# _LT_PREPARE_SED_QUOTE_VARS
  87803. +# --------------------------
  87804. +# Define a few sed substitution that help us do robust quoting.
  87805. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  87806. +[# Backslashify metacharacters that are still active within
  87807. +# double-quoted strings.
  87808. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  87809. +
  87810. +# Same as above, but do not quote variable references.
  87811. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  87812. +
  87813. +# Sed substitution to delay expansion of an escaped shell variable in a
  87814. +# double_quote_subst'ed string.
  87815. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  87816. +
  87817. +# Sed substitution to delay expansion of an escaped single quote.
  87818. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  87819. +
  87820. +# Sed substitution to avoid accidental globbing in evaled expressions
  87821. +no_glob_subst='s/\*/\\\*/g'
  87822. +])
  87823. +
  87824. # _LT_PROG_LTMAIN
  87825. # ---------------
  87826. -# Note that this code is called both from `configure', and `config.status'
  87827. +# Note that this code is called both from 'configure', and 'config.status'
  87828. # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  87829. -# `config.status' has no value for ac_aux_dir unless we are using Automake,
  87830. +# 'config.status' has no value for ac_aux_dir unless we are using Automake,
  87831. # so we pass a copy along to make sure it has a sensible value anyway.
  87832. m4_defun([_LT_PROG_LTMAIN],
  87833. [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  87834. _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  87835. -ltmain="$ac_aux_dir/ltmain.sh"
  87836. +ltmain=$ac_aux_dir/ltmain.sh
  87837. ])# _LT_PROG_LTMAIN
  87838.  
  87839.  
  87840. @@ -269,7 +296,7 @@
  87841.  
  87842. # So that we can recreate a full libtool script including additional
  87843. # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  87844. -# in macros and then make a single call at the end using the `libtool'
  87845. +# in macros and then make a single call at the end using the 'libtool'
  87846. # label.
  87847.  
  87848.  
  87849. @@ -404,11 +431,11 @@
  87850.  
  87851. # _LT_CONFIG_STATUS_DECLARE([VARNAME])
  87852. # ------------------------------------
  87853. -# Quote a variable value, and forward it to `config.status' so that its
  87854. -# declaration there will have the same value as in `configure'. VARNAME
  87855. +# Quote a variable value, and forward it to 'config.status' so that its
  87856. +# declaration there will have the same value as in 'configure'. VARNAME
  87857. # must have a single quote delimited value for this to work.
  87858. m4_define([_LT_CONFIG_STATUS_DECLARE],
  87859. -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  87860. +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  87861.  
  87862.  
  87863. # _LT_CONFIG_STATUS_DECLARATIONS
  87864. @@ -418,7 +445,7 @@
  87865. # embedded single quotes properly. In configure, this macro expands
  87866. # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  87867. #
  87868. -# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  87869. +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  87870. m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  87871. [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  87872. [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  87873. @@ -429,7 +456,7 @@
  87874. # Output comment and list of tags supported by the script
  87875. m4_defun([_LT_LIBTOOL_TAGS],
  87876. [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  87877. -available_tags="_LT_TAGS"dnl
  87878. +available_tags='_LT_TAGS'dnl
  87879. ])
  87880.  
  87881.  
  87882. @@ -457,7 +484,7 @@
  87883. # _LT_LIBTOOL_CONFIG_VARS
  87884. # -----------------------
  87885. # Produce commented declarations of non-tagged libtool config variables
  87886. -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  87887. +# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
  87888. # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  87889. # section) are produced by _LT_LIBTOOL_TAG_VARS.
  87890. m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  87891. @@ -483,8 +510,8 @@
  87892. # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  87893. # variables for single and double quote escaping we saved from calls
  87894. # to _LT_DECL, we can put quote escaped variables declarations
  87895. -# into `config.status', and then the shell code to quote escape them in
  87896. -# for loops in `config.status'. Finally, any additional code accumulated
  87897. +# into 'config.status', and then the shell code to quote escape them in
  87898. +# for loops in 'config.status'. Finally, any additional code accumulated
  87899. # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  87900. m4_defun([_LT_CONFIG_COMMANDS],
  87901. [AC_PROVIDE_IFELSE([LT_OUTPUT],
  87902. @@ -517,12 +544,20 @@
  87903. LTCFLAGS='$LTCFLAGS'
  87904. compiler='$compiler_DEFAULT'
  87905.  
  87906. +# A function that is used when there is no print builtin or printf.
  87907. +func_fallback_echo ()
  87908. +{
  87909. + eval 'cat <<_LTECHO_EOF
  87910. +\$[]1
  87911. +_LTECHO_EOF'
  87912. +}
  87913. +
  87914. # Quote evaled strings.
  87915. for var in lt_decl_all_varnames([[ \
  87916. ]], lt_decl_quote_varnames); do
  87917. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  87918. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  87919. *[[\\\\\\\`\\"\\\$]]*)
  87920. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  87921. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  87922. ;;
  87923. *)
  87924. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  87925. @@ -533,9 +568,9 @@
  87926. # Double-quote double-evaled strings.
  87927. for var in lt_decl_all_varnames([[ \
  87928. ]], lt_decl_dquote_varnames); do
  87929. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  87930. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  87931. *[[\\\\\\\`\\"\\\$]]*)
  87932. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  87933. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  87934. ;;
  87935. *)
  87936. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  87937. @@ -543,16 +578,38 @@
  87938. esac
  87939. done
  87940.  
  87941. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  87942. -case \$lt_ECHO in
  87943. -*'\\\[$]0 --fallback-echo"')dnl "
  87944. - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  87945. - ;;
  87946. -esac
  87947. -
  87948. _LT_OUTPUT_LIBTOOL_INIT
  87949. ])
  87950.  
  87951. +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  87952. +# ------------------------------------
  87953. +# Generate a child script FILE with all initialization necessary to
  87954. +# reuse the environment learned by the parent script, and make the
  87955. +# file executable. If COMMENT is supplied, it is inserted after the
  87956. +# '#!' sequence but before initialization text begins. After this
  87957. +# macro, additional text can be appended to FILE to form the body of
  87958. +# the child script. The macro ends with non-zero status if the
  87959. +# file could not be fully written (such as if the disk is full).
  87960. +m4_ifdef([AS_INIT_GENERATED],
  87961. +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  87962. +[m4_defun([_LT_GENERATED_FILE_INIT],
  87963. +[m4_require([AS_PREPARE])]dnl
  87964. +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  87965. +[lt_write_fail=0
  87966. +cat >$1 <<_ASEOF || lt_write_fail=1
  87967. +#! $SHELL
  87968. +# Generated by $as_me.
  87969. +$2
  87970. +SHELL=\${CONFIG_SHELL-$SHELL}
  87971. +export SHELL
  87972. +_ASEOF
  87973. +cat >>$1 <<\_ASEOF || lt_write_fail=1
  87974. +AS_SHELL_SANITIZE
  87975. +_AS_PREPARE
  87976. +exec AS_MESSAGE_FD>&1
  87977. +_ASEOF
  87978. +test 0 = "$lt_write_fail" && chmod +x $1[]dnl
  87979. +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  87980.  
  87981. # LT_OUTPUT
  87982. # ---------
  87983. @@ -562,20 +619,11 @@
  87984. AC_DEFUN([LT_OUTPUT],
  87985. [: ${CONFIG_LT=./config.lt}
  87986. AC_MSG_NOTICE([creating $CONFIG_LT])
  87987. -cat >"$CONFIG_LT" <<_LTEOF
  87988. -#! $SHELL
  87989. -# Generated by $as_me.
  87990. -# Run this file to recreate a libtool stub with the current configuration.
  87991. -
  87992. -lt_cl_silent=false
  87993. -SHELL=\${CONFIG_SHELL-$SHELL}
  87994. -_LTEOF
  87995. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  87996. +[# Run this file to recreate a libtool stub with the current configuration.])
  87997.  
  87998. cat >>"$CONFIG_LT" <<\_LTEOF
  87999. -AS_SHELL_SANITIZE
  88000. -_AS_PREPARE
  88001. -
  88002. -exec AS_MESSAGE_FD>&1
  88003. +lt_cl_silent=false
  88004. exec AS_MESSAGE_LOG_FD>>config.log
  88005. {
  88006. echo
  88007. @@ -583,7 +631,7 @@
  88008. } >&AS_MESSAGE_LOG_FD
  88009.  
  88010. lt_cl_help="\
  88011. -\`$as_me' creates a local libtool stub from the current configuration,
  88012. +'$as_me' creates a local libtool stub from the current configuration,
  88013. for use in further configure time tests before the real libtool is
  88014. generated.
  88015.  
  88016. @@ -601,11 +649,11 @@
  88017. m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  88018. configured by $[0], generated by m4_PACKAGE_STRING.
  88019.  
  88020. -Copyright (C) 2008 Free Software Foundation, Inc.
  88021. +Copyright (C) 2011 Free Software Foundation, Inc.
  88022. This config.lt script is free software; the Free Software Foundation
  88023. gives unlimited permision to copy, distribute and modify it."
  88024.  
  88025. -while test $[#] != 0
  88026. +while test 0 != $[#]
  88027. do
  88028. case $[1] in
  88029. --version | --v* | -V )
  88030. @@ -618,10 +666,10 @@
  88031. lt_cl_silent=: ;;
  88032.  
  88033. -*) AC_MSG_ERROR([unrecognized option: $[1]
  88034. -Try \`$[0] --help' for more information.]) ;;
  88035. +Try '$[0] --help' for more information.]) ;;
  88036.  
  88037. *) AC_MSG_ERROR([unrecognized argument: $[1]
  88038. -Try \`$[0] --help' for more information.]) ;;
  88039. +Try '$[0] --help' for more information.]) ;;
  88040. esac
  88041. shift
  88042. done
  88043. @@ -646,15 +694,13 @@
  88044. # appending to config.log, which fails on DOS, as config.log is still kept
  88045. # open by configure. Here we exec the FD to /dev/null, effectively closing
  88046. # config.log, so it can be properly (re)opened and appended to by config.lt.
  88047. -if test "$no_create" != yes; then
  88048. - lt_cl_success=:
  88049. - test "$silent" = yes &&
  88050. - lt_config_lt_args="$lt_config_lt_args --quiet"
  88051. - exec AS_MESSAGE_LOG_FD>/dev/null
  88052. - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  88053. - exec AS_MESSAGE_LOG_FD>>config.log
  88054. - $lt_cl_success || AS_EXIT(1)
  88055. -fi
  88056. +lt_cl_success=:
  88057. +test yes = "$silent" &&
  88058. + lt_config_lt_args="$lt_config_lt_args --quiet"
  88059. +exec AS_MESSAGE_LOG_FD>/dev/null
  88060. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  88061. +exec AS_MESSAGE_LOG_FD>>config.log
  88062. +$lt_cl_success || AS_EXIT(1)
  88063. ])# LT_OUTPUT
  88064.  
  88065.  
  88066. @@ -669,27 +715,31 @@
  88067. _LT_CONFIG_SAVE_COMMANDS([
  88068. m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  88069. m4_if(_LT_TAG, [C], [
  88070. - # See if we are running on zsh, and set the options which allow our
  88071. + # See if we are running on zsh, and set the options that allow our
  88072. # commands through without removal of \ escapes.
  88073. - if test -n "${ZSH_VERSION+set}" ; then
  88074. + if test -n "${ZSH_VERSION+set}"; then
  88075. setopt NO_GLOB_SUBST
  88076. fi
  88077.  
  88078. - cfgfile="${ofile}T"
  88079. + cfgfile=${ofile}T
  88080. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  88081. $RM "$cfgfile"
  88082.  
  88083. cat <<_LT_EOF >> "$cfgfile"
  88084. #! $SHELL
  88085. -
  88086. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  88087. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  88088. +# Generated automatically by $as_me ($PACKAGE) $VERSION
  88089. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  88090. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  88091. -#
  88092. +
  88093. +# Provide generalized library-building support services.
  88094. +# Written by Gordon Matzigkeit, 1996
  88095. +
  88096. _LT_COPYING
  88097. _LT_LIBTOOL_TAGS
  88098.  
  88099. +# Configured defaults for sys_lib_dlsearch_path munging.
  88100. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  88101. +
  88102. # ### BEGIN LIBTOOL CONFIG
  88103. _LT_LIBTOOL_CONFIG_VARS
  88104. _LT_LIBTOOL_TAG_VARS
  88105. @@ -697,13 +747,24 @@
  88106.  
  88107. _LT_EOF
  88108.  
  88109. + cat <<'_LT_EOF' >> "$cfgfile"
  88110. +
  88111. +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  88112. +
  88113. +_LT_PREPARE_MUNGE_PATH_LIST
  88114. +_LT_PREPARE_CC_BASENAME
  88115. +
  88116. +# ### END FUNCTIONS SHARED WITH CONFIGURE
  88117. +
  88118. +_LT_EOF
  88119. +
  88120. case $host_os in
  88121. aix3*)
  88122. cat <<\_LT_EOF >> "$cfgfile"
  88123. # AIX sometimes has problems with the GCC collect2 program. For some
  88124. # reason, if we set the COLLECT_NAMES environment variable, the problems
  88125. # vanish in a puff of smoke.
  88126. -if test "X${COLLECT_NAMES+set}" != Xset; then
  88127. +if test set != "${COLLECT_NAMES+set}"; then
  88128. COLLECT_NAMES=
  88129. export COLLECT_NAMES
  88130. fi
  88131. @@ -717,15 +778,10 @@
  88132. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  88133. # text mode, it properly converts lines to CR/LF. This bash problem
  88134. # is reportedly fixed, but why not run on old versions too?
  88135. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  88136. - || (rm -f "$cfgfile"; exit 1)
  88137. -
  88138. - _LT_PROG_XSI_SHELLFNS
  88139. + sed '$q' "$ltmain" >> "$cfgfile" \
  88140. + || (rm -f "$cfgfile"; exit 1)
  88141.  
  88142. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  88143. - || (rm -f "$cfgfile"; exit 1)
  88144. -
  88145. - mv -f "$cfgfile" "$ofile" ||
  88146. + mv -f "$cfgfile" "$ofile" ||
  88147. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  88148. chmod +x "$ofile"
  88149. ],
  88150. @@ -742,7 +798,6 @@
  88151. [m4_if([$1], [], [
  88152. PACKAGE='$PACKAGE'
  88153. VERSION='$VERSION'
  88154. - TIMESTAMP='$TIMESTAMP'
  88155. RM='$RM'
  88156. ofile='$ofile'], [])
  88157. ])dnl /_LT_CONFIG_SAVE_COMMANDS
  88158. @@ -770,6 +825,7 @@
  88159. m4_case([$1],
  88160. [C], [_LT_LANG(C)],
  88161. [C++], [_LT_LANG(CXX)],
  88162. + [Go], [_LT_LANG(GO)],
  88163. [Java], [_LT_LANG(GCJ)],
  88164. [Fortran 77], [_LT_LANG(F77)],
  88165. [Fortran], [_LT_LANG(FC)],
  88166. @@ -791,6 +847,31 @@
  88167. ])# _LT_LANG
  88168.  
  88169.  
  88170. +m4_ifndef([AC_PROG_GO], [
  88171. +############################################################
  88172. +# NOTE: This macro has been submitted for inclusion into #
  88173. +# GNU Autoconf as AC_PROG_GO. When it is available in #
  88174. +# a released version of Autoconf we should remove this #
  88175. +# macro and use it instead. #
  88176. +############################################################
  88177. +m4_defun([AC_PROG_GO],
  88178. +[AC_LANG_PUSH(Go)dnl
  88179. +AC_ARG_VAR([GOC], [Go compiler command])dnl
  88180. +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
  88181. +_AC_ARG_VAR_LDFLAGS()dnl
  88182. +AC_CHECK_TOOL(GOC, gccgo)
  88183. +if test -z "$GOC"; then
  88184. + if test -n "$ac_tool_prefix"; then
  88185. + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
  88186. + fi
  88187. +fi
  88188. +if test -z "$GOC"; then
  88189. + AC_CHECK_PROG(GOC, gccgo, gccgo, false)
  88190. +fi
  88191. +])#m4_defun
  88192. +])#m4_ifndef
  88193. +
  88194. +
  88195. # _LT_LANG_DEFAULT_CONFIG
  88196. # -----------------------
  88197. m4_defun([_LT_LANG_DEFAULT_CONFIG],
  88198. @@ -821,6 +902,10 @@
  88199. m4_ifdef([LT_PROG_GCJ],
  88200. [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  88201.  
  88202. +AC_PROVIDE_IFELSE([AC_PROG_GO],
  88203. + [LT_LANG(GO)],
  88204. + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
  88205. +
  88206. AC_PROVIDE_IFELSE([LT_PROG_RC],
  88207. [LT_LANG(RC)],
  88208. [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  88209. @@ -831,11 +916,13 @@
  88210. AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  88211. AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  88212. AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  88213. +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  88214. dnl aclocal-1.4 backwards compatibility:
  88215. dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  88216. dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  88217. dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  88218. dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  88219. +dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  88220.  
  88221.  
  88222. # _LT_TAG_COMPILER
  88223. @@ -909,7 +996,7 @@
  88224.  
  88225. AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  88226. [lt_cv_apple_cc_single_mod=no
  88227. - if test -z "${LT_MULTI_MODULE}"; then
  88228. + if test -z "$LT_MULTI_MODULE"; then
  88229. # By default we will add the -single_module flag. You can override
  88230. # by either setting the environment variable LT_MULTI_MODULE
  88231. # non-empty at configure time, or by adding -multi_module to the
  88232. @@ -921,7 +1008,13 @@
  88233. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  88234. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  88235. _lt_result=$?
  88236. - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  88237. + # If there is a non-empty error log, and "single_module"
  88238. + # appears in it, assume the flag caused a linker warning
  88239. + if test -s conftest.err && $GREP single_module conftest.err; then
  88240. + cat conftest.err >&AS_MESSAGE_LOG_FD
  88241. + # Otherwise, if the output was created with a 0 exit code from
  88242. + # the compiler, it worked.
  88243. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  88244. lt_cv_apple_cc_single_mod=yes
  88245. else
  88246. cat conftest.err >&AS_MESSAGE_LOG_FD
  88247. @@ -929,6 +1022,7 @@
  88248. rm -rf libconftest.dylib*
  88249. rm -f conftest.*
  88250. fi])
  88251. +
  88252. AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  88253. [lt_cv_ld_exported_symbols_list],
  88254. [lt_cv_ld_exported_symbols_list=no
  88255. @@ -938,36 +1032,64 @@
  88256. AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  88257. [lt_cv_ld_exported_symbols_list=yes],
  88258. [lt_cv_ld_exported_symbols_list=no])
  88259. - LDFLAGS="$save_LDFLAGS"
  88260. + LDFLAGS=$save_LDFLAGS
  88261. + ])
  88262. +
  88263. + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
  88264. + [lt_cv_ld_force_load=no
  88265. + cat > conftest.c << _LT_EOF
  88266. +int forced_loaded() { return 2;}
  88267. +_LT_EOF
  88268. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
  88269. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
  88270. + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
  88271. + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
  88272. + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
  88273. + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
  88274. + cat > conftest.c << _LT_EOF
  88275. +int main() { return 0;}
  88276. +_LT_EOF
  88277. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
  88278. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  88279. + _lt_result=$?
  88280. + if test -s conftest.err && $GREP force_load conftest.err; then
  88281. + cat conftest.err >&AS_MESSAGE_LOG_FD
  88282. + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  88283. + lt_cv_ld_force_load=yes
  88284. + else
  88285. + cat conftest.err >&AS_MESSAGE_LOG_FD
  88286. + fi
  88287. + rm -f conftest.err libconftest.a conftest conftest.c
  88288. + rm -rf conftest.dSYM
  88289. ])
  88290. case $host_os in
  88291. rhapsody* | darwin1.[[012]])
  88292. - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  88293. + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  88294. darwin1.*)
  88295. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  88296. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  88297. darwin*) # darwin 5.x on
  88298. # if running on 10.5 or later, the deployment target defaults
  88299. # to the OS version, if on x86, and 10.4, the deployment
  88300. # target defaults to 10.4. Don't you love it?
  88301. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  88302. 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  88303. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  88304. - 10.[[012]]*)
  88305. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  88306. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  88307. + 10.[[012]][[,.]]*)
  88308. + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  88309. 10.*)
  88310. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  88311. + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  88312. esac
  88313. ;;
  88314. esac
  88315. - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  88316. + if test yes = "$lt_cv_apple_cc_single_mod"; then
  88317. _lt_dar_single_mod='$single_module'
  88318. fi
  88319. - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  88320. - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  88321. + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  88322. + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  88323. else
  88324. - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  88325. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  88326. fi
  88327. - if test "$DSYMUTIL" != ":"; then
  88328. + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  88329. _lt_dsymutil='~$DSYMUTIL $lib || :'
  88330. else
  88331. _lt_dsymutil=
  88332. @@ -977,8 +1099,8 @@
  88333. ])
  88334.  
  88335.  
  88336. -# _LT_DARWIN_LINKER_FEATURES
  88337. -# --------------------------
  88338. +# _LT_DARWIN_LINKER_FEATURES([TAG])
  88339. +# ---------------------------------
  88340. # Checks for linker and compiler features on darwin
  88341. m4_defun([_LT_DARWIN_LINKER_FEATURES],
  88342. [
  88343. @@ -987,23 +1109,29 @@
  88344. _LT_TAGVAR(hardcode_direct, $1)=no
  88345. _LT_TAGVAR(hardcode_automatic, $1)=yes
  88346. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  88347. - _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  88348. + if test yes = "$lt_cv_ld_force_load"; then
  88349. + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  88350. + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
  88351. + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
  88352. + else
  88353. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  88354. + fi
  88355. _LT_TAGVAR(link_all_deplibs, $1)=yes
  88356. - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  88357. + _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
  88358. case $cc_basename in
  88359. - ifort*) _lt_dar_can_shared=yes ;;
  88360. + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  88361. *) _lt_dar_can_shared=$GCC ;;
  88362. esac
  88363. - if test "$_lt_dar_can_shared" = "yes"; then
  88364. - output_verbose_link_cmd=echo
  88365. - _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}"
  88366. - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  88367. - _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}"
  88368. - _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}"
  88369. + if test yes = "$_lt_dar_can_shared"; then
  88370. + output_verbose_link_cmd=func_echo_all
  88371. + _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"
  88372. + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  88373. + _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"
  88374. + _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"
  88375. m4_if([$1], [CXX],
  88376. -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  88377. - _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}"
  88378. - _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}"
  88379. +[ if test yes != "$lt_cv_apple_cc_single_mod"; then
  88380. + _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"
  88381. + _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"
  88382. fi
  88383. ],[])
  88384. else
  88385. @@ -1011,234 +1139,176 @@
  88386. fi
  88387. ])
  88388.  
  88389. -# _LT_SYS_MODULE_PATH_AIX
  88390. -# -----------------------
  88391. +# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
  88392. +# ----------------------------------
  88393. # Links a minimal program and checks the executable
  88394. # for the system default hardcoded library path. In most cases,
  88395. # this is /usr/lib:/lib, but when the MPI compilers are used
  88396. # the location of the communication and MPI libs are included too.
  88397. # If we don't find anything, use the default library path according
  88398. # to the aix ld manual.
  88399. +# Store the results from the different compilers for each TAGNAME.
  88400. +# Allow to override them for all tags through lt_cv_aix_libpath.
  88401. m4_defun([_LT_SYS_MODULE_PATH_AIX],
  88402. [m4_require([_LT_DECL_SED])dnl
  88403. -AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  88404. -lt_aix_libpath_sed='
  88405. - /Import File Strings/,/^$/ {
  88406. - /^0/ {
  88407. - s/^0 *\(.*\)$/\1/
  88408. - p
  88409. - }
  88410. - }'
  88411. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88412. -# Check for a 64-bit object if we didn't find anything.
  88413. -if test -z "$aix_libpath"; then
  88414. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88415. -fi],[])
  88416. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  88417. +if test set = "${lt_cv_aix_libpath+set}"; then
  88418. + aix_libpath=$lt_cv_aix_libpath
  88419. +else
  88420. + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
  88421. + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
  88422. + lt_aix_libpath_sed='[
  88423. + /Import File Strings/,/^$/ {
  88424. + /^0/ {
  88425. + s/^0 *\([^ ]*\) *$/\1/
  88426. + p
  88427. + }
  88428. + }]'
  88429. + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88430. + # Check for a 64-bit object if we didn't find anything.
  88431. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
  88432. + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  88433. + fi],[])
  88434. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
  88435. + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
  88436. + fi
  88437. + ])
  88438. + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
  88439. +fi
  88440. ])# _LT_SYS_MODULE_PATH_AIX
  88441.  
  88442.  
  88443. # _LT_SHELL_INIT(ARG)
  88444. # -------------------
  88445. m4_define([_LT_SHELL_INIT],
  88446. -[ifdef([AC_DIVERSION_NOTICE],
  88447. - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  88448. - [AC_DIVERT_PUSH(NOTICE)])
  88449. -$1
  88450. -AC_DIVERT_POP
  88451. -])# _LT_SHELL_INIT
  88452. +[m4_divert_text([M4SH-INIT], [$1
  88453. +])])# _LT_SHELL_INIT
  88454. +
  88455.  
  88456.  
  88457. # _LT_PROG_ECHO_BACKSLASH
  88458. # -----------------------
  88459. -# Add some code to the start of the generated configure script which
  88460. -# will find an echo command which doesn't interpret backslashes.
  88461. +# Find how we can fake an echo command that does not interpret backslash.
  88462. +# In particular, with Autoconf 2.60 or later we add some code to the start
  88463. +# of the generated configure script that will find a shell with a builtin
  88464. +# printf (that we can use as an echo command).
  88465. m4_defun([_LT_PROG_ECHO_BACKSLASH],
  88466. -[_LT_SHELL_INIT([
  88467. -# Check that we are running under the correct shell.
  88468. -SHELL=${CONFIG_SHELL-/bin/sh}
  88469. -
  88470. -case X$lt_ECHO in
  88471. -X*--fallback-echo)
  88472. - # Remove one level of quotation (which was required for Make).
  88473. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  88474. - ;;
  88475. -esac
  88476. -
  88477. -ECHO=${lt_ECHO-echo}
  88478. -if test "X[$]1" = X--no-reexec; then
  88479. - # Discard the --no-reexec flag, and continue.
  88480. - shift
  88481. -elif test "X[$]1" = X--fallback-echo; then
  88482. - # Avoid inline document here, it may be left over
  88483. - :
  88484. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  88485. - # Yippee, $ECHO works!
  88486. - :
  88487. +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  88488. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  88489. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  88490. +
  88491. +AC_MSG_CHECKING([how to print strings])
  88492. +# Test print first, because it will be a builtin if present.
  88493. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  88494. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  88495. + ECHO='print -r --'
  88496. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  88497. + ECHO='printf %s\n'
  88498. else
  88499. - # Restart under the correct shell.
  88500. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  88501. -fi
  88502. -
  88503. -if test "X[$]1" = X--fallback-echo; then
  88504. - # used as fallback echo
  88505. - shift
  88506. - cat <<_LT_EOF
  88507. -[$]*
  88508. -_LT_EOF
  88509. - exit 0
  88510. + # Use this function as a fallback that always works.
  88511. + func_fallback_echo ()
  88512. + {
  88513. + eval 'cat <<_LTECHO_EOF
  88514. +$[]1
  88515. +_LTECHO_EOF'
  88516. + }
  88517. + ECHO='func_fallback_echo'
  88518. fi
  88519.  
  88520. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  88521. -# if CDPATH is set.
  88522. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  88523. -
  88524. -if test -z "$lt_ECHO"; then
  88525. - if test "X${echo_test_string+set}" != Xset; then
  88526. - # find a string as large as possible, as long as the shell can cope with it
  88527. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  88528. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  88529. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  88530. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  88531. - then
  88532. - break
  88533. - fi
  88534. - done
  88535. - fi
  88536. -
  88537. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  88538. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  88539. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88540. - :
  88541. - else
  88542. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  88543. - # backslashes. This makes it impossible to quote backslashes using
  88544. - # echo "$something" | sed 's/\\/\\\\/g'
  88545. - #
  88546. - # So, first we look for a working echo in the user's PATH.
  88547. -
  88548. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  88549. - for dir in $PATH /usr/ucb; do
  88550. - IFS="$lt_save_ifs"
  88551. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  88552. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  88553. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  88554. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88555. - ECHO="$dir/echo"
  88556. - break
  88557. - fi
  88558. - done
  88559. - IFS="$lt_save_ifs"
  88560. -
  88561. - if test "X$ECHO" = Xecho; then
  88562. - # We didn't find a better echo, so look for alternatives.
  88563. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  88564. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  88565. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88566. - # This shell has a builtin print -r that does the trick.
  88567. - ECHO='print -r'
  88568. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  88569. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  88570. - # If we have ksh, try running configure again with it.
  88571. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  88572. - export ORIGINAL_CONFIG_SHELL
  88573. - CONFIG_SHELL=/bin/ksh
  88574. - export CONFIG_SHELL
  88575. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  88576. - else
  88577. - # Try using printf.
  88578. - ECHO='printf %s\n'
  88579. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  88580. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  88581. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88582. - # Cool, printf works
  88583. - :
  88584. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  88585. - test "X$echo_testing_string" = 'X\t' &&
  88586. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  88587. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88588. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  88589. - export CONFIG_SHELL
  88590. - SHELL="$CONFIG_SHELL"
  88591. - export SHELL
  88592. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  88593. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  88594. - test "X$echo_testing_string" = 'X\t' &&
  88595. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  88596. - test "X$echo_testing_string" = "X$echo_test_string"; then
  88597. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  88598. - else
  88599. - # maybe with a smaller string...
  88600. - prev=:
  88601. -
  88602. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  88603. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  88604. - then
  88605. - break
  88606. - fi
  88607. - prev="$cmd"
  88608. - done
  88609. +# func_echo_all arg...
  88610. +# Invoke $ECHO with all args, space-separated.
  88611. +func_echo_all ()
  88612. +{
  88613. + $ECHO "$*"
  88614. +}
  88615.  
  88616. - if test "$prev" != 'sed 50q "[$]0"'; then
  88617. - echo_test_string=`eval $prev`
  88618. - export echo_test_string
  88619. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  88620. - else
  88621. - # Oops. We lost completely, so just stick with echo.
  88622. - ECHO=echo
  88623. - fi
  88624. - fi
  88625. - fi
  88626. - fi
  88627. - fi
  88628. -fi
  88629. +case $ECHO in
  88630. + printf*) AC_MSG_RESULT([printf]) ;;
  88631. + print*) AC_MSG_RESULT([print -r]) ;;
  88632. + *) AC_MSG_RESULT([cat]) ;;
  88633. +esac
  88634.  
  88635. -# Copy echo and quote the copy suitably for passing to libtool from
  88636. -# the Makefile, instead of quoting the original, which is used later.
  88637. -lt_ECHO=$ECHO
  88638. -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  88639. - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  88640. -fi
  88641. +m4_ifdef([_AS_DETECT_SUGGESTED],
  88642. +[_AS_DETECT_SUGGESTED([
  88643. + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
  88644. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  88645. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  88646. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  88647. + PATH=/empty FPATH=/empty; export PATH FPATH
  88648. + test "X`printf %s $ECHO`" = "X$ECHO" \
  88649. + || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
  88650.  
  88651. -AC_SUBST(lt_ECHO)
  88652. -])
  88653. _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  88654. -_LT_DECL([], [ECHO], [1],
  88655. - [An echo program that does not interpret backslashes])
  88656. +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
  88657. ])# _LT_PROG_ECHO_BACKSLASH
  88658.  
  88659.  
  88660. +# _LT_WITH_SYSROOT
  88661. +# ----------------
  88662. +AC_DEFUN([_LT_WITH_SYSROOT],
  88663. +[AC_MSG_CHECKING([for sysroot])
  88664. +AC_ARG_WITH([sysroot],
  88665. +[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
  88666. + [Search for dependent libraries within DIR (or the compiler's sysroot
  88667. + if not specified).])],
  88668. +[], [with_sysroot=no])
  88669. +
  88670. +dnl lt_sysroot will always be passed unquoted. We quote it here
  88671. +dnl in case the user passed a directory name.
  88672. +lt_sysroot=
  88673. +case $with_sysroot in #(
  88674. + yes)
  88675. + if test yes = "$GCC"; then
  88676. + lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  88677. + fi
  88678. + ;; #(
  88679. + /*)
  88680. + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  88681. + ;; #(
  88682. + no|'')
  88683. + ;; #(
  88684. + *)
  88685. + AC_MSG_RESULT([$with_sysroot])
  88686. + AC_MSG_ERROR([The sysroot must be an absolute path.])
  88687. + ;;
  88688. +esac
  88689. +
  88690. + AC_MSG_RESULT([${lt_sysroot:-no}])
  88691. +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
  88692. +[dependent libraries, and where our libraries should be installed.])])
  88693. +
  88694. # _LT_ENABLE_LOCK
  88695. # ---------------
  88696. m4_defun([_LT_ENABLE_LOCK],
  88697. [AC_ARG_ENABLE([libtool-lock],
  88698. [AS_HELP_STRING([--disable-libtool-lock],
  88699. [avoid locking (might break parallel builds)])])
  88700. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  88701. +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  88702.  
  88703. # Some flags need to be propagated to the compiler or linker for good
  88704. # libtool support.
  88705. case $host in
  88706. ia64-*-hpux*)
  88707. - # Find out which ABI we are using.
  88708. + # Find out what ABI is being produced by ac_compile, and set mode
  88709. + # options accordingly.
  88710. echo 'int i;' > conftest.$ac_ext
  88711. if AC_TRY_EVAL(ac_compile); then
  88712. case `/usr/bin/file conftest.$ac_objext` in
  88713. *ELF-32*)
  88714. - HPUX_IA64_MODE="32"
  88715. + HPUX_IA64_MODE=32
  88716. ;;
  88717. *ELF-64*)
  88718. - HPUX_IA64_MODE="64"
  88719. + HPUX_IA64_MODE=64
  88720. ;;
  88721. esac
  88722. fi
  88723. rm -rf conftest*
  88724. ;;
  88725. *-*-irix6*)
  88726. - # Find out which ABI we are using.
  88727. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  88728. + # Find out what ABI is being produced by ac_compile, and set linker
  88729. + # options accordingly.
  88730. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  88731. if AC_TRY_EVAL(ac_compile); then
  88732. - if test "$lt_cv_prog_gnu_ld" = yes; then
  88733. + if test yes = "$lt_cv_prog_gnu_ld"; then
  88734. case `/usr/bin/file conftest.$ac_objext` in
  88735. *32-bit*)
  88736. LD="${LD-ld} -melf32bsmip"
  88737. @@ -1267,9 +1337,46 @@
  88738. rm -rf conftest*
  88739. ;;
  88740.  
  88741. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  88742. +mips64*-*linux*)
  88743. + # Find out what ABI is being produced by ac_compile, and set linker
  88744. + # options accordingly.
  88745. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  88746. + if AC_TRY_EVAL(ac_compile); then
  88747. + emul=elf
  88748. + case `/usr/bin/file conftest.$ac_objext` in
  88749. + *32-bit*)
  88750. + emul="${emul}32"
  88751. + ;;
  88752. + *64-bit*)
  88753. + emul="${emul}64"
  88754. + ;;
  88755. + esac
  88756. + case `/usr/bin/file conftest.$ac_objext` in
  88757. + *MSB*)
  88758. + emul="${emul}btsmip"
  88759. + ;;
  88760. + *LSB*)
  88761. + emul="${emul}ltsmip"
  88762. + ;;
  88763. + esac
  88764. + case `/usr/bin/file conftest.$ac_objext` in
  88765. + *N32*)
  88766. + emul="${emul}n32"
  88767. + ;;
  88768. + esac
  88769. + LD="${LD-ld} -m $emul"
  88770. + fi
  88771. + rm -rf conftest*
  88772. + ;;
  88773. +
  88774. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  88775. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  88776. - # Find out which ABI we are using.
  88777. + # Find out what ABI is being produced by ac_compile, and set linker
  88778. + # options accordingly. Note that the listed cases only cover the
  88779. + # situations where additional linker options are needed (such as when
  88780. + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  88781. + # vice versa); the common cases where no linker options are needed do
  88782. + # not appear in the list.
  88783. echo 'int i;' > conftest.$ac_ext
  88784. if AC_TRY_EVAL(ac_compile); then
  88785. case `/usr/bin/file conftest.o` in
  88786. @@ -1279,9 +1386,19 @@
  88787. LD="${LD-ld} -m elf_i386_fbsd"
  88788. ;;
  88789. x86_64-*linux*)
  88790. - LD="${LD-ld} -m elf_i386"
  88791. + case `/usr/bin/file conftest.o` in
  88792. + *x86-64*)
  88793. + LD="${LD-ld} -m elf32_x86_64"
  88794. + ;;
  88795. + *)
  88796. + LD="${LD-ld} -m elf_i386"
  88797. + ;;
  88798. + esac
  88799. ;;
  88800. - ppc64-*linux*|powerpc64-*linux*)
  88801. + powerpc64le-*linux*)
  88802. + LD="${LD-ld} -m elf32lppclinux"
  88803. + ;;
  88804. + powerpc64-*linux*)
  88805. LD="${LD-ld} -m elf32ppclinux"
  88806. ;;
  88807. s390x-*linux*)
  88808. @@ -1300,7 +1417,10 @@
  88809. x86_64-*linux*)
  88810. LD="${LD-ld} -m elf_x86_64"
  88811. ;;
  88812. - ppc*-*linux*|powerpc*-*linux*)
  88813. + powerpcle-*linux*)
  88814. + LD="${LD-ld} -m elf64lppc"
  88815. + ;;
  88816. + powerpc-*linux*)
  88817. LD="${LD-ld} -m elf64ppc"
  88818. ;;
  88819. s390*-*linux*|s390*-*tpf*)
  88820. @@ -1318,25 +1438,39 @@
  88821.  
  88822. *-*-sco3.2v5*)
  88823. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  88824. - SAVE_CFLAGS="$CFLAGS"
  88825. + SAVE_CFLAGS=$CFLAGS
  88826. CFLAGS="$CFLAGS -belf"
  88827. AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  88828. [AC_LANG_PUSH(C)
  88829. AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  88830. AC_LANG_POP])
  88831. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  88832. + if test yes != "$lt_cv_cc_needs_belf"; then
  88833. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  88834. - CFLAGS="$SAVE_CFLAGS"
  88835. + CFLAGS=$SAVE_CFLAGS
  88836. fi
  88837. ;;
  88838. -sparc*-*solaris*)
  88839. - # Find out which ABI we are using.
  88840. +*-*solaris*)
  88841. + # Find out what ABI is being produced by ac_compile, and set linker
  88842. + # options accordingly.
  88843. echo 'int i;' > conftest.$ac_ext
  88844. if AC_TRY_EVAL(ac_compile); then
  88845. case `/usr/bin/file conftest.o` in
  88846. *64-bit*)
  88847. case $lt_cv_prog_gnu_ld in
  88848. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  88849. + yes*)
  88850. + case $host in
  88851. + i?86-*-solaris*|x86_64-*-solaris*)
  88852. + LD="${LD-ld} -m elf_x86_64"
  88853. + ;;
  88854. + sparc*-*-solaris*)
  88855. + LD="${LD-ld} -m elf64_sparc"
  88856. + ;;
  88857. + esac
  88858. + # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  88859. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  88860. + LD=${LD-ld}_sol2
  88861. + fi
  88862. + ;;
  88863. *)
  88864. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  88865. LD="${LD-ld} -64"
  88866. @@ -1350,18 +1484,51 @@
  88867. ;;
  88868. esac
  88869.  
  88870. -need_locks="$enable_libtool_lock"
  88871. +need_locks=$enable_libtool_lock
  88872. ])# _LT_ENABLE_LOCK
  88873.  
  88874.  
  88875. +# _LT_PROG_AR
  88876. +# -----------
  88877. +m4_defun([_LT_PROG_AR],
  88878. +[AC_CHECK_TOOLS(AR, [ar], false)
  88879. +: ${AR=ar}
  88880. +: ${AR_FLAGS=cru}
  88881. +_LT_DECL([], [AR], [1], [The archiver])
  88882. +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
  88883. +
  88884. +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
  88885. + [lt_cv_ar_at_file=no
  88886. + AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
  88887. + [echo conftest.$ac_objext > conftest.lst
  88888. + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
  88889. + AC_TRY_EVAL([lt_ar_try])
  88890. + if test 0 -eq "$ac_status"; then
  88891. + # Ensure the archiver fails upon bogus file names.
  88892. + rm -f conftest.$ac_objext libconftest.a
  88893. + AC_TRY_EVAL([lt_ar_try])
  88894. + if test 0 -ne "$ac_status"; then
  88895. + lt_cv_ar_at_file=@
  88896. + fi
  88897. + fi
  88898. + rm -f conftest.* libconftest.a
  88899. + ])
  88900. + ])
  88901. +
  88902. +if test no = "$lt_cv_ar_at_file"; then
  88903. + archiver_list_spec=
  88904. +else
  88905. + archiver_list_spec=$lt_cv_ar_at_file
  88906. +fi
  88907. +_LT_DECL([], [archiver_list_spec], [1],
  88908. + [How to feed a file listing to the archiver])
  88909. +])# _LT_PROG_AR
  88910. +
  88911. +
  88912. # _LT_CMD_OLD_ARCHIVE
  88913. # -------------------
  88914. m4_defun([_LT_CMD_OLD_ARCHIVE],
  88915. -[AC_CHECK_TOOL(AR, ar, false)
  88916. -test -z "$AR" && AR=ar
  88917. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  88918. -_LT_DECL([], [AR], [1], [The archiver])
  88919. -_LT_DECL([], [AR_FLAGS], [1])
  88920. +[_LT_PROG_AR
  88921.  
  88922. AC_CHECK_TOOL(STRIP, strip, :)
  88923. test -z "$STRIP" && STRIP=:
  88924. @@ -1379,19 +1546,28 @@
  88925.  
  88926. if test -n "$RANLIB"; then
  88927. case $host_os in
  88928. - openbsd*)
  88929. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  88930. + bitrig* | openbsd*)
  88931. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  88932. ;;
  88933. *)
  88934. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  88935. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  88936. ;;
  88937. esac
  88938. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  88939. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  88940. fi
  88941. +
  88942. +case $host_os in
  88943. + darwin*)
  88944. + lock_old_archive_extraction=yes ;;
  88945. + *)
  88946. + lock_old_archive_extraction=no ;;
  88947. +esac
  88948. _LT_DECL([], [old_postinstall_cmds], [2])
  88949. _LT_DECL([], [old_postuninstall_cmds], [2])
  88950. _LT_TAGDECL([], [old_archive_cmds], [2],
  88951. [Commands used to build an old-style archive])
  88952. +_LT_DECL([], [lock_old_archive_extraction], [0],
  88953. + [Whether to use a lock for old archive extraction])
  88954. ])# _LT_CMD_OLD_ARCHIVE
  88955.  
  88956.  
  88957. @@ -1406,7 +1582,7 @@
  88958. [$2=no
  88959. m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  88960. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  88961. - lt_compiler_flag="$3"
  88962. + lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
  88963. # Insert the option either (1) after the last *FLAGS variable, or
  88964. # (2) before a word containing "conftest.", or (3) at the end.
  88965. # Note that $ac_compile itself does not contain backslashes and begins
  88966. @@ -1416,15 +1592,15 @@
  88967. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  88968. -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  88969. -e 's:$: $lt_compiler_flag:'`
  88970. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  88971. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  88972. (eval "$lt_compile" 2>conftest.err)
  88973. ac_status=$?
  88974. cat conftest.err >&AS_MESSAGE_LOG_FD
  88975. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  88976. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  88977. if (exit $ac_status) && test -s "$ac_outfile"; then
  88978. # The compiler can only warn and ignore the option if not recognized
  88979. # So say no if there are warnings other than the usual output.
  88980. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  88981. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  88982. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  88983. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  88984. $2=yes
  88985. @@ -1433,7 +1609,7 @@
  88986. $RM conftest*
  88987. ])
  88988.  
  88989. -if test x"[$]$2" = xyes; then
  88990. +if test yes = "[$]$2"; then
  88991. m4_if([$5], , :, [$5])
  88992. else
  88993. m4_if([$6], , :, [$6])
  88994. @@ -1455,7 +1631,7 @@
  88995. m4_require([_LT_DECL_SED])dnl
  88996. AC_CACHE_CHECK([$1], [$2],
  88997. [$2=no
  88998. - save_LDFLAGS="$LDFLAGS"
  88999. + save_LDFLAGS=$LDFLAGS
  89000. LDFLAGS="$LDFLAGS $3"
  89001. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  89002. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  89003. @@ -1464,7 +1640,7 @@
  89004. if test -s conftest.err; then
  89005. # Append any errors to the config.log.
  89006. cat conftest.err 1>&AS_MESSAGE_LOG_FD
  89007. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  89008. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  89009. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  89010. if diff conftest.exp conftest.er2 >/dev/null; then
  89011. $2=yes
  89012. @@ -1474,10 +1650,10 @@
  89013. fi
  89014. fi
  89015. $RM -r conftest*
  89016. - LDFLAGS="$save_LDFLAGS"
  89017. + LDFLAGS=$save_LDFLAGS
  89018. ])
  89019.  
  89020. -if test x"[$]$2" = xyes; then
  89021. +if test yes = "[$]$2"; then
  89022. m4_if([$4], , :, [$4])
  89023. else
  89024. m4_if([$5], , :, [$5])
  89025. @@ -1498,7 +1674,7 @@
  89026. AC_MSG_CHECKING([the maximum length of command line arguments])
  89027. AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  89028. i=0
  89029. - teststring="ABCD"
  89030. + teststring=ABCD
  89031.  
  89032. case $build_os in
  89033. msdosdjgpp*)
  89034. @@ -1527,13 +1703,18 @@
  89035. lt_cv_sys_max_cmd_len=8192;
  89036. ;;
  89037.  
  89038. + mint*)
  89039. + # On MiNT this can take a long time and run out of memory.
  89040. + lt_cv_sys_max_cmd_len=8192;
  89041. + ;;
  89042. +
  89043. amigaos*)
  89044. # On AmigaOS with pdksh, this test takes hours, literally.
  89045. # So we just punt and use a minimum line length of 8192.
  89046. lt_cv_sys_max_cmd_len=8192;
  89047. ;;
  89048.  
  89049. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  89050. + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  89051. # This has been around since 386BSD, at least. Likely further.
  89052. if test -x /sbin/sysctl; then
  89053. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  89054. @@ -1552,6 +1733,11 @@
  89055. lt_cv_sys_max_cmd_len=196608
  89056. ;;
  89057.  
  89058. + os2*)
  89059. + # The test takes a long time on OS/2.
  89060. + lt_cv_sys_max_cmd_len=8192
  89061. + ;;
  89062. +
  89063. osf*)
  89064. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  89065. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  89066. @@ -1578,22 +1764,23 @@
  89067. ;;
  89068. *)
  89069. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  89070. - if test -n "$lt_cv_sys_max_cmd_len"; then
  89071. + if test -n "$lt_cv_sys_max_cmd_len" && \
  89072. + test undefined != "$lt_cv_sys_max_cmd_len"; then
  89073. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  89074. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  89075. else
  89076. # Make teststring a little bigger before we do anything with it.
  89077. # a 1K string should be a reasonable start.
  89078. - for i in 1 2 3 4 5 6 7 8 ; do
  89079. + for i in 1 2 3 4 5 6 7 8; do
  89080. teststring=$teststring$teststring
  89081. done
  89082. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  89083. # If test is not a shell built-in, we'll probably end up computing a
  89084. # maximum length that is only half of the actual maximum length, but
  89085. # we can't tell.
  89086. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  89087. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  89088. - test $i != 17 # 1/2 MB should be enough
  89089. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  89090. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  89091. + test 17 != "$i" # 1/2 MB should be enough
  89092. do
  89093. i=`expr $i + 1`
  89094. teststring=$teststring$teststring
  89095. @@ -1609,7 +1796,7 @@
  89096. ;;
  89097. esac
  89098. ])
  89099. -if test -n $lt_cv_sys_max_cmd_len ; then
  89100. +if test -n "$lt_cv_sys_max_cmd_len"; then
  89101. AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  89102. else
  89103. AC_MSG_RESULT(none)
  89104. @@ -1637,13 +1824,13 @@
  89105. # ----------------------------------------------------------------
  89106. m4_defun([_LT_TRY_DLOPEN_SELF],
  89107. [m4_require([_LT_HEADER_DLFCN])dnl
  89108. -if test "$cross_compiling" = yes; then :
  89109. +if test yes = "$cross_compiling"; then :
  89110. [$4]
  89111. else
  89112. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  89113. lt_status=$lt_dlunknown
  89114. cat > conftest.$ac_ext <<_LT_EOF
  89115. -[#line __oline__ "configure"
  89116. +[#line $LINENO "configure"
  89117. #include "confdefs.h"
  89118.  
  89119. #if HAVE_DLFCN_H
  89120. @@ -1684,7 +1871,13 @@
  89121. # endif
  89122. #endif
  89123.  
  89124. -void fnord() { int i=42;}
  89125. +/* When -fvisibility=hidden is used, assume the code has been annotated
  89126. + correspondingly for the symbols needed. */
  89127. +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  89128. +int fnord () __attribute__((visibility("default")));
  89129. +#endif
  89130. +
  89131. +int fnord () { return 42; }
  89132. int main ()
  89133. {
  89134. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  89135. @@ -1693,7 +1886,11 @@
  89136. if (self)
  89137. {
  89138. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  89139. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  89140. + else
  89141. + {
  89142. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  89143. + else puts (dlerror ());
  89144. + }
  89145. /* dlclose (self); */
  89146. }
  89147. else
  89148. @@ -1702,7 +1899,7 @@
  89149. return status;
  89150. }]
  89151. _LT_EOF
  89152. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  89153. + if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  89154. (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  89155. lt_status=$?
  89156. case x$lt_status in
  89157. @@ -1723,7 +1920,7 @@
  89158. # ------------------
  89159. AC_DEFUN([LT_SYS_DLOPEN_SELF],
  89160. [m4_require([_LT_HEADER_DLFCN])dnl
  89161. -if test "x$enable_dlopen" != xyes; then
  89162. +if test yes != "$enable_dlopen"; then
  89163. enable_dlopen=unknown
  89164. enable_dlopen_self=unknown
  89165. enable_dlopen_self_static=unknown
  89166. @@ -1733,44 +1930,52 @@
  89167.  
  89168. case $host_os in
  89169. beos*)
  89170. - lt_cv_dlopen="load_add_on"
  89171. + lt_cv_dlopen=load_add_on
  89172. lt_cv_dlopen_libs=
  89173. lt_cv_dlopen_self=yes
  89174. ;;
  89175.  
  89176. mingw* | pw32* | cegcc*)
  89177. - lt_cv_dlopen="LoadLibrary"
  89178. + lt_cv_dlopen=LoadLibrary
  89179. lt_cv_dlopen_libs=
  89180. ;;
  89181.  
  89182. cygwin*)
  89183. - lt_cv_dlopen="dlopen"
  89184. + lt_cv_dlopen=dlopen
  89185. lt_cv_dlopen_libs=
  89186. ;;
  89187.  
  89188. darwin*)
  89189. - # if libdl is installed we need to link against it
  89190. + # if libdl is installed we need to link against it
  89191. AC_CHECK_LIB([dl], [dlopen],
  89192. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  89193. - lt_cv_dlopen="dyld"
  89194. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
  89195. + lt_cv_dlopen=dyld
  89196. lt_cv_dlopen_libs=
  89197. lt_cv_dlopen_self=yes
  89198. ])
  89199. ;;
  89200.  
  89201. + tpf*)
  89202. + # Don't try to run any link tests for TPF. We know it's impossible
  89203. + # because TPF is a cross-compiler, and we know how we open DSOs.
  89204. + lt_cv_dlopen=dlopen
  89205. + lt_cv_dlopen_libs=
  89206. + lt_cv_dlopen_self=no
  89207. + ;;
  89208. +
  89209. *)
  89210. AC_CHECK_FUNC([shl_load],
  89211. - [lt_cv_dlopen="shl_load"],
  89212. + [lt_cv_dlopen=shl_load],
  89213. [AC_CHECK_LIB([dld], [shl_load],
  89214. - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  89215. + [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
  89216. [AC_CHECK_FUNC([dlopen],
  89217. - [lt_cv_dlopen="dlopen"],
  89218. + [lt_cv_dlopen=dlopen],
  89219. [AC_CHECK_LIB([dl], [dlopen],
  89220. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  89221. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
  89222. [AC_CHECK_LIB([svld], [dlopen],
  89223. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  89224. + [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
  89225. [AC_CHECK_LIB([dld], [dld_link],
  89226. - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  89227. + [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
  89228. ])
  89229. ])
  89230. ])
  89231. @@ -1779,21 +1984,21 @@
  89232. ;;
  89233. esac
  89234.  
  89235. - if test "x$lt_cv_dlopen" != xno; then
  89236. - enable_dlopen=yes
  89237. - else
  89238. + if test no = "$lt_cv_dlopen"; then
  89239. enable_dlopen=no
  89240. + else
  89241. + enable_dlopen=yes
  89242. fi
  89243.  
  89244. case $lt_cv_dlopen in
  89245. dlopen)
  89246. - save_CPPFLAGS="$CPPFLAGS"
  89247. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  89248. + save_CPPFLAGS=$CPPFLAGS
  89249. + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  89250.  
  89251. - save_LDFLAGS="$LDFLAGS"
  89252. + save_LDFLAGS=$LDFLAGS
  89253. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  89254.  
  89255. - save_LIBS="$LIBS"
  89256. + save_LIBS=$LIBS
  89257. LIBS="$lt_cv_dlopen_libs $LIBS"
  89258.  
  89259. AC_CACHE_CHECK([whether a program can dlopen itself],
  89260. @@ -1803,7 +2008,7 @@
  89261. lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  89262. ])
  89263.  
  89264. - if test "x$lt_cv_dlopen_self" = xyes; then
  89265. + if test yes = "$lt_cv_dlopen_self"; then
  89266. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  89267. AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  89268. lt_cv_dlopen_self_static, [dnl
  89269. @@ -1813,9 +2018,9 @@
  89270. ])
  89271. fi
  89272.  
  89273. - CPPFLAGS="$save_CPPFLAGS"
  89274. - LDFLAGS="$save_LDFLAGS"
  89275. - LIBS="$save_LIBS"
  89276. + CPPFLAGS=$save_CPPFLAGS
  89277. + LDFLAGS=$save_LDFLAGS
  89278. + LIBS=$save_LIBS
  89279. ;;
  89280. esac
  89281.  
  89282. @@ -1869,16 +2074,16 @@
  89283. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  89284. -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  89285. -e 's:$: $lt_compiler_flag:'`
  89286. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  89287. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  89288. (eval "$lt_compile" 2>out/conftest.err)
  89289. ac_status=$?
  89290. cat out/conftest.err >&AS_MESSAGE_LOG_FD
  89291. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  89292. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  89293. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  89294. then
  89295. # The compiler can only warn and ignore the option if not recognized
  89296. # So say no if there are warnings
  89297. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  89298. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  89299. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  89300. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  89301. _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  89302. @@ -1907,8 +2112,8 @@
  89303. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  89304. _LT_COMPILER_C_O([$1])
  89305.  
  89306. -hard_links="nottested"
  89307. -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  89308. +hard_links=nottested
  89309. +if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
  89310. # do not overwrite the value of need_locks provided by the user
  89311. AC_MSG_CHECKING([if we can lock with hard links])
  89312. hard_links=yes
  89313. @@ -1918,8 +2123,8 @@
  89314. ln conftest.a conftest.b 2>&5 || hard_links=no
  89315. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  89316. AC_MSG_RESULT([$hard_links])
  89317. - if test "$hard_links" = no; then
  89318. - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  89319. + if test no = "$hard_links"; then
  89320. + AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
  89321. need_locks=warn
  89322. fi
  89323. else
  89324. @@ -1946,8 +2151,8 @@
  89325. _LT_DECL([], [objdir], [0],
  89326. [The name of the directory that contains temporary libtool files])dnl
  89327. m4_pattern_allow([LT_OBJDIR])dnl
  89328. -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  89329. - [Define to the sub-directory in which libtool stores uninstalled libraries.])
  89330. +AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
  89331. + [Define to the sub-directory where libtool stores uninstalled libraries.])
  89332. ])# _LT_CHECK_OBJDIR
  89333.  
  89334.  
  89335. @@ -1959,15 +2164,15 @@
  89336. _LT_TAGVAR(hardcode_action, $1)=
  89337. if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  89338. test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  89339. - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  89340. + test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
  89341.  
  89342. # We can hardcode non-existent directories.
  89343. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  89344. + if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
  89345. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  89346. # have to relink, otherwise we might link with an installed library
  89347. # when we should be linking with a yet-to-be-installed one
  89348. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  89349. - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  89350. + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
  89351. + test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
  89352. # Linking always hardcodes the temporary library directory.
  89353. _LT_TAGVAR(hardcode_action, $1)=relink
  89354. else
  89355. @@ -1981,12 +2186,12 @@
  89356. fi
  89357. AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  89358.  
  89359. -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  89360. - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  89361. +if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
  89362. + test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
  89363. # Fast installation is not supported
  89364. enable_fast_install=no
  89365. -elif test "$shlibpath_overrides_runpath" = yes ||
  89366. - test "$enable_shared" = no; then
  89367. +elif test yes = "$shlibpath_overrides_runpath" ||
  89368. + test no = "$enable_shared"; then
  89369. # Fast installation is not necessary
  89370. enable_fast_install=needless
  89371. fi
  89372. @@ -2010,7 +2215,7 @@
  89373. # FIXME - insert some real tests, host_os isn't really good enough
  89374. case $host_os in
  89375. darwin*)
  89376. - if test -n "$STRIP" ; then
  89377. + if test -n "$STRIP"; then
  89378. striplib="$STRIP -x"
  89379. old_striplib="$STRIP -S"
  89380. AC_MSG_RESULT([yes])
  89381. @@ -2028,6 +2233,47 @@
  89382. ])# _LT_CMD_STRIPLIB
  89383.  
  89384.  
  89385. +# _LT_PREPARE_MUNGE_PATH_LIST
  89386. +# ---------------------------
  89387. +# Make sure func_munge_path_list() is defined correctly.
  89388. +m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
  89389. +[[# func_munge_path_list VARIABLE PATH
  89390. +# -----------------------------------
  89391. +# VARIABLE is name of variable containing _space_ separated list of
  89392. +# directories to be munged by the contents of PATH, which is string
  89393. +# having a format:
  89394. +# "DIR[:DIR]:"
  89395. +# string "DIR[ DIR]" will be prepended to VARIABLE
  89396. +# ":DIR[:DIR]"
  89397. +# string "DIR[ DIR]" will be appended to VARIABLE
  89398. +# "DIRP[:DIRP]::[DIRA:]DIRA"
  89399. +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  89400. +# "DIRA[ DIRA]" will be appended to VARIABLE
  89401. +# "DIR[:DIR]"
  89402. +# VARIABLE will be replaced by "DIR[ DIR]"
  89403. +func_munge_path_list ()
  89404. +{
  89405. + case x@S|@2 in
  89406. + x)
  89407. + ;;
  89408. + *:)
  89409. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  89410. + ;;
  89411. + x:*)
  89412. + eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  89413. + ;;
  89414. + *::*)
  89415. + eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  89416. + eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  89417. + ;;
  89418. + *)
  89419. + eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  89420. + ;;
  89421. + esac
  89422. +}
  89423. +]])# _LT_PREPARE_PATH_LIST
  89424. +
  89425. +
  89426. # _LT_SYS_DYNAMIC_LINKER([TAG])
  89427. # -----------------------------
  89428. # PORTME Fill in your ld.so characteristics
  89429. @@ -2037,47 +2283,63 @@
  89430. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  89431. m4_require([_LT_DECL_OBJDUMP])dnl
  89432. m4_require([_LT_DECL_SED])dnl
  89433. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  89434. +m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
  89435. AC_MSG_CHECKING([dynamic linker characteristics])
  89436. m4_if([$1],
  89437. [], [
  89438. -if test "$GCC" = yes; then
  89439. +if test yes = "$GCC"; then
  89440. + case $host_os in
  89441. + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  89442. + *) lt_awk_arg='/^libraries:/' ;;
  89443. + esac
  89444. case $host_os in
  89445. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  89446. - *) lt_awk_arg="/^libraries:/" ;;
  89447. + mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
  89448. + *) lt_sed_strip_eq='s|=/|/|g' ;;
  89449. esac
  89450. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  89451. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  89452. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  89453. + case $lt_search_path_spec in
  89454. + *\;*)
  89455. # if the path contains ";" then we assume it to be the separator
  89456. # otherwise default to the standard path separator (i.e. ":") - it is
  89457. # assumed that no part of a normal pathname contains ";" but that should
  89458. # okay in the real world where ";" in dirpaths is itself problematic.
  89459. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  89460. - else
  89461. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89462. - fi
  89463. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  89464. + ;;
  89465. + *)
  89466. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  89467. + ;;
  89468. + esac
  89469. # Ok, now we have the path, separated by spaces, we can step through it
  89470. - # and add multilib dir if necessary.
  89471. + # and add multilib dir if necessary...
  89472. lt_tmp_lt_search_path_spec=
  89473. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  89474. + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  89475. + # ...but if some path component already ends with the multilib dir we assume
  89476. + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  89477. + case "$lt_multi_os_dir; $lt_search_path_spec " in
  89478. + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  89479. + lt_multi_os_dir=
  89480. + ;;
  89481. + esac
  89482. for lt_sys_path in $lt_search_path_spec; do
  89483. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  89484. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  89485. - else
  89486. + if test -d "$lt_sys_path$lt_multi_os_dir"; then
  89487. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  89488. + elif test -n "$lt_multi_os_dir"; then
  89489. test -d "$lt_sys_path" && \
  89490. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  89491. fi
  89492. done
  89493. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  89494. -BEGIN {RS=" "; FS="/|\n";} {
  89495. - lt_foo="";
  89496. - lt_count=0;
  89497. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  89498. +BEGIN {RS = " "; FS = "/|\n";} {
  89499. + lt_foo = "";
  89500. + lt_count = 0;
  89501. for (lt_i = NF; lt_i > 0; lt_i--) {
  89502. if ($lt_i != "" && $lt_i != ".") {
  89503. if ($lt_i == "..") {
  89504. lt_count++;
  89505. } else {
  89506. if (lt_count == 0) {
  89507. - lt_foo="/" $lt_i lt_foo;
  89508. + lt_foo = "/" $lt_i lt_foo;
  89509. } else {
  89510. lt_count--;
  89511. }
  89512. @@ -2087,14 +2349,20 @@
  89513. if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  89514. if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  89515. }'`
  89516. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  89517. + # AWK program above erroneously prepends '/' to C:/dos/paths
  89518. + # for these hosts.
  89519. + case $host_os in
  89520. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  89521. + $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
  89522. + esac
  89523. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  89524. else
  89525. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  89526. fi])
  89527. library_names_spec=
  89528. libname_spec='lib$name'
  89529. soname_spec=
  89530. -shrext_cmds=".so"
  89531. +shrext_cmds=.so
  89532. postinstall_cmds=
  89533. postuninstall_cmds=
  89534. finish_cmds=
  89535. @@ -2111,56 +2379,109 @@
  89536. # flags to be left without arguments
  89537. need_version=unknown
  89538.  
  89539. +AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
  89540. +[User-defined run-time library search path.])
  89541. +
  89542. case $host_os in
  89543. aix3*)
  89544. - version_type=linux
  89545. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  89546. + version_type=linux # correct to gnu/linux during the next big refactor
  89547. + library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  89548. shlibpath_var=LIBPATH
  89549.  
  89550. # AIX 3 has no versioning support, so we append a major version to the name.
  89551. - soname_spec='${libname}${release}${shared_ext}$major'
  89552. + soname_spec='$libname$release$shared_ext$major'
  89553. ;;
  89554.  
  89555. aix[[4-9]]*)
  89556. - version_type=linux
  89557. + version_type=linux # correct to gnu/linux during the next big refactor
  89558. need_lib_prefix=no
  89559. need_version=no
  89560. hardcode_into_libs=yes
  89561. - if test "$host_cpu" = ia64; then
  89562. + if test ia64 = "$host_cpu"; then
  89563. # AIX 5 supports IA64
  89564. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  89565. + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  89566. shlibpath_var=LD_LIBRARY_PATH
  89567. else
  89568. # With GCC up to 2.95.x, collect2 would create an import file
  89569. # for dependence libraries. The import file would start with
  89570. - # the line `#! .'. This would cause the generated library to
  89571. - # depend on `.', always an invalid library. This was fixed in
  89572. + # the line '#! .'. This would cause the generated library to
  89573. + # depend on '.', always an invalid library. This was fixed in
  89574. # development snapshots of GCC prior to 3.0.
  89575. case $host_os in
  89576. aix4 | aix4.[[01]] | aix4.[[01]].*)
  89577. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  89578. echo ' yes '
  89579. - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  89580. + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  89581. :
  89582. else
  89583. can_build_shared=no
  89584. fi
  89585. ;;
  89586. esac
  89587. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  89588. + # Using Import Files as archive members, it is possible to support
  89589. + # filename-based versioning of shared library archives on AIX. While
  89590. + # this would work for both with and without runtime linking, it will
  89591. + # prevent static linking of such archives. So we do filename-based
  89592. + # shared library versioning with .so extension only, which is used
  89593. + # when both runtime linking and shared linking is enabled.
  89594. + # Unfortunately, runtime linking may impact performance, so we do
  89595. + # not want this to be the default eventually. Also, we use the
  89596. + # versioned .so libs for executables only if there is the -brtl
  89597. + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  89598. + # To allow for filename-based versioning support, we need to create
  89599. + # libNAME.so.V as an archive file, containing:
  89600. + # *) an Import File, referring to the versioned filename of the
  89601. + # archive as well as the shared archive member, telling the
  89602. + # bitwidth (32 or 64) of that shared object, and providing the
  89603. + # list of exported symbols of that shared object, eventually
  89604. + # decorated with the 'weak' keyword
  89605. + # *) the shared object with the F_LOADONLY flag set, to really avoid
  89606. + # it being seen by the linker.
  89607. + # At run time we better use the real file rather than another symlink,
  89608. + # but for link time we create the symlink libNAME.so -> libNAME.so.V
  89609. +
  89610. + case $with_aix_soname,$aix_use_runtimelinking in
  89611. + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  89612. # soname into executable. Probably we can add versioning support to
  89613. # collect2, so additional links can be useful in future.
  89614. - if test "$aix_use_runtimelinking" = yes; then
  89615. + aix,yes) # traditional libtool
  89616. + dynamic_linker='AIX unversionable lib.so'
  89617. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  89618. # instead of lib<name>.a to let people know that these are not
  89619. # typical AIX shared libraries.
  89620. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89621. - else
  89622. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89623. + ;;
  89624. + aix,no) # traditional AIX only
  89625. + dynamic_linker='AIX lib.a[(]lib.so.V[)]'
  89626. # We preserve .a as extension for shared libraries through AIX4.2
  89627. # and later when we are not doing run time linking.
  89628. - library_names_spec='${libname}${release}.a $libname.a'
  89629. - soname_spec='${libname}${release}${shared_ext}$major'
  89630. - fi
  89631. + library_names_spec='$libname$release.a $libname.a'
  89632. + soname_spec='$libname$release$shared_ext$major'
  89633. + ;;
  89634. + svr4,*) # full svr4 only
  89635. + dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
  89636. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  89637. + # We do not specify a path in Import Files, so LIBPATH fires.
  89638. + shlibpath_overrides_runpath=yes
  89639. + ;;
  89640. + *,yes) # both, prefer svr4
  89641. + dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
  89642. + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  89643. + # unpreferred sharedlib libNAME.a needs extra handling
  89644. + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  89645. + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  89646. + # We do not specify a path in Import Files, so LIBPATH fires.
  89647. + shlibpath_overrides_runpath=yes
  89648. + ;;
  89649. + *,no) # both, prefer aix
  89650. + dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
  89651. + library_names_spec='$libname$release.a $libname.a'
  89652. + soname_spec='$libname$release$shared_ext$major'
  89653. + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  89654. + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  89655. + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  89656. + ;;
  89657. + esac
  89658. shlibpath_var=LIBPATH
  89659. fi
  89660. ;;
  89661. @@ -2170,27 +2491,27 @@
  89662. powerpc)
  89663. # Since July 2007 AmigaOS4 officially supports .so libraries.
  89664. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  89665. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89666. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89667. ;;
  89668. m68k)
  89669. library_names_spec='$libname.ixlibrary $libname.a'
  89670. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  89671. - 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'
  89672. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  89673. ;;
  89674. esac
  89675. ;;
  89676.  
  89677. beos*)
  89678. - library_names_spec='${libname}${shared_ext}'
  89679. + library_names_spec='$libname$shared_ext'
  89680. dynamic_linker="$host_os ld.so"
  89681. shlibpath_var=LIBRARY_PATH
  89682. ;;
  89683.  
  89684. bsdi[[45]]*)
  89685. - version_type=linux
  89686. + version_type=linux # correct to gnu/linux during the next big refactor
  89687. need_version=no
  89688. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89689. - soname_spec='${libname}${release}${shared_ext}$major'
  89690. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89691. + soname_spec='$libname$release$shared_ext$major'
  89692. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  89693. shlibpath_var=LD_LIBRARY_PATH
  89694. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  89695. @@ -2202,16 +2523,17 @@
  89696.  
  89697. cygwin* | mingw* | pw32* | cegcc*)
  89698. version_type=windows
  89699. - shrext_cmds=".dll"
  89700. + shrext_cmds=.dll
  89701. need_version=no
  89702. need_lib_prefix=no
  89703.  
  89704. - case $GCC,$host_os in
  89705. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  89706. + case $GCC,$cc_basename in
  89707. + yes,*)
  89708. + # gcc
  89709. library_names_spec='$libname.dll.a'
  89710. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  89711. - postinstall_cmds='base_file=`basename \${file}`~
  89712. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  89713. + postinstall_cmds='base_file=`basename \$file`~
  89714. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  89715. dldir=$destdir/`dirname \$dlpath`~
  89716. test -d \$dldir || mkdir -p \$dldir~
  89717. $install_prog $dir/$dlname \$dldir/$dlname~
  89718. @@ -2227,37 +2549,84 @@
  89719. case $host_os in
  89720. cygwin*)
  89721. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  89722. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  89723. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  89724. + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89725. +m4_if([$1], [],[
  89726. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
  89727. ;;
  89728. mingw* | cegcc*)
  89729. # MinGW DLLs use traditional 'lib' prefix
  89730. - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  89731. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  89732. + soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89733. + ;;
  89734. + pw32*)
  89735. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  89736. + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89737. + ;;
  89738. + esac
  89739. + dynamic_linker='Win32 ld.exe'
  89740. + ;;
  89741. +
  89742. + *,cl*)
  89743. + # Native MSVC
  89744. + libname_spec='$name'
  89745. + soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
  89746. + library_names_spec='$libname.dll.lib'
  89747. +
  89748. + case $build_os in
  89749. + mingw*)
  89750. + sys_lib_search_path_spec=
  89751. + lt_save_ifs=$IFS
  89752. + IFS=';'
  89753. + for lt_path in $LIB
  89754. + do
  89755. + IFS=$lt_save_ifs
  89756. + # Let DOS variable expansion print the short 8.3 style file name.
  89757. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  89758. + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  89759. + done
  89760. + IFS=$lt_save_ifs
  89761. + # Convert to MSYS style.
  89762. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
  89763. + ;;
  89764. + cygwin*)
  89765. + # Convert to unix form, then to dos form, then back to unix form
  89766. + # but this time dos style (no spaces!) so that the unix form looks
  89767. + # like /cygdrive/c/PROGRA~1:/cygdr...
  89768. + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  89769. + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  89770. + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89771. + ;;
  89772. + *)
  89773. + sys_lib_search_path_spec=$LIB
  89774. if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  89775. - # It is most probably a Windows format PATH printed by
  89776. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  89777. - # path with ; separators, and with drive letters. We can handle the
  89778. - # drive letters (cygwin fileutils understands them), so leave them,
  89779. - # especially as we might pass files found there to a mingw objdump,
  89780. - # which wouldn't understand a cygwinified path. Ahh.
  89781. + # It is most probably a Windows format PATH.
  89782. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  89783. else
  89784. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89785. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  89786. fi
  89787. - ;;
  89788. - pw32*)
  89789. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  89790. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  89791. + # FIXME: find the short name or the path components, as spaces are
  89792. + # common. (e.g. "Program Files" -> "PROGRA~1")
  89793. ;;
  89794. esac
  89795. +
  89796. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  89797. + postinstall_cmds='base_file=`basename \$file`~
  89798. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  89799. + dldir=$destdir/`dirname \$dlpath`~
  89800. + test -d \$dldir || mkdir -p \$dldir~
  89801. + $install_prog $dir/$dlname \$dldir/$dlname'
  89802. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  89803. + dlpath=$dir/\$dldll~
  89804. + $RM \$dlpath'
  89805. + shlibpath_overrides_runpath=yes
  89806. + dynamic_linker='Win32 link.exe'
  89807. ;;
  89808.  
  89809. *)
  89810. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  89811. + # Assume MSVC wrapper
  89812. + library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
  89813. + dynamic_linker='Win32 ld.exe'
  89814. ;;
  89815. esac
  89816. - dynamic_linker='Win32 ld.exe'
  89817. # FIXME: first we should search . and the directory the executable is in
  89818. shlibpath_var=PATH
  89819. ;;
  89820. @@ -2267,8 +2636,8 @@
  89821. version_type=darwin
  89822. need_lib_prefix=no
  89823. need_version=no
  89824. - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  89825. - soname_spec='${libname}${release}${major}$shared_ext'
  89826. + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  89827. + soname_spec='$libname$release$major$shared_ext'
  89828. shlibpath_overrides_runpath=yes
  89829. shlibpath_var=DYLD_LIBRARY_PATH
  89830. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  89831. @@ -2278,18 +2647,14 @@
  89832. ;;
  89833.  
  89834. dgux*)
  89835. - version_type=linux
  89836. + version_type=linux # correct to gnu/linux during the next big refactor
  89837. need_lib_prefix=no
  89838. need_version=no
  89839. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  89840. - soname_spec='${libname}${release}${shared_ext}$major'
  89841. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89842. + soname_spec='$libname$release$shared_ext$major'
  89843. shlibpath_var=LD_LIBRARY_PATH
  89844. ;;
  89845.  
  89846. -freebsd1*)
  89847. - dynamic_linker=no
  89848. - ;;
  89849. -
  89850. freebsd* | dragonfly*)
  89851. # DragonFly does not have aout. When/if they implement a new
  89852. # versioning mechanism, adjust this.
  89853. @@ -2297,25 +2662,26 @@
  89854. objformat=`/usr/bin/objformat`
  89855. else
  89856. case $host_os in
  89857. - freebsd[[123]]*) objformat=aout ;;
  89858. + freebsd[[23]].*) objformat=aout ;;
  89859. *) objformat=elf ;;
  89860. esac
  89861. fi
  89862. version_type=freebsd-$objformat
  89863. case $version_type in
  89864. freebsd-elf*)
  89865. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  89866. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89867. + soname_spec='$libname$release$shared_ext$major'
  89868. need_version=no
  89869. need_lib_prefix=no
  89870. ;;
  89871. freebsd-*)
  89872. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  89873. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  89874. need_version=yes
  89875. ;;
  89876. esac
  89877. shlibpath_var=LD_LIBRARY_PATH
  89878. case $host_os in
  89879. - freebsd2*)
  89880. + freebsd2.*)
  89881. shlibpath_overrides_runpath=yes
  89882. ;;
  89883. freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  89884. @@ -2334,13 +2700,16 @@
  89885. esac
  89886. ;;
  89887.  
  89888. -gnu*)
  89889. - version_type=linux
  89890. +haiku*)
  89891. + version_type=linux # correct to gnu/linux during the next big refactor
  89892. need_lib_prefix=no
  89893. need_version=no
  89894. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  89895. - soname_spec='${libname}${release}${shared_ext}$major'
  89896. - shlibpath_var=LD_LIBRARY_PATH
  89897. + dynamic_linker="$host_os runtime_loader"
  89898. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89899. + soname_spec='$libname$release$shared_ext$major'
  89900. + shlibpath_var=LIBRARY_PATH
  89901. + shlibpath_overrides_runpath=no
  89902. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  89903. hardcode_into_libs=yes
  89904. ;;
  89905.  
  89906. @@ -2357,14 +2726,15 @@
  89907. dynamic_linker="$host_os dld.so"
  89908. shlibpath_var=LD_LIBRARY_PATH
  89909. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  89910. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89911. - soname_spec='${libname}${release}${shared_ext}$major'
  89912. - if test "X$HPUX_IA64_MODE" = X32; then
  89913. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89914. + soname_spec='$libname$release$shared_ext$major'
  89915. + if test 32 = "$HPUX_IA64_MODE"; then
  89916. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  89917. + sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  89918. else
  89919. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  89920. + sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  89921. fi
  89922. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  89923. ;;
  89924. hppa*64*)
  89925. shrext_cmds='.sl'
  89926. @@ -2372,8 +2742,8 @@
  89927. dynamic_linker="$host_os dld.sl"
  89928. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  89929. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  89930. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89931. - soname_spec='${libname}${release}${shared_ext}$major'
  89932. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89933. + soname_spec='$libname$release$shared_ext$major'
  89934. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  89935. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  89936. ;;
  89937. @@ -2382,20 +2752,22 @@
  89938. dynamic_linker="$host_os dld.sl"
  89939. shlibpath_var=SHLIB_PATH
  89940. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  89941. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  89942. - soname_spec='${libname}${release}${shared_ext}$major'
  89943. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89944. + soname_spec='$libname$release$shared_ext$major'
  89945. ;;
  89946. esac
  89947. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  89948. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  89949. postinstall_cmds='chmod 555 $lib'
  89950. + # or fails outright, so override atomically:
  89951. + install_override_mode=555
  89952. ;;
  89953.  
  89954. interix[[3-9]]*)
  89955. - version_type=linux
  89956. + version_type=linux # correct to gnu/linux during the next big refactor
  89957. need_lib_prefix=no
  89958. need_version=no
  89959. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  89960. - soname_spec='${libname}${release}${shared_ext}$major'
  89961. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  89962. + soname_spec='$libname$release$shared_ext$major'
  89963. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  89964. shlibpath_var=LD_LIBRARY_PATH
  89965. shlibpath_overrides_runpath=no
  89966. @@ -2406,16 +2778,16 @@
  89967. case $host_os in
  89968. nonstopux*) version_type=nonstopux ;;
  89969. *)
  89970. - if test "$lt_cv_prog_gnu_ld" = yes; then
  89971. - version_type=linux
  89972. + if test yes = "$lt_cv_prog_gnu_ld"; then
  89973. + version_type=linux # correct to gnu/linux during the next big refactor
  89974. else
  89975. version_type=irix
  89976. fi ;;
  89977. esac
  89978. need_lib_prefix=no
  89979. need_version=no
  89980. - soname_spec='${libname}${release}${shared_ext}$major'
  89981. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  89982. + soname_spec='$libname$release$shared_ext$major'
  89983. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  89984. case $host_os in
  89985. irix5* | nonstopux*)
  89986. libsuff= shlibsuff=
  89987. @@ -2434,8 +2806,8 @@
  89988. esac
  89989. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  89990. shlibpath_overrides_runpath=no
  89991. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  89992. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  89993. + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  89994. + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  89995. hardcode_into_libs=yes
  89996. ;;
  89997.  
  89998. @@ -2444,36 +2816,69 @@
  89999. dynamic_linker=no
  90000. ;;
  90001.  
  90002. -# This must be Linux ELF.
  90003. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  90004. - version_type=linux
  90005. +linux*android*)
  90006. + version_type=none # Android doesn't support versioned libraries.
  90007. + need_lib_prefix=no
  90008. + need_version=no
  90009. + library_names_spec='$libname$release$shared_ext'
  90010. + soname_spec='$libname$release$shared_ext'
  90011. + finish_cmds=
  90012. + shlibpath_var=LD_LIBRARY_PATH
  90013. + shlibpath_overrides_runpath=yes
  90014. +
  90015. + # This implies no fast_install, which is unacceptable.
  90016. + # Some rework will be needed to allow for fast_install
  90017. + # before this can be enabled.
  90018. + hardcode_into_libs=yes
  90019. +
  90020. + dynamic_linker='Android linker'
  90021. + # Don't embed -rpath directories since the linker doesn't support them.
  90022. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  90023. + ;;
  90024. +
  90025. +# This must be glibc/ELF.
  90026. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  90027. + version_type=linux # correct to gnu/linux during the next big refactor
  90028. need_lib_prefix=no
  90029. need_version=no
  90030. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90031. - soname_spec='${libname}${release}${shared_ext}$major'
  90032. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90033. + soname_spec='$libname$release$shared_ext$major'
  90034. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  90035. shlibpath_var=LD_LIBRARY_PATH
  90036. shlibpath_overrides_runpath=no
  90037. +
  90038. # Some binutils ld are patched to set DT_RUNPATH
  90039. - save_LDFLAGS=$LDFLAGS
  90040. - save_libdir=$libdir
  90041. - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  90042. - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  90043. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  90044. - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  90045. - [shlibpath_overrides_runpath=yes])])
  90046. - LDFLAGS=$save_LDFLAGS
  90047. - libdir=$save_libdir
  90048. + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
  90049. + [lt_cv_shlibpath_overrides_runpath=no
  90050. + save_LDFLAGS=$LDFLAGS
  90051. + save_libdir=$libdir
  90052. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  90053. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  90054. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  90055. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  90056. + [lt_cv_shlibpath_overrides_runpath=yes])])
  90057. + LDFLAGS=$save_LDFLAGS
  90058. + libdir=$save_libdir
  90059. + ])
  90060. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  90061.  
  90062. # This implies no fast_install, which is unacceptable.
  90063. # Some rework will be needed to allow for fast_install
  90064. # before this can be enabled.
  90065. hardcode_into_libs=yes
  90066.  
  90067. - # Append ld.so.conf contents to the search path
  90068. + # Add ABI-specific directories to the system library path.
  90069. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  90070. +
  90071. + # Ideally, we could use ldconfig to report *all* directores which are
  90072. + # searched for libraries, however this is still not possible. Aside from not
  90073. + # being certain /sbin/ldconfig is available, command
  90074. + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  90075. + # even though it is searched at run-time. Try to do the best guess by
  90076. + # appending ld.so.conf contents (and includes) to the search path.
  90077. if test -f /etc/ld.so.conf; then
  90078. - 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' ' '`
  90079. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  90080. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  90081. + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  90082. fi
  90083.  
  90084. # We used to test for /lib/ld.so.1 and disable shared libraries on
  90085. @@ -2485,29 +2890,17 @@
  90086. dynamic_linker='GNU/Linux ld.so'
  90087. ;;
  90088.  
  90089. -netbsdelf*-gnu)
  90090. - version_type=linux
  90091. - need_lib_prefix=no
  90092. - need_version=no
  90093. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  90094. - soname_spec='${libname}${release}${shared_ext}$major'
  90095. - shlibpath_var=LD_LIBRARY_PATH
  90096. - shlibpath_overrides_runpath=no
  90097. - hardcode_into_libs=yes
  90098. - dynamic_linker='NetBSD ld.elf_so'
  90099. - ;;
  90100. -
  90101. netbsd*)
  90102. version_type=sunos
  90103. need_lib_prefix=no
  90104. need_version=no
  90105. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  90106. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  90107. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  90108. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  90109. dynamic_linker='NetBSD (a.out) ld.so'
  90110. else
  90111. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  90112. - soname_spec='${libname}${release}${shared_ext}$major'
  90113. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90114. + soname_spec='$libname$release$shared_ext$major'
  90115. dynamic_linker='NetBSD ld.elf_so'
  90116. fi
  90117. shlibpath_var=LD_LIBRARY_PATH
  90118. @@ -2516,8 +2909,8 @@
  90119. ;;
  90120.  
  90121. newsos6)
  90122. - version_type=linux
  90123. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90124. + version_type=linux # correct to gnu/linux during the next big refactor
  90125. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90126. shlibpath_var=LD_LIBRARY_PATH
  90127. shlibpath_overrides_runpath=yes
  90128. ;;
  90129. @@ -2526,58 +2919,68 @@
  90130. version_type=qnx
  90131. need_lib_prefix=no
  90132. need_version=no
  90133. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90134. - soname_spec='${libname}${release}${shared_ext}$major'
  90135. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90136. + soname_spec='$libname$release$shared_ext$major'
  90137. shlibpath_var=LD_LIBRARY_PATH
  90138. shlibpath_overrides_runpath=no
  90139. hardcode_into_libs=yes
  90140. dynamic_linker='ldqnx.so'
  90141. ;;
  90142.  
  90143. -openbsd*)
  90144. +openbsd* | bitrig*)
  90145. version_type=sunos
  90146. - sys_lib_dlsearch_path_spec="/usr/lib"
  90147. + sys_lib_dlsearch_path_spec=/usr/lib
  90148. need_lib_prefix=no
  90149. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  90150. - case $host_os in
  90151. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  90152. - *) need_version=no ;;
  90153. - esac
  90154. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  90155. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  90156. - shlibpath_var=LD_LIBRARY_PATH
  90157. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  90158. - case $host_os in
  90159. - openbsd2.[[89]] | openbsd2.[[89]].*)
  90160. - shlibpath_overrides_runpath=no
  90161. - ;;
  90162. - *)
  90163. - shlibpath_overrides_runpath=yes
  90164. - ;;
  90165. - esac
  90166. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  90167. + need_version=no
  90168. else
  90169. - shlibpath_overrides_runpath=yes
  90170. + need_version=yes
  90171. fi
  90172. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  90173. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  90174. + shlibpath_var=LD_LIBRARY_PATH
  90175. + shlibpath_overrides_runpath=yes
  90176. ;;
  90177.  
  90178. os2*)
  90179. libname_spec='$name'
  90180. - shrext_cmds=".dll"
  90181. + version_type=windows
  90182. + shrext_cmds=.dll
  90183. + need_version=no
  90184. need_lib_prefix=no
  90185. - library_names_spec='$libname${shared_ext} $libname.a'
  90186. + # OS/2 can only load a DLL with a base name of 8 characters or less.
  90187. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  90188. + v=$($ECHO $release$versuffix | tr -d .-);
  90189. + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  90190. + $ECHO $n$v`$shared_ext'
  90191. + library_names_spec='${libname}_dll.$libext'
  90192. dynamic_linker='OS/2 ld.exe'
  90193. - shlibpath_var=LIBPATH
  90194. + shlibpath_var=BEGINLIBPATH
  90195. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  90196. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  90197. + postinstall_cmds='base_file=`basename \$file`~
  90198. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  90199. + dldir=$destdir/`dirname \$dlpath`~
  90200. + test -d \$dldir || mkdir -p \$dldir~
  90201. + $install_prog $dir/$dlname \$dldir/$dlname~
  90202. + chmod a+x \$dldir/$dlname~
  90203. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  90204. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  90205. + fi'
  90206. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  90207. + dlpath=$dir/\$dldll~
  90208. + $RM \$dlpath'
  90209. ;;
  90210.  
  90211. osf3* | osf4* | osf5*)
  90212. version_type=osf
  90213. need_lib_prefix=no
  90214. need_version=no
  90215. - soname_spec='${libname}${release}${shared_ext}$major'
  90216. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90217. + soname_spec='$libname$release$shared_ext$major'
  90218. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90219. shlibpath_var=LD_LIBRARY_PATH
  90220. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  90221. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  90222. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  90223. ;;
  90224.  
  90225. rdos*)
  90226. @@ -2585,11 +2988,11 @@
  90227. ;;
  90228.  
  90229. solaris*)
  90230. - version_type=linux
  90231. + version_type=linux # correct to gnu/linux during the next big refactor
  90232. need_lib_prefix=no
  90233. need_version=no
  90234. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90235. - soname_spec='${libname}${release}${shared_ext}$major'
  90236. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90237. + soname_spec='$libname$release$shared_ext$major'
  90238. shlibpath_var=LD_LIBRARY_PATH
  90239. shlibpath_overrides_runpath=yes
  90240. hardcode_into_libs=yes
  90241. @@ -2599,20 +3002,20 @@
  90242.  
  90243. sunos4*)
  90244. version_type=sunos
  90245. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  90246. + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  90247. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  90248. shlibpath_var=LD_LIBRARY_PATH
  90249. shlibpath_overrides_runpath=yes
  90250. - if test "$with_gnu_ld" = yes; then
  90251. + if test yes = "$with_gnu_ld"; then
  90252. need_lib_prefix=no
  90253. fi
  90254. need_version=yes
  90255. ;;
  90256.  
  90257. sysv4 | sysv4.3*)
  90258. - version_type=linux
  90259. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90260. - soname_spec='${libname}${release}${shared_ext}$major'
  90261. + version_type=linux # correct to gnu/linux during the next big refactor
  90262. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90263. + soname_spec='$libname$release$shared_ext$major'
  90264. shlibpath_var=LD_LIBRARY_PATH
  90265. case $host_vendor in
  90266. sni)
  90267. @@ -2633,24 +3036,24 @@
  90268. ;;
  90269.  
  90270. sysv4*MP*)
  90271. - if test -d /usr/nec ;then
  90272. - version_type=linux
  90273. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  90274. - soname_spec='$libname${shared_ext}.$major'
  90275. + if test -d /usr/nec; then
  90276. + version_type=linux # correct to gnu/linux during the next big refactor
  90277. + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  90278. + soname_spec='$libname$shared_ext.$major'
  90279. shlibpath_var=LD_LIBRARY_PATH
  90280. fi
  90281. ;;
  90282.  
  90283. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  90284. - version_type=freebsd-elf
  90285. + version_type=sco
  90286. need_lib_prefix=no
  90287. need_version=no
  90288. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  90289. - soname_spec='${libname}${release}${shared_ext}$major'
  90290. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  90291. + soname_spec='$libname$release$shared_ext$major'
  90292. shlibpath_var=LD_LIBRARY_PATH
  90293. shlibpath_overrides_runpath=yes
  90294. hardcode_into_libs=yes
  90295. - if test "$with_gnu_ld" = yes; then
  90296. + if test yes = "$with_gnu_ld"; then
  90297. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  90298. else
  90299. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  90300. @@ -2665,19 +3068,19 @@
  90301.  
  90302. tpf*)
  90303. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  90304. - version_type=linux
  90305. + version_type=linux # correct to gnu/linux during the next big refactor
  90306. need_lib_prefix=no
  90307. need_version=no
  90308. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90309. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90310. shlibpath_var=LD_LIBRARY_PATH
  90311. shlibpath_overrides_runpath=no
  90312. hardcode_into_libs=yes
  90313. ;;
  90314.  
  90315. uts4*)
  90316. - version_type=linux
  90317. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  90318. - soname_spec='${libname}${release}${shared_ext}$major'
  90319. + version_type=linux # correct to gnu/linux during the next big refactor
  90320. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  90321. + soname_spec='$libname$release$shared_ext$major'
  90322. shlibpath_var=LD_LIBRARY_PATH
  90323. ;;
  90324.  
  90325. @@ -2686,20 +3089,30 @@
  90326. ;;
  90327. esac
  90328. AC_MSG_RESULT([$dynamic_linker])
  90329. -test "$dynamic_linker" = no && can_build_shared=no
  90330. +test no = "$dynamic_linker" && can_build_shared=no
  90331.  
  90332. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  90333. -if test "$GCC" = yes; then
  90334. +if test yes = "$GCC"; then
  90335. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  90336. fi
  90337.  
  90338. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  90339. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  90340. +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  90341. + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  90342. fi
  90343. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  90344. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  90345. +
  90346. +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  90347. + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  90348. fi
  90349.  
  90350. +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  90351. +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  90352. +
  90353. +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  90354. +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  90355. +
  90356. +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  90357. +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  90358. +
  90359. _LT_DECL([], [variables_saved_for_relink], [1],
  90360. [Variables whose values should be saved in libtool wrapper scripts and
  90361. restored at link time])
  90362. @@ -2717,6 +3130,8 @@
  90363. The last name is the one that the linker finds with -lNAME]])
  90364. _LT_DECL([], [soname_spec], [1],
  90365. [[The coded name of the library, if different from the real name]])
  90366. +_LT_DECL([], [install_override_mode], [1],
  90367. + [Permission mode override for installation of shared libraries])
  90368. _LT_DECL([], [postinstall_cmds], [2],
  90369. [Command to use after installation of a shared archive])
  90370. _LT_DECL([], [postuninstall_cmds], [2],
  90371. @@ -2730,39 +3145,41 @@
  90372. [Whether we should hardcode library paths into libraries])
  90373. _LT_DECL([], [sys_lib_search_path_spec], [2],
  90374. [Compile-time system search path for libraries])
  90375. -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  90376. - [Run-time system search path for libraries])
  90377. +_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
  90378. + [Detected run-time system search path for libraries])
  90379. +_LT_DECL([], [configure_time_lt_sys_library_path], [2],
  90380. + [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
  90381. ])# _LT_SYS_DYNAMIC_LINKER
  90382.  
  90383.  
  90384. # _LT_PATH_TOOL_PREFIX(TOOL)
  90385. # --------------------------
  90386. -# find a file program which can recognize shared library
  90387. +# find a file program that can recognize shared library
  90388. AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  90389. [m4_require([_LT_DECL_EGREP])dnl
  90390. AC_MSG_CHECKING([for $1])
  90391. AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  90392. [case $MAGIC_CMD in
  90393. [[\\/*] | ?:[\\/]*])
  90394. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  90395. + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  90396. ;;
  90397. *)
  90398. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  90399. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  90400. + lt_save_MAGIC_CMD=$MAGIC_CMD
  90401. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  90402. dnl $ac_dummy forces splitting on constant user-supplied paths.
  90403. dnl POSIX.2 word splitting is done only on the output of word expansions,
  90404. dnl not every word. This closes a longstanding sh security hole.
  90405. ac_dummy="m4_if([$2], , $PATH, [$2])"
  90406. for ac_dir in $ac_dummy; do
  90407. - IFS="$lt_save_ifs"
  90408. + IFS=$lt_save_ifs
  90409. test -z "$ac_dir" && ac_dir=.
  90410. - if test -f $ac_dir/$1; then
  90411. - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  90412. + if test -f "$ac_dir/$1"; then
  90413. + lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
  90414. if test -n "$file_magic_test_file"; then
  90415. case $deplibs_check_method in
  90416. "file_magic "*)
  90417. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  90418. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  90419. + MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  90420. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  90421. $EGREP "$file_magic_regex" > /dev/null; then
  90422. :
  90423. @@ -2785,11 +3202,11 @@
  90424. break
  90425. fi
  90426. done
  90427. - IFS="$lt_save_ifs"
  90428. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  90429. + IFS=$lt_save_ifs
  90430. + MAGIC_CMD=$lt_save_MAGIC_CMD
  90431. ;;
  90432. esac])
  90433. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  90434. +MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  90435. if test -n "$MAGIC_CMD"; then
  90436. AC_MSG_RESULT($MAGIC_CMD)
  90437. else
  90438. @@ -2807,7 +3224,7 @@
  90439.  
  90440. # _LT_PATH_MAGIC
  90441. # --------------
  90442. -# find a file program which can recognize a shared library
  90443. +# find a file program that can recognize a shared library
  90444. m4_defun([_LT_PATH_MAGIC],
  90445. [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  90446. if test -z "$lt_cv_path_MAGIC_CMD"; then
  90447. @@ -2829,20 +3246,21 @@
  90448. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  90449. m4_require([_LT_DECL_SED])dnl
  90450. m4_require([_LT_DECL_EGREP])dnl
  90451. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  90452.  
  90453. AC_ARG_WITH([gnu-ld],
  90454. [AS_HELP_STRING([--with-gnu-ld],
  90455. [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  90456. - [test "$withval" = no || with_gnu_ld=yes],
  90457. + [test no = "$withval" || with_gnu_ld=yes],
  90458. [with_gnu_ld=no])dnl
  90459.  
  90460. ac_prog=ld
  90461. -if test "$GCC" = yes; then
  90462. +if test yes = "$GCC"; then
  90463. # Check if gcc -print-prog-name=ld gives a path.
  90464. AC_MSG_CHECKING([for ld used by $CC])
  90465. case $host in
  90466. *-*-mingw*)
  90467. - # gcc leaves a trailing carriage return which upsets mingw
  90468. + # gcc leaves a trailing carriage return, which upsets mingw
  90469. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  90470. *)
  90471. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  90472. @@ -2856,7 +3274,7 @@
  90473. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  90474. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  90475. done
  90476. - test -z "$LD" && LD="$ac_prog"
  90477. + test -z "$LD" && LD=$ac_prog
  90478. ;;
  90479. "")
  90480. # If it fails, then pretend we aren't using GCC.
  90481. @@ -2867,37 +3285,37 @@
  90482. with_gnu_ld=unknown
  90483. ;;
  90484. esac
  90485. -elif test "$with_gnu_ld" = yes; then
  90486. +elif test yes = "$with_gnu_ld"; then
  90487. AC_MSG_CHECKING([for GNU ld])
  90488. else
  90489. AC_MSG_CHECKING([for non-GNU ld])
  90490. fi
  90491. AC_CACHE_VAL(lt_cv_path_LD,
  90492. [if test -z "$LD"; then
  90493. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  90494. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  90495. for ac_dir in $PATH; do
  90496. - IFS="$lt_save_ifs"
  90497. + IFS=$lt_save_ifs
  90498. test -z "$ac_dir" && ac_dir=.
  90499. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  90500. - lt_cv_path_LD="$ac_dir/$ac_prog"
  90501. + lt_cv_path_LD=$ac_dir/$ac_prog
  90502. # Check to see if the program is GNU ld. I'd rather use --version,
  90503. # but apparently some variants of GNU ld only accept -v.
  90504. # Break only if it was the GNU/non-GNU ld that we prefer.
  90505. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  90506. *GNU* | *'with BFD'*)
  90507. - test "$with_gnu_ld" != no && break
  90508. + test no != "$with_gnu_ld" && break
  90509. ;;
  90510. *)
  90511. - test "$with_gnu_ld" != yes && break
  90512. + test yes != "$with_gnu_ld" && break
  90513. ;;
  90514. esac
  90515. fi
  90516. done
  90517. - IFS="$lt_save_ifs"
  90518. + IFS=$lt_save_ifs
  90519. else
  90520. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  90521. + lt_cv_path_LD=$LD # Let the user override the test with a path.
  90522. fi])
  90523. -LD="$lt_cv_path_LD"
  90524. +LD=$lt_cv_path_LD
  90525. if test -n "$LD"; then
  90526. AC_MSG_RESULT($LD)
  90527. else
  90528. @@ -2950,19 +3368,61 @@
  90529. esac
  90530. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  90531. case $host_os in
  90532. + cygwin* | mingw* | pw32* | cegcc*)
  90533. + if test yes != "$GCC"; then
  90534. + reload_cmds=false
  90535. + fi
  90536. + ;;
  90537. darwin*)
  90538. - if test "$GCC" = yes; then
  90539. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  90540. + if test yes = "$GCC"; then
  90541. + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  90542. else
  90543. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  90544. fi
  90545. ;;
  90546. esac
  90547. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  90548. -_LT_DECL([], [reload_cmds], [2])dnl
  90549. +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  90550. +_LT_TAGDECL([], [reload_cmds], [2])dnl
  90551. ])# _LT_CMD_RELOAD
  90552.  
  90553.  
  90554. +# _LT_PATH_DD
  90555. +# -----------
  90556. +# find a working dd
  90557. +m4_defun([_LT_PATH_DD],
  90558. +[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
  90559. +[printf 0123456789abcdef0123456789abcdef >conftest.i
  90560. +cat conftest.i conftest.i >conftest2.i
  90561. +: ${lt_DD:=$DD}
  90562. +AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
  90563. +[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  90564. + cmp -s conftest.i conftest.out \
  90565. + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  90566. +fi])
  90567. +rm -f conftest.i conftest2.i conftest.out])
  90568. +])# _LT_PATH_DD
  90569. +
  90570. +
  90571. +# _LT_CMD_TRUNCATE
  90572. +# ----------------
  90573. +# find command to truncate a binary pipe
  90574. +m4_defun([_LT_CMD_TRUNCATE],
  90575. +[m4_require([_LT_PATH_DD])
  90576. +AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
  90577. +[printf 0123456789abcdef0123456789abcdef >conftest.i
  90578. +cat conftest.i conftest.i >conftest2.i
  90579. +lt_cv_truncate_bin=
  90580. +if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  90581. + cmp -s conftest.i conftest.out \
  90582. + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  90583. +fi
  90584. +rm -f conftest.i conftest2.i conftest.out
  90585. +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
  90586. +_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
  90587. + [Command to truncate a binary pipe])
  90588. +])# _LT_CMD_TRUNCATE
  90589. +
  90590. +
  90591. # _LT_CHECK_MAGIC_METHOD
  90592. # ----------------------
  90593. # how to check for library dependencies
  90594. @@ -2978,13 +3438,13 @@
  90595. # Need to set the preceding variable on all platforms that support
  90596. # interlibrary dependencies.
  90597. # 'none' -- dependencies not supported.
  90598. -# `unknown' -- same as none, but documents that we really don't know.
  90599. +# 'unknown' -- same as none, but documents that we really don't know.
  90600. # 'pass_all' -- all dependencies passed with no checks.
  90601. # 'test_compile' -- check by making test program.
  90602. # 'file_magic [[regex]]' -- check by looking for files in library path
  90603. -# which responds to the $file_magic_cmd with a given extended regex.
  90604. -# If you have `file' or equivalent on your system and you're not sure
  90605. -# whether `pass_all' will *always* work, you probably want this one.
  90606. +# that responds to the $file_magic_cmd with a given extended regex.
  90607. +# If you have 'file' or equivalent on your system and you're not sure
  90608. +# whether 'pass_all' will *always* work, you probably want this one.
  90609.  
  90610. case $host_os in
  90611. aix[[4-9]]*)
  90612. @@ -3015,12 +3475,13 @@
  90613. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  90614. lt_cv_file_magic_cmd='func_win32_libid'
  90615. else
  90616. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  90617. + # Keep this pattern in sync with the one in func_win32_libid.
  90618. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  90619. lt_cv_file_magic_cmd='$OBJDUMP -f'
  90620. fi
  90621. ;;
  90622.  
  90623. -cegcc)
  90624. +cegcc*)
  90625. # use the weaker test based on 'objdump'. See mingw*.
  90626. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  90627. lt_cv_file_magic_cmd='$OBJDUMP -f'
  90628. @@ -3046,7 +3507,7 @@
  90629. fi
  90630. ;;
  90631.  
  90632. -gnu*)
  90633. +haiku*)
  90634. lt_cv_deplibs_check_method=pass_all
  90635. ;;
  90636.  
  90637. @@ -3058,11 +3519,11 @@
  90638. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  90639. ;;
  90640. hppa*64*)
  90641. - [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]']
  90642. + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
  90643. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  90644. ;;
  90645. *)
  90646. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  90647. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
  90648. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  90649. ;;
  90650. esac
  90651. @@ -3083,12 +3544,12 @@
  90652. lt_cv_deplibs_check_method=pass_all
  90653. ;;
  90654.  
  90655. -# This must be Linux ELF.
  90656. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  90657. +# This must be glibc/ELF.
  90658. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  90659. lt_cv_deplibs_check_method=pass_all
  90660. ;;
  90661.  
  90662. -netbsd* | netbsdelf*-gnu)
  90663. +netbsd*)
  90664. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  90665. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  90666. else
  90667. @@ -3106,8 +3567,8 @@
  90668. lt_cv_deplibs_check_method=pass_all
  90669. ;;
  90670.  
  90671. -openbsd*)
  90672. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  90673. +openbsd* | bitrig*)
  90674. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  90675. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  90676. else
  90677. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  90678. @@ -3160,8 +3621,26 @@
  90679. tpf*)
  90680. lt_cv_deplibs_check_method=pass_all
  90681. ;;
  90682. +os2*)
  90683. + lt_cv_deplibs_check_method=pass_all
  90684. + ;;
  90685. esac
  90686. ])
  90687. +
  90688. +file_magic_glob=
  90689. +want_nocaseglob=no
  90690. +if test "$build" = "$host"; then
  90691. + case $host_os in
  90692. + mingw* | pw32*)
  90693. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  90694. + want_nocaseglob=yes
  90695. + else
  90696. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
  90697. + fi
  90698. + ;;
  90699. + esac
  90700. +fi
  90701. +
  90702. file_magic_cmd=$lt_cv_file_magic_cmd
  90703. deplibs_check_method=$lt_cv_deplibs_check_method
  90704. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  90705. @@ -3169,7 +3648,11 @@
  90706. _LT_DECL([], [deplibs_check_method], [1],
  90707. [Method to check whether dependent libraries are shared objects])
  90708. _LT_DECL([], [file_magic_cmd], [1],
  90709. - [Command to use when deplibs_check_method == "file_magic"])
  90710. + [Command to use when deplibs_check_method = "file_magic"])
  90711. +_LT_DECL([], [file_magic_glob], [1],
  90712. + [How to find potential files when deplibs_check_method = "file_magic"])
  90713. +_LT_DECL([], [want_nocaseglob], [1],
  90714. + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
  90715. ])# _LT_CHECK_MAGIC_METHOD
  90716.  
  90717.  
  90718. @@ -3181,33 +3664,38 @@
  90719. AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  90720. [if test -n "$NM"; then
  90721. # Let the user override the test.
  90722. - lt_cv_path_NM="$NM"
  90723. + lt_cv_path_NM=$NM
  90724. else
  90725. - lt_nm_to_check="${ac_tool_prefix}nm"
  90726. + lt_nm_to_check=${ac_tool_prefix}nm
  90727. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  90728. lt_nm_to_check="$lt_nm_to_check nm"
  90729. fi
  90730. for lt_tmp_nm in $lt_nm_to_check; do
  90731. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  90732. + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  90733. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  90734. - IFS="$lt_save_ifs"
  90735. + IFS=$lt_save_ifs
  90736. test -z "$ac_dir" && ac_dir=.
  90737. - tmp_nm="$ac_dir/$lt_tmp_nm"
  90738. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  90739. + tmp_nm=$ac_dir/$lt_tmp_nm
  90740. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  90741. # Check to see if the nm accepts a BSD-compat flag.
  90742. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  90743. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  90744. # nm: unknown option "B" ignored
  90745. # Tru64's nm complains that /dev/null is an invalid object file
  90746. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  90747. - */dev/null* | *'Invalid file or object type'*)
  90748. + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  90749. + case $build_os in
  90750. + mingw*) lt_bad_file=conftest.nm/nofile ;;
  90751. + *) lt_bad_file=/dev/null ;;
  90752. + esac
  90753. + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  90754. + *$lt_bad_file* | *'Invalid file or object type'*)
  90755. lt_cv_path_NM="$tmp_nm -B"
  90756. - break
  90757. + break 2
  90758. ;;
  90759. *)
  90760. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  90761. */dev/null*)
  90762. lt_cv_path_NM="$tmp_nm -p"
  90763. - break
  90764. + break 2
  90765. ;;
  90766. *)
  90767. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  90768. @@ -3218,18 +3706,30 @@
  90769. esac
  90770. fi
  90771. done
  90772. - IFS="$lt_save_ifs"
  90773. + IFS=$lt_save_ifs
  90774. done
  90775. : ${lt_cv_path_NM=no}
  90776. fi])
  90777. -if test "$lt_cv_path_NM" != "no"; then
  90778. - NM="$lt_cv_path_NM"
  90779. +if test no != "$lt_cv_path_NM"; then
  90780. + NM=$lt_cv_path_NM
  90781. else
  90782. # Didn't find any BSD compatible name lister, look for dumpbin.
  90783. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  90784. + if test -n "$DUMPBIN"; then :
  90785. + # Let the user override the test.
  90786. + else
  90787. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  90788. + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  90789. + *COFF*)
  90790. + DUMPBIN="$DUMPBIN -symbols -headers"
  90791. + ;;
  90792. + *)
  90793. + DUMPBIN=:
  90794. + ;;
  90795. + esac
  90796. + fi
  90797. AC_SUBST([DUMPBIN])
  90798. - if test "$DUMPBIN" != ":"; then
  90799. - NM="$DUMPBIN"
  90800. + if test : != "$DUMPBIN"; then
  90801. + NM=$DUMPBIN
  90802. fi
  90803. fi
  90804. test -z "$NM" && NM=nm
  90805. @@ -3239,13 +3739,13 @@
  90806. AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  90807. [lt_cv_nm_interface="BSD nm"
  90808. echo "int some_variable = 0;" > conftest.$ac_ext
  90809. - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  90810. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  90811. (eval "$ac_compile" 2>conftest.err)
  90812. cat conftest.err >&AS_MESSAGE_LOG_FD
  90813. - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  90814. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  90815. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  90816. cat conftest.err >&AS_MESSAGE_LOG_FD
  90817. - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  90818. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  90819. cat conftest.out >&AS_MESSAGE_LOG_FD
  90820. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  90821. lt_cv_nm_interface="MS dumpbin"
  90822. @@ -3260,6 +3760,82 @@
  90823. dnl AC_DEFUN([AM_PROG_NM], [])
  90824. dnl AC_DEFUN([AC_PROG_NM], [])
  90825.  
  90826. +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  90827. +# --------------------------------
  90828. +# how to determine the name of the shared library
  90829. +# associated with a specific link library.
  90830. +# -- PORTME fill in with the dynamic library characteristics
  90831. +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
  90832. +[m4_require([_LT_DECL_EGREP])
  90833. +m4_require([_LT_DECL_OBJDUMP])
  90834. +m4_require([_LT_DECL_DLLTOOL])
  90835. +AC_CACHE_CHECK([how to associate runtime and link libraries],
  90836. +lt_cv_sharedlib_from_linklib_cmd,
  90837. +[lt_cv_sharedlib_from_linklib_cmd='unknown'
  90838. +
  90839. +case $host_os in
  90840. +cygwin* | mingw* | pw32* | cegcc*)
  90841. + # two different shell functions defined in ltmain.sh;
  90842. + # decide which one to use based on capabilities of $DLLTOOL
  90843. + case `$DLLTOOL --help 2>&1` in
  90844. + *--identify-strict*)
  90845. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  90846. + ;;
  90847. + *)
  90848. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  90849. + ;;
  90850. + esac
  90851. + ;;
  90852. +*)
  90853. + # fallback: assume linklib IS sharedlib
  90854. + lt_cv_sharedlib_from_linklib_cmd=$ECHO
  90855. + ;;
  90856. +esac
  90857. +])
  90858. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  90859. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  90860. +
  90861. +_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
  90862. + [Command to associate shared and link libraries])
  90863. +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  90864. +
  90865. +
  90866. +# _LT_PATH_MANIFEST_TOOL
  90867. +# ----------------------
  90868. +# locate the manifest tool
  90869. +m4_defun([_LT_PATH_MANIFEST_TOOL],
  90870. +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
  90871. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  90872. +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
  90873. + [lt_cv_path_mainfest_tool=no
  90874. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
  90875. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  90876. + cat conftest.err >&AS_MESSAGE_LOG_FD
  90877. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  90878. + lt_cv_path_mainfest_tool=yes
  90879. + fi
  90880. + rm -f conftest*])
  90881. +if test yes != "$lt_cv_path_mainfest_tool"; then
  90882. + MANIFEST_TOOL=:
  90883. +fi
  90884. +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
  90885. +])# _LT_PATH_MANIFEST_TOOL
  90886. +
  90887. +
  90888. +# _LT_DLL_DEF_P([FILE])
  90889. +# ---------------------
  90890. +# True iff FILE is a Windows DLL '.def' file.
  90891. +# Keep in sync with func_dll_def_p in the libtool script
  90892. +AC_DEFUN([_LT_DLL_DEF_P],
  90893. +[dnl
  90894. + test DEF = "`$SED -n dnl
  90895. + -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
  90896. + -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
  90897. + -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
  90898. + -e q dnl Only consider the first "real" line
  90899. + $1`" dnl
  90900. +])# _LT_DLL_DEF_P
  90901. +
  90902.  
  90903. # LT_LIB_M
  90904. # --------
  90905. @@ -3268,15 +3844,15 @@
  90906. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  90907. LIBM=
  90908. case $host in
  90909. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  90910. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  90911. # These system don't have libm, or don't need it
  90912. ;;
  90913. *-ncr-sysv4.3*)
  90914. - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  90915. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
  90916. AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  90917. ;;
  90918. *)
  90919. - AC_CHECK_LIB(m, cos, LIBM="-lm")
  90920. + AC_CHECK_LIB(m, cos, LIBM=-lm)
  90921. ;;
  90922. esac
  90923. AC_SUBST([LIBM])
  90924. @@ -3295,8 +3871,13 @@
  90925.  
  90926. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  90927.  
  90928. -if test "$GCC" = yes; then
  90929. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  90930. +if test yes = "$GCC"; then
  90931. + case $cc_basename in
  90932. + nvcc*)
  90933. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
  90934. + *)
  90935. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
  90936. + esac
  90937.  
  90938. _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  90939. lt_cv_prog_compiler_rtti_exceptions,
  90940. @@ -3313,6 +3894,7 @@
  90941. m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  90942. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  90943. AC_REQUIRE([AC_PROG_CC])dnl
  90944. +AC_REQUIRE([AC_PROG_AWK])dnl
  90945. AC_REQUIRE([LT_PATH_NM])dnl
  90946. AC_REQUIRE([LT_PATH_LD])dnl
  90947. m4_require([_LT_DECL_SED])dnl
  90948. @@ -3341,7 +3923,7 @@
  90949. symcode='[[ABCDGISTW]]'
  90950. ;;
  90951. hpux*)
  90952. - if test "$host_cpu" = ia64; then
  90953. + if test ia64 = "$host_cpu"; then
  90954. symcode='[[ABCDEGRST]]'
  90955. fi
  90956. ;;
  90957. @@ -3374,14 +3956,44 @@
  90958. symcode='[[ABCDGIRSTW]]' ;;
  90959. esac
  90960.  
  90961. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  90962. + # Gets list of data symbols to import.
  90963. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  90964. + # Adjust the below global symbol transforms to fixup imported variables.
  90965. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  90966. + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  90967. + lt_c_name_lib_hook="\
  90968. + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  90969. + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  90970. +else
  90971. + # Disable hooks by default.
  90972. + lt_cv_sys_global_symbol_to_import=
  90973. + lt_cdecl_hook=
  90974. + lt_c_name_hook=
  90975. + lt_c_name_lib_hook=
  90976. +fi
  90977. +
  90978. # Transform an extracted symbol line into a proper C declaration.
  90979. # Some systems (esp. on ia64) link data and code symbols differently,
  90980. # so use this general approach.
  90981. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  90982. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  90983. +$lt_cdecl_hook\
  90984. +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  90985. +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  90986.  
  90987. # Transform an extracted symbol line into symbol name and symbol address
  90988. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  90989. -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'"
  90990. +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  90991. +$lt_c_name_hook\
  90992. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  90993. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  90994. +
  90995. +# Transform an extracted symbol line into symbol name with lib prefix and
  90996. +# symbol address.
  90997. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  90998. +$lt_c_name_lib_hook\
  90999. +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  91000. +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  91001. +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  91002.  
  91003. # Handle CRLF in mingw tool chain
  91004. opt_cr=
  91005. @@ -3399,24 +4011,29 @@
  91006.  
  91007. # Write the raw and C identifiers.
  91008. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  91009. - # Fake it for dumpbin and say T for any non-static function
  91010. - # and D for any global variable.
  91011. + # Fake it for dumpbin and say T for any non-static function,
  91012. + # D for any global variable and I for any imported variable.
  91013. # Also find C++ and __fastcall symbols from MSVC++,
  91014. # which start with @ or ?.
  91015. lt_cv_sys_global_symbol_pipe="$AWK ['"\
  91016. " {last_section=section; section=\$ 3};"\
  91017. +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  91018. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  91019. +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  91020. +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  91021. +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  91022. " \$ 0!~/External *\|/{next};"\
  91023. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  91024. " {if(hide[section]) next};"\
  91025. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  91026. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  91027. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  91028. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  91029. +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  91030. +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  91031. +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  91032. +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  91033. " ' prfx=^$ac_symprfx]"
  91034. else
  91035. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  91036. fi
  91037. + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  91038.  
  91039. # Check to see that the pipe works correctly.
  91040. pipe_works=no
  91041. @@ -3438,7 +4055,7 @@
  91042. if AC_TRY_EVAL(ac_compile); then
  91043. # Now try to grab the symbols.
  91044. nlist=conftest.nm
  91045. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  91046. + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
  91047. # Try sorting and uniquifying the output.
  91048. if sort "$nlist" | uniq > "$nlist"T; then
  91049. mv -f "$nlist"T "$nlist"
  91050. @@ -3450,6 +4067,18 @@
  91051. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  91052. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  91053. cat <<_LT_EOF > conftest.$ac_ext
  91054. +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  91055. +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  91056. +/* DATA imports from DLLs on WIN32 can't be const, because runtime
  91057. + relocations are performed -- see ld's documentation on pseudo-relocs. */
  91058. +# define LT@&t@_DLSYM_CONST
  91059. +#elif defined __osf__
  91060. +/* This system does not cope well with relocations in const data. */
  91061. +# define LT@&t@_DLSYM_CONST
  91062. +#else
  91063. +# define LT@&t@_DLSYM_CONST const
  91064. +#endif
  91065. +
  91066. #ifdef __cplusplus
  91067. extern "C" {
  91068. #endif
  91069. @@ -3461,7 +4090,7 @@
  91070. cat <<_LT_EOF >> conftest.$ac_ext
  91071.  
  91072. /* The mapping between symbol names and symbols. */
  91073. -const struct {
  91074. +LT@&t@_DLSYM_CONST struct {
  91075. const char *name;
  91076. void *address;
  91077. }
  91078. @@ -3469,7 +4098,7 @@
  91079. {
  91080. { "@PROGRAM@", (void *) 0 },
  91081. _LT_EOF
  91082. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  91083. + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  91084. cat <<\_LT_EOF >> conftest.$ac_ext
  91085. {0, (void *) 0}
  91086. };
  91087. @@ -3487,15 +4116,15 @@
  91088. _LT_EOF
  91089. # Now try linking the two files.
  91090. mv conftest.$ac_objext conftstm.$ac_objext
  91091. - lt_save_LIBS="$LIBS"
  91092. - lt_save_CFLAGS="$CFLAGS"
  91093. - LIBS="conftstm.$ac_objext"
  91094. + lt_globsym_save_LIBS=$LIBS
  91095. + lt_globsym_save_CFLAGS=$CFLAGS
  91096. + LIBS=conftstm.$ac_objext
  91097. CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  91098. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  91099. + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
  91100. pipe_works=yes
  91101. fi
  91102. - LIBS="$lt_save_LIBS"
  91103. - CFLAGS="$lt_save_CFLAGS"
  91104. + LIBS=$lt_globsym_save_LIBS
  91105. + CFLAGS=$lt_globsym_save_CFLAGS
  91106. else
  91107. echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  91108. fi
  91109. @@ -3512,7 +4141,7 @@
  91110. rm -rf conftest* conftst*
  91111.  
  91112. # Do not use the global_symbol_pipe unless it works.
  91113. - if test "$pipe_works" = yes; then
  91114. + if test yes = "$pipe_works"; then
  91115. break
  91116. else
  91117. lt_cv_sys_global_symbol_pipe=
  91118. @@ -3528,16 +4157,29 @@
  91119. AC_MSG_RESULT(ok)
  91120. fi
  91121.  
  91122. +# Response file support.
  91123. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  91124. + nm_file_list_spec='@'
  91125. +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
  91126. + nm_file_list_spec='@'
  91127. +fi
  91128. +
  91129. _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  91130. [Take the output of nm and produce a listing of raw symbols and C names])
  91131. _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  91132. [Transform the output of nm in a proper C declaration])
  91133. +_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
  91134. + [Transform the output of nm into a list of symbols to manually relocate])
  91135. _LT_DECL([global_symbol_to_c_name_address],
  91136. [lt_cv_sys_global_symbol_to_c_name_address], [1],
  91137. [Transform the output of nm in a C name address pair])
  91138. _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  91139. [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  91140. [Transform the output of nm in a C name address pair when lib prefix is needed])
  91141. +_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
  91142. + [The name lister interface])
  91143. +_LT_DECL([], [nm_file_list_spec], [1],
  91144. + [Specify filename containing input files for $NM])
  91145. ]) # _LT_CMD_GLOBAL_SYMBOLS
  91146.  
  91147.  
  91148. @@ -3549,20 +4191,20 @@
  91149. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91150. _LT_TAGVAR(lt_prog_compiler_static, $1)=
  91151.  
  91152. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  91153. m4_if([$1], [CXX], [
  91154. # C++ specific cases for pic, static, wl, etc.
  91155. - if test "$GXX" = yes; then
  91156. + if test yes = "$GXX"; then
  91157. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91158. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91159.  
  91160. case $host_os in
  91161. aix*)
  91162. # All AIX code is PIC.
  91163. - if test "$host_cpu" = ia64; then
  91164. + if test ia64 = "$host_cpu"; then
  91165. # AIX 5 now supports IA64 processor
  91166. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91167. fi
  91168. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91169. ;;
  91170.  
  91171. amigaos*)
  91172. @@ -3573,8 +4215,8 @@
  91173. ;;
  91174. m68k)
  91175. # FIXME: we need at least 68020 code to build shared libraries, but
  91176. - # adding the `-m68020' flag to GCC prevents building anything better,
  91177. - # like `-m68040'.
  91178. + # adding the '-m68020' flag to GCC prevents building anything better,
  91179. + # like '-m68040'.
  91180. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  91181. ;;
  91182. esac
  91183. @@ -3590,6 +4232,11 @@
  91184. # (--disable-auto-import) libraries
  91185. m4_if([$1], [GCJ], [],
  91186. [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91187. + case $host_os in
  91188. + os2*)
  91189. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
  91190. + ;;
  91191. + esac
  91192. ;;
  91193. darwin* | rhapsody*)
  91194. # PIC is the default on this platform
  91195. @@ -3600,6 +4247,11 @@
  91196. # DJGPP does not support shared libraries at all
  91197. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91198. ;;
  91199. + haiku*)
  91200. + # PIC is the default for Haiku.
  91201. + # The "-static" flag exists, but is broken.
  91202. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  91203. + ;;
  91204. interix[[3-9]]*)
  91205. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  91206. # Instead, we relocate shared libraries at runtime.
  91207. @@ -3634,7 +4286,7 @@
  91208. case $host_os in
  91209. aix[[4-9]]*)
  91210. # All AIX code is PIC.
  91211. - if test "$host_cpu" = ia64; then
  91212. + if test ia64 = "$host_cpu"; then
  91213. # AIX 5 now supports IA64 processor
  91214. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91215. else
  91216. @@ -3649,6 +4301,12 @@
  91217. ;;
  91218. esac
  91219. ;;
  91220. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  91221. + # This hack is so that the source file can tell whether it is being
  91222. + # built for inclusion in a dll (and should export symbols for example).
  91223. + m4_if([$1], [GCJ], [],
  91224. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91225. + ;;
  91226. dgux*)
  91227. case $cc_basename in
  91228. ec++*)
  91229. @@ -3669,14 +4327,14 @@
  91230. case $cc_basename in
  91231. CC*)
  91232. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91233. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  91234. - if test "$host_cpu" != ia64; then
  91235. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
  91236. + if test ia64 != "$host_cpu"; then
  91237. _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  91238. fi
  91239. ;;
  91240. aCC*)
  91241. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91242. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  91243. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
  91244. case $host_cpu in
  91245. hppa*64*|ia64*)
  91246. # +Z the default
  91247. @@ -3705,7 +4363,7 @@
  91248. ;;
  91249. esac
  91250. ;;
  91251. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  91252. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  91253. case $cc_basename in
  91254. KCC*)
  91255. # KAI C++ Compiler
  91256. @@ -3713,7 +4371,7 @@
  91257. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91258. ;;
  91259. ecpc* )
  91260. - # old Intel C++ for x86_64 which still supported -KPIC.
  91261. + # old Intel C++ for x86_64, which still supported -KPIC.
  91262. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91263. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91264. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91265. @@ -3738,8 +4396,8 @@
  91266. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91267. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  91268. ;;
  91269. - xlc* | xlC*)
  91270. - # IBM XL 8.0 on PPC
  91271. + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
  91272. + # IBM XL 8.0, 9.0 on PPC and BlueGene
  91273. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91274. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  91275. _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  91276. @@ -3769,7 +4427,7 @@
  91277. ;;
  91278. esac
  91279. ;;
  91280. - netbsd* | netbsdelf*-gnu)
  91281. + netbsd*)
  91282. ;;
  91283. *qnx* | *nto*)
  91284. # QNX uses GNU C++, but need to define -shared option too, otherwise
  91285. @@ -3801,7 +4459,7 @@
  91286. ;;
  91287. solaris*)
  91288. case $cc_basename in
  91289. - CC*)
  91290. + CC* | sunCC*)
  91291. # Sun C++ 4.2, 5.x and Centerline C++
  91292. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91293. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91294. @@ -3858,17 +4516,18 @@
  91295. fi
  91296. ],
  91297. [
  91298. - if test "$GCC" = yes; then
  91299. + if test yes = "$GCC"; then
  91300. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91301. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91302.  
  91303. case $host_os in
  91304. aix*)
  91305. # All AIX code is PIC.
  91306. - if test "$host_cpu" = ia64; then
  91307. + if test ia64 = "$host_cpu"; then
  91308. # AIX 5 now supports IA64 processor
  91309. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91310. fi
  91311. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91312. ;;
  91313.  
  91314. amigaos*)
  91315. @@ -3879,8 +4538,8 @@
  91316. ;;
  91317. m68k)
  91318. # FIXME: we need at least 68020 code to build shared libraries, but
  91319. - # adding the `-m68020' flag to GCC prevents building anything better,
  91320. - # like `-m68040'.
  91321. + # adding the '-m68020' flag to GCC prevents building anything better,
  91322. + # like '-m68040'.
  91323. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  91324. ;;
  91325. esac
  91326. @@ -3897,6 +4556,11 @@
  91327. # (--disable-auto-import) libraries
  91328. m4_if([$1], [GCJ], [],
  91329. [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91330. + case $host_os in
  91331. + os2*)
  91332. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
  91333. + ;;
  91334. + esac
  91335. ;;
  91336.  
  91337. darwin* | rhapsody*)
  91338. @@ -3905,6 +4569,12 @@
  91339. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  91340. ;;
  91341.  
  91342. + haiku*)
  91343. + # PIC is the default for Haiku.
  91344. + # The "-static" flag exists, but is broken.
  91345. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  91346. + ;;
  91347. +
  91348. hpux*)
  91349. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  91350. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  91351. @@ -3947,12 +4617,21 @@
  91352. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91353. ;;
  91354. esac
  91355. +
  91356. + case $cc_basename in
  91357. + nvcc*) # Cuda Compiler Driver 2.2
  91358. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
  91359. + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  91360. + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
  91361. + fi
  91362. + ;;
  91363. + esac
  91364. else
  91365. # PORTME Check for flag to pass linker flags through the system compiler.
  91366. case $host_os in
  91367. aix*)
  91368. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91369. - if test "$host_cpu" = ia64; then
  91370. + if test ia64 = "$host_cpu"; then
  91371. # AIX 5 now supports IA64 processor
  91372. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91373. else
  91374. @@ -3960,11 +4639,30 @@
  91375. fi
  91376. ;;
  91377.  
  91378. + darwin* | rhapsody*)
  91379. + # PIC is the default on this platform
  91380. + # Common symbols not allowed in MH_DYLIB files
  91381. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  91382. + case $cc_basename in
  91383. + nagfor*)
  91384. + # NAG Fortran compiler
  91385. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
  91386. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  91387. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91388. + ;;
  91389. + esac
  91390. + ;;
  91391. +
  91392. mingw* | cygwin* | pw32* | os2* | cegcc*)
  91393. # This hack is so that the source file can tell whether it is being
  91394. # built for inclusion in a dll (and should export symbols for example).
  91395. m4_if([$1], [GCJ], [],
  91396. [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  91397. + case $host_os in
  91398. + os2*)
  91399. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
  91400. + ;;
  91401. + esac
  91402. ;;
  91403.  
  91404. hpux9* | hpux10* | hpux11*)
  91405. @@ -3980,7 +4678,7 @@
  91406. ;;
  91407. esac
  91408. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  91409. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  91410. + _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
  91411. ;;
  91412.  
  91413. irix5* | irix6* | nonstopux*)
  91414. @@ -3989,9 +4687,9 @@
  91415. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  91416. ;;
  91417.  
  91418. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  91419. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  91420. case $cc_basename in
  91421. - # old Intel for x86_64 which still supported -KPIC.
  91422. + # old Intel for x86_64, which still supported -KPIC.
  91423. ecc*)
  91424. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91425. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91426. @@ -4010,7 +4708,19 @@
  91427. _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  91428. _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  91429. ;;
  91430. - pgcc* | pgf77* | pgf90* | pgf95*)
  91431. + nagfor*)
  91432. + # NAG Fortran compiler
  91433. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
  91434. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  91435. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91436. + ;;
  91437. + tcc*)
  91438. + # Fabrice Bellard et al's Tiny C Compiler
  91439. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91440. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91441. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91442. + ;;
  91443. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  91444. # Portland Group compilers (*not* the Pentium gcc compiler,
  91445. # which looks to be a dead project)
  91446. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91447. @@ -4022,25 +4732,40 @@
  91448. # All Alpha code is PIC.
  91449. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  91450. ;;
  91451. - xl*)
  91452. - # IBM XL C 8.0/Fortran 10.1 on PPC
  91453. + xl* | bgxl* | bgf* | mpixl*)
  91454. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  91455. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91456. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  91457. _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  91458. ;;
  91459. *)
  91460. case `$CC -V 2>&1 | sed 5q` in
  91461. + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
  91462. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  91463. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91464. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91465. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  91466. + ;;
  91467. + *Sun\ F* | *Sun*Fortran*)
  91468. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91469. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91470. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  91471. + ;;
  91472. *Sun\ C*)
  91473. # Sun C 5.9
  91474. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91475. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91476. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91477. ;;
  91478. - *Sun\ F*)
  91479. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  91480. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91481. + *Intel*\ [[CF]]*Compiler*)
  91482. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91483. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  91484. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  91485. + ;;
  91486. + *Portland\ Group*)
  91487. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  91488. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  91489. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91490. - _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  91491. ;;
  91492. esac
  91493. ;;
  91494. @@ -4072,7 +4797,7 @@
  91495. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  91496. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91497. case $cc_basename in
  91498. - f77* | f90* | f95*)
  91499. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  91500. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  91501. *)
  91502. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  91503. @@ -4092,7 +4817,7 @@
  91504. ;;
  91505.  
  91506. sysv4*MP*)
  91507. - if test -d /usr/nec ;then
  91508. + if test -d /usr/nec; then
  91509. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  91510. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  91511. fi
  91512. @@ -4121,7 +4846,7 @@
  91513. fi
  91514. ])
  91515. case $host_os in
  91516. - # For platforms which do not support PIC, -DPIC is meaningless:
  91517. + # For platforms that do not support PIC, -DPIC is meaningless:
  91518. *djgpp*)
  91519. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  91520. ;;
  91521. @@ -4129,9 +4854,11 @@
  91522. _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  91523. ;;
  91524. esac
  91525. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  91526. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  91527. - [How to pass a linker flag through the compiler])
  91528. +
  91529. +AC_CACHE_CHECK([for $compiler option to produce PIC],
  91530. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
  91531. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  91532. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
  91533.  
  91534. #
  91535. # Check to make sure the PIC flag actually works.
  91536. @@ -4150,6 +4877,8 @@
  91537. _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  91538. [Additional compiler flags for building library objects])
  91539.  
  91540. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  91541. + [How to pass a linker flag through the compiler])
  91542. #
  91543. # Check to make sure the static flag actually works.
  91544. #
  91545. @@ -4170,6 +4899,7 @@
  91546. m4_defun([_LT_LINKER_SHLIBS],
  91547. [AC_REQUIRE([LT_PATH_LD])dnl
  91548. AC_REQUIRE([LT_PATH_NM])dnl
  91549. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  91550. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  91551. m4_require([_LT_DECL_EGREP])dnl
  91552. m4_require([_LT_DECL_SED])dnl
  91553. @@ -4178,30 +4908,41 @@
  91554. AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  91555. m4_if([$1], [CXX], [
  91556. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  91557. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  91558. case $host_os in
  91559. aix[[4-9]]*)
  91560. # If we're using GNU nm, then we don't want the "-C" option.
  91561. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  91562. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  91563. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  91564. + # weak defined symbols like other global defined symbols, whereas
  91565. + # GNU nm marks them as "W".
  91566. + # While the 'weak' keyword is ignored in the Export File, we need
  91567. + # it in the Import File for the 'aix-soname' feature, so we have
  91568. + # to replace the "-B" option with "-P" for AIX nm.
  91569. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  91570. - _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'
  91571. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  91572. else
  91573. - _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'
  91574. + _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  91575. fi
  91576. ;;
  91577. pw32*)
  91578. - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  91579. - ;;
  91580. + _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
  91581. + ;;
  91582. cygwin* | mingw* | cegcc*)
  91583. - _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'
  91584. - ;;
  91585. - linux* | k*bsd*-gnu)
  91586. - _LT_TAGVAR(link_all_deplibs, $1)=no
  91587. - ;;
  91588. + case $cc_basename in
  91589. + cl*)
  91590. + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  91591. + ;;
  91592. + *)
  91593. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  91594. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  91595. + ;;
  91596. + esac
  91597. + ;;
  91598. *)
  91599. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  91600. - ;;
  91601. + ;;
  91602. esac
  91603. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  91604. ], [
  91605. runpath_var=
  91606. _LT_TAGVAR(allow_undefined_flag, $1)=
  91607. @@ -4216,7 +4957,6 @@
  91608. _LT_TAGVAR(hardcode_direct, $1)=no
  91609. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  91610. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  91611. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  91612. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  91613. _LT_TAGVAR(hardcode_minus_L, $1)=no
  91614. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  91615. @@ -4232,9 +4972,9 @@
  91616. # included in the symbol list
  91617. _LT_TAGVAR(include_expsyms, $1)=
  91618. # exclude_expsyms can be an extended regexp of symbols to exclude
  91619. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  91620. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  91621. - # as well as any symbol that contains `d'.
  91622. + # it will be wrapped by ' (' and ')$', so one must not match beginning or
  91623. + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  91624. + # as well as any symbol that contains 'd'.
  91625. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  91626. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  91627. # platforms (ab)use it in PIC code, but their linkers get confused if
  91628. @@ -4250,7 +4990,7 @@
  91629. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  91630. # When not using gcc, we currently assume that we are using
  91631. # Microsoft Visual C++.
  91632. - if test "$GCC" != yes; then
  91633. + if test yes != "$GCC"; then
  91634. with_gnu_ld=no
  91635. fi
  91636. ;;
  91637. @@ -4258,33 +4998,56 @@
  91638. # we just hope/assume this is gcc and not c89 (= MSVC++)
  91639. with_gnu_ld=yes
  91640. ;;
  91641. - openbsd*)
  91642. + openbsd* | bitrig*)
  91643. with_gnu_ld=no
  91644. ;;
  91645. - linux* | k*bsd*-gnu)
  91646. - _LT_TAGVAR(link_all_deplibs, $1)=no
  91647. - ;;
  91648. esac
  91649.  
  91650. _LT_TAGVAR(ld_shlibs, $1)=yes
  91651. - if test "$with_gnu_ld" = yes; then
  91652. +
  91653. + # On some targets, GNU ld is compatible enough with the native linker
  91654. + # that we're better off using the native interface for both.
  91655. + lt_use_gnu_ld_interface=no
  91656. + if test yes = "$with_gnu_ld"; then
  91657. + case $host_os in
  91658. + aix*)
  91659. + # The AIX port of GNU ld has always aspired to compatibility
  91660. + # with the native linker. However, as the warning in the GNU ld
  91661. + # block says, versions before 2.19.5* couldn't really create working
  91662. + # shared libraries, regardless of the interface used.
  91663. + case `$LD -v 2>&1` in
  91664. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  91665. + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
  91666. + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
  91667. + *)
  91668. + lt_use_gnu_ld_interface=yes
  91669. + ;;
  91670. + esac
  91671. + ;;
  91672. + *)
  91673. + lt_use_gnu_ld_interface=yes
  91674. + ;;
  91675. + esac
  91676. + fi
  91677. +
  91678. + if test yes = "$lt_use_gnu_ld_interface"; then
  91679. # If archive_cmds runs LD, not CC, wlarc should be empty
  91680. - wlarc='${wl}'
  91681. + wlarc='$wl'
  91682.  
  91683. # Set some defaults for GNU ld with shared library support. These
  91684. # are reset later if shared libraries are not supported. Putting them
  91685. # here allows them to be overridden if necessary.
  91686. runpath_var=LD_RUN_PATH
  91687. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  91688. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  91689. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  91690. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  91691. # ancient GNU ld didn't support --whole-archive et. al.
  91692. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  91693. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  91694. + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  91695. else
  91696. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  91697. fi
  91698. supports_anon_versioning=no
  91699. - case `$LD -v 2>&1` in
  91700. + case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
  91701. *GNU\ gold*) supports_anon_versioning=yes ;;
  91702. *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  91703. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  91704. @@ -4297,15 +5060,16 @@
  91705. case $host_os in
  91706. aix[[3-9]]*)
  91707. # On AIX/PPC, the GNU linker is very broken
  91708. - if test "$host_cpu" != ia64; then
  91709. + if test ia64 != "$host_cpu"; then
  91710. _LT_TAGVAR(ld_shlibs, $1)=no
  91711. cat <<_LT_EOF 1>&2
  91712.  
  91713. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  91714. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  91715. *** to be unable to reliably create shared libraries on AIX.
  91716. *** Therefore, libtool is disabling shared libraries support. If you
  91717. -*** really care for shared libraries, you may want to modify your PATH
  91718. -*** so that a non-GNU linker is found, and then restart.
  91719. +*** really care for shared libraries, you may want to install binutils
  91720. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  91721. +*** You will then need to restart the configuration process.
  91722.  
  91723. _LT_EOF
  91724. fi
  91725. @@ -4315,7 +5079,7 @@
  91726. case $host_cpu in
  91727. powerpc)
  91728. # see comment about AmigaOS4 .so support
  91729. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91730. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91731. _LT_TAGVAR(archive_expsym_cmds, $1)=''
  91732. ;;
  91733. m68k)
  91734. @@ -4331,7 +5095,7 @@
  91735. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  91736. # Joseph Beckenbach <[email protected]> says some releases of gcc
  91737. # support --undefined. This deserves some investigation. FIXME
  91738. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91739. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91740. else
  91741. _LT_TAGVAR(ld_shlibs, $1)=no
  91742. fi
  91743. @@ -4341,61 +5105,97 @@
  91744. # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  91745. # as there is no search path for DLLs.
  91746. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  91747. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
  91748. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  91749. _LT_TAGVAR(always_export_symbols, $1)=no
  91750. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  91751. - _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'
  91752. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  91753. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  91754.  
  91755. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  91756. - _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'
  91757. - # If the export-symbols file already is a .def file (1st line
  91758. - # is EXPORTS), use it as is; otherwise, prepend...
  91759. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  91760. - cp $export_symbols $output_objdir/$soname.def;
  91761. - else
  91762. - echo EXPORTS > $output_objdir/$soname.def;
  91763. - cat $export_symbols >> $output_objdir/$soname.def;
  91764. - fi~
  91765. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  91766. + _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'
  91767. + # If the export-symbols file already is a .def file, use it as
  91768. + # is; otherwise, prepend EXPORTS...
  91769. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  91770. + cp $export_symbols $output_objdir/$soname.def;
  91771. + else
  91772. + echo EXPORTS > $output_objdir/$soname.def;
  91773. + cat $export_symbols >> $output_objdir/$soname.def;
  91774. + fi~
  91775. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  91776. else
  91777. _LT_TAGVAR(ld_shlibs, $1)=no
  91778. fi
  91779. ;;
  91780.  
  91781. + haiku*)
  91782. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91783. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  91784. + ;;
  91785. +
  91786. + os2*)
  91787. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  91788. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  91789. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  91790. + shrext_cmds=.dll
  91791. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  91792. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  91793. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  91794. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  91795. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  91796. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  91797. + emximp -o $lib $output_objdir/$libname.def'
  91798. + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  91799. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  91800. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  91801. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  91802. + prefix_cmds="$SED"~
  91803. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  91804. + prefix_cmds="$prefix_cmds -e 1d";
  91805. + fi~
  91806. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  91807. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  91808. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  91809. + emximp -o $lib $output_objdir/$libname.def'
  91810. + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  91811. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  91812. + ;;
  91813. +
  91814. interix[[3-9]]*)
  91815. _LT_TAGVAR(hardcode_direct, $1)=no
  91816. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  91817. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  91818. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  91819. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  91820. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  91821. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  91822. # Instead, shared libraries are loaded at an image base (0x10000000 by
  91823. # default) and relocated if they conflict, which is a slow very memory
  91824. # consuming and fragmenting process. To avoid this, we pick a random,
  91825. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  91826. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  91827. - _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'
  91828. - _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'
  91829. + _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'
  91830. + _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'
  91831. ;;
  91832.  
  91833. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  91834. tmp_diet=no
  91835. - if test "$host_os" = linux-dietlibc; then
  91836. + if test linux-dietlibc = "$host_os"; then
  91837. case $cc_basename in
  91838. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  91839. esac
  91840. fi
  91841. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  91842. - && test "$tmp_diet" = no
  91843. + && test no = "$tmp_diet"
  91844. then
  91845. - tmp_addflag=
  91846. + tmp_addflag=' $pic_flag'
  91847. tmp_sharedflag='-shared'
  91848. case $cc_basename,$host_cpu in
  91849. pgcc*) # Portland Group C compiler
  91850. - _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'
  91851. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  91852. tmp_addflag=' $pic_flag'
  91853. ;;
  91854. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  91855. - _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'
  91856. + pgf77* | pgf90* | pgf95* | pgfortran*)
  91857. + # Portland Group f77 and f90 compilers
  91858. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  91859. tmp_addflag=' $pic_flag -Mnomain' ;;
  91860. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  91861. tmp_addflag=' -i_dynamic' ;;
  91862. @@ -4406,39 +5206,47 @@
  91863. lf95*) # Lahey Fortran 8.1
  91864. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  91865. tmp_sharedflag='--shared' ;;
  91866. - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  91867. + nagfor*) # NAGFOR 5.3
  91868. + tmp_sharedflag='-Wl,-shared' ;;
  91869. + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  91870. tmp_sharedflag='-qmkshrobj'
  91871. tmp_addflag= ;;
  91872. + nvcc*) # Cuda Compiler Driver 2.2
  91873. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  91874. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  91875. + ;;
  91876. esac
  91877. case `$CC -V 2>&1 | sed 5q` in
  91878. *Sun\ C*) # Sun C 5.9
  91879. - _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'
  91880. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  91881. _LT_TAGVAR(compiler_needs_object, $1)=yes
  91882. tmp_sharedflag='-G' ;;
  91883. *Sun\ F*) # Sun Fortran 8.3
  91884. tmp_sharedflag='-G' ;;
  91885. esac
  91886. - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91887. + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91888.  
  91889. - if test "x$supports_anon_versioning" = xyes; then
  91890. + if test yes = "$supports_anon_versioning"; then
  91891. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  91892. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91893. - echo "local: *; };" >> $output_objdir/$libname.ver~
  91894. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  91895. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91896. + echo "local: *; };" >> $output_objdir/$libname.ver~
  91897. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  91898. fi
  91899.  
  91900. case $cc_basename in
  91901. - xlf*)
  91902. + tcc*)
  91903. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
  91904. + ;;
  91905. + xlf* | bgf* | bgxlf* | mpixlf*)
  91906. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  91907. _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  91908. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  91909. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  91910. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  91911. - if test "x$supports_anon_versioning" = xyes; then
  91912. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  91913. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  91914. + if test yes = "$supports_anon_versioning"; then
  91915. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  91916. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91917. - echo "local: *; };" >> $output_objdir/$libname.ver~
  91918. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  91919. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  91920. + echo "local: *; };" >> $output_objdir/$libname.ver~
  91921. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  91922. fi
  91923. ;;
  91924. esac
  91925. @@ -4447,13 +5255,13 @@
  91926. fi
  91927. ;;
  91928.  
  91929. - netbsd* | netbsdelf*-gnu)
  91930. + netbsd*)
  91931. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  91932. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  91933. wlarc=
  91934. else
  91935. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91936. - _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'
  91937. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91938. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  91939. fi
  91940. ;;
  91941.  
  91942. @@ -4471,8 +5279,8 @@
  91943.  
  91944. _LT_EOF
  91945. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  91946. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91947. - _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'
  91948. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91949. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  91950. else
  91951. _LT_TAGVAR(ld_shlibs, $1)=no
  91952. fi
  91953. @@ -4484,7 +5292,7 @@
  91954. _LT_TAGVAR(ld_shlibs, $1)=no
  91955. cat <<_LT_EOF 1>&2
  91956.  
  91957. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  91958. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  91959. *** reliably create shared libraries on SCO systems. Therefore, libtool
  91960. *** is disabling shared libraries support. We urge you to upgrade GNU
  91961. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  91962. @@ -4499,9 +5307,9 @@
  91963. # DT_RUNPATH tag from executables and libraries. But doing so
  91964. # requires that you compile everything twice, which is a pain.
  91965. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  91966. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  91967. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91968. - _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'
  91969. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  91970. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91971. + _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'
  91972. else
  91973. _LT_TAGVAR(ld_shlibs, $1)=no
  91974. fi
  91975. @@ -4518,15 +5326,15 @@
  91976.  
  91977. *)
  91978. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  91979. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  91980. - _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'
  91981. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  91982. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  91983. else
  91984. _LT_TAGVAR(ld_shlibs, $1)=no
  91985. fi
  91986. ;;
  91987. esac
  91988.  
  91989. - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  91990. + if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
  91991. runpath_var=
  91992. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  91993. _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  91994. @@ -4542,7 +5350,7 @@
  91995. # Note: this linker hardcodes the directories in LIBPATH if there
  91996. # are no directories specified by -L.
  91997. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  91998. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  91999. + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  92000. # Neither direct hardcoding nor static linking is supported with a
  92001. # broken collect2.
  92002. _LT_TAGVAR(hardcode_direct, $1)=unsupported
  92003. @@ -4550,32 +5358,57 @@
  92004. ;;
  92005.  
  92006. aix[[4-9]]*)
  92007. - if test "$host_cpu" = ia64; then
  92008. + if test ia64 = "$host_cpu"; then
  92009. # On IA64, the linker does run time linking by default, so we don't
  92010. # have to do anything special.
  92011. aix_use_runtimelinking=no
  92012. exp_sym_flag='-Bexport'
  92013. - no_entry_flag=""
  92014. + no_entry_flag=
  92015. else
  92016. # If we're using GNU nm, then we don't want the "-C" option.
  92017. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  92018. + # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  92019. + # Without the "-l" option, or with the "-B" option, AIX nm treats
  92020. + # weak defined symbols like other global defined symbols, whereas
  92021. + # GNU nm marks them as "W".
  92022. + # While the 'weak' keyword is ignored in the Export File, we need
  92023. + # it in the Import File for the 'aix-soname' feature, so we have
  92024. + # to replace the "-B" option with "-P" for AIX nm.
  92025. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  92026. - _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'
  92027. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  92028. else
  92029. - _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'
  92030. + _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  92031. fi
  92032. aix_use_runtimelinking=no
  92033.  
  92034. # Test if we are trying to use run time linking or normal
  92035. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  92036. - # need to do runtime linking.
  92037. + # have runtime linking enabled, and use it for executables.
  92038. + # For shared libraries, we enable/disable runtime linking
  92039. + # depending on the kind of the shared library created -
  92040. + # when "with_aix_soname,aix_use_runtimelinking" is:
  92041. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  92042. + # "aix,yes" lib.so shared, rtl:yes, for executables
  92043. + # lib.a static archive
  92044. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  92045. + # lib.a(lib.so.V) shared, rtl:no, for executables
  92046. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  92047. + # lib.a(lib.so.V) shared, rtl:no
  92048. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  92049. + # lib.a static archive
  92050. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  92051. for ld_flag in $LDFLAGS; do
  92052. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  92053. + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  92054. aix_use_runtimelinking=yes
  92055. break
  92056. fi
  92057. done
  92058. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  92059. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  92060. + # so we don't have lib.a shared libs to link our executables.
  92061. + # We have to force runtime linking in this case.
  92062. + aix_use_runtimelinking=yes
  92063. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  92064. + fi
  92065. ;;
  92066. esac
  92067.  
  92068. @@ -4594,13 +5427,21 @@
  92069. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92070. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  92071. _LT_TAGVAR(link_all_deplibs, $1)=yes
  92072. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  92073. + _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
  92074. + case $with_aix_soname,$aix_use_runtimelinking in
  92075. + aix,*) ;; # traditional, no import file
  92076. + svr4,* | *,yes) # use import file
  92077. + # The Import File defines what to hardcode.
  92078. + _LT_TAGVAR(hardcode_direct, $1)=no
  92079. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  92080. + ;;
  92081. + esac
  92082.  
  92083. - if test "$GCC" = yes; then
  92084. + if test yes = "$GCC"; then
  92085. case $host_os in aix4.[[012]]|aix4.[[012]].*)
  92086. # We only want to do this on AIX 4.2 and lower, the check
  92087. # below for broken collect2 doesn't work under 4.3+
  92088. - collect2name=`${CC} -print-prog-name=collect2`
  92089. + collect2name=`$CC -print-prog-name=collect2`
  92090. if test -f "$collect2name" &&
  92091. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  92092. then
  92093. @@ -4619,57 +5460,80 @@
  92094. ;;
  92095. esac
  92096. shared_flag='-shared'
  92097. - if test "$aix_use_runtimelinking" = yes; then
  92098. - shared_flag="$shared_flag "'${wl}-G'
  92099. + if test yes = "$aix_use_runtimelinking"; then
  92100. + shared_flag="$shared_flag "'$wl-G'
  92101. fi
  92102. - _LT_TAGVAR(link_all_deplibs, $1)=no
  92103. + # Need to ensure runtime linking is disabled for the traditional
  92104. + # shared library, or the linker may eventually find shared libraries
  92105. + # /with/ Import File - we do not want to mix them.
  92106. + shared_flag_aix='-shared'
  92107. + shared_flag_svr4='-shared $wl-G'
  92108. else
  92109. # not using gcc
  92110. - if test "$host_cpu" = ia64; then
  92111. + if test ia64 = "$host_cpu"; then
  92112. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  92113. # chokes on -Wl,-G. The following line is correct:
  92114. shared_flag='-G'
  92115. else
  92116. - if test "$aix_use_runtimelinking" = yes; then
  92117. - shared_flag='${wl}-G'
  92118. + if test yes = "$aix_use_runtimelinking"; then
  92119. + shared_flag='$wl-G'
  92120. else
  92121. - shared_flag='${wl}-bM:SRE'
  92122. + shared_flag='$wl-bM:SRE'
  92123. fi
  92124. + shared_flag_aix='$wl-bM:SRE'
  92125. + shared_flag_svr4='$wl-G'
  92126. fi
  92127. fi
  92128.  
  92129. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  92130. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
  92131. # It seems that -bexpall does not export symbols beginning with
  92132. # underscore (_), so it is better to generate a list of symbols to export.
  92133. _LT_TAGVAR(always_export_symbols, $1)=yes
  92134. - if test "$aix_use_runtimelinking" = yes; then
  92135. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  92136. # Warning - without using the other runtime loading flags (-brtl),
  92137. # -berok will link without error, but may produce a broken library.
  92138. _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  92139. # Determine the default libpath from the value encoded in an
  92140. # empty executable.
  92141. - _LT_SYS_MODULE_PATH_AIX
  92142. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  92143. - _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"
  92144. + _LT_SYS_MODULE_PATH_AIX([$1])
  92145. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  92146. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  92147. else
  92148. - if test "$host_cpu" = ia64; then
  92149. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  92150. + if test ia64 = "$host_cpu"; then
  92151. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
  92152. _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  92153. - _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"
  92154. + _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"
  92155. else
  92156. # Determine the default libpath from the value encoded in an
  92157. # empty executable.
  92158. - _LT_SYS_MODULE_PATH_AIX
  92159. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  92160. + _LT_SYS_MODULE_PATH_AIX([$1])
  92161. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  92162. # Warning - without using the other run time loading flags,
  92163. # -berok will link without error, but may produce a broken library.
  92164. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  92165. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  92166. - # Exported symbols can be pulled into shared objects from archives
  92167. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  92168. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
  92169. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
  92170. + if test yes = "$with_gnu_ld"; then
  92171. + # We only use this code for GNU lds that support --whole-archive.
  92172. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
  92173. + else
  92174. + # Exported symbols can be pulled into shared objects from archives
  92175. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  92176. + fi
  92177. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92178. - # This is similar to how AIX traditionally builds its shared libraries.
  92179. - _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'
  92180. + _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  92181. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  92182. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
  92183. + if test svr4 != "$with_aix_soname"; then
  92184. + # This is similar to how AIX traditionally builds its shared libraries.
  92185. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  92186. + fi
  92187. + if test aix != "$with_aix_soname"; then
  92188. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  92189. + else
  92190. + # used by -dlpreopen to get the symbols
  92191. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  92192. + fi
  92193. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
  92194. fi
  92195. fi
  92196. ;;
  92197. @@ -4678,7 +5542,7 @@
  92198. case $host_cpu in
  92199. powerpc)
  92200. # see comment about AmigaOS4 .so support
  92201. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  92202. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  92203. _LT_TAGVAR(archive_expsym_cmds, $1)=''
  92204. ;;
  92205. m68k)
  92206. @@ -4698,20 +5562,65 @@
  92207. # Microsoft Visual C++.
  92208. # hardcode_libdir_flag_spec is actually meaningless, as there is
  92209. # no search path for DLLs.
  92210. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  92211. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92212. - # Tell ltmain to make .lib files, not .a files.
  92213. - libext=lib
  92214. - # Tell ltmain to make .dll files, not .so files.
  92215. - shrext_cmds=".dll"
  92216. - # FIXME: Setting linknames here is a bad hack.
  92217. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  92218. - # The linker will automatically build a .lib file if we build a DLL.
  92219. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  92220. - # FIXME: Should let the user specify the lib program.
  92221. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  92222. - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  92223. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92224. + case $cc_basename in
  92225. + cl*)
  92226. + # Native MSVC
  92227. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  92228. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92229. + _LT_TAGVAR(always_export_symbols, $1)=yes
  92230. + _LT_TAGVAR(file_list_spec, $1)='@'
  92231. + # Tell ltmain to make .lib files, not .a files.
  92232. + libext=lib
  92233. + # Tell ltmain to make .dll files, not .so files.
  92234. + shrext_cmds=.dll
  92235. + # FIXME: Setting linknames here is a bad hack.
  92236. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  92237. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  92238. + cp "$export_symbols" "$output_objdir/$soname.def";
  92239. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  92240. + else
  92241. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  92242. + fi~
  92243. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  92244. + linknames='
  92245. + # The linker will not automatically build a static lib if we build a DLL.
  92246. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  92247. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92248. + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  92249. + _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'
  92250. + # Don't use ranlib
  92251. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  92252. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  92253. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  92254. + case $lt_outputfile in
  92255. + *.exe|*.EXE) ;;
  92256. + *)
  92257. + lt_outputfile=$lt_outputfile.exe
  92258. + lt_tool_outputfile=$lt_tool_outputfile.exe
  92259. + ;;
  92260. + esac~
  92261. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  92262. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  92263. + $RM "$lt_outputfile.manifest";
  92264. + fi'
  92265. + ;;
  92266. + *)
  92267. + # Assume MSVC wrapper
  92268. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  92269. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92270. + # Tell ltmain to make .lib files, not .a files.
  92271. + libext=lib
  92272. + # Tell ltmain to make .dll files, not .so files.
  92273. + shrext_cmds=.dll
  92274. + # FIXME: Setting linknames here is a bad hack.
  92275. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  92276. + # The linker will automatically build a .lib file if we build a DLL.
  92277. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  92278. + # FIXME: Should let the user specify the lib program.
  92279. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  92280. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92281. + ;;
  92282. + esac
  92283. ;;
  92284.  
  92285. darwin* | rhapsody*)
  92286. @@ -4724,10 +5633,6 @@
  92287. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92288. ;;
  92289.  
  92290. - freebsd1*)
  92291. - _LT_TAGVAR(ld_shlibs, $1)=no
  92292. - ;;
  92293. -
  92294. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  92295. # support. Future versions do this automatically, but an explicit c++rt0.o
  92296. # does not break anything, and helps significantly (at the cost of a little
  92297. @@ -4740,7 +5645,7 @@
  92298. ;;
  92299.  
  92300. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  92301. - freebsd2*)
  92302. + freebsd2.*)
  92303. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  92304. _LT_TAGVAR(hardcode_direct, $1)=yes
  92305. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92306. @@ -4749,41 +5654,40 @@
  92307.  
  92308. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  92309. freebsd* | dragonfly*)
  92310. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  92311. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92312. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  92313. _LT_TAGVAR(hardcode_direct, $1)=yes
  92314. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92315. ;;
  92316.  
  92317. hpux9*)
  92318. - if test "$GCC" = yes; then
  92319. - _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'
  92320. + if test yes = "$GCC"; then
  92321. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  92322. else
  92323. - _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'
  92324. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  92325. fi
  92326. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  92327. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  92328. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92329. _LT_TAGVAR(hardcode_direct, $1)=yes
  92330.  
  92331. # hardcode_minus_L: Not really in the search PATH,
  92332. # but as the default location of the library.
  92333. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92334. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92335. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92336. ;;
  92337.  
  92338. hpux10*)
  92339. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  92340. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92341. + if test yes,no = "$GCC,$with_gnu_ld"; then
  92342. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92343. else
  92344. _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  92345. fi
  92346. - if test "$with_gnu_ld" = no; then
  92347. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  92348. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  92349. + if test no = "$with_gnu_ld"; then
  92350. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  92351. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92352. _LT_TAGVAR(hardcode_direct, $1)=yes
  92353. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92354. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92355. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92356. # hardcode_minus_L: Not really in the search PATH,
  92357. # but as the default location of the library.
  92358. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92359. @@ -4791,33 +5695,40 @@
  92360. ;;
  92361.  
  92362. hpux11*)
  92363. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  92364. + if test yes,no = "$GCC,$with_gnu_ld"; then
  92365. case $host_cpu in
  92366. hppa*64*)
  92367. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  92368. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  92369. ;;
  92370. ia64*)
  92371. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92372. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92373. ;;
  92374. *)
  92375. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92376. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92377. ;;
  92378. esac
  92379. else
  92380. case $host_cpu in
  92381. hppa*64*)
  92382. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  92383. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  92384. ;;
  92385. ia64*)
  92386. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92387. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  92388. ;;
  92389. *)
  92390. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  92391. + m4_if($1, [], [
  92392. + # Older versions of the 11.00 compiler do not understand -b yet
  92393. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  92394. + _LT_LINKER_OPTION([if $CC understands -b],
  92395. + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
  92396. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
  92397. + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
  92398. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
  92399. ;;
  92400. esac
  92401. fi
  92402. - if test "$with_gnu_ld" = no; then
  92403. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  92404. + if test no = "$with_gnu_ld"; then
  92405. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  92406. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92407.  
  92408. case $host_cpu in
  92409. @@ -4828,7 +5739,7 @@
  92410. *)
  92411. _LT_TAGVAR(hardcode_direct, $1)=yes
  92412. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92413. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92414. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92415.  
  92416. # hardcode_minus_L: Not really in the search PATH,
  92417. # but as the default location of the library.
  92418. @@ -4839,29 +5750,54 @@
  92419. ;;
  92420.  
  92421. irix5* | irix6* | nonstopux*)
  92422. - if test "$GCC" = yes; then
  92423. - _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'
  92424. + if test yes = "$GCC"; then
  92425. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  92426. # Try to use the -exported_symbol ld option, if it does not
  92427. # work, assume that -exports_file does not work either and
  92428. # implicitly export all symbols.
  92429. - save_LDFLAGS="$LDFLAGS"
  92430. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  92431. - AC_LINK_IFELSE(int foo(void) {},
  92432. - _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'
  92433. - )
  92434. - LDFLAGS="$save_LDFLAGS"
  92435. + # This should be the same for all languages, so no per-tag cache variable.
  92436. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
  92437. + [lt_cv_irix_exported_symbol],
  92438. + [save_LDFLAGS=$LDFLAGS
  92439. + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  92440. + AC_LINK_IFELSE(
  92441. + [AC_LANG_SOURCE(
  92442. + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
  92443. + [C++], [[int foo (void) { return 0; }]],
  92444. + [Fortran 77], [[
  92445. + subroutine foo
  92446. + end]],
  92447. + [Fortran], [[
  92448. + subroutine foo
  92449. + end]])])],
  92450. + [lt_cv_irix_exported_symbol=yes],
  92451. + [lt_cv_irix_exported_symbol=no])
  92452. + LDFLAGS=$save_LDFLAGS])
  92453. + if test yes = "$lt_cv_irix_exported_symbol"; then
  92454. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
  92455. + fi
  92456. else
  92457. - _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'
  92458. - _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'
  92459. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  92460. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
  92461. fi
  92462. _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  92463. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92464. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92465. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92466. _LT_TAGVAR(inherit_rpath, $1)=yes
  92467. _LT_TAGVAR(link_all_deplibs, $1)=yes
  92468. ;;
  92469.  
  92470. - netbsd* | netbsdelf*-gnu)
  92471. + linux*)
  92472. + case $cc_basename in
  92473. + tcc*)
  92474. + # Fabrice Bellard et al's Tiny C Compiler
  92475. + _LT_TAGVAR(ld_shlibs, $1)=yes
  92476. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92477. + ;;
  92478. + esac
  92479. + ;;
  92480. +
  92481. + netbsd*)
  92482. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  92483. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  92484. else
  92485. @@ -4875,7 +5811,7 @@
  92486. newsos6)
  92487. _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  92488. _LT_TAGVAR(hardcode_direct, $1)=yes
  92489. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92490. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92491. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92492. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92493. ;;
  92494. @@ -4883,27 +5819,19 @@
  92495. *nto* | *qnx*)
  92496. ;;
  92497.  
  92498. - openbsd*)
  92499. + openbsd* | bitrig*)
  92500. if test -f /usr/libexec/ld.so; then
  92501. _LT_TAGVAR(hardcode_direct, $1)=yes
  92502. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92503. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  92504. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  92505. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  92506. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92507. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  92508. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  92509. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  92510. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  92511. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  92512. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  92513. else
  92514. - case $host_os in
  92515. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  92516. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  92517. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  92518. - ;;
  92519. - *)
  92520. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92521. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  92522. - ;;
  92523. - esac
  92524. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  92525. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  92526. fi
  92527. else
  92528. _LT_TAGVAR(ld_shlibs, $1)=no
  92529. @@ -4914,33 +5842,53 @@
  92530. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  92531. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  92532. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  92533. - _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'
  92534. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  92535. + shrext_cmds=.dll
  92536. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  92537. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  92538. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  92539. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  92540. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  92541. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  92542. + emximp -o $lib $output_objdir/$libname.def'
  92543. + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  92544. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  92545. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  92546. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  92547. + prefix_cmds="$SED"~
  92548. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  92549. + prefix_cmds="$prefix_cmds -e 1d";
  92550. + fi~
  92551. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  92552. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  92553. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  92554. + emximp -o $lib $output_objdir/$libname.def'
  92555. + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  92556. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  92557. ;;
  92558.  
  92559. osf3*)
  92560. - if test "$GCC" = yes; then
  92561. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  92562. - _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'
  92563. + if test yes = "$GCC"; then
  92564. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  92565. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  92566. else
  92567. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  92568. - _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'
  92569. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  92570. fi
  92571. _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  92572. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92573. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92574. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  92575. ;;
  92576.  
  92577. osf4* | osf5*) # as osf3* with the addition of -msym flag
  92578. - if test "$GCC" = yes; then
  92579. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  92580. - _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'
  92581. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  92582. + if test yes = "$GCC"; then
  92583. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  92584. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  92585. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  92586. else
  92587. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  92588. - _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'
  92589. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  92590. _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~
  92591. - $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'
  92592. + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
  92593.  
  92594. # Both c and cxx compiler support -rpath directly
  92595. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  92596. @@ -4951,24 +5899,24 @@
  92597.  
  92598. solaris*)
  92599. _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  92600. - if test "$GCC" = yes; then
  92601. - wlarc='${wl}'
  92602. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  92603. + if test yes = "$GCC"; then
  92604. + wlarc='$wl'
  92605. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  92606. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  92607. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92608. + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92609. else
  92610. case `$CC -V 2>&1` in
  92611. *"Compilers 5.0"*)
  92612. wlarc=''
  92613. - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  92614. + _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  92615. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  92616. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  92617. + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  92618. ;;
  92619. *)
  92620. - wlarc='${wl}'
  92621. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92622. + wlarc='$wl'
  92623. + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92624. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  92625. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92626. + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  92627. ;;
  92628. esac
  92629. fi
  92630. @@ -4978,11 +5926,11 @@
  92631. solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  92632. *)
  92633. # The compiler driver will combine and reorder linker options,
  92634. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  92635. + # but understands '-z linker_flag'. GCC discards it without '$wl',
  92636. # but is careful enough not to reorder.
  92637. # Supported since Solaris 2.6 (maybe 2.5.1?)
  92638. - if test "$GCC" = yes; then
  92639. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  92640. + if test yes = "$GCC"; then
  92641. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  92642. else
  92643. _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  92644. fi
  92645. @@ -4992,10 +5940,10 @@
  92646. ;;
  92647.  
  92648. sunos4*)
  92649. - if test "x$host_vendor" = xsequent; then
  92650. + if test sequent = "$host_vendor"; then
  92651. # Use $CC to link under sequent, because it throws in some extra .o
  92652. # files that make .init and .fini sections work.
  92653. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92654. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  92655. else
  92656. _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  92657. fi
  92658. @@ -5044,43 +5992,43 @@
  92659. ;;
  92660.  
  92661. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  92662. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  92663. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  92664. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92665. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92666. runpath_var='LD_RUN_PATH'
  92667.  
  92668. - if test "$GCC" = yes; then
  92669. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92670. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92671. + if test yes = "$GCC"; then
  92672. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92673. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92674. else
  92675. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92676. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92677. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92678. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92679. fi
  92680. ;;
  92681.  
  92682. sysv5* | sco3.2v5* | sco5v6*)
  92683. - # Note: We can NOT use -z defs as we might desire, because we do not
  92684. + # Note: We CANNOT use -z defs as we might desire, because we do not
  92685. # link with -lc, and that would cause any symbols used from libc to
  92686. # always be unresolved, which means just about no library would
  92687. # ever link correctly. If we're not using GNU ld we use -z text
  92688. # though, which does catch some bad symbols but isn't as heavy-handed
  92689. # as -z defs.
  92690. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  92691. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  92692. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  92693. + _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
  92694. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92695. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  92696. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  92697. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
  92698. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  92699. _LT_TAGVAR(link_all_deplibs, $1)=yes
  92700. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  92701. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
  92702. runpath_var='LD_RUN_PATH'
  92703.  
  92704. - if test "$GCC" = yes; then
  92705. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92706. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92707. + if test yes = "$GCC"; then
  92708. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92709. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92710. else
  92711. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92712. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92713. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92714. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  92715. fi
  92716. ;;
  92717.  
  92718. @@ -5095,17 +6043,17 @@
  92719. ;;
  92720. esac
  92721.  
  92722. - if test x$host_vendor = xsni; then
  92723. + if test sni = "$host_vendor"; then
  92724. case $host in
  92725. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  92726. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  92727. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
  92728. ;;
  92729. esac
  92730. fi
  92731. fi
  92732. ])
  92733. AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  92734. -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  92735. +test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
  92736.  
  92737. _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  92738.  
  92739. @@ -5122,7 +6070,7 @@
  92740. # Assume -lc should be added
  92741. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92742.  
  92743. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  92744. + if test yes,yes = "$GCC,$enable_shared"; then
  92745. case $_LT_TAGVAR(archive_cmds, $1) in
  92746. *'~'*)
  92747. # FIXME: we may have to deal with multi-command sequences.
  92748. @@ -5131,36 +6079,38 @@
  92749. # Test whether the compiler implicitly links with -lc since on some
  92750. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  92751. # to ld, don't add -lc before -lgcc.
  92752. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  92753. - $RM conftest*
  92754. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  92755. -
  92756. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  92757. - soname=conftest
  92758. - lib=conftest
  92759. - libobjs=conftest.$ac_objext
  92760. - deplibs=
  92761. - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  92762. - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  92763. - compiler_flags=-v
  92764. - linker_flags=-v
  92765. - verstring=
  92766. - output_objdir=.
  92767. - libname=conftest
  92768. - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  92769. - _LT_TAGVAR(allow_undefined_flag, $1)=
  92770. - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  92771. - then
  92772. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92773. - else
  92774. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92775. - fi
  92776. - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  92777. - else
  92778. - cat conftest.err 1>&5
  92779. - fi
  92780. - $RM conftest*
  92781. - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  92782. + AC_CACHE_CHECK([whether -lc should be explicitly linked in],
  92783. + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
  92784. + [$RM conftest*
  92785. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  92786. +
  92787. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  92788. + soname=conftest
  92789. + lib=conftest
  92790. + libobjs=conftest.$ac_objext
  92791. + deplibs=
  92792. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  92793. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  92794. + compiler_flags=-v
  92795. + linker_flags=-v
  92796. + verstring=
  92797. + output_objdir=.
  92798. + libname=conftest
  92799. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  92800. + _LT_TAGVAR(allow_undefined_flag, $1)=
  92801. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  92802. + then
  92803. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92804. + else
  92805. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  92806. + fi
  92807. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  92808. + else
  92809. + cat conftest.err 1>&5
  92810. + fi
  92811. + $RM conftest*
  92812. + ])
  92813. + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
  92814. ;;
  92815. esac
  92816. fi
  92817. @@ -5197,18 +6147,15 @@
  92818. _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  92819. [Flag to hardcode $libdir into a binary during linking.
  92820. This must work even if $libdir does not exist])
  92821. -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  92822. - [[If ld is used when linking, flag to hardcode $libdir into a binary
  92823. - during linking. This must work even if $libdir does not exist]])
  92824. _LT_TAGDECL([], [hardcode_libdir_separator], [1],
  92825. [Whether we need a single "-rpath" flag with a separated argument])
  92826. _LT_TAGDECL([], [hardcode_direct], [0],
  92827. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  92828. + [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
  92829. DIR into the resulting binary])
  92830. _LT_TAGDECL([], [hardcode_direct_absolute], [0],
  92831. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  92832. + [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
  92833. DIR into the resulting binary and the resulting library dependency is
  92834. - "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  92835. + "absolute", i.e impossible to change by setting $shlibpath_var if the
  92836. library is relocated])
  92837. _LT_TAGDECL([], [hardcode_minus_L], [0],
  92838. [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  92839. @@ -5225,8 +6172,6 @@
  92840. to runtime path list])
  92841. _LT_TAGDECL([], [link_all_deplibs], [0],
  92842. [Whether libtool must link a program against all its dependency libraries])
  92843. -_LT_TAGDECL([], [fix_srcfile_path], [1],
  92844. - [Fix the shell variable $srcfile for the compiler])
  92845. _LT_TAGDECL([], [always_export_symbols], [0],
  92846. [Set to "yes" if exported symbols are required])
  92847. _LT_TAGDECL([], [export_symbols_cmds], [2],
  92848. @@ -5237,6 +6182,8 @@
  92849. [Symbols that must always be exported])
  92850. _LT_TAGDECL([], [prelink_cmds], [2],
  92851. [Commands necessary for linking programs (against libraries) with templates])
  92852. +_LT_TAGDECL([], [postlink_cmds], [2],
  92853. + [Commands necessary for finishing linking programs])
  92854. _LT_TAGDECL([], [file_list_spec], [1],
  92855. [Specify filename containing input files])
  92856. dnl FIXME: Not yet implemented
  92857. @@ -5249,10 +6196,10 @@
  92858. # ------------------------
  92859. # Ensure that the configuration variables for a C compiler are suitably
  92860. # defined. These variables are subsequently used by _LT_CONFIG to write
  92861. -# the compiler configuration to `libtool'.
  92862. +# the compiler configuration to 'libtool'.
  92863. m4_defun([_LT_LANG_C_CONFIG],
  92864. [m4_require([_LT_DECL_EGREP])dnl
  92865. -lt_save_CC="$CC"
  92866. +lt_save_CC=$CC
  92867. AC_LANG_PUSH(C)
  92868.  
  92869. # Source file extension for C test sources.
  92870. @@ -5292,18 +6239,18 @@
  92871. LT_SYS_DLOPEN_SELF
  92872. _LT_CMD_STRIPLIB
  92873.  
  92874. - # Report which library types will actually be built
  92875. + # Report what library types will actually be built
  92876. AC_MSG_CHECKING([if libtool supports shared libraries])
  92877. AC_MSG_RESULT([$can_build_shared])
  92878.  
  92879. AC_MSG_CHECKING([whether to build shared libraries])
  92880. - test "$can_build_shared" = "no" && enable_shared=no
  92881. + test no = "$can_build_shared" && enable_shared=no
  92882.  
  92883. # On AIX, shared libraries and static libraries use the same namespace, and
  92884. # are all built from PIC.
  92885. case $host_os in
  92886. aix3*)
  92887. - test "$enable_shared" = yes && enable_static=no
  92888. + test yes = "$enable_shared" && enable_static=no
  92889. if test -n "$RANLIB"; then
  92890. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  92891. postinstall_cmds='$RANLIB $lib'
  92892. @@ -5311,8 +6258,12 @@
  92893. ;;
  92894.  
  92895. aix[[4-9]]*)
  92896. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  92897. - test "$enable_shared" = yes && enable_static=no
  92898. + if test ia64 != "$host_cpu"; then
  92899. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  92900. + yes,aix,yes) ;; # shared object as lib.so file only
  92901. + yes,svr4,*) ;; # shared object as lib.so archive member only
  92902. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  92903. + esac
  92904. fi
  92905. ;;
  92906. esac
  92907. @@ -5320,47 +6271,32 @@
  92908.  
  92909. AC_MSG_CHECKING([whether to build static libraries])
  92910. # Make sure either enable_shared or enable_static is yes.
  92911. - test "$enable_shared" = yes || enable_static=yes
  92912. + test yes = "$enable_shared" || enable_static=yes
  92913. AC_MSG_RESULT([$enable_static])
  92914.  
  92915. _LT_CONFIG($1)
  92916. fi
  92917. AC_LANG_POP
  92918. -CC="$lt_save_CC"
  92919. +CC=$lt_save_CC
  92920. ])# _LT_LANG_C_CONFIG
  92921.  
  92922.  
  92923. -# _LT_PROG_CXX
  92924. -# ------------
  92925. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  92926. -# compiler, we have our own version here.
  92927. -m4_defun([_LT_PROG_CXX],
  92928. -[
  92929. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  92930. -AC_PROG_CXX
  92931. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  92932. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  92933. - (test "X$CXX" != "Xg++"))) ; then
  92934. - AC_PROG_CXXCPP
  92935. -else
  92936. - _lt_caught_CXX_error=yes
  92937. -fi
  92938. -popdef([AC_MSG_ERROR])
  92939. -])# _LT_PROG_CXX
  92940. -
  92941. -dnl aclocal-1.4 backwards compatibility:
  92942. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  92943. -
  92944. -
  92945. # _LT_LANG_CXX_CONFIG([TAG])
  92946. # --------------------------
  92947. # Ensure that the configuration variables for a C++ compiler are suitably
  92948. # defined. These variables are subsequently used by _LT_CONFIG to write
  92949. -# the compiler configuration to `libtool'.
  92950. +# the compiler configuration to 'libtool'.
  92951. m4_defun([_LT_LANG_CXX_CONFIG],
  92952. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  92953. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  92954. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  92955. m4_require([_LT_DECL_EGREP])dnl
  92956. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  92957. +if test -n "$CXX" && ( test no != "$CXX" &&
  92958. + ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
  92959. + (test g++ != "$CXX"))); then
  92960. + AC_PROG_CXXCPP
  92961. +else
  92962. + _lt_caught_CXX_error=yes
  92963. +fi
  92964.  
  92965. AC_LANG_PUSH(C++)
  92966. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  92967. @@ -5372,7 +6308,6 @@
  92968. _LT_TAGVAR(hardcode_direct, $1)=no
  92969. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  92970. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  92971. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  92972. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  92973. _LT_TAGVAR(hardcode_minus_L, $1)=no
  92974. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  92975. @@ -5382,6 +6317,8 @@
  92976. _LT_TAGVAR(module_expsym_cmds, $1)=
  92977. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  92978. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  92979. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  92980. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  92981. _LT_TAGVAR(no_undefined_flag, $1)=
  92982. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  92983. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  92984. @@ -5397,7 +6334,7 @@
  92985. # the CXX compiler isn't working. Some variables (like enable_shared)
  92986. # are currently assumed to apply to all compilers on this platform,
  92987. # and will be corrupted by setting them based on a non-working compiler.
  92988. -if test "$_lt_caught_CXX_error" != yes; then
  92989. +if test yes != "$_lt_caught_CXX_error"; then
  92990. # Code to be used in simple compile tests
  92991. lt_simple_compile_test_code="int some_variable = 0;"
  92992.  
  92993. @@ -5413,6 +6350,7 @@
  92994.  
  92995. # Allow CC to be a program name with arguments.
  92996. lt_save_CC=$CC
  92997. + lt_save_CFLAGS=$CFLAGS
  92998. lt_save_LD=$LD
  92999. lt_save_GCC=$GCC
  93000. GCC=$GXX
  93001. @@ -5430,6 +6368,7 @@
  93002. fi
  93003. test -z "${LDCXX+set}" || LD=$LDCXX
  93004. CC=${CXX-"c++"}
  93005. + CFLAGS=$CXXFLAGS
  93006. compiler=$CC
  93007. _LT_TAGVAR(compiler, $1)=$CC
  93008. _LT_CC_BASENAME([$compiler])
  93009. @@ -5437,35 +6376,35 @@
  93010. if test -n "$compiler"; then
  93011. # We don't want -fno-exception when compiling C++ code, so set the
  93012. # no_builtin_flag separately
  93013. - if test "$GXX" = yes; then
  93014. + if test yes = "$GXX"; then
  93015. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  93016. else
  93017. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  93018. fi
  93019.  
  93020. - if test "$GXX" = yes; then
  93021. + if test yes = "$GXX"; then
  93022. # Set up default GNU C++ configuration
  93023.  
  93024. LT_PATH_LD
  93025.  
  93026. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  93027. # archiving commands below assume that GNU ld is being used.
  93028. - if test "$with_gnu_ld" = yes; then
  93029. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93030. - _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'
  93031. + if test yes = "$with_gnu_ld"; then
  93032. + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93033. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  93034.  
  93035. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93036. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93037. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93038. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93039.  
  93040. # If archive_cmds runs LD, not CC, wlarc should be empty
  93041. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  93042. # investigate it a little bit more. (MM)
  93043. - wlarc='${wl}'
  93044. + wlarc='$wl'
  93045.  
  93046. # ancient GNU ld didn't support --whole-archive et. al.
  93047. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  93048. $GREP 'no-whole-archive' > /dev/null; then
  93049. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  93050. + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  93051. else
  93052. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  93053. fi
  93054. @@ -5484,7 +6423,7 @@
  93055. # Commands to make compiler produce verbose output that lists
  93056. # what "hidden" libraries, object files and flags are used when
  93057. # linking a shared library.
  93058. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93059. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93060.  
  93061. else
  93062. GXX=no
  93063. @@ -5501,18 +6440,30 @@
  93064. _LT_TAGVAR(ld_shlibs, $1)=no
  93065. ;;
  93066. aix[[4-9]]*)
  93067. - if test "$host_cpu" = ia64; then
  93068. + if test ia64 = "$host_cpu"; then
  93069. # On IA64, the linker does run time linking by default, so we don't
  93070. # have to do anything special.
  93071. aix_use_runtimelinking=no
  93072. exp_sym_flag='-Bexport'
  93073. - no_entry_flag=""
  93074. + no_entry_flag=
  93075. else
  93076. aix_use_runtimelinking=no
  93077.  
  93078. # Test if we are trying to use run time linking or normal
  93079. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  93080. - # need to do runtime linking.
  93081. + # have runtime linking enabled, and use it for executables.
  93082. + # For shared libraries, we enable/disable runtime linking
  93083. + # depending on the kind of the shared library created -
  93084. + # when "with_aix_soname,aix_use_runtimelinking" is:
  93085. + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  93086. + # "aix,yes" lib.so shared, rtl:yes, for executables
  93087. + # lib.a static archive
  93088. + # "both,no" lib.so.V(shr.o) shared, rtl:yes
  93089. + # lib.a(lib.so.V) shared, rtl:no, for executables
  93090. + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  93091. + # lib.a(lib.so.V) shared, rtl:no
  93092. + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  93093. + # lib.a static archive
  93094. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  93095. for ld_flag in $LDFLAGS; do
  93096. case $ld_flag in
  93097. @@ -5522,6 +6473,13 @@
  93098. ;;
  93099. esac
  93100. done
  93101. + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  93102. + # With aix-soname=svr4, we create the lib.so.V shared archives only,
  93103. + # so we don't have lib.a shared libs to link our executables.
  93104. + # We have to force runtime linking in this case.
  93105. + aix_use_runtimelinking=yes
  93106. + LDFLAGS="$LDFLAGS -Wl,-brtl"
  93107. + fi
  93108. ;;
  93109. esac
  93110.  
  93111. @@ -5540,13 +6498,21 @@
  93112. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  93113. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  93114. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93115. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  93116. + _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
  93117. + case $with_aix_soname,$aix_use_runtimelinking in
  93118. + aix,*) ;; # no import file
  93119. + svr4,* | *,yes) # use import file
  93120. + # The Import File defines what to hardcode.
  93121. + _LT_TAGVAR(hardcode_direct, $1)=no
  93122. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  93123. + ;;
  93124. + esac
  93125.  
  93126. - if test "$GXX" = yes; then
  93127. + if test yes = "$GXX"; then
  93128. case $host_os in aix4.[[012]]|aix4.[[012]].*)
  93129. # We only want to do this on AIX 4.2 and lower, the check
  93130. # below for broken collect2 doesn't work under 4.3+
  93131. - collect2name=`${CC} -print-prog-name=collect2`
  93132. + collect2name=`$CC -print-prog-name=collect2`
  93133. if test -f "$collect2name" &&
  93134. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  93135. then
  93136. @@ -5564,59 +6530,84 @@
  93137. fi
  93138. esac
  93139. shared_flag='-shared'
  93140. - if test "$aix_use_runtimelinking" = yes; then
  93141. - shared_flag="$shared_flag "'${wl}-G'
  93142. + if test yes = "$aix_use_runtimelinking"; then
  93143. + shared_flag=$shared_flag' $wl-G'
  93144. fi
  93145. + # Need to ensure runtime linking is disabled for the traditional
  93146. + # shared library, or the linker may eventually find shared libraries
  93147. + # /with/ Import File - we do not want to mix them.
  93148. + shared_flag_aix='-shared'
  93149. + shared_flag_svr4='-shared $wl-G'
  93150. else
  93151. # not using gcc
  93152. - if test "$host_cpu" = ia64; then
  93153. + if test ia64 = "$host_cpu"; then
  93154. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  93155. # chokes on -Wl,-G. The following line is correct:
  93156. shared_flag='-G'
  93157. else
  93158. - if test "$aix_use_runtimelinking" = yes; then
  93159. - shared_flag='${wl}-G'
  93160. + if test yes = "$aix_use_runtimelinking"; then
  93161. + shared_flag='$wl-G'
  93162. else
  93163. - shared_flag='${wl}-bM:SRE'
  93164. + shared_flag='$wl-bM:SRE'
  93165. fi
  93166. + shared_flag_aix='$wl-bM:SRE'
  93167. + shared_flag_svr4='$wl-G'
  93168. fi
  93169. fi
  93170.  
  93171. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  93172. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
  93173. # It seems that -bexpall does not export symbols beginning with
  93174. # underscore (_), so it is better to generate a list of symbols to
  93175. # export.
  93176. _LT_TAGVAR(always_export_symbols, $1)=yes
  93177. - if test "$aix_use_runtimelinking" = yes; then
  93178. + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  93179. # Warning - without using the other runtime loading flags (-brtl),
  93180. # -berok will link without error, but may produce a broken library.
  93181. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  93182. + # The "-G" linker flag allows undefined symbols.
  93183. + _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
  93184. # Determine the default libpath from the value encoded in an empty
  93185. # executable.
  93186. - _LT_SYS_MODULE_PATH_AIX
  93187. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  93188. + _LT_SYS_MODULE_PATH_AIX([$1])
  93189. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  93190.  
  93191. - _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"
  93192. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  93193. else
  93194. - if test "$host_cpu" = ia64; then
  93195. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  93196. + if test ia64 = "$host_cpu"; then
  93197. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
  93198. _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  93199. - _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"
  93200. + _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"
  93201. else
  93202. # Determine the default libpath from the value encoded in an
  93203. # empty executable.
  93204. - _LT_SYS_MODULE_PATH_AIX
  93205. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  93206. + _LT_SYS_MODULE_PATH_AIX([$1])
  93207. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
  93208. # Warning - without using the other run time loading flags,
  93209. # -berok will link without error, but may produce a broken library.
  93210. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  93211. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  93212. - # Exported symbols can be pulled into shared objects from archives
  93213. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  93214. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
  93215. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
  93216. + if test yes = "$with_gnu_ld"; then
  93217. + # We only use this code for GNU lds that support --whole-archive.
  93218. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
  93219. + else
  93220. + # Exported symbols can be pulled into shared objects from archives
  93221. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  93222. + fi
  93223. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  93224. - # This is similar to how AIX traditionally builds its shared
  93225. - # libraries.
  93226. - _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'
  93227. + _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  93228. + # -brtl affects multiple linker settings, -berok does not and is overridden later
  93229. + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
  93230. + if test svr4 != "$with_aix_soname"; then
  93231. + # This is similar to how AIX traditionally builds its shared
  93232. + # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
  93233. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  93234. + fi
  93235. + if test aix != "$with_aix_soname"; then
  93236. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  93237. + else
  93238. + # used by -dlpreopen to get the symbols
  93239. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  93240. + fi
  93241. + _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
  93242. fi
  93243. fi
  93244. ;;
  93245. @@ -5626,7 +6617,7 @@
  93246. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93247. # Joseph Beckenbach <[email protected]> says some releases of gcc
  93248. # support --undefined. This deserves some investigation. FIXME
  93249. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93250. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93251. else
  93252. _LT_TAGVAR(ld_shlibs, $1)=no
  93253. fi
  93254. @@ -5642,32 +6633,108 @@
  93255. ;;
  93256.  
  93257. cygwin* | mingw* | pw32* | cegcc*)
  93258. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  93259. - # as there is no search path for DLLs.
  93260. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  93261. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93262. - _LT_TAGVAR(always_export_symbols, $1)=no
  93263. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93264. -
  93265. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  93266. - _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'
  93267. - # If the export-symbols file already is a .def file (1st line
  93268. - # is EXPORTS), use it as is; otherwise, prepend...
  93269. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  93270. - cp $export_symbols $output_objdir/$soname.def;
  93271. - else
  93272. - echo EXPORTS > $output_objdir/$soname.def;
  93273. - cat $export_symbols >> $output_objdir/$soname.def;
  93274. - fi~
  93275. - $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'
  93276. - else
  93277. - _LT_TAGVAR(ld_shlibs, $1)=no
  93278. - fi
  93279. - ;;
  93280. + case $GXX,$cc_basename in
  93281. + ,cl* | no,cl*)
  93282. + # Native MSVC
  93283. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  93284. + # no search path for DLLs.
  93285. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  93286. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93287. + _LT_TAGVAR(always_export_symbols, $1)=yes
  93288. + _LT_TAGVAR(file_list_spec, $1)='@'
  93289. + # Tell ltmain to make .lib files, not .a files.
  93290. + libext=lib
  93291. + # Tell ltmain to make .dll files, not .so files.
  93292. + shrext_cmds=.dll
  93293. + # FIXME: Setting linknames here is a bad hack.
  93294. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  93295. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  93296. + cp "$export_symbols" "$output_objdir/$soname.def";
  93297. + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  93298. + else
  93299. + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  93300. + fi~
  93301. + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  93302. + linknames='
  93303. + # The linker will not automatically build a static lib if we build a DLL.
  93304. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  93305. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93306. + # Don't use ranlib
  93307. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  93308. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  93309. + lt_tool_outputfile="@TOOL_OUTPUT@"~
  93310. + case $lt_outputfile in
  93311. + *.exe|*.EXE) ;;
  93312. + *)
  93313. + lt_outputfile=$lt_outputfile.exe
  93314. + lt_tool_outputfile=$lt_tool_outputfile.exe
  93315. + ;;
  93316. + esac~
  93317. + func_to_tool_file "$lt_outputfile"~
  93318. + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  93319. + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  93320. + $RM "$lt_outputfile.manifest";
  93321. + fi'
  93322. + ;;
  93323. + *)
  93324. + # g++
  93325. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  93326. + # as there is no search path for DLLs.
  93327. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  93328. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
  93329. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93330. + _LT_TAGVAR(always_export_symbols, $1)=no
  93331. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93332. +
  93333. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  93334. + _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'
  93335. + # If the export-symbols file already is a .def file, use it as
  93336. + # is; otherwise, prepend EXPORTS...
  93337. + _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
  93338. + cp $export_symbols $output_objdir/$soname.def;
  93339. + else
  93340. + echo EXPORTS > $output_objdir/$soname.def;
  93341. + cat $export_symbols >> $output_objdir/$soname.def;
  93342. + fi~
  93343. + $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'
  93344. + else
  93345. + _LT_TAGVAR(ld_shlibs, $1)=no
  93346. + fi
  93347. + ;;
  93348. + esac
  93349. + ;;
  93350. darwin* | rhapsody*)
  93351. _LT_DARWIN_LINKER_FEATURES($1)
  93352. ;;
  93353.  
  93354. + os2*)
  93355. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  93356. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  93357. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  93358. + shrext_cmds=.dll
  93359. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  93360. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  93361. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  93362. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  93363. + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  93364. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  93365. + emximp -o $lib $output_objdir/$libname.def'
  93366. + _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  93367. + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  93368. + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  93369. + $ECHO EXPORTS >> $output_objdir/$libname.def~
  93370. + prefix_cmds="$SED"~
  93371. + if test EXPORTS = "`$SED 1q $export_symbols`"; then
  93372. + prefix_cmds="$prefix_cmds -e 1d";
  93373. + fi~
  93374. + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  93375. + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  93376. + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  93377. + emximp -o $lib $output_objdir/$libname.def'
  93378. + _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  93379. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  93380. + ;;
  93381. +
  93382. dgux*)
  93383. case $cc_basename in
  93384. ec++*)
  93385. @@ -5686,7 +6753,7 @@
  93386. esac
  93387. ;;
  93388.  
  93389. - freebsd[[12]]*)
  93390. + freebsd2.*)
  93391. # C++ shared libraries reported to be fairly broken before
  93392. # switch to ELF
  93393. _LT_TAGVAR(ld_shlibs, $1)=no
  93394. @@ -5702,13 +6769,15 @@
  93395. _LT_TAGVAR(ld_shlibs, $1)=yes
  93396. ;;
  93397.  
  93398. - gnu*)
  93399. + haiku*)
  93400. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93401. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  93402. ;;
  93403.  
  93404. hpux9*)
  93405. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  93406. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  93407. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93408. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93409. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93410. _LT_TAGVAR(hardcode_direct, $1)=yes
  93411. _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  93412. # but as the default
  93413. @@ -5720,7 +6789,7 @@
  93414. _LT_TAGVAR(ld_shlibs, $1)=no
  93415. ;;
  93416. aCC*)
  93417. - _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'
  93418. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  93419. # Commands to make compiler produce verbose output that lists
  93420. # what "hidden" libraries, object files and flags are used when
  93421. # linking a shared library.
  93422. @@ -5729,11 +6798,11 @@
  93423. # explicitly linking system object files so we need to strip them
  93424. # from the output so that they don't get included in the library
  93425. # dependencies.
  93426. - 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'
  93427. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  93428. ;;
  93429. *)
  93430. - if test "$GXX" = yes; then
  93431. - _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'
  93432. + if test yes = "$GXX"; then
  93433. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  93434. else
  93435. # FIXME: insert proper C++ library support
  93436. _LT_TAGVAR(ld_shlibs, $1)=no
  93437. @@ -5743,15 +6812,15 @@
  93438. ;;
  93439.  
  93440. hpux10*|hpux11*)
  93441. - if test $with_gnu_ld = no; then
  93442. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  93443. + if test no = "$with_gnu_ld"; then
  93444. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
  93445. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93446.  
  93447. case $host_cpu in
  93448. hppa*64*|ia64*)
  93449. ;;
  93450. *)
  93451. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93452. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93453. ;;
  93454. esac
  93455. fi
  93456. @@ -5777,13 +6846,13 @@
  93457. aCC*)
  93458. case $host_cpu in
  93459. hppa*64*)
  93460. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93461. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93462. ;;
  93463. ia64*)
  93464. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93465. + _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93466. ;;
  93467. *)
  93468. - _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'
  93469. + _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'
  93470. ;;
  93471. esac
  93472. # Commands to make compiler produce verbose output that lists
  93473. @@ -5794,20 +6863,20 @@
  93474. # explicitly linking system object files so we need to strip them
  93475. # from the output so that they don't get included in the library
  93476. # dependencies.
  93477. - 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'
  93478. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  93479. ;;
  93480. *)
  93481. - if test "$GXX" = yes; then
  93482. - if test $with_gnu_ld = no; then
  93483. + if test yes = "$GXX"; then
  93484. + if test no = "$with_gnu_ld"; then
  93485. case $host_cpu in
  93486. hppa*64*)
  93487. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93488. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93489. ;;
  93490. ia64*)
  93491. - _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'
  93492. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93493. ;;
  93494. *)
  93495. - _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'
  93496. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93497. ;;
  93498. esac
  93499. fi
  93500. @@ -5822,22 +6891,22 @@
  93501. interix[[3-9]]*)
  93502. _LT_TAGVAR(hardcode_direct, $1)=no
  93503. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93504. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93505. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93506. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93507. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93508. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  93509. # Instead, shared libraries are loaded at an image base (0x10000000 by
  93510. # default) and relocated if they conflict, which is a slow very memory
  93511. # consuming and fragmenting process. To avoid this, we pick a random,
  93512. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  93513. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  93514. - _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'
  93515. - _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'
  93516. + _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'
  93517. + _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'
  93518. ;;
  93519. irix5* | irix6*)
  93520. case $cc_basename in
  93521. CC*)
  93522. # SGI C++
  93523. - _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'
  93524. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  93525.  
  93526. # Archives containing C++ object files must be created using
  93527. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  93528. @@ -5846,22 +6915,22 @@
  93529. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  93530. ;;
  93531. *)
  93532. - if test "$GXX" = yes; then
  93533. - if test "$with_gnu_ld" = no; then
  93534. - _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'
  93535. + if test yes = "$GXX"; then
  93536. + if test no = "$with_gnu_ld"; then
  93537. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  93538. else
  93539. - _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'
  93540. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
  93541. fi
  93542. fi
  93543. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93544. ;;
  93545. esac
  93546. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93547. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93548. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93549. _LT_TAGVAR(inherit_rpath, $1)=yes
  93550. ;;
  93551.  
  93552. - linux* | k*bsd*-gnu | kopensolaris*-gnu)
  93553. + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  93554. case $cc_basename in
  93555. KCC*)
  93556. # Kuck and Associates, Inc. (KAI) C++ Compiler
  93557. @@ -5869,8 +6938,8 @@
  93558. # KCC will only create a shared library if the output file
  93559. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  93560. # to its proper name (with version) after linking.
  93561. - _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'
  93562. - _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'
  93563. + _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'
  93564. + _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'
  93565. # Commands to make compiler produce verbose output that lists
  93566. # what "hidden" libraries, object files and flags are used when
  93567. # linking a shared library.
  93568. @@ -5879,10 +6948,10 @@
  93569. # explicitly linking system object files so we need to strip them
  93570. # from the output so that they don't get included in the library
  93571. # dependencies.
  93572. - 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'
  93573. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  93574.  
  93575. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93576. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93577. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93578. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93579.  
  93580. # Archives containing C++ object files must be created using
  93581. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  93582. @@ -5896,59 +6965,59 @@
  93583. # earlier do not add the objects themselves.
  93584. case `$CC -V 2>&1` in
  93585. *"Version 7."*)
  93586. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93587. - _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'
  93588. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93589. + _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'
  93590. ;;
  93591. *) # Version 8.0 or newer
  93592. tmp_idyn=
  93593. case $host_cpu in
  93594. ia64*) tmp_idyn=' -i_dynamic';;
  93595. esac
  93596. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93597. - _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'
  93598. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93599. + _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'
  93600. ;;
  93601. esac
  93602. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  93603. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93604. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93605. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  93606. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93607. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93608. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
  93609. ;;
  93610. pgCC* | pgcpp*)
  93611. # Portland Group C++ compiler
  93612. case `$CC -V` in
  93613. - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  93614. + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
  93615. _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  93616. - rm -rf $tpldir~
  93617. - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  93618. - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  93619. + rm -rf $tpldir~
  93620. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  93621. + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  93622. _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  93623. - rm -rf $tpldir~
  93624. - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  93625. - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  93626. - $RANLIB $oldlib'
  93627. + rm -rf $tpldir~
  93628. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  93629. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  93630. + $RANLIB $oldlib'
  93631. _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  93632. - rm -rf $tpldir~
  93633. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93634. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  93635. + rm -rf $tpldir~
  93636. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93637. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93638. _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  93639. - rm -rf $tpldir~
  93640. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93641. - $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'
  93642. + rm -rf $tpldir~
  93643. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  93644. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  93645. ;;
  93646. - *) # Version 6 will use weak symbols
  93647. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  93648. - _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'
  93649. + *) # Version 6 and above use weak symbols
  93650. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93651. + _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'
  93652. ;;
  93653. esac
  93654.  
  93655. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  93656. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93657. - _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'
  93658. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
  93659. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93660. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  93661. ;;
  93662. cxx*)
  93663. # Compaq C++
  93664. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93665. - _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'
  93666. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
  93667. + _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'
  93668.  
  93669. runpath_var=LD_RUN_PATH
  93670. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  93671. @@ -5962,18 +7031,18 @@
  93672. # explicitly linking system object files so we need to strip them
  93673. # from the output so that they don't get included in the library
  93674. # dependencies.
  93675. - 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'
  93676. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
  93677. ;;
  93678. - xl*)
  93679. + xl* | mpixl* | bgxl*)
  93680. # IBM XL 8.0 on PPC, with GNU ld
  93681. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93682. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  93683. - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  93684. - if test "x$supports_anon_versioning" = xyes; then
  93685. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93686. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
  93687. + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  93688. + if test yes = "$supports_anon_versioning"; then
  93689. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  93690. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  93691. - echo "local: *; };" >> $output_objdir/$libname.ver~
  93692. - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  93693. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  93694. + echo "local: *; };" >> $output_objdir/$libname.ver~
  93695. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  93696. fi
  93697. ;;
  93698. *)
  93699. @@ -5981,16 +7050,16 @@
  93700. *Sun\ C*)
  93701. # Sun C++ 5.9
  93702. _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  93703. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93704. - _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'
  93705. + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93706. + _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'
  93707. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  93708. - _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'
  93709. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  93710. _LT_TAGVAR(compiler_needs_object, $1)=yes
  93711.  
  93712. # Not sure whether something based on
  93713. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  93714. # would be better.
  93715. - output_verbose_link_cmd='echo'
  93716. + output_verbose_link_cmd='func_echo_all'
  93717.  
  93718. # Archives containing C++ object files must be created using
  93719. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  93720. @@ -6042,24 +7111,19 @@
  93721. _LT_TAGVAR(ld_shlibs, $1)=yes
  93722. ;;
  93723.  
  93724. - openbsd2*)
  93725. - # C++ shared libraries are fairly broken
  93726. - _LT_TAGVAR(ld_shlibs, $1)=no
  93727. - ;;
  93728. -
  93729. - openbsd*)
  93730. + openbsd* | bitrig*)
  93731. if test -f /usr/libexec/ld.so; then
  93732. _LT_TAGVAR(hardcode_direct, $1)=yes
  93733. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93734. _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  93735. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  93736. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93737. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  93738. - _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'
  93739. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  93740. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  93741. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93742. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
  93743. + _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'
  93744. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
  93745. + _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  93746. fi
  93747. - output_verbose_link_cmd=echo
  93748. + output_verbose_link_cmd=func_echo_all
  93749. else
  93750. _LT_TAGVAR(ld_shlibs, $1)=no
  93751. fi
  93752. @@ -6073,9 +7137,9 @@
  93753. # KCC will only create a shared library if the output file
  93754. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  93755. # to its proper name (with version) after linking.
  93756. - _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'
  93757. + _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'
  93758.  
  93759. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  93760. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
  93761. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93762.  
  93763. # Archives containing C++ object files must be created using
  93764. @@ -6093,17 +7157,17 @@
  93765. cxx*)
  93766. case $host in
  93767. osf3*)
  93768. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  93769. - _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'
  93770. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93771. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  93772. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  93773. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93774. ;;
  93775. *)
  93776. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  93777. - _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'
  93778. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  93779. _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  93780. - echo "-hidden">> $lib.exp~
  93781. - $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~
  93782. - $RM $lib.exp'
  93783. + echo "-hidden">> $lib.exp~
  93784. + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
  93785. + $RM $lib.exp'
  93786. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  93787. ;;
  93788. esac
  93789. @@ -6118,27 +7182,27 @@
  93790. # explicitly linking system object files so we need to strip them
  93791. # from the output so that they don't get included in the library
  93792. # dependencies.
  93793. - 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'
  93794. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  93795. ;;
  93796. *)
  93797. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  93798. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  93799. + if test yes,no = "$GXX,$with_gnu_ld"; then
  93800. + _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
  93801. case $host in
  93802. osf3*)
  93803. - _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'
  93804. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  93805. ;;
  93806. *)
  93807. - _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'
  93808. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  93809. ;;
  93810. esac
  93811.  
  93812. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  93813. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
  93814. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  93815.  
  93816. # Commands to make compiler produce verbose output that lists
  93817. # what "hidden" libraries, object files and flags are used when
  93818. # linking a shared library.
  93819. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93820. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93821.  
  93822. else
  93823. # FIXME: insert proper C++ library support
  93824. @@ -6174,13 +7238,13 @@
  93825.  
  93826. solaris*)
  93827. case $cc_basename in
  93828. - CC*)
  93829. + CC* | sunCC*)
  93830. # Sun C++ 4.2, 5.x and Centerline C++
  93831. _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  93832. _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  93833. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93834. + _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  93835. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  93836. - $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'
  93837. + $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'
  93838.  
  93839. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  93840. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93841. @@ -6188,14 +7252,14 @@
  93842. solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  93843. *)
  93844. # The compiler driver will combine and reorder linker options,
  93845. - # but understands `-z linker_flag'.
  93846. + # but understands '-z linker_flag'.
  93847. # Supported since Solaris 2.6 (maybe 2.5.1?)
  93848. _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  93849. ;;
  93850. esac
  93851. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93852.  
  93853. - output_verbose_link_cmd='echo'
  93854. + output_verbose_link_cmd='func_echo_all'
  93855.  
  93856. # Archives containing C++ object files must be created using
  93857. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  93858. @@ -6205,42 +7269,42 @@
  93859. ;;
  93860. gcx*)
  93861. # Green Hills C++ Compiler
  93862. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  93863. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
  93864.  
  93865. # The C++ compiler must be used to create the archive.
  93866. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  93867. ;;
  93868. *)
  93869. # GNU C++ compiler with Solaris linker
  93870. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  93871. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  93872. + if test yes,no = "$GXX,$with_gnu_ld"; then
  93873. + _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
  93874. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  93875. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  93876. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
  93877. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  93878. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  93879. + $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  93880.  
  93881. # Commands to make compiler produce verbose output that lists
  93882. # what "hidden" libraries, object files and flags are used when
  93883. # linking a shared library.
  93884. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93885. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93886. else
  93887. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  93888. + # g++ 2.7 appears to require '-G' NOT '-shared' on this
  93889. # platform.
  93890. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  93891. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
  93892. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  93893. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  93894. + $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  93895.  
  93896. # Commands to make compiler produce verbose output that lists
  93897. # what "hidden" libraries, object files and flags are used when
  93898. # linking a shared library.
  93899. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  93900. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  93901. fi
  93902.  
  93903. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  93904. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
  93905. case $host_os in
  93906. solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  93907. *)
  93908. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  93909. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  93910. ;;
  93911. esac
  93912. fi
  93913. @@ -6249,48 +7313,52 @@
  93914. ;;
  93915.  
  93916. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  93917. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  93918. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  93919. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  93920. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93921. runpath_var='LD_RUN_PATH'
  93922.  
  93923. case $cc_basename in
  93924. CC*)
  93925. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93926. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93927. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93928. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93929. ;;
  93930. *)
  93931. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93932. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93933. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93934. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93935. ;;
  93936. esac
  93937. ;;
  93938.  
  93939. sysv5* | sco3.2v5* | sco5v6*)
  93940. - # Note: We can NOT use -z defs as we might desire, because we do not
  93941. + # Note: We CANNOT use -z defs as we might desire, because we do not
  93942. # link with -lc, and that would cause any symbols used from libc to
  93943. # always be unresolved, which means just about no library would
  93944. # ever link correctly. If we're not using GNU ld we use -z text
  93945. # though, which does catch some bad symbols but isn't as heavy-handed
  93946. # as -z defs.
  93947. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  93948. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  93949. + _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
  93950. + _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
  93951. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  93952. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  93953. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  93954. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
  93955. _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  93956. _LT_TAGVAR(link_all_deplibs, $1)=yes
  93957. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  93958. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
  93959. runpath_var='LD_RUN_PATH'
  93960.  
  93961. case $cc_basename in
  93962. CC*)
  93963. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93964. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93965. + _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93966. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93967. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
  93968. + '"$_LT_TAGVAR(old_archive_cmds, $1)"
  93969. + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
  93970. + '"$_LT_TAGVAR(reload_cmds, $1)"
  93971. ;;
  93972. *)
  93973. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93974. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93975. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93976. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  93977. ;;
  93978. esac
  93979. ;;
  93980. @@ -6321,10 +7389,10 @@
  93981. esac
  93982.  
  93983. AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  93984. - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  93985. + test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
  93986.  
  93987. - _LT_TAGVAR(GCC, $1)="$GXX"
  93988. - _LT_TAGVAR(LD, $1)="$LD"
  93989. + _LT_TAGVAR(GCC, $1)=$GXX
  93990. + _LT_TAGVAR(LD, $1)=$LD
  93991.  
  93992. ## CAVEAT EMPTOR:
  93993. ## There is no encapsulation within the following macros, do not change
  93994. @@ -6342,6 +7410,7 @@
  93995. fi # test -n "$compiler"
  93996.  
  93997. CC=$lt_save_CC
  93998. + CFLAGS=$lt_save_CFLAGS
  93999. LDCXX=$LD
  94000. LD=$lt_save_LD
  94001. GCC=$lt_save_GCC
  94002. @@ -6350,12 +7419,36 @@
  94003. lt_cv_path_LD=$lt_save_path_LD
  94004. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  94005. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  94006. -fi # test "$_lt_caught_CXX_error" != yes
  94007. +fi # test yes != "$_lt_caught_CXX_error"
  94008.  
  94009. AC_LANG_POP
  94010. ])# _LT_LANG_CXX_CONFIG
  94011.  
  94012.  
  94013. +# _LT_FUNC_STRIPNAME_CNF
  94014. +# ----------------------
  94015. +# func_stripname_cnf prefix suffix name
  94016. +# strip PREFIX and SUFFIX off of NAME.
  94017. +# PREFIX and SUFFIX must not contain globbing or regex special
  94018. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  94019. +# dot (in which case that matches only a dot).
  94020. +#
  94021. +# This function is identical to the (non-XSI) version of func_stripname,
  94022. +# except this one can be used by m4 code that may be executed by configure,
  94023. +# rather than the libtool script.
  94024. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
  94025. +AC_REQUIRE([_LT_DECL_SED])
  94026. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
  94027. +func_stripname_cnf ()
  94028. +{
  94029. + case @S|@2 in
  94030. + .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
  94031. + *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
  94032. + esac
  94033. +} # func_stripname_cnf
  94034. +])# _LT_FUNC_STRIPNAME_CNF
  94035. +
  94036. +
  94037. # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  94038. # ---------------------------------
  94039. # Figure out "hidden" library dependencies from verbose
  94040. @@ -6364,6 +7457,7 @@
  94041. # objects, libraries and library flags.
  94042. m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  94043. [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  94044. +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
  94045. # Dependencies to place before and after the object being linked:
  94046. _LT_TAGVAR(predep_objects, $1)=
  94047. _LT_TAGVAR(postdep_objects, $1)=
  94048. @@ -6413,7 +7507,20 @@
  94049. }
  94050. };
  94051. _LT_EOF
  94052. +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
  94053. +package foo
  94054. +func foo() {
  94055. +}
  94056. +_LT_EOF
  94057. ])
  94058. +
  94059. +_lt_libdeps_save_CFLAGS=$CFLAGS
  94060. +case "$CC $CFLAGS " in #(
  94061. +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
  94062. +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
  94063. +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
  94064. +esac
  94065. +
  94066. dnl Parse the compiler output and extract the necessary
  94067. dnl objects, libraries and library flags.
  94068. if AC_TRY_EVAL(ac_compile); then
  94069. @@ -6425,29 +7532,38 @@
  94070. pre_test_object_deps_done=no
  94071.  
  94072. for p in `eval "$output_verbose_link_cmd"`; do
  94073. - case $p in
  94074. + case $prev$p in
  94075.  
  94076. -L* | -R* | -l*)
  94077. # Some compilers place space between "-{L,R}" and the path.
  94078. # Remove the space.
  94079. - if test $p = "-L" ||
  94080. - test $p = "-R"; then
  94081. + if test x-L = "$p" ||
  94082. + test x-R = "$p"; then
  94083. prev=$p
  94084. continue
  94085. - else
  94086. - prev=
  94087. fi
  94088.  
  94089. - if test "$pre_test_object_deps_done" = no; then
  94090. - case $p in
  94091. - -L* | -R*)
  94092. + # Expand the sysroot to ease extracting the directories later.
  94093. + if test -z "$prev"; then
  94094. + case $p in
  94095. + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
  94096. + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
  94097. + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
  94098. + esac
  94099. + fi
  94100. + case $p in
  94101. + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
  94102. + esac
  94103. + if test no = "$pre_test_object_deps_done"; then
  94104. + case $prev in
  94105. + -L | -R)
  94106. # Internal compiler library paths should come after those
  94107. # provided the user. The postdeps already come after the
  94108. # user supplied libs so there is no need to process them.
  94109. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  94110. - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  94111. + _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
  94112. else
  94113. - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  94114. + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
  94115. fi
  94116. ;;
  94117. # The "-l" case would never come before the object being
  94118. @@ -6455,13 +7571,15 @@
  94119. esac
  94120. else
  94121. if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  94122. - _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  94123. + _LT_TAGVAR(postdeps, $1)=$prev$p
  94124. else
  94125. - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  94126. + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
  94127. fi
  94128. fi
  94129. + prev=
  94130. ;;
  94131.  
  94132. + *.lto.$objext) ;; # Ignore GCC LTO objects
  94133. *.$objext)
  94134. # This assumes that the test object file only shows up
  94135. # once in the compiler output.
  94136. @@ -6470,15 +7588,15 @@
  94137. continue
  94138. fi
  94139.  
  94140. - if test "$pre_test_object_deps_done" = no; then
  94141. + if test no = "$pre_test_object_deps_done"; then
  94142. if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  94143. - _LT_TAGVAR(predep_objects, $1)="$p"
  94144. + _LT_TAGVAR(predep_objects, $1)=$p
  94145. else
  94146. _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  94147. fi
  94148. else
  94149. if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  94150. - _LT_TAGVAR(postdep_objects, $1)="$p"
  94151. + _LT_TAGVAR(postdep_objects, $1)=$p
  94152. else
  94153. _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  94154. fi
  94155. @@ -6497,6 +7615,7 @@
  94156. fi
  94157.  
  94158. $RM -f confest.$objext
  94159. +CFLAGS=$_lt_libdeps_save_CFLAGS
  94160.  
  94161. # PORTME: override above test on systems where it is broken
  94162. m4_if([$1], [CXX],
  94163. @@ -6508,51 +7627,6 @@
  94164. _LT_TAGVAR(postdep_objects,$1)=
  94165. _LT_TAGVAR(postdeps,$1)=
  94166. ;;
  94167. -
  94168. -linux*)
  94169. - case `$CC -V 2>&1 | sed 5q` in
  94170. - *Sun\ C*)
  94171. - # Sun C++ 5.9
  94172. -
  94173. - # The more standards-conforming stlport4 library is
  94174. - # incompatible with the Cstd library. Avoid specifying
  94175. - # it if it's in CXXFLAGS. Ignore libCrun as
  94176. - # -library=stlport4 depends on it.
  94177. - case " $CXX $CXXFLAGS " in
  94178. - *" -library=stlport4 "*)
  94179. - solaris_use_stlport4=yes
  94180. - ;;
  94181. - esac
  94182. -
  94183. - if test "$solaris_use_stlport4" != yes; then
  94184. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  94185. - fi
  94186. - ;;
  94187. - esac
  94188. - ;;
  94189. -
  94190. -solaris*)
  94191. - case $cc_basename in
  94192. - CC*)
  94193. - # The more standards-conforming stlport4 library is
  94194. - # incompatible with the Cstd library. Avoid specifying
  94195. - # it if it's in CXXFLAGS. Ignore libCrun as
  94196. - # -library=stlport4 depends on it.
  94197. - case " $CXX $CXXFLAGS " in
  94198. - *" -library=stlport4 "*)
  94199. - solaris_use_stlport4=yes
  94200. - ;;
  94201. - esac
  94202. -
  94203. - # Adding this requires a known-good setup of shared libraries for
  94204. - # Sun compiler versions before 5.6, else PIC objects from an old
  94205. - # archive will be linked into the output, leading to subtle bugs.
  94206. - if test "$solaris_use_stlport4" != yes; then
  94207. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  94208. - fi
  94209. - ;;
  94210. - esac
  94211. - ;;
  94212. esac
  94213. ])
  94214.  
  94215. @@ -6561,7 +7635,7 @@
  94216. esac
  94217. _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  94218. if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  94219. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  94220. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
  94221. fi
  94222. _LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  94223. [The directories searched by this compiler when creating a shared library])
  94224. @@ -6577,32 +7651,16 @@
  94225. ])# _LT_SYS_HIDDEN_LIBDEPS
  94226.  
  94227.  
  94228. -# _LT_PROG_F77
  94229. -# ------------
  94230. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  94231. -# if there is no fortran compiler, we have our own version here.
  94232. -m4_defun([_LT_PROG_F77],
  94233. -[
  94234. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  94235. -AC_PROG_F77
  94236. -if test -z "$F77" || test "X$F77" = "Xno"; then
  94237. - _lt_disable_F77=yes
  94238. -fi
  94239. -popdef([AC_MSG_ERROR])
  94240. -])# _LT_PROG_F77
  94241. -
  94242. -dnl aclocal-1.4 backwards compatibility:
  94243. -dnl AC_DEFUN([_LT_PROG_F77], [])
  94244. -
  94245. -
  94246. # _LT_LANG_F77_CONFIG([TAG])
  94247. # --------------------------
  94248. # Ensure that the configuration variables for a Fortran 77 compiler are
  94249. # suitably defined. These variables are subsequently used by _LT_CONFIG
  94250. -# to write the compiler configuration to `libtool'.
  94251. +# to write the compiler configuration to 'libtool'.
  94252. m4_defun([_LT_LANG_F77_CONFIG],
  94253. -[AC_REQUIRE([_LT_PROG_F77])dnl
  94254. -AC_LANG_PUSH(Fortran 77)
  94255. +[AC_LANG_PUSH(Fortran 77)
  94256. +if test -z "$F77" || test no = "$F77"; then
  94257. + _lt_disable_F77=yes
  94258. +fi
  94259.  
  94260. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94261. _LT_TAGVAR(allow_undefined_flag, $1)=
  94262. @@ -6612,7 +7670,6 @@
  94263. _LT_TAGVAR(hardcode_direct, $1)=no
  94264. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  94265. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  94266. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  94267. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  94268. _LT_TAGVAR(hardcode_minus_L, $1)=no
  94269. _LT_TAGVAR(hardcode_automatic, $1)=no
  94270. @@ -6621,6 +7678,8 @@
  94271. _LT_TAGVAR(module_expsym_cmds, $1)=
  94272. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  94273. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94274. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94275. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94276. _LT_TAGVAR(no_undefined_flag, $1)=
  94277. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  94278. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  94279. @@ -6636,7 +7695,7 @@
  94280. # the F77 compiler isn't working. Some variables (like enable_shared)
  94281. # are currently assumed to apply to all compilers on this platform,
  94282. # and will be corrupted by setting them based on a non-working compiler.
  94283. -if test "$_lt_disable_F77" != yes; then
  94284. +if test yes != "$_lt_disable_F77"; then
  94285. # Code to be used in simple compile tests
  94286. lt_simple_compile_test_code="\
  94287. subroutine t
  94288. @@ -6658,9 +7717,11 @@
  94289. _LT_LINKER_BOILERPLATE
  94290.  
  94291. # Allow CC to be a program name with arguments.
  94292. - lt_save_CC="$CC"
  94293. + lt_save_CC=$CC
  94294. lt_save_GCC=$GCC
  94295. + lt_save_CFLAGS=$CFLAGS
  94296. CC=${F77-"f77"}
  94297. + CFLAGS=$FFLAGS
  94298. compiler=$CC
  94299. _LT_TAGVAR(compiler, $1)=$CC
  94300. _LT_CC_BASENAME([$compiler])
  94301. @@ -6670,21 +7731,25 @@
  94302. AC_MSG_RESULT([$can_build_shared])
  94303.  
  94304. AC_MSG_CHECKING([whether to build shared libraries])
  94305. - test "$can_build_shared" = "no" && enable_shared=no
  94306. + test no = "$can_build_shared" && enable_shared=no
  94307.  
  94308. # On AIX, shared libraries and static libraries use the same namespace, and
  94309. # are all built from PIC.
  94310. case $host_os in
  94311. aix3*)
  94312. - test "$enable_shared" = yes && enable_static=no
  94313. + test yes = "$enable_shared" && enable_static=no
  94314. if test -n "$RANLIB"; then
  94315. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  94316. postinstall_cmds='$RANLIB $lib'
  94317. fi
  94318. ;;
  94319. aix[[4-9]]*)
  94320. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  94321. - test "$enable_shared" = yes && enable_static=no
  94322. + if test ia64 != "$host_cpu"; then
  94323. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  94324. + yes,aix,yes) ;; # shared object as lib.so file only
  94325. + yes,svr4,*) ;; # shared object as lib.so archive member only
  94326. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  94327. + esac
  94328. fi
  94329. ;;
  94330. esac
  94331. @@ -6692,11 +7757,11 @@
  94332.  
  94333. AC_MSG_CHECKING([whether to build static libraries])
  94334. # Make sure either enable_shared or enable_static is yes.
  94335. - test "$enable_shared" = yes || enable_static=yes
  94336. + test yes = "$enable_shared" || enable_static=yes
  94337. AC_MSG_RESULT([$enable_static])
  94338.  
  94339. - _LT_TAGVAR(GCC, $1)="$G77"
  94340. - _LT_TAGVAR(LD, $1)="$LD"
  94341. + _LT_TAGVAR(GCC, $1)=$G77
  94342. + _LT_TAGVAR(LD, $1)=$LD
  94343.  
  94344. ## CAVEAT EMPTOR:
  94345. ## There is no encapsulation within the following macros, do not change
  94346. @@ -6713,39 +7778,25 @@
  94347. fi # test -n "$compiler"
  94348.  
  94349. GCC=$lt_save_GCC
  94350. - CC="$lt_save_CC"
  94351. -fi # test "$_lt_disable_F77" != yes
  94352. + CC=$lt_save_CC
  94353. + CFLAGS=$lt_save_CFLAGS
  94354. +fi # test yes != "$_lt_disable_F77"
  94355.  
  94356. AC_LANG_POP
  94357. ])# _LT_LANG_F77_CONFIG
  94358.  
  94359.  
  94360. -# _LT_PROG_FC
  94361. -# -----------
  94362. -# Since AC_PROG_FC is broken, in that it returns the empty string
  94363. -# if there is no fortran compiler, we have our own version here.
  94364. -m4_defun([_LT_PROG_FC],
  94365. -[
  94366. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  94367. -AC_PROG_FC
  94368. -if test -z "$FC" || test "X$FC" = "Xno"; then
  94369. - _lt_disable_FC=yes
  94370. -fi
  94371. -popdef([AC_MSG_ERROR])
  94372. -])# _LT_PROG_FC
  94373. -
  94374. -dnl aclocal-1.4 backwards compatibility:
  94375. -dnl AC_DEFUN([_LT_PROG_FC], [])
  94376. -
  94377. -
  94378. # _LT_LANG_FC_CONFIG([TAG])
  94379. # -------------------------
  94380. # Ensure that the configuration variables for a Fortran compiler are
  94381. # suitably defined. These variables are subsequently used by _LT_CONFIG
  94382. -# to write the compiler configuration to `libtool'.
  94383. +# to write the compiler configuration to 'libtool'.
  94384. m4_defun([_LT_LANG_FC_CONFIG],
  94385. -[AC_REQUIRE([_LT_PROG_FC])dnl
  94386. -AC_LANG_PUSH(Fortran)
  94387. +[AC_LANG_PUSH(Fortran)
  94388. +
  94389. +if test -z "$FC" || test no = "$FC"; then
  94390. + _lt_disable_FC=yes
  94391. +fi
  94392.  
  94393. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94394. _LT_TAGVAR(allow_undefined_flag, $1)=
  94395. @@ -6755,7 +7806,6 @@
  94396. _LT_TAGVAR(hardcode_direct, $1)=no
  94397. _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  94398. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  94399. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  94400. _LT_TAGVAR(hardcode_libdir_separator, $1)=
  94401. _LT_TAGVAR(hardcode_minus_L, $1)=no
  94402. _LT_TAGVAR(hardcode_automatic, $1)=no
  94403. @@ -6764,6 +7814,8 @@
  94404. _LT_TAGVAR(module_expsym_cmds, $1)=
  94405. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  94406. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94407. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94408. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94409. _LT_TAGVAR(no_undefined_flag, $1)=
  94410. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  94411. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  94412. @@ -6779,7 +7831,7 @@
  94413. # the FC compiler isn't working. Some variables (like enable_shared)
  94414. # are currently assumed to apply to all compilers on this platform,
  94415. # and will be corrupted by setting them based on a non-working compiler.
  94416. -if test "$_lt_disable_FC" != yes; then
  94417. +if test yes != "$_lt_disable_FC"; then
  94418. # Code to be used in simple compile tests
  94419. lt_simple_compile_test_code="\
  94420. subroutine t
  94421. @@ -6801,9 +7853,11 @@
  94422. _LT_LINKER_BOILERPLATE
  94423.  
  94424. # Allow CC to be a program name with arguments.
  94425. - lt_save_CC="$CC"
  94426. + lt_save_CC=$CC
  94427. lt_save_GCC=$GCC
  94428. + lt_save_CFLAGS=$CFLAGS
  94429. CC=${FC-"f95"}
  94430. + CFLAGS=$FCFLAGS
  94431. compiler=$CC
  94432. GCC=$ac_cv_fc_compiler_gnu
  94433.  
  94434. @@ -6815,21 +7869,25 @@
  94435. AC_MSG_RESULT([$can_build_shared])
  94436.  
  94437. AC_MSG_CHECKING([whether to build shared libraries])
  94438. - test "$can_build_shared" = "no" && enable_shared=no
  94439. + test no = "$can_build_shared" && enable_shared=no
  94440.  
  94441. # On AIX, shared libraries and static libraries use the same namespace, and
  94442. # are all built from PIC.
  94443. case $host_os in
  94444. aix3*)
  94445. - test "$enable_shared" = yes && enable_static=no
  94446. + test yes = "$enable_shared" && enable_static=no
  94447. if test -n "$RANLIB"; then
  94448. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  94449. postinstall_cmds='$RANLIB $lib'
  94450. fi
  94451. ;;
  94452. aix[[4-9]]*)
  94453. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  94454. - test "$enable_shared" = yes && enable_static=no
  94455. + if test ia64 != "$host_cpu"; then
  94456. + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  94457. + yes,aix,yes) ;; # shared object as lib.so file only
  94458. + yes,svr4,*) ;; # shared object as lib.so archive member only
  94459. + yes,*) enable_static=no ;; # shared object in lib.a archive as well
  94460. + esac
  94461. fi
  94462. ;;
  94463. esac
  94464. @@ -6837,11 +7895,11 @@
  94465.  
  94466. AC_MSG_CHECKING([whether to build static libraries])
  94467. # Make sure either enable_shared or enable_static is yes.
  94468. - test "$enable_shared" = yes || enable_static=yes
  94469. + test yes = "$enable_shared" || enable_static=yes
  94470. AC_MSG_RESULT([$enable_static])
  94471.  
  94472. - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  94473. - _LT_TAGVAR(LD, $1)="$LD"
  94474. + _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
  94475. + _LT_TAGVAR(LD, $1)=$LD
  94476.  
  94477. ## CAVEAT EMPTOR:
  94478. ## There is no encapsulation within the following macros, do not change
  94479. @@ -6859,8 +7917,9 @@
  94480. fi # test -n "$compiler"
  94481.  
  94482. GCC=$lt_save_GCC
  94483. - CC="$lt_save_CC"
  94484. -fi # test "$_lt_disable_FC" != yes
  94485. + CC=$lt_save_CC
  94486. + CFLAGS=$lt_save_CFLAGS
  94487. +fi # test yes != "$_lt_disable_FC"
  94488.  
  94489. AC_LANG_POP
  94490. ])# _LT_LANG_FC_CONFIG
  94491. @@ -6870,7 +7929,7 @@
  94492. # --------------------------
  94493. # Ensure that the configuration variables for the GNU Java Compiler compiler
  94494. # are suitably defined. These variables are subsequently used by _LT_CONFIG
  94495. -# to write the compiler configuration to `libtool'.
  94496. +# to write the compiler configuration to 'libtool'.
  94497. m4_defun([_LT_LANG_GCJ_CONFIG],
  94498. [AC_REQUIRE([LT_PROG_GCJ])dnl
  94499. AC_LANG_SAVE
  94500. @@ -6896,19 +7955,23 @@
  94501. _LT_LINKER_BOILERPLATE
  94502.  
  94503. # Allow CC to be a program name with arguments.
  94504. -lt_save_CC="$CC"
  94505. +lt_save_CC=$CC
  94506. +lt_save_CFLAGS=$CFLAGS
  94507. lt_save_GCC=$GCC
  94508. GCC=yes
  94509. CC=${GCJ-"gcj"}
  94510. +CFLAGS=$GCJFLAGS
  94511. compiler=$CC
  94512. _LT_TAGVAR(compiler, $1)=$CC
  94513. -_LT_TAGVAR(LD, $1)="$LD"
  94514. +_LT_TAGVAR(LD, $1)=$LD
  94515. _LT_CC_BASENAME([$compiler])
  94516.  
  94517. # GCJ did not exist at the time GCC didn't implicitly link libc in.
  94518. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94519.  
  94520. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94521. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94522. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94523.  
  94524. ## CAVEAT EMPTOR:
  94525. ## There is no encapsulation within the following macros, do not change
  94526. @@ -6928,15 +7991,87 @@
  94527. AC_LANG_RESTORE
  94528.  
  94529. GCC=$lt_save_GCC
  94530. -CC="$lt_save_CC"
  94531. +CC=$lt_save_CC
  94532. +CFLAGS=$lt_save_CFLAGS
  94533. ])# _LT_LANG_GCJ_CONFIG
  94534.  
  94535.  
  94536. +# _LT_LANG_GO_CONFIG([TAG])
  94537. +# --------------------------
  94538. +# Ensure that the configuration variables for the GNU Go compiler
  94539. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  94540. +# to write the compiler configuration to 'libtool'.
  94541. +m4_defun([_LT_LANG_GO_CONFIG],
  94542. +[AC_REQUIRE([LT_PROG_GO])dnl
  94543. +AC_LANG_SAVE
  94544. +
  94545. +# Source file extension for Go test sources.
  94546. +ac_ext=go
  94547. +
  94548. +# Object file extension for compiled Go test sources.
  94549. +objext=o
  94550. +_LT_TAGVAR(objext, $1)=$objext
  94551. +
  94552. +# Code to be used in simple compile tests
  94553. +lt_simple_compile_test_code="package main; func main() { }"
  94554. +
  94555. +# Code to be used in simple link tests
  94556. +lt_simple_link_test_code='package main; func main() { }'
  94557. +
  94558. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  94559. +_LT_TAG_COMPILER
  94560. +
  94561. +# save warnings/boilerplate of simple test code
  94562. +_LT_COMPILER_BOILERPLATE
  94563. +_LT_LINKER_BOILERPLATE
  94564. +
  94565. +# Allow CC to be a program name with arguments.
  94566. +lt_save_CC=$CC
  94567. +lt_save_CFLAGS=$CFLAGS
  94568. +lt_save_GCC=$GCC
  94569. +GCC=yes
  94570. +CC=${GOC-"gccgo"}
  94571. +CFLAGS=$GOFLAGS
  94572. +compiler=$CC
  94573. +_LT_TAGVAR(compiler, $1)=$CC
  94574. +_LT_TAGVAR(LD, $1)=$LD
  94575. +_LT_CC_BASENAME([$compiler])
  94576. +
  94577. +# Go did not exist at the time GCC didn't implicitly link libc in.
  94578. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  94579. +
  94580. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  94581. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  94582. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  94583. +
  94584. +## CAVEAT EMPTOR:
  94585. +## There is no encapsulation within the following macros, do not change
  94586. +## the running order or otherwise move them around unless you know exactly
  94587. +## what you are doing...
  94588. +if test -n "$compiler"; then
  94589. + _LT_COMPILER_NO_RTTI($1)
  94590. + _LT_COMPILER_PIC($1)
  94591. + _LT_COMPILER_C_O($1)
  94592. + _LT_COMPILER_FILE_LOCKS($1)
  94593. + _LT_LINKER_SHLIBS($1)
  94594. + _LT_LINKER_HARDCODE_LIBPATH($1)
  94595. +
  94596. + _LT_CONFIG($1)
  94597. +fi
  94598. +
  94599. +AC_LANG_RESTORE
  94600. +
  94601. +GCC=$lt_save_GCC
  94602. +CC=$lt_save_CC
  94603. +CFLAGS=$lt_save_CFLAGS
  94604. +])# _LT_LANG_GO_CONFIG
  94605. +
  94606. +
  94607. # _LT_LANG_RC_CONFIG([TAG])
  94608. # -------------------------
  94609. # Ensure that the configuration variables for the Windows resource compiler
  94610. # are suitably defined. These variables are subsequently used by _LT_CONFIG
  94611. -# to write the compiler configuration to `libtool'.
  94612. +# to write the compiler configuration to 'libtool'.
  94613. m4_defun([_LT_LANG_RC_CONFIG],
  94614. [AC_REQUIRE([LT_PROG_RC])dnl
  94615. AC_LANG_SAVE
  94616. @@ -6952,7 +8087,7 @@
  94617. lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  94618.  
  94619. # Code to be used in simple link tests
  94620. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  94621. +lt_simple_link_test_code=$lt_simple_compile_test_code
  94622.  
  94623. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  94624. _LT_TAG_COMPILER
  94625. @@ -6962,10 +8097,12 @@
  94626. _LT_LINKER_BOILERPLATE
  94627.  
  94628. # Allow CC to be a program name with arguments.
  94629. -lt_save_CC="$CC"
  94630. +lt_save_CC=$CC
  94631. +lt_save_CFLAGS=$CFLAGS
  94632. lt_save_GCC=$GCC
  94633. GCC=
  94634. CC=${RC-"windres"}
  94635. +CFLAGS=
  94636. compiler=$CC
  94637. _LT_TAGVAR(compiler, $1)=$CC
  94638. _LT_CC_BASENAME([$compiler])
  94639. @@ -6978,7 +8115,8 @@
  94640.  
  94641. GCC=$lt_save_GCC
  94642. AC_LANG_RESTORE
  94643. -CC="$lt_save_CC"
  94644. +CC=$lt_save_CC
  94645. +CFLAGS=$lt_save_CFLAGS
  94646. ])# _LT_LANG_RC_CONFIG
  94647.  
  94648.  
  94649. @@ -6988,7 +8126,7 @@
  94650. [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  94651. [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  94652. [AC_CHECK_TOOL(GCJ, gcj,)
  94653. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  94654. + test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
  94655. AC_SUBST(GCJFLAGS)])])[]dnl
  94656. ])
  94657.  
  94658. @@ -6998,6 +8136,13 @@
  94659. dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  94660.  
  94661.  
  94662. +# LT_PROG_GO
  94663. +# ----------
  94664. +AC_DEFUN([LT_PROG_GO],
  94665. +[AC_CHECK_TOOL(GOC, gccgo,)
  94666. +])
  94667. +
  94668. +
  94669. # LT_PROG_RC
  94670. # ----------
  94671. AC_DEFUN([LT_PROG_RC],
  94672. @@ -7037,6 +8182,15 @@
  94673. AC_SUBST([OBJDUMP])
  94674. ])
  94675.  
  94676. +# _LT_DECL_DLLTOOL
  94677. +# ----------------
  94678. +# Ensure DLLTOOL variable is set.
  94679. +m4_defun([_LT_DECL_DLLTOOL],
  94680. +[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  94681. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  94682. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
  94683. +AC_SUBST([DLLTOOL])
  94684. +])
  94685.  
  94686. # _LT_DECL_SED
  94687. # ------------
  94688. @@ -7083,7 +8237,7 @@
  94689. # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  94690. # along with /bin/sed that truncates output.
  94691. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  94692. - test ! -f $lt_ac_sed && continue
  94693. + test ! -f "$lt_ac_sed" && continue
  94694. cat /dev/null > conftest.in
  94695. lt_ac_count=0
  94696. echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  94697. @@ -7100,9 +8254,9 @@
  94698. $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  94699. cmp -s conftest.out conftest.nl || break
  94700. # 10000 chars as input seems more than enough
  94701. - test $lt_ac_count -gt 10 && break
  94702. + test 10 -lt "$lt_ac_count" && break
  94703. lt_ac_count=`expr $lt_ac_count + 1`
  94704. - if test $lt_ac_count -gt $lt_ac_max; then
  94705. + if test "$lt_ac_count" -gt "$lt_ac_max"; then
  94706. lt_ac_max=$lt_ac_count
  94707. lt_cv_path_SED=$lt_ac_sed
  94708. fi
  94709. @@ -7126,27 +8280,7 @@
  94710. # Find out whether the shell is Bourne or XSI compatible,
  94711. # or has some other useful features.
  94712. m4_defun([_LT_CHECK_SHELL_FEATURES],
  94713. -[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  94714. -# Try some XSI features
  94715. -xsi_shell=no
  94716. -( _lt_dummy="a/b/c"
  94717. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  94718. - = c,a/b,, \
  94719. - && eval 'test $(( 1 + 1 )) -eq 2 \
  94720. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  94721. - && xsi_shell=yes
  94722. -AC_MSG_RESULT([$xsi_shell])
  94723. -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  94724. -
  94725. -AC_MSG_CHECKING([whether the shell understands "+="])
  94726. -lt_shell_append=no
  94727. -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  94728. - >/dev/null 2>&1 \
  94729. - && lt_shell_append=yes
  94730. -AC_MSG_RESULT([$lt_shell_append])
  94731. -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  94732. -
  94733. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  94734. +[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  94735. lt_unset=unset
  94736. else
  94737. lt_unset=false
  94738. @@ -7170,208 +8304,69 @@
  94739. ])# _LT_CHECK_SHELL_FEATURES
  94740.  
  94741.  
  94742. -# _LT_PROG_XSI_SHELLFNS
  94743. -# ---------------------
  94744. -# Bourne and XSI compatible variants of some useful shell functions.
  94745. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  94746. -[case $xsi_shell in
  94747. - yes)
  94748. - cat << \_LT_EOF >> "$cfgfile"
  94749. -
  94750. -# func_dirname file append nondir_replacement
  94751. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  94752. -# otherwise set result to NONDIR_REPLACEMENT.
  94753. -func_dirname ()
  94754. -{
  94755. - case ${1} in
  94756. - */*) func_dirname_result="${1%/*}${2}" ;;
  94757. - * ) func_dirname_result="${3}" ;;
  94758. - esac
  94759. -}
  94760. -
  94761. -# func_basename file
  94762. -func_basename ()
  94763. -{
  94764. - func_basename_result="${1##*/}"
  94765. -}
  94766. -
  94767. -# func_dirname_and_basename file append nondir_replacement
  94768. -# perform func_basename and func_dirname in a single function
  94769. -# call:
  94770. -# dirname: Compute the dirname of FILE. If nonempty,
  94771. -# add APPEND to the result, otherwise set result
  94772. -# to NONDIR_REPLACEMENT.
  94773. -# value returned in "$func_dirname_result"
  94774. -# basename: Compute filename of FILE.
  94775. -# value retuned in "$func_basename_result"
  94776. -# Implementation must be kept synchronized with func_dirname
  94777. -# and func_basename. For efficiency, we do not delegate to
  94778. -# those functions but instead duplicate the functionality here.
  94779. -func_dirname_and_basename ()
  94780. -{
  94781. - case ${1} in
  94782. - */*) func_dirname_result="${1%/*}${2}" ;;
  94783. - * ) func_dirname_result="${3}" ;;
  94784. - esac
  94785. - func_basename_result="${1##*/}"
  94786. -}
  94787. -
  94788. -# func_stripname prefix suffix name
  94789. -# strip PREFIX and SUFFIX off of NAME.
  94790. -# PREFIX and SUFFIX must not contain globbing or regex special
  94791. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  94792. -# dot (in which case that matches only a dot).
  94793. -func_stripname ()
  94794. -{
  94795. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  94796. - # positional parameters, so assign one to ordinary parameter first.
  94797. - func_stripname_result=${3}
  94798. - func_stripname_result=${func_stripname_result#"${1}"}
  94799. - func_stripname_result=${func_stripname_result%"${2}"}
  94800. -}
  94801. -
  94802. -# func_opt_split
  94803. -func_opt_split ()
  94804. -{
  94805. - func_opt_split_opt=${1%%=*}
  94806. - func_opt_split_arg=${1#*=}
  94807. -}
  94808. -
  94809. -# func_lo2o object
  94810. -func_lo2o ()
  94811. -{
  94812. - case ${1} in
  94813. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  94814. - *) func_lo2o_result=${1} ;;
  94815. - esac
  94816. -}
  94817. -
  94818. -# func_xform libobj-or-source
  94819. -func_xform ()
  94820. -{
  94821. - func_xform_result=${1%.*}.lo
  94822. -}
  94823. -
  94824. -# func_arith arithmetic-term...
  94825. -func_arith ()
  94826. -{
  94827. - func_arith_result=$(( $[*] ))
  94828. -}
  94829. -
  94830. -# func_len string
  94831. -# STRING may not start with a hyphen.
  94832. -func_len ()
  94833. -{
  94834. - func_len_result=${#1}
  94835. -}
  94836. -
  94837. -_LT_EOF
  94838. +# _LT_PATH_CONVERSION_FUNCTIONS
  94839. +# -----------------------------
  94840. +# Determine what file name conversion functions should be used by
  94841. +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
  94842. +# for certain cross-compile configurations and native mingw.
  94843. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
  94844. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  94845. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  94846. +AC_MSG_CHECKING([how to convert $build file names to $host format])
  94847. +AC_CACHE_VAL(lt_cv_to_host_file_cmd,
  94848. +[case $host in
  94849. + *-*-mingw* )
  94850. + case $build in
  94851. + *-*-mingw* ) # actually msys
  94852. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  94853. + ;;
  94854. + *-*-cygwin* )
  94855. + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  94856. + ;;
  94857. + * ) # otherwise, assume *nix
  94858. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  94859. + ;;
  94860. + esac
  94861. ;;
  94862. - *) # Bourne compatible functions.
  94863. - cat << \_LT_EOF >> "$cfgfile"
  94864. -
  94865. -# func_dirname file append nondir_replacement
  94866. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  94867. -# otherwise set result to NONDIR_REPLACEMENT.
  94868. -func_dirname ()
  94869. -{
  94870. - # Extract subdirectory from the argument.
  94871. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  94872. - if test "X$func_dirname_result" = "X${1}"; then
  94873. - func_dirname_result="${3}"
  94874. - else
  94875. - func_dirname_result="$func_dirname_result${2}"
  94876. - fi
  94877. -}
  94878. -
  94879. -# func_basename file
  94880. -func_basename ()
  94881. -{
  94882. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  94883. -}
  94884. -
  94885. -dnl func_dirname_and_basename
  94886. -dnl A portable version of this function is already defined in general.m4sh
  94887. -dnl so there is no need for it here.
  94888. -
  94889. -# func_stripname prefix suffix name
  94890. -# strip PREFIX and SUFFIX off of NAME.
  94891. -# PREFIX and SUFFIX must not contain globbing or regex special
  94892. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  94893. -# dot (in which case that matches only a dot).
  94894. -# func_strip_suffix prefix name
  94895. -func_stripname ()
  94896. -{
  94897. - case ${2} in
  94898. - .*) func_stripname_result=`$ECHO "X${3}" \
  94899. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  94900. - *) func_stripname_result=`$ECHO "X${3}" \
  94901. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  94902. - esac
  94903. -}
  94904. -
  94905. -# sed scripts:
  94906. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  94907. -my_sed_long_arg='1s/^-[[^=]]*=//'
  94908. -
  94909. -# func_opt_split
  94910. -func_opt_split ()
  94911. -{
  94912. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  94913. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  94914. -}
  94915. -
  94916. -# func_lo2o object
  94917. -func_lo2o ()
  94918. -{
  94919. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  94920. -}
  94921. -
  94922. -# func_xform libobj-or-source
  94923. -func_xform ()
  94924. -{
  94925. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  94926. -}
  94927. -
  94928. -# func_arith arithmetic-term...
  94929. -func_arith ()
  94930. -{
  94931. - func_arith_result=`expr "$[@]"`
  94932. -}
  94933. -
  94934. -# func_len string
  94935. -# STRING may not start with a hyphen.
  94936. -func_len ()
  94937. -{
  94938. - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  94939. -}
  94940. -
  94941. -_LT_EOF
  94942. -esac
  94943. -
  94944. -case $lt_shell_append in
  94945. - yes)
  94946. - cat << \_LT_EOF >> "$cfgfile"
  94947. -
  94948. -# func_append var value
  94949. -# Append VALUE to the end of shell variable VAR.
  94950. -func_append ()
  94951. -{
  94952. - eval "$[1]+=\$[2]"
  94953. -}
  94954. -_LT_EOF
  94955. + *-*-cygwin* )
  94956. + case $build in
  94957. + *-*-mingw* ) # actually msys
  94958. + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  94959. + ;;
  94960. + *-*-cygwin* )
  94961. + lt_cv_to_host_file_cmd=func_convert_file_noop
  94962. + ;;
  94963. + * ) # otherwise, assume *nix
  94964. + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  94965. + ;;
  94966. + esac
  94967. ;;
  94968. - *)
  94969. - cat << \_LT_EOF >> "$cfgfile"
  94970. -
  94971. -# func_append var value
  94972. -# Append VALUE to the end of shell variable VAR.
  94973. -func_append ()
  94974. -{
  94975. - eval "$[1]=\$$[1]\$[2]"
  94976. -}
  94977. -
  94978. -_LT_EOF
  94979. + * ) # unhandled hosts (and "normal" native builds)
  94980. + lt_cv_to_host_file_cmd=func_convert_file_noop
  94981. ;;
  94982. - esac
  94983. +esac
  94984. +])
  94985. +to_host_file_cmd=$lt_cv_to_host_file_cmd
  94986. +AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
  94987. +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
  94988. + [0], [convert $build file names to $host format])dnl
  94989. +
  94990. +AC_MSG_CHECKING([how to convert $build file names to toolchain format])
  94991. +AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
  94992. +[#assume ordinary cross tools, or native build.
  94993. +lt_cv_to_tool_file_cmd=func_convert_file_noop
  94994. +case $host in
  94995. + *-*-mingw* )
  94996. + case $build in
  94997. + *-*-mingw* ) # actually msys
  94998. + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  94999. + ;;
  95000. + esac
  95001. + ;;
  95002. +esac
  95003. ])
  95004. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  95005. +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
  95006. +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
  95007. + [0], [convert $build files to toolchain format])dnl
  95008. +])# _LT_PATH_CONVERSION_FUNCTIONS
  95009. diff -Nru Fiasco-master/m4/lt~obsolete.m4 Fiasco-master-pfiasco/m4/lt~obsolete.m4
  95010. --- Fiasco-master/m4/lt~obsolete.m4 2013-06-06 22:56:44.000000000 -0400
  95011. +++ Fiasco-master-pfiasco/m4/lt~obsolete.m4 2019-06-17 20:58:43.584199474 -0400
  95012. @@ -1,17 +1,18 @@
  95013. # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  95014. #
  95015. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  95016. +# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
  95017. +# Foundation, Inc.
  95018. # Written by Scott James Remnant, 2004.
  95019. #
  95020. # This file is free software; the Free Software Foundation gives
  95021. # unlimited permission to copy and/or distribute it, with or without
  95022. # modifications, as long as this notice is preserved.
  95023.  
  95024. -# serial 4 lt~obsolete.m4
  95025. +# serial 5 lt~obsolete.m4
  95026.  
  95027. # These exist entirely to fool aclocal when bootstrapping libtool.
  95028. #
  95029. -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  95030. +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
  95031. # which have later been changed to m4_define as they aren't part of the
  95032. # exported API, or moved to Autoconf or Automake where they belong.
  95033. #
  95034. @@ -25,7 +26,7 @@
  95035. # included after everything else. This provides aclocal with the
  95036. # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  95037. # because those macros already exist, or will be overwritten later.
  95038. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  95039. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  95040. #
  95041. # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  95042. # Yes, that means every name once taken will need to remain here until
  95043. @@ -77,7 +78,6 @@
  95044. m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  95045. m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  95046. m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  95047. -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  95048. m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  95049. m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  95050. m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  95051. @@ -90,3 +90,10 @@
  95052. m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  95053. m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  95054. m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  95055. +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
  95056. +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
  95057. +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
  95058. +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
  95059. +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
  95060. +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
  95061. +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
  95062. diff -Nru Fiasco-master/m4/ltoptions.m4 Fiasco-master-pfiasco/m4/ltoptions.m4
  95063. --- Fiasco-master/m4/ltoptions.m4 2013-06-06 22:56:44.000000000 -0400
  95064. +++ Fiasco-master-pfiasco/m4/ltoptions.m4 2019-06-17 20:58:43.282201412 -0400
  95065. @@ -1,13 +1,14 @@
  95066. # Helper functions for option handling. -*- Autoconf -*-
  95067. #
  95068. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  95069. +# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
  95070. +# Foundation, Inc.
  95071. # Written by Gary V. Vaughan, 2004
  95072. #
  95073. # This file is free software; the Free Software Foundation gives
  95074. # unlimited permission to copy and/or distribute it, with or without
  95075. # modifications, as long as this notice is preserved.
  95076.  
  95077. -# serial 6 ltoptions.m4
  95078. +# serial 8 ltoptions.m4
  95079.  
  95080. # This is to help aclocal find these macros, as it can't see m4_define.
  95081. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  95082. @@ -28,7 +29,7 @@
  95083. [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  95084. m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  95085. _LT_MANGLE_DEFUN([$1], [$2]),
  95086. - [m4_warning([Unknown $1 option `$2'])])[]dnl
  95087. + [m4_warning([Unknown $1 option '$2'])])[]dnl
  95088. ])
  95089.  
  95090.  
  95091. @@ -74,13 +75,15 @@
  95092. dnl
  95093. dnl If no reference was made to various pairs of opposing options, then
  95094. dnl we run the default mode handler for the pair. For example, if neither
  95095. - dnl `shared' nor `disable-shared' was passed, we enable building of shared
  95096. + dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
  95097. dnl archives by default:
  95098. _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  95099. _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  95100. _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  95101. _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  95102. - [_LT_ENABLE_FAST_INSTALL])
  95103. + [_LT_ENABLE_FAST_INSTALL])
  95104. + _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
  95105. + [_LT_WITH_AIX_SONAME([aix])])
  95106. ])
  95107. ])# _LT_SET_OPTIONS
  95108.  
  95109. @@ -111,7 +114,7 @@
  95110. [_LT_SET_OPTION([LT_INIT], [dlopen])
  95111. AC_DIAGNOSE([obsolete],
  95112. [$0: Remove this warning and the call to _LT_SET_OPTION when you
  95113. -put the `dlopen' option into LT_INIT's first parameter.])
  95114. +put the 'dlopen' option into LT_INIT's first parameter.])
  95115. ])
  95116.  
  95117. dnl aclocal-1.4 backwards compatibility:
  95118. @@ -125,7 +128,7 @@
  95119. [enable_win32_dll=yes
  95120.  
  95121. case $host in
  95122. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  95123. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  95124. AC_CHECK_TOOL(AS, as, false)
  95125. AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  95126. AC_CHECK_TOOL(OBJDUMP, objdump, false)
  95127. @@ -133,13 +136,13 @@
  95128. esac
  95129.  
  95130. test -z "$AS" && AS=as
  95131. -_LT_DECL([], [AS], [0], [Assembler program])dnl
  95132. +_LT_DECL([], [AS], [1], [Assembler program])dnl
  95133.  
  95134. test -z "$DLLTOOL" && DLLTOOL=dlltool
  95135. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  95136. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
  95137.  
  95138. test -z "$OBJDUMP" && OBJDUMP=objdump
  95139. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  95140. +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
  95141. ])# win32-dll
  95142.  
  95143. AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  95144. @@ -147,7 +150,7 @@
  95145. _LT_SET_OPTION([LT_INIT], [win32-dll])
  95146. AC_DIAGNOSE([obsolete],
  95147. [$0: Remove this warning and the call to _LT_SET_OPTION when you
  95148. -put the `win32-dll' option into LT_INIT's first parameter.])
  95149. +put the 'win32-dll' option into LT_INIT's first parameter.])
  95150. ])
  95151.  
  95152. dnl aclocal-1.4 backwards compatibility:
  95153. @@ -156,9 +159,9 @@
  95154.  
  95155. # _LT_ENABLE_SHARED([DEFAULT])
  95156. # ----------------------------
  95157. -# implement the --enable-shared flag, and supports the `shared' and
  95158. -# `disable-shared' LT_INIT options.
  95159. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  95160. +# implement the --enable-shared flag, and supports the 'shared' and
  95161. +# 'disable-shared' LT_INIT options.
  95162. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
  95163. m4_define([_LT_ENABLE_SHARED],
  95164. [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  95165. AC_ARG_ENABLE([shared],
  95166. @@ -171,14 +174,14 @@
  95167. *)
  95168. enable_shared=no
  95169. # Look at the argument we got. We use all the common list separators.
  95170. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  95171. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95172. for pkg in $enableval; do
  95173. - IFS="$lt_save_ifs"
  95174. + IFS=$lt_save_ifs
  95175. if test "X$pkg" = "X$p"; then
  95176. enable_shared=yes
  95177. fi
  95178. done
  95179. - IFS="$lt_save_ifs"
  95180. + IFS=$lt_save_ifs
  95181. ;;
  95182. esac],
  95183. [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  95184. @@ -210,9 +213,9 @@
  95185.  
  95186. # _LT_ENABLE_STATIC([DEFAULT])
  95187. # ----------------------------
  95188. -# implement the --enable-static flag, and support the `static' and
  95189. -# `disable-static' LT_INIT options.
  95190. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  95191. +# implement the --enable-static flag, and support the 'static' and
  95192. +# 'disable-static' LT_INIT options.
  95193. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
  95194. m4_define([_LT_ENABLE_STATIC],
  95195. [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  95196. AC_ARG_ENABLE([static],
  95197. @@ -225,14 +228,14 @@
  95198. *)
  95199. enable_static=no
  95200. # Look at the argument we got. We use all the common list separators.
  95201. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  95202. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95203. for pkg in $enableval; do
  95204. - IFS="$lt_save_ifs"
  95205. + IFS=$lt_save_ifs
  95206. if test "X$pkg" = "X$p"; then
  95207. enable_static=yes
  95208. fi
  95209. done
  95210. - IFS="$lt_save_ifs"
  95211. + IFS=$lt_save_ifs
  95212. ;;
  95213. esac],
  95214. [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  95215. @@ -264,9 +267,9 @@
  95216.  
  95217. # _LT_ENABLE_FAST_INSTALL([DEFAULT])
  95218. # ----------------------------------
  95219. -# implement the --enable-fast-install flag, and support the `fast-install'
  95220. -# and `disable-fast-install' LT_INIT options.
  95221. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  95222. +# implement the --enable-fast-install flag, and support the 'fast-install'
  95223. +# and 'disable-fast-install' LT_INIT options.
  95224. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
  95225. m4_define([_LT_ENABLE_FAST_INSTALL],
  95226. [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  95227. AC_ARG_ENABLE([fast-install],
  95228. @@ -279,14 +282,14 @@
  95229. *)
  95230. enable_fast_install=no
  95231. # Look at the argument we got. We use all the common list separators.
  95232. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  95233. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95234. for pkg in $enableval; do
  95235. - IFS="$lt_save_ifs"
  95236. + IFS=$lt_save_ifs
  95237. if test "X$pkg" = "X$p"; then
  95238. enable_fast_install=yes
  95239. fi
  95240. done
  95241. - IFS="$lt_save_ifs"
  95242. + IFS=$lt_save_ifs
  95243. ;;
  95244. esac],
  95245. [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  95246. @@ -303,14 +306,14 @@
  95247. [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  95248. AC_DIAGNOSE([obsolete],
  95249. [$0: Remove this warning and the call to _LT_SET_OPTION when you put
  95250. -the `fast-install' option into LT_INIT's first parameter.])
  95251. +the 'fast-install' option into LT_INIT's first parameter.])
  95252. ])
  95253.  
  95254. AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  95255. [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  95256. AC_DIAGNOSE([obsolete],
  95257. [$0: Remove this warning and the call to _LT_SET_OPTION when you put
  95258. -the `disable-fast-install' option into LT_INIT's first parameter.])
  95259. +the 'disable-fast-install' option into LT_INIT's first parameter.])
  95260. ])
  95261.  
  95262. dnl aclocal-1.4 backwards compatibility:
  95263. @@ -318,19 +321,85 @@
  95264. dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  95265.  
  95266.  
  95267. +# _LT_WITH_AIX_SONAME([DEFAULT])
  95268. +# ----------------------------------
  95269. +# implement the --with-aix-soname flag, and support the `aix-soname=aix'
  95270. +# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
  95271. +# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
  95272. +m4_define([_LT_WITH_AIX_SONAME],
  95273. +[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
  95274. +shared_archive_member_spec=
  95275. +case $host,$enable_shared in
  95276. +power*-*-aix[[5-9]]*,yes)
  95277. + AC_MSG_CHECKING([which variant of shared library versioning to provide])
  95278. + AC_ARG_WITH([aix-soname],
  95279. + [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
  95280. + [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
  95281. + [case $withval in
  95282. + aix|svr4|both)
  95283. + ;;
  95284. + *)
  95285. + AC_MSG_ERROR([Unknown argument to --with-aix-soname])
  95286. + ;;
  95287. + esac
  95288. + lt_cv_with_aix_soname=$with_aix_soname],
  95289. + [AC_CACHE_VAL([lt_cv_with_aix_soname],
  95290. + [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
  95291. + with_aix_soname=$lt_cv_with_aix_soname])
  95292. + AC_MSG_RESULT([$with_aix_soname])
  95293. + if test aix != "$with_aix_soname"; then
  95294. + # For the AIX way of multilib, we name the shared archive member
  95295. + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  95296. + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  95297. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  95298. + # the AIX toolchain works better with OBJECT_MODE set (default 32).
  95299. + if test 64 = "${OBJECT_MODE-32}"; then
  95300. + shared_archive_member_spec=shr_64
  95301. + else
  95302. + shared_archive_member_spec=shr
  95303. + fi
  95304. + fi
  95305. + ;;
  95306. +*)
  95307. + with_aix_soname=aix
  95308. + ;;
  95309. +esac
  95310. +
  95311. +_LT_DECL([], [shared_archive_member_spec], [0],
  95312. + [Shared archive member basename, for filename based shared library versioning on AIX])dnl
  95313. +])# _LT_WITH_AIX_SONAME
  95314. +
  95315. +LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
  95316. +LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
  95317. +LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
  95318. +
  95319. +
  95320. # _LT_WITH_PIC([MODE])
  95321. # --------------------
  95322. -# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  95323. +# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
  95324. # LT_INIT options.
  95325. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  95326. +# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
  95327. m4_define([_LT_WITH_PIC],
  95328. [AC_ARG_WITH([pic],
  95329. - [AS_HELP_STRING([--with-pic],
  95330. + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
  95331. [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  95332. - [pic_mode="$withval"],
  95333. - [pic_mode=default])
  95334. -
  95335. -test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  95336. + [lt_p=${PACKAGE-default}
  95337. + case $withval in
  95338. + yes|no) pic_mode=$withval ;;
  95339. + *)
  95340. + pic_mode=default
  95341. + # Look at the argument we got. We use all the common list separators.
  95342. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  95343. + for lt_pkg in $withval; do
  95344. + IFS=$lt_save_ifs
  95345. + if test "X$lt_pkg" = "X$lt_p"; then
  95346. + pic_mode=yes
  95347. + fi
  95348. + done
  95349. + IFS=$lt_save_ifs
  95350. + ;;
  95351. + esac],
  95352. + [pic_mode=m4_default([$1], [default])])
  95353.  
  95354. _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  95355. ])# _LT_WITH_PIC
  95356. @@ -343,7 +412,7 @@
  95357. [_LT_SET_OPTION([LT_INIT], [pic-only])
  95358. AC_DIAGNOSE([obsolete],
  95359. [$0: Remove this warning and the call to _LT_SET_OPTION when you
  95360. -put the `pic-only' option into LT_INIT's first parameter.])
  95361. +put the 'pic-only' option into LT_INIT's first parameter.])
  95362. ])
  95363.  
  95364. dnl aclocal-1.4 backwards compatibility:
  95365. diff -Nru Fiasco-master/m4/ltversion.m4 Fiasco-master-pfiasco/m4/ltversion.m4
  95366. --- Fiasco-master/m4/ltversion.m4 2013-06-06 22:56:44.000000000 -0400
  95367. +++ Fiasco-master-pfiasco/m4/ltversion.m4 2019-06-17 20:58:43.481200135 -0400
  95368. @@ -1,23 +1,23 @@
  95369. # ltversion.m4 -- version numbers -*- Autoconf -*-
  95370. #
  95371. -# Copyright (C) 2004 Free Software Foundation, Inc.
  95372. +# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
  95373. # Written by Scott James Remnant, 2004
  95374. #
  95375. # This file is free software; the Free Software Foundation gives
  95376. # unlimited permission to copy and/or distribute it, with or without
  95377. # modifications, as long as this notice is preserved.
  95378.  
  95379. -# Generated from ltversion.in.
  95380. +# @configure_input@
  95381.  
  95382. -# serial 3017 ltversion.m4
  95383. +# serial 4179 ltversion.m4
  95384. # This file is part of GNU Libtool
  95385.  
  95386. -m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  95387. -m4_define([LT_PACKAGE_REVISION], [1.3017])
  95388. +m4_define([LT_PACKAGE_VERSION], [2.4.6])
  95389. +m4_define([LT_PACKAGE_REVISION], [2.4.6])
  95390.  
  95391. AC_DEFUN([LTVERSION_VERSION],
  95392. -[macro_version='2.2.6b'
  95393. -macro_revision='1.3017'
  95394. +[macro_version='2.4.6'
  95395. +macro_revision='2.4.6'
  95396. _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  95397. _LT_DECL(, macro_revision, 0)
  95398. ])
  95399. diff -Nru Fiasco-master/Makefile.in Fiasco-master-pfiasco/Makefile.in
  95400. --- Fiasco-master/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  95401. +++ Fiasco-master-pfiasco/Makefile.in 2019-06-17 21:04:59.187769571 -0400
  95402. @@ -1,9 +1,8 @@
  95403. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  95404. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  95405. # @configure_input@
  95406.  
  95407. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  95408. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  95409. -# Inc.
  95410. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  95411. +
  95412. # This Makefile.in is free software; the Free Software Foundation
  95413. # gives unlimited permission to copy and/or distribute it,
  95414. # with or without modifications, as long as this notice is preserved.
  95415. @@ -17,6 +16,61 @@
  95416.  
  95417.  
  95418. VPATH = @srcdir@
  95419. +am__is_gnu_make = { \
  95420. + if test -z '$(MAKELEVEL)'; then \
  95421. + false; \
  95422. + elif test -n '$(MAKE_HOST)'; then \
  95423. + true; \
  95424. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  95425. + true; \
  95426. + else \
  95427. + false; \
  95428. + fi; \
  95429. +}
  95430. +am__make_running_with_option = \
  95431. + case $${target_option-} in \
  95432. + ?) ;; \
  95433. + *) echo "am__make_running_with_option: internal error: invalid" \
  95434. + "target option '$${target_option-}' specified" >&2; \
  95435. + exit 1;; \
  95436. + esac; \
  95437. + has_opt=no; \
  95438. + sane_makeflags=$$MAKEFLAGS; \
  95439. + if $(am__is_gnu_make); then \
  95440. + sane_makeflags=$$MFLAGS; \
  95441. + else \
  95442. + case $$MAKEFLAGS in \
  95443. + *\\[\ \ ]*) \
  95444. + bs=\\; \
  95445. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  95446. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  95447. + esac; \
  95448. + fi; \
  95449. + skip_next=no; \
  95450. + strip_trailopt () \
  95451. + { \
  95452. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  95453. + }; \
  95454. + for flg in $$sane_makeflags; do \
  95455. + test $$skip_next = yes && { skip_next=no; continue; }; \
  95456. + case $$flg in \
  95457. + *=*|--*) continue;; \
  95458. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  95459. + -*I?*) strip_trailopt 'I';; \
  95460. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  95461. + -*O?*) strip_trailopt 'O';; \
  95462. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  95463. + -*l?*) strip_trailopt 'l';; \
  95464. + -[dEDm]) skip_next=yes;; \
  95465. + -[JT]) skip_next=yes;; \
  95466. + esac; \
  95467. + case $$flg in \
  95468. + *$$target_option*) has_opt=yes; break;; \
  95469. + esac; \
  95470. + done; \
  95471. + test $$has_opt = yes
  95472. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  95473. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  95474. pkgdatadir = $(datadir)/@PACKAGE@
  95475. pkgincludedir = $(includedir)/@PACKAGE@
  95476. pkglibdir = $(libdir)/@PACKAGE@
  95477. @@ -36,30 +90,48 @@
  95478. build_triplet = @build@
  95479. host_triplet = @host@
  95480. subdir = .
  95481. -DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
  95482. - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  95483. - $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
  95484. - ChangeLog INSTALL NEWS TODO acconfig.h config.guess config.sub \
  95485. - depcomp install-sh ltmain.sh missing
  95486. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  95487. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  95488. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  95489. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  95490. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  95491. + $(top_srcdir)/configure.ac
  95492. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  95493. $(ACLOCAL_M4)
  95494. +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
  95495. + $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
  95496. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  95497. configure.lineno config.status.lineno
  95498. mkinstalldirs = $(install_sh) -d
  95499. CONFIG_HEADER = config.h
  95500. CONFIG_CLEAN_FILES =
  95501. CONFIG_CLEAN_VPATH_FILES =
  95502. +AM_V_P = $(am__v_P_@AM_V@)
  95503. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  95504. +am__v_P_0 = false
  95505. +am__v_P_1 = :
  95506. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  95507. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  95508. +am__v_GEN_0 = @echo " GEN " $@;
  95509. +am__v_GEN_1 =
  95510. +AM_V_at = $(am__v_at_@AM_V@)
  95511. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  95512. +am__v_at_0 = @
  95513. +am__v_at_1 =
  95514. SOURCES =
  95515. DIST_SOURCES =
  95516. -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  95517. - html-recursive info-recursive install-data-recursive \
  95518. - install-dvi-recursive install-exec-recursive \
  95519. - install-html-recursive install-info-recursive \
  95520. - install-pdf-recursive install-ps-recursive install-recursive \
  95521. - installcheck-recursive installdirs-recursive pdf-recursive \
  95522. - ps-recursive uninstall-recursive
  95523. +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  95524. + ctags-recursive dvi-recursive html-recursive info-recursive \
  95525. + install-data-recursive install-dvi-recursive \
  95526. + install-exec-recursive install-html-recursive \
  95527. + install-info-recursive install-pdf-recursive \
  95528. + install-ps-recursive install-recursive installcheck-recursive \
  95529. + installdirs-recursive pdf-recursive ps-recursive \
  95530. + tags-recursive uninstall-recursive
  95531. +am__can_run_installinfo = \
  95532. + case $$AM_UPDATE_INFO_DIR in \
  95533. + n|no|NO) false;; \
  95534. + *) (install-info --version) >/dev/null 2>&1;; \
  95535. + esac
  95536. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  95537. am__vpath_adj = case $$p in \
  95538. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  95539. @@ -81,24 +153,58 @@
  95540. am__base_list = \
  95541. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  95542. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  95543. +am__uninstall_files_from_dir = { \
  95544. + test -z "$$files" \
  95545. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  95546. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  95547. + $(am__cd) "$$dir" && rm -f $$files; }; \
  95548. + }
  95549. am__installdirs = "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(includedir)"
  95550. DATA = $(pkgdata_DATA)
  95551. HEADERS = $(include_HEADERS)
  95552. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  95553. distclean-recursive maintainer-clean-recursive
  95554. -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  95555. - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  95556. - distdir dist dist-all distcheck
  95557. +am__recursive_targets = \
  95558. + $(RECURSIVE_TARGETS) \
  95559. + $(RECURSIVE_CLEAN_TARGETS) \
  95560. + $(am__extra_recursive_targets)
  95561. +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  95562. + cscope distdir distdir-am dist dist-all distcheck
  95563. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
  95564. + $(LISP)config.h.in
  95565. +# Read a list of newline-separated strings from the standard input,
  95566. +# and print each of them once, without duplicates. Input order is
  95567. +# *not* preserved.
  95568. +am__uniquify_input = $(AWK) '\
  95569. + BEGIN { nonempty = 0; } \
  95570. + { items[$$0] = 1; nonempty = 1; } \
  95571. + END { if (nonempty) { for (i in items) print i; }; } \
  95572. +'
  95573. +# Make sure the list of sources is unique. This is necessary because,
  95574. +# e.g., the same source file might be shared among _SOURCES variables
  95575. +# for different programs/libraries.
  95576. +am__define_uniq_tagged_files = \
  95577. + list='$(am__tagged_files)'; \
  95578. + unique=`for i in $$list; do \
  95579. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95580. + done | $(am__uniquify_input)`
  95581. ETAGS = etags
  95582. CTAGS = ctags
  95583. +CSCOPE = cscope
  95584. DIST_SUBDIRS = $(SUBDIRS)
  95585. +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \
  95586. + COPYING ChangeLog INSTALL NEWS README acconfig.h compile \
  95587. + config.guess config.sub depcomp install-sh ltmain.sh missing
  95588. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  95589. distdir = $(PACKAGE)-$(VERSION)
  95590. top_distdir = $(distdir)
  95591. am__remove_distdir = \
  95592. - { test ! -d "$(distdir)" \
  95593. - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  95594. - && rm -fr "$(distdir)"; }; }
  95595. + if test -d "$(distdir)"; then \
  95596. + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  95597. + && rm -rf "$(distdir)" \
  95598. + || { sleep 5 && rm -rf "$(distdir)"; }; \
  95599. + else :; fi
  95600. +am__post_remove_distdir = $(am__remove_distdir)
  95601. am__relativize = \
  95602. dir0=`pwd`; \
  95603. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  95604. @@ -126,10 +232,15 @@
  95605. reldir="$$dir2"
  95606. DIST_ARCHIVES = $(distdir).tar.gz
  95607. GZIP_ENV = --best
  95608. +DIST_TARGETS = dist-gzip
  95609. distuninstallcheck_listfiles = find . -type f -print
  95610. +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  95611. + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  95612. distcleancheck_listfiles = find . -type f -print
  95613. ACLOCAL = @ACLOCAL@
  95614. AMTAR = @AMTAR@
  95615. +AM_CPPFLAGS = @AM_CPPFLAGS@
  95616. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  95617. AR = @AR@
  95618. AUTOCONF = @AUTOCONF@
  95619. AUTOHEADER = @AUTOHEADER@
  95620. @@ -143,6 +254,7 @@
  95621. CYGPATH_W = @CYGPATH_W@
  95622. DEFS = @DEFS@
  95623. DEPDIR = @DEPDIR@
  95624. +DLLTOOL = @DLLTOOL@
  95625. DSYMUTIL = @DSYMUTIL@
  95626. DUMPBIN = @DUMPBIN@
  95627. ECHO_C = @ECHO_C@
  95628. @@ -152,7 +264,6 @@
  95629. EXEEXT = @EXEEXT@
  95630. FGREP = @FGREP@
  95631. GREP = @GREP@
  95632. -INCLUDES = @INCLUDES@
  95633. INSTALL = @INSTALL@
  95634. INSTALL_DATA = @INSTALL_DATA@
  95635. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  95636. @@ -167,7 +278,9 @@
  95637. LIPO = @LIPO@
  95638. LN_S = @LN_S@
  95639. LTLIBOBJS = @LTLIBOBJS@
  95640. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  95641. MAKEINFO = @MAKEINFO@
  95642. +MANIFEST_TOOL = @MANIFEST_TOOL@
  95643. MKDIR_P = @MKDIR_P@
  95644. NM = @NM@
  95645. NMEDIT = @NMEDIT@
  95646. @@ -193,6 +306,7 @@
  95647. abs_srcdir = @abs_srcdir@
  95648. abs_top_builddir = @abs_top_builddir@
  95649. abs_top_srcdir = @abs_top_srcdir@
  95650. +ac_ct_AR = @ac_ct_AR@
  95651. ac_ct_CC = @ac_ct_CC@
  95652. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  95653. am__include = @am__include@
  95654. @@ -225,7 +339,6 @@
  95655. libexecdir = @libexecdir@
  95656. localedir = @localedir@
  95657. localstatedir = @localstatedir@
  95658. -lt_ECHO = @lt_ECHO@
  95659. mandir = @mandir@
  95660. mkdir_p = @mkdir_p@
  95661. oldincludedir = @oldincludedir@
  95662. @@ -252,7 +365,7 @@
  95663. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  95664.  
  95665. .SUFFIXES:
  95666. -am--refresh:
  95667. +am--refresh: Makefile
  95668. @:
  95669. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  95670. @for dep in $?; do \
  95671. @@ -267,15 +380,14 @@
  95672. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  95673. $(am__cd) $(top_srcdir) && \
  95674. $(AUTOMAKE) --gnu Makefile
  95675. -.PRECIOUS: Makefile
  95676. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  95677. @case '$?' in \
  95678. *config.status*) \
  95679. echo ' $(SHELL) ./config.status'; \
  95680. $(SHELL) ./config.status;; \
  95681. *) \
  95682. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  95683. - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  95684. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
  95685. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
  95686. esac;
  95687.  
  95688. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  95689. @@ -288,10 +400,8 @@
  95690. $(am__aclocal_m4_deps):
  95691.  
  95692. config.h: stamp-h1
  95693. - @if test ! -f $@; then \
  95694. - rm -f stamp-h1; \
  95695. - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  95696. - else :; fi
  95697. + @test -f $@ || rm -f stamp-h1
  95698. + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
  95699.  
  95700. stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  95701. @rm -f stamp-h1
  95702. @@ -314,8 +424,11 @@
  95703. -rm -f libtool config.lt
  95704. install-pkgdataDATA: $(pkgdata_DATA)
  95705. @$(NORMAL_INSTALL)
  95706. - test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
  95707. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  95708. + if test -n "$$list"; then \
  95709. + echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
  95710. + $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
  95711. + fi; \
  95712. for p in $$list; do \
  95713. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  95714. echo "$$d$$p"; \
  95715. @@ -329,13 +442,14 @@
  95716. @$(NORMAL_UNINSTALL)
  95717. @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
  95718. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  95719. - test -n "$$files" || exit 0; \
  95720. - echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
  95721. - cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
  95722. + dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
  95723. install-includeHEADERS: $(include_HEADERS)
  95724. @$(NORMAL_INSTALL)
  95725. - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  95726. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  95727. + if test -n "$$list"; then \
  95728. + echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
  95729. + $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
  95730. + fi; \
  95731. for p in $$list; do \
  95732. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  95733. echo "$$d$$p"; \
  95734. @@ -349,27 +463,28 @@
  95735. @$(NORMAL_UNINSTALL)
  95736. @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  95737. files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  95738. - test -n "$$files" || exit 0; \
  95739. - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  95740. - cd "$(DESTDIR)$(includedir)" && rm -f $$files
  95741. + dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
  95742.  
  95743. # This directory's subdirectories are mostly independent; you can cd
  95744. -# into them and run `make' without going through this Makefile.
  95745. -# To change the values of `make' variables: instead of editing Makefiles,
  95746. -# (1) if the variable is set in `config.status', edit `config.status'
  95747. -# (which will cause the Makefiles to be regenerated when you run `make');
  95748. -# (2) otherwise, pass the desired values on the `make' command line.
  95749. -$(RECURSIVE_TARGETS):
  95750. - @fail= failcom='exit 1'; \
  95751. - for f in x $$MAKEFLAGS; do \
  95752. - case $$f in \
  95753. - *=* | --[!k]*);; \
  95754. - *k*) failcom='fail=yes';; \
  95755. - esac; \
  95756. - done; \
  95757. +# into them and run 'make' without going through this Makefile.
  95758. +# To change the values of 'make' variables: instead of editing Makefiles,
  95759. +# (1) if the variable is set in 'config.status', edit 'config.status'
  95760. +# (which will cause the Makefiles to be regenerated when you run 'make');
  95761. +# (2) otherwise, pass the desired values on the 'make' command line.
  95762. +$(am__recursive_targets):
  95763. + @fail=; \
  95764. + if $(am__make_keepgoing); then \
  95765. + failcom='fail=yes'; \
  95766. + else \
  95767. + failcom='exit 1'; \
  95768. + fi; \
  95769. dot_seen=no; \
  95770. target=`echo $@ | sed s/-recursive//`; \
  95771. - list='$(SUBDIRS)'; for subdir in $$list; do \
  95772. + case "$@" in \
  95773. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  95774. + *) list='$(SUBDIRS)' ;; \
  95775. + esac; \
  95776. + for subdir in $$list; do \
  95777. echo "Making $$target in $$subdir"; \
  95778. if test "$$subdir" = "."; then \
  95779. dot_seen=yes; \
  95780. @@ -384,57 +499,12 @@
  95781. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  95782. fi; test -z "$$fail"
  95783.  
  95784. -$(RECURSIVE_CLEAN_TARGETS):
  95785. - @fail= failcom='exit 1'; \
  95786. - for f in x $$MAKEFLAGS; do \
  95787. - case $$f in \
  95788. - *=* | --[!k]*);; \
  95789. - *k*) failcom='fail=yes';; \
  95790. - esac; \
  95791. - done; \
  95792. - dot_seen=no; \
  95793. - case "$@" in \
  95794. - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  95795. - *) list='$(SUBDIRS)' ;; \
  95796. - esac; \
  95797. - rev=''; for subdir in $$list; do \
  95798. - if test "$$subdir" = "."; then :; else \
  95799. - rev="$$subdir $$rev"; \
  95800. - fi; \
  95801. - done; \
  95802. - rev="$$rev ."; \
  95803. - target=`echo $@ | sed s/-recursive//`; \
  95804. - for subdir in $$rev; do \
  95805. - echo "Making $$target in $$subdir"; \
  95806. - if test "$$subdir" = "."; then \
  95807. - local_target="$$target-am"; \
  95808. - else \
  95809. - local_target="$$target"; \
  95810. - fi; \
  95811. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  95812. - || eval $$failcom; \
  95813. - done && test -z "$$fail"
  95814. -tags-recursive:
  95815. - list='$(SUBDIRS)'; for subdir in $$list; do \
  95816. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  95817. - done
  95818. -ctags-recursive:
  95819. - list='$(SUBDIRS)'; for subdir in $$list; do \
  95820. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  95821. - done
  95822. -
  95823. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  95824. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  95825. - unique=`for i in $$list; do \
  95826. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95827. - done | \
  95828. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95829. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  95830. - mkid -fID $$unique
  95831. -tags: TAGS
  95832. +ID: $(am__tagged_files)
  95833. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  95834. +tags: tags-recursive
  95835. +TAGS: tags
  95836.  
  95837. -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  95838. - $(TAGS_FILES) $(LISP)
  95839. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  95840. set x; \
  95841. here=`pwd`; \
  95842. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  95843. @@ -450,12 +520,7 @@
  95844. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  95845. fi; \
  95846. done; \
  95847. - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  95848. - unique=`for i in $$list; do \
  95849. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95850. - done | \
  95851. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95852. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  95853. + $(am__define_uniq_tagged_files); \
  95854. shift; \
  95855. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  95856. test -n "$$unique" || unique=$$empty_fix; \
  95857. @@ -467,15 +532,11 @@
  95858. $$unique; \
  95859. fi; \
  95860. fi
  95861. -ctags: CTAGS
  95862. -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  95863. - $(TAGS_FILES) $(LISP)
  95864. - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  95865. - unique=`for i in $$list; do \
  95866. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  95867. - done | \
  95868. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  95869. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  95870. +ctags: ctags-recursive
  95871. +
  95872. +CTAGS: ctags
  95873. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  95874. + $(am__define_uniq_tagged_files); \
  95875. test -z "$(CTAGS_ARGS)$$unique" \
  95876. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  95877. $$unique
  95878. @@ -484,11 +545,36 @@
  95879. here=`$(am__cd) $(top_builddir) && pwd` \
  95880. && $(am__cd) $(top_srcdir) \
  95881. && gtags -i $(GTAGS_ARGS) "$$here"
  95882. +cscope: cscope.files
  95883. + test ! -s cscope.files \
  95884. + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  95885. +clean-cscope:
  95886. + -rm -f cscope.files
  95887. +cscope.files: clean-cscope cscopelist
  95888. +cscopelist: cscopelist-recursive
  95889. +
  95890. +cscopelist-am: $(am__tagged_files)
  95891. + list='$(am__tagged_files)'; \
  95892. + case "$(srcdir)" in \
  95893. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  95894. + *) sdir=$(subdir)/$(srcdir) ;; \
  95895. + esac; \
  95896. + for i in $$list; do \
  95897. + if test -f "$$i"; then \
  95898. + echo "$(subdir)/$$i"; \
  95899. + else \
  95900. + echo "$$sdir/$$i"; \
  95901. + fi; \
  95902. + done >> $(top_builddir)/cscope.files
  95903.  
  95904. distclean-tags:
  95905. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  95906. + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  95907.  
  95908. -distdir: $(DISTFILES)
  95909. +distdir: $(BUILT_SOURCES)
  95910. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  95911. +
  95912. +distdir-am: $(DISTFILES)
  95913. $(am__remove_distdir)
  95914. test -d "$(distdir)" || mkdir "$(distdir)"
  95915. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  95916. @@ -522,13 +608,10 @@
  95917. done
  95918. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  95919. if test "$$subdir" = .; then :; else \
  95920. - test -d "$(distdir)/$$subdir" \
  95921. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  95922. - || exit 1; \
  95923. - fi; \
  95924. - done
  95925. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  95926. - if test "$$subdir" = .; then :; else \
  95927. + $(am__make_dryrun) \
  95928. + || test -d "$(distdir)/$$subdir" \
  95929. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  95930. + || exit 1; \
  95931. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  95932. $(am__relativize); \
  95933. new_distdir=$$reldir; \
  95934. @@ -556,37 +639,43 @@
  95935. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  95936. || chmod -R a+r "$(distdir)"
  95937. dist-gzip: distdir
  95938. - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  95939. - $(am__remove_distdir)
  95940. + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
  95941. + $(am__post_remove_distdir)
  95942.  
  95943. dist-bzip2: distdir
  95944. - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  95945. - $(am__remove_distdir)
  95946. + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  95947. + $(am__post_remove_distdir)
  95948.  
  95949. -dist-lzma: distdir
  95950. - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  95951. - $(am__remove_distdir)
  95952. +dist-lzip: distdir
  95953. + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  95954. + $(am__post_remove_distdir)
  95955.  
  95956. dist-xz: distdir
  95957. - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  95958. - $(am__remove_distdir)
  95959. + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  95960. + $(am__post_remove_distdir)
  95961.  
  95962. dist-tarZ: distdir
  95963. + @echo WARNING: "Support for distribution archives compressed with" \
  95964. + "legacy program 'compress' is deprecated." >&2
  95965. + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  95966. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  95967. - $(am__remove_distdir)
  95968. + $(am__post_remove_distdir)
  95969.  
  95970. dist-shar: distdir
  95971. - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  95972. - $(am__remove_distdir)
  95973. + @echo WARNING: "Support for shar distribution archives is" \
  95974. + "deprecated." >&2
  95975. + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  95976. + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
  95977. + $(am__post_remove_distdir)
  95978.  
  95979. dist-zip: distdir
  95980. -rm -f $(distdir).zip
  95981. zip -rq $(distdir).zip $(distdir)
  95982. - $(am__remove_distdir)
  95983. + $(am__post_remove_distdir)
  95984.  
  95985. -dist dist-all: distdir
  95986. - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  95987. - $(am__remove_distdir)
  95988. +dist dist-all:
  95989. + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  95990. + $(am__post_remove_distdir)
  95991.  
  95992. # This target untars the dist file and tries a VPATH configuration. Then
  95993. # it guarantees that the distribution is self-contained by making another
  95994. @@ -594,31 +683,33 @@
  95995. distcheck: dist
  95996. case '$(DIST_ARCHIVES)' in \
  95997. *.tar.gz*) \
  95998. - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  95999. + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
  96000. *.tar.bz2*) \
  96001. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  96002. - *.tar.lzma*) \
  96003. - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  96004. + *.tar.lz*) \
  96005. + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  96006. *.tar.xz*) \
  96007. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  96008. *.tar.Z*) \
  96009. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  96010. *.shar.gz*) \
  96011. - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  96012. + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
  96013. *.zip*) \
  96014. unzip $(distdir).zip ;;\
  96015. esac
  96016. - chmod -R a-w $(distdir); chmod a+w $(distdir)
  96017. - mkdir $(distdir)/_build
  96018. - mkdir $(distdir)/_inst
  96019. + chmod -R a-w $(distdir)
  96020. + chmod u+w $(distdir)
  96021. + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
  96022. chmod a-w $(distdir)
  96023. test -d $(distdir)/_build || exit 0; \
  96024. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  96025. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  96026. && am__cwd=`pwd` \
  96027. - && $(am__cd) $(distdir)/_build \
  96028. - && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  96029. + && $(am__cd) $(distdir)/_build/sub \
  96030. + && ../../configure \
  96031. + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  96032. $(DISTCHECK_CONFIGURE_FLAGS) \
  96033. + --srcdir=../.. --prefix="$$dc_install_base" \
  96034. && $(MAKE) $(AM_MAKEFLAGS) \
  96035. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  96036. && $(MAKE) $(AM_MAKEFLAGS) check \
  96037. @@ -641,13 +732,21 @@
  96038. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  96039. && cd "$$am__cwd" \
  96040. || exit 1
  96041. - $(am__remove_distdir)
  96042. + $(am__post_remove_distdir)
  96043. @(echo "$(distdir) archives ready for distribution: "; \
  96044. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  96045. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  96046. distuninstallcheck:
  96047. - @$(am__cd) '$(distuninstallcheck_dir)' \
  96048. - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  96049. + @test -n '$(distuninstallcheck_dir)' || { \
  96050. + echo 'ERROR: trying to run $@ with an empty' \
  96051. + '$$(distuninstallcheck_dir)' >&2; \
  96052. + exit 1; \
  96053. + }; \
  96054. + $(am__cd) '$(distuninstallcheck_dir)' || { \
  96055. + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  96056. + exit 1; \
  96057. + }; \
  96058. + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  96059. || { echo "ERROR: files left after uninstall:" ; \
  96060. if test -n "$(DESTDIR)"; then \
  96061. echo " (check DESTDIR support)"; \
  96062. @@ -681,10 +780,15 @@
  96063.  
  96064. installcheck: installcheck-recursive
  96065. install-strip:
  96066. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  96067. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  96068. - `test -z '$(STRIP)' || \
  96069. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  96070. + if test -z '$(STRIP)'; then \
  96071. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  96072. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  96073. + install; \
  96074. + else \
  96075. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  96076. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  96077. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  96078. + fi
  96079. mostlyclean-generic:
  96080.  
  96081. clean-generic:
  96082. @@ -766,27 +870,28 @@
  96083.  
  96084. uninstall-am: uninstall-includeHEADERS uninstall-pkgdataDATA
  96085.  
  96086. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  96087. - ctags-recursive install-am install-strip tags-recursive
  96088. +.MAKE: $(am__recursive_targets) all install-am install-strip
  96089.  
  96090. -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  96091. - all all-am am--refresh check check-am clean clean-generic \
  96092. - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
  96093. - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
  96094. - distcheck distclean distclean-generic distclean-hdr \
  96095. - distclean-libtool distclean-tags distcleancheck distdir \
  96096. - distuninstallcheck dvi dvi-am html html-am info info-am \
  96097. - install install-am install-data install-data-am install-dvi \
  96098. - install-dvi-am install-exec install-exec-am install-html \
  96099. - install-html-am install-includeHEADERS install-info \
  96100. - install-info-am install-man install-pdf install-pdf-am \
  96101. - install-pkgdataDATA install-ps install-ps-am install-strip \
  96102. - installcheck installcheck-am installdirs installdirs-am \
  96103. - maintainer-clean maintainer-clean-generic mostlyclean \
  96104. - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  96105. - tags tags-recursive uninstall uninstall-am \
  96106. +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  96107. + am--refresh check check-am clean clean-cscope clean-generic \
  96108. + clean-libtool cscope cscopelist-am ctags ctags-am dist \
  96109. + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
  96110. + dist-xz dist-zip distcheck distclean distclean-generic \
  96111. + distclean-hdr distclean-libtool distclean-tags distcleancheck \
  96112. + distdir distuninstallcheck dvi dvi-am html html-am info \
  96113. + info-am install install-am install-data install-data-am \
  96114. + install-dvi install-dvi-am install-exec install-exec-am \
  96115. + install-html install-html-am install-includeHEADERS \
  96116. + install-info install-info-am install-man install-pdf \
  96117. + install-pdf-am install-pkgdataDATA install-ps install-ps-am \
  96118. + install-strip installcheck installcheck-am installdirs \
  96119. + installdirs-am maintainer-clean maintainer-clean-generic \
  96120. + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  96121. + ps ps-am tags tags-am uninstall uninstall-am \
  96122. uninstall-includeHEADERS uninstall-pkgdataDATA
  96123.  
  96124. +.PRECIOUS: Makefile
  96125. +
  96126.  
  96127. libtool: $(LIBTOOL_DEPS)
  96128. $(SHELL) ./config.status --recheck
  96129. diff -Nru Fiasco-master/missing Fiasco-master-pfiasco/missing
  96130. --- Fiasco-master/missing 2013-06-06 22:56:44.000000000 -0400
  96131. +++ Fiasco-master-pfiasco/missing 2019-06-17 21:06:21.655228026 -0400
  96132. @@ -1,11 +1,10 @@
  96133. #! /bin/sh
  96134. -# Common stub for a few missing GNU programs while installing.
  96135. +# Common wrapper for a few potentially missing GNU programs.
  96136.  
  96137. -scriptversion=2009-04-28.21; # UTC
  96138. +scriptversion=2018-03-07.03; # UTC
  96139.  
  96140. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  96141. -# 2008, 2009 Free Software Foundation, Inc.
  96142. -# Originally by Fran,cois Pinard <[email protected]>, 1996.
  96143. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  96144. +# Originally written by Fran,cois Pinard <[email protected]>, 1996.
  96145.  
  96146. # This program is free software; you can redistribute it and/or modify
  96147. # it under the terms of the GNU General Public License as published by
  96148. @@ -18,7 +17,7 @@
  96149. # GNU General Public License for more details.
  96150.  
  96151. # You should have received a copy of the GNU General Public License
  96152. -# along with this program. If not, see <http://www.gnu.org/licenses/>.
  96153. +# along with this program. If not, see <https://www.gnu.org/licenses/>.
  96154.  
  96155. # As a special exception to the GNU General Public License, if you
  96156. # distribute this file as part of a program that contains a
  96157. @@ -26,69 +25,40 @@
  96158. # the same distribution terms that you use for the rest of that program.
  96159.  
  96160. if test $# -eq 0; then
  96161. - echo 1>&2 "Try \`$0 --help' for more information"
  96162. + echo 1>&2 "Try '$0 --help' for more information"
  96163. exit 1
  96164. fi
  96165.  
  96166. -run=:
  96167. -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  96168. -sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  96169. -
  96170. -# In the cases where this matters, `missing' is being run in the
  96171. -# srcdir already.
  96172. -if test -f configure.ac; then
  96173. - configure_ac=configure.ac
  96174. -else
  96175. - configure_ac=configure.in
  96176. -fi
  96177. +case $1 in
  96178.  
  96179. -msg="missing on your system"
  96180. + --is-lightweight)
  96181. + # Used by our autoconf macros to check whether the available missing
  96182. + # script is modern enough.
  96183. + exit 0
  96184. + ;;
  96185.  
  96186. -case $1 in
  96187. ---run)
  96188. - # Try to run requested program, and just exit if it succeeds.
  96189. - run=
  96190. - shift
  96191. - "$@" && exit 0
  96192. - # Exit code 63 means version mismatch. This often happens
  96193. - # when the user try to use an ancient version of a tool on
  96194. - # a file that requires a minimum version. In this case we
  96195. - # we should proceed has if the program had been absent, or
  96196. - # if --run hadn't been passed.
  96197. - if test $? = 63; then
  96198. - run=:
  96199. - msg="probably too old"
  96200. - fi
  96201. - ;;
  96202. + --run)
  96203. + # Back-compat with the calling convention used by older automake.
  96204. + shift
  96205. + ;;
  96206.  
  96207. -h|--h|--he|--hel|--help)
  96208. echo "\
  96209. $0 [OPTION]... PROGRAM [ARGUMENT]...
  96210.  
  96211. -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
  96212. -error status if there is no known handling for PROGRAM.
  96213. +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
  96214. +to PROGRAM being missing or too old.
  96215.  
  96216. Options:
  96217. -h, --help display this help and exit
  96218. -v, --version output version information and exit
  96219. - --run try to run the given command, and emulate it if it fails
  96220.  
  96221. Supported PROGRAM values:
  96222. - aclocal touch file \`aclocal.m4'
  96223. - autoconf touch file \`configure'
  96224. - autoheader touch file \`config.h.in'
  96225. - autom4te touch the output file, or create a stub one
  96226. - automake touch all \`Makefile.in' files
  96227. - bison create \`y.tab.[ch]', if possible, from existing .[ch]
  96228. - flex create \`lex.yy.c', if possible, from existing .c
  96229. - help2man touch the output file
  96230. - lex create \`lex.yy.c', if possible, from existing .c
  96231. - makeinfo touch the output file
  96232. - tar try tar, gnutar, gtar, then tar without non-portable flags
  96233. - yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  96234. + aclocal autoconf autoheader autom4te automake makeinfo
  96235. + bison yacc flex lex help2man
  96236.  
  96237. -Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  96238. -\`g' are ignored when checking the name.
  96239. +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
  96240. +'g' are ignored when checking the name.
  96241.  
  96242. Send bug reports to <[email protected]>."
  96243. exit $?
  96244. @@ -100,277 +70,146 @@
  96245. ;;
  96246.  
  96247. -*)
  96248. - echo 1>&2 "$0: Unknown \`$1' option"
  96249. - echo 1>&2 "Try \`$0 --help' for more information"
  96250. + echo 1>&2 "$0: unknown '$1' option"
  96251. + echo 1>&2 "Try '$0 --help' for more information"
  96252. exit 1
  96253. ;;
  96254.  
  96255. esac
  96256.  
  96257. -# normalize program name to check for.
  96258. -program=`echo "$1" | sed '
  96259. - s/^gnu-//; t
  96260. - s/^gnu//; t
  96261. - s/^g//; t'`
  96262. -
  96263. -# Now exit if we have it, but it failed. Also exit now if we
  96264. -# don't have it and --version was passed (most likely to detect
  96265. -# the program). This is about non-GNU programs, so use $1 not
  96266. -# $program.
  96267. -case $1 in
  96268. - lex*|yacc*)
  96269. - # Not GNU programs, they don't have --version.
  96270. - ;;
  96271. -
  96272. - tar*)
  96273. - if test -n "$run"; then
  96274. - echo 1>&2 "ERROR: \`tar' requires --run"
  96275. - exit 1
  96276. - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  96277. - exit 1
  96278. - fi
  96279. - ;;
  96280. +# Run the given program, remember its exit status.
  96281. +"$@"; st=$?
  96282.  
  96283. - *)
  96284. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  96285. - # We have it, but it failed.
  96286. - exit 1
  96287. - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  96288. - # Could not run --version or --help. This is probably someone
  96289. - # running `$TOOL --version' or `$TOOL --help' to check whether
  96290. - # $TOOL exists and not knowing $TOOL uses missing.
  96291. - exit 1
  96292. - fi
  96293. - ;;
  96294. -esac
  96295. -
  96296. -# If it does not exist, or fails to run (possibly an outdated version),
  96297. -# try to emulate it.
  96298. -case $program in
  96299. - aclocal*)
  96300. - echo 1>&2 "\
  96301. -WARNING: \`$1' is $msg. You should only need it if
  96302. - you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  96303. - to install the \`Automake' and \`Perl' packages. Grab them from
  96304. - any GNU archive site."
  96305. - touch aclocal.m4
  96306. - ;;
  96307. -
  96308. - autoconf*)
  96309. - echo 1>&2 "\
  96310. -WARNING: \`$1' is $msg. You should only need it if
  96311. - you modified \`${configure_ac}'. You might want to install the
  96312. - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
  96313. - archive site."
  96314. - touch configure
  96315. - ;;
  96316. -
  96317. - autoheader*)
  96318. - echo 1>&2 "\
  96319. -WARNING: \`$1' is $msg. You should only need it if
  96320. - you modified \`acconfig.h' or \`${configure_ac}'. You might want
  96321. - to install the \`Autoconf' and \`GNU m4' packages. Grab them
  96322. - from any GNU archive site."
  96323. - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
  96324. - test -z "$files" && files="config.h"
  96325. - touch_files=
  96326. - for f in $files; do
  96327. - case $f in
  96328. - *:*) touch_files="$touch_files "`echo "$f" |
  96329. - sed -e 's/^[^:]*://' -e 's/:.*//'`;;
  96330. - *) touch_files="$touch_files $f.in";;
  96331. - esac
  96332. - done
  96333. - touch $touch_files
  96334. - ;;
  96335. -
  96336. - automake*)
  96337. - echo 1>&2 "\
  96338. -WARNING: \`$1' is $msg. You should only need it if
  96339. - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  96340. - You might want to install the \`Automake' and \`Perl' packages.
  96341. - Grab them from any GNU archive site."
  96342. - find . -type f -name Makefile.am -print |
  96343. - sed 's/\.am$/.in/' |
  96344. - while read f; do touch "$f"; done
  96345. - ;;
  96346. +# If it succeeded, we are done.
  96347. +test $st -eq 0 && exit 0
  96348.  
  96349. - autom4te*)
  96350. - echo 1>&2 "\
  96351. -WARNING: \`$1' is needed, but is $msg.
  96352. - You might have modified some files without having the
  96353. - proper tools for further handling them.
  96354. - You can get \`$1' as part of \`Autoconf' from any GNU
  96355. - archive site."
  96356. -
  96357. - file=`echo "$*" | sed -n "$sed_output"`
  96358. - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  96359. - if test -f "$file"; then
  96360. - touch $file
  96361. - else
  96362. - test -z "$file" || exec >$file
  96363. - echo "#! /bin/sh"
  96364. - echo "# Created by GNU Automake missing as a replacement of"
  96365. - echo "# $ $@"
  96366. - echo "exit 0"
  96367. - chmod +x $file
  96368. - exit 1
  96369. - fi
  96370. - ;;
  96371. -
  96372. - bison*|yacc*)
  96373. - echo 1>&2 "\
  96374. -WARNING: \`$1' $msg. You should only need it if
  96375. - you modified a \`.y' file. You may need the \`Bison' package
  96376. - in order for those modifications to take effect. You can get
  96377. - \`Bison' from any GNU archive site."
  96378. - rm -f y.tab.c y.tab.h
  96379. - if test $# -ne 1; then
  96380. - eval LASTARG="\${$#}"
  96381. - case $LASTARG in
  96382. - *.y)
  96383. - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
  96384. - if test -f "$SRCFILE"; then
  96385. - cp "$SRCFILE" y.tab.c
  96386. - fi
  96387. - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
  96388. - if test -f "$SRCFILE"; then
  96389. - cp "$SRCFILE" y.tab.h
  96390. - fi
  96391. - ;;
  96392. - esac
  96393. - fi
  96394. - if test ! -f y.tab.h; then
  96395. - echo >y.tab.h
  96396. - fi
  96397. - if test ! -f y.tab.c; then
  96398. - echo 'main() { return 0; }' >y.tab.c
  96399. - fi
  96400. - ;;
  96401. -
  96402. - lex*|flex*)
  96403. - echo 1>&2 "\
  96404. -WARNING: \`$1' is $msg. You should only need it if
  96405. - you modified a \`.l' file. You may need the \`Flex' package
  96406. - in order for those modifications to take effect. You can get
  96407. - \`Flex' from any GNU archive site."
  96408. - rm -f lex.yy.c
  96409. - if test $# -ne 1; then
  96410. - eval LASTARG="\${$#}"
  96411. - case $LASTARG in
  96412. - *.l)
  96413. - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
  96414. - if test -f "$SRCFILE"; then
  96415. - cp "$SRCFILE" lex.yy.c
  96416. - fi
  96417. - ;;
  96418. - esac
  96419. - fi
  96420. - if test ! -f lex.yy.c; then
  96421. - echo 'main() { return 0; }' >lex.yy.c
  96422. - fi
  96423. - ;;
  96424. -
  96425. - help2man*)
  96426. - echo 1>&2 "\
  96427. -WARNING: \`$1' is $msg. You should only need it if
  96428. - you modified a dependency of a manual page. You may need the
  96429. - \`Help2man' package in order for those modifications to take
  96430. - effect. You can get \`Help2man' from any GNU archive site."
  96431. -
  96432. - file=`echo "$*" | sed -n "$sed_output"`
  96433. - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  96434. - if test -f "$file"; then
  96435. - touch $file
  96436. - else
  96437. - test -z "$file" || exec >$file
  96438. - echo ".ab help2man is required to generate this page"
  96439. - exit $?
  96440. - fi
  96441. - ;;
  96442. -
  96443. - makeinfo*)
  96444. - echo 1>&2 "\
  96445. -WARNING: \`$1' is $msg. You should only need it if
  96446. - you modified a \`.texi' or \`.texinfo' file, or any other file
  96447. - indirectly affecting the aspect of the manual. The spurious
  96448. - call might also be the consequence of using a buggy \`make' (AIX,
  96449. - DU, IRIX). You might want to install the \`Texinfo' package or
  96450. - the \`GNU make' package. Grab either from any GNU archive site."
  96451. - # The file to touch is that specified with -o ...
  96452. - file=`echo "$*" | sed -n "$sed_output"`
  96453. - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  96454. - if test -z "$file"; then
  96455. - # ... or it is the one specified with @setfilename ...
  96456. - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  96457. - file=`sed -n '
  96458. - /^@setfilename/{
  96459. - s/.* \([^ ]*\) *$/\1/
  96460. - p
  96461. - q
  96462. - }' $infile`
  96463. - # ... or it is derived from the source name (dir/f.texi becomes f.info)
  96464. - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
  96465. - fi
  96466. - # If the file does not exist, the user really needs makeinfo;
  96467. - # let's fail without touching anything.
  96468. - test -f $file || exit 1
  96469. - touch $file
  96470. - ;;
  96471. -
  96472. - tar*)
  96473. - shift
  96474. -
  96475. - # We have already tried tar in the generic part.
  96476. - # Look for gnutar/gtar before invocation to avoid ugly error
  96477. - # messages.
  96478. - if (gnutar --version > /dev/null 2>&1); then
  96479. - gnutar "$@" && exit 0
  96480. - fi
  96481. - if (gtar --version > /dev/null 2>&1); then
  96482. - gtar "$@" && exit 0
  96483. - fi
  96484. - firstarg="$1"
  96485. - if shift; then
  96486. - case $firstarg in
  96487. - *o*)
  96488. - firstarg=`echo "$firstarg" | sed s/o//`
  96489. - tar "$firstarg" "$@" && exit 0
  96490. - ;;
  96491. - esac
  96492. - case $firstarg in
  96493. - *h*)
  96494. - firstarg=`echo "$firstarg" | sed s/h//`
  96495. - tar "$firstarg" "$@" && exit 0
  96496. - ;;
  96497. - esac
  96498. - fi
  96499. -
  96500. - echo 1>&2 "\
  96501. -WARNING: I can't seem to be able to run \`tar' with the given arguments.
  96502. - You may want to install GNU tar or Free paxutils, or check the
  96503. - command line arguments."
  96504. - exit 1
  96505. - ;;
  96506. -
  96507. - *)
  96508. - echo 1>&2 "\
  96509. -WARNING: \`$1' is needed, and is $msg.
  96510. - You might have modified some files without having the
  96511. - proper tools for further handling them. Check the \`README' file,
  96512. - it often tells you about the needed prerequisites for installing
  96513. - this package. You may also peek at any GNU archive site, in case
  96514. - some other package would contain this missing \`$1' program."
  96515. - exit 1
  96516. - ;;
  96517. -esac
  96518. +# Also exit now if we it failed (or wasn't found), and '--version' was
  96519. +# passed; such an option is passed most likely to detect whether the
  96520. +# program is present and works.
  96521. +case $2 in --version|--help) exit $st;; esac
  96522. +
  96523. +# Exit code 63 means version mismatch. This often happens when the user
  96524. +# tries to use an ancient version of a tool on a file that requires a
  96525. +# minimum version.
  96526. +if test $st -eq 63; then
  96527. + msg="probably too old"
  96528. +elif test $st -eq 127; then
  96529. + # Program was missing.
  96530. + msg="missing on your system"
  96531. +else
  96532. + # Program was found and executed, but failed. Give up.
  96533. + exit $st
  96534. +fi
  96535.  
  96536. -exit 0
  96537. +perl_URL=https://www.perl.org/
  96538. +flex_URL=https://github.com/westes/flex
  96539. +gnu_software_URL=https://www.gnu.org/software
  96540. +
  96541. +program_details ()
  96542. +{
  96543. + case $1 in
  96544. + aclocal|automake)
  96545. + echo "The '$1' program is part of the GNU Automake package:"
  96546. + echo "<$gnu_software_URL/automake>"
  96547. + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
  96548. + echo "<$gnu_software_URL/autoconf>"
  96549. + echo "<$gnu_software_URL/m4/>"
  96550. + echo "<$perl_URL>"
  96551. + ;;
  96552. + autoconf|autom4te|autoheader)
  96553. + echo "The '$1' program is part of the GNU Autoconf package:"
  96554. + echo "<$gnu_software_URL/autoconf/>"
  96555. + echo "It also requires GNU m4 and Perl in order to run:"
  96556. + echo "<$gnu_software_URL/m4/>"
  96557. + echo "<$perl_URL>"
  96558. + ;;
  96559. + esac
  96560. +}
  96561. +
  96562. +give_advice ()
  96563. +{
  96564. + # Normalize program name to check for.
  96565. + normalized_program=`echo "$1" | sed '
  96566. + s/^gnu-//; t
  96567. + s/^gnu//; t
  96568. + s/^g//; t'`
  96569. +
  96570. + printf '%s\n' "'$1' is $msg."
  96571. +
  96572. + configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
  96573. + case $normalized_program in
  96574. + autoconf*)
  96575. + echo "You should only need it if you modified 'configure.ac',"
  96576. + echo "or m4 files included by it."
  96577. + program_details 'autoconf'
  96578. + ;;
  96579. + autoheader*)
  96580. + echo "You should only need it if you modified 'acconfig.h' or"
  96581. + echo "$configure_deps."
  96582. + program_details 'autoheader'
  96583. + ;;
  96584. + automake*)
  96585. + echo "You should only need it if you modified 'Makefile.am' or"
  96586. + echo "$configure_deps."
  96587. + program_details 'automake'
  96588. + ;;
  96589. + aclocal*)
  96590. + echo "You should only need it if you modified 'acinclude.m4' or"
  96591. + echo "$configure_deps."
  96592. + program_details 'aclocal'
  96593. + ;;
  96594. + autom4te*)
  96595. + echo "You might have modified some maintainer files that require"
  96596. + echo "the 'autom4te' program to be rebuilt."
  96597. + program_details 'autom4te'
  96598. + ;;
  96599. + bison*|yacc*)
  96600. + echo "You should only need it if you modified a '.y' file."
  96601. + echo "You may want to install the GNU Bison package:"
  96602. + echo "<$gnu_software_URL/bison/>"
  96603. + ;;
  96604. + lex*|flex*)
  96605. + echo "You should only need it if you modified a '.l' file."
  96606. + echo "You may want to install the Fast Lexical Analyzer package:"
  96607. + echo "<$flex_URL>"
  96608. + ;;
  96609. + help2man*)
  96610. + echo "You should only need it if you modified a dependency" \
  96611. + "of a man page."
  96612. + echo "You may want to install the GNU Help2man package:"
  96613. + echo "<$gnu_software_URL/help2man/>"
  96614. + ;;
  96615. + makeinfo*)
  96616. + echo "You should only need it if you modified a '.texi' file, or"
  96617. + echo "any other file indirectly affecting the aspect of the manual."
  96618. + echo "You might want to install the Texinfo package:"
  96619. + echo "<$gnu_software_URL/texinfo/>"
  96620. + echo "The spurious makeinfo call might also be the consequence of"
  96621. + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
  96622. + echo "want to install GNU make:"
  96623. + echo "<$gnu_software_URL/make/>"
  96624. + ;;
  96625. + *)
  96626. + echo "You might have modified some files without having the proper"
  96627. + echo "tools for further handling them. Check the 'README' file, it"
  96628. + echo "often tells you about the needed prerequisites for installing"
  96629. + echo "this package. You may also peek at any GNU archive site, in"
  96630. + echo "case some other package contains this missing '$1' program."
  96631. + ;;
  96632. + esac
  96633. +}
  96634. +
  96635. +give_advice "$1" | sed -e '1s/^/WARNING: /' \
  96636. + -e '2,$s/^/ /' >&2
  96637. +
  96638. +# Propagate the correct exit status (expected to be 127 for a program
  96639. +# not found, 63 for a program that failed due to version mismatch).
  96640. +exit $st
  96641.  
  96642. # Local variables:
  96643. -# eval: (add-hook 'write-file-hooks 'time-stamp)
  96644. +# eval: (add-hook 'before-save-hook 'time-stamp)
  96645. # time-stamp-start: "scriptversion="
  96646. # time-stamp-format: "%:y-%02m-%02d.%02H"
  96647. -# time-stamp-time-zone: "UTC"
  96648. +# time-stamp-time-zone: "UTC0"
  96649. # time-stamp-end: "; # UTC"
  96650. # End:
  96651. diff -Nru Fiasco-master/output/Makefile.am Fiasco-master-pfiasco/output/Makefile.am
  96652. --- Fiasco-master/output/Makefile.am 2013-06-06 22:56:44.000000000 -0400
  96653. +++ Fiasco-master-pfiasco/output/Makefile.am 2019-06-17 20:59:45.495802300 -0400
  96654. @@ -14,4 +14,4 @@
  96655. libfiasco_output_la_SOURCES = matrices.c mc.c nd.c tree.c weights.c write.c
  96656. noinst_HEADERS = matrices.h mc.h nd.h tree.h weights.h write.h
  96657. EXTRA_DIST = MANIFEST
  96658. -INCLUDES = @INCLUDES@
  96659. +AM_CPPFLAGS = @AM_CPPFLAGS@
  96660. diff -Nru Fiasco-master/output/Makefile.in Fiasco-master-pfiasco/output/Makefile.in
  96661. --- Fiasco-master/output/Makefile.in 2013-06-06 22:56:44.000000000 -0400
  96662. +++ Fiasco-master-pfiasco/output/Makefile.in 2019-06-17 21:04:59.736765966 -0400
  96663. @@ -1,9 +1,8 @@
  96664. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  96665. +# Makefile.in generated by automake 1.16.1 from Makefile.am.
  96666. # @configure_input@
  96667.  
  96668. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  96669. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  96670. -# Inc.
  96671. +# Copyright (C) 1994-2018 Free Software Foundation, Inc.
  96672. +
  96673. # This Makefile.in is free software; the Free Software Foundation
  96674. # gives unlimited permission to copy and/or distribute it,
  96675. # with or without modifications, as long as this notice is preserved.
  96676. @@ -17,6 +16,61 @@
  96677.  
  96678.  
  96679. VPATH = @srcdir@
  96680. +am__is_gnu_make = { \
  96681. + if test -z '$(MAKELEVEL)'; then \
  96682. + false; \
  96683. + elif test -n '$(MAKE_HOST)'; then \
  96684. + true; \
  96685. + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
  96686. + true; \
  96687. + else \
  96688. + false; \
  96689. + fi; \
  96690. +}
  96691. +am__make_running_with_option = \
  96692. + case $${target_option-} in \
  96693. + ?) ;; \
  96694. + *) echo "am__make_running_with_option: internal error: invalid" \
  96695. + "target option '$${target_option-}' specified" >&2; \
  96696. + exit 1;; \
  96697. + esac; \
  96698. + has_opt=no; \
  96699. + sane_makeflags=$$MAKEFLAGS; \
  96700. + if $(am__is_gnu_make); then \
  96701. + sane_makeflags=$$MFLAGS; \
  96702. + else \
  96703. + case $$MAKEFLAGS in \
  96704. + *\\[\ \ ]*) \
  96705. + bs=\\; \
  96706. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  96707. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  96708. + esac; \
  96709. + fi; \
  96710. + skip_next=no; \
  96711. + strip_trailopt () \
  96712. + { \
  96713. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  96714. + }; \
  96715. + for flg in $$sane_makeflags; do \
  96716. + test $$skip_next = yes && { skip_next=no; continue; }; \
  96717. + case $$flg in \
  96718. + *=*|--*) continue;; \
  96719. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  96720. + -*I?*) strip_trailopt 'I';; \
  96721. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  96722. + -*O?*) strip_trailopt 'O';; \
  96723. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  96724. + -*l?*) strip_trailopt 'l';; \
  96725. + -[dEDm]) skip_next=yes;; \
  96726. + -[JT]) skip_next=yes;; \
  96727. + esac; \
  96728. + case $$flg in \
  96729. + *$$target_option*) has_opt=yes; break;; \
  96730. + esac; \
  96731. + done; \
  96732. + test $$has_opt = yes
  96733. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  96734. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  96735. pkgdatadir = $(datadir)/@PACKAGE@
  96736. pkgincludedir = $(includedir)/@PACKAGE@
  96737. pkglibdir = $(libdir)/@PACKAGE@
  96738. @@ -36,12 +90,15 @@
  96739. build_triplet = @build@
  96740. host_triplet = @host@
  96741. subdir = output
  96742. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  96743. - $(srcdir)/Makefile.in ChangeLog
  96744. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  96745. -am__aclocal_m4_deps = $(top_srcdir)/configure.in
  96746. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  96747. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  96748. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  96749. + $(top_srcdir)/configure.ac
  96750. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  96751. $(ACLOCAL_M4)
  96752. +DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
  96753. + $(am__DIST_COMMON)
  96754. mkinstalldirs = $(install_sh) -d
  96755. CONFIG_HEADER = $(top_builddir)/config.h
  96756. CONFIG_CLEAN_FILES =
  96757. @@ -51,27 +108,81 @@
  96758. am_libfiasco_output_la_OBJECTS = matrices.lo mc.lo nd.lo tree.lo \
  96759. weights.lo write.lo
  96760. libfiasco_output_la_OBJECTS = $(am_libfiasco_output_la_OBJECTS)
  96761. +AM_V_lt = $(am__v_lt_@AM_V@)
  96762. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  96763. +am__v_lt_0 = --silent
  96764. +am__v_lt_1 =
  96765. +AM_V_P = $(am__v_P_@AM_V@)
  96766. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  96767. +am__v_P_0 = false
  96768. +am__v_P_1 = :
  96769. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  96770. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  96771. +am__v_GEN_0 = @echo " GEN " $@;
  96772. +am__v_GEN_1 =
  96773. +AM_V_at = $(am__v_at_@AM_V@)
  96774. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  96775. +am__v_at_0 = @
  96776. +am__v_at_1 =
  96777. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  96778. depcomp = $(SHELL) $(top_srcdir)/depcomp
  96779. -am__depfiles_maybe = depfiles
  96780. +am__maybe_remake_depfiles = depfiles
  96781. +am__depfiles_remade = ./$(DEPDIR)/matrices.Plo ./$(DEPDIR)/mc.Plo \
  96782. + ./$(DEPDIR)/nd.Plo ./$(DEPDIR)/tree.Plo \
  96783. + ./$(DEPDIR)/weights.Plo ./$(DEPDIR)/write.Plo
  96784. am__mv = mv -f
  96785. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  96786. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  96787. -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96788. - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  96789. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  96790. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  96791. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  96792. + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  96793. + $(AM_CFLAGS) $(CFLAGS)
  96794. +AM_V_CC = $(am__v_CC_@AM_V@)
  96795. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  96796. +am__v_CC_0 = @echo " CC " $@;
  96797. +am__v_CC_1 =
  96798. CCLD = $(CC)
  96799. -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  96800. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  96801. - $(LDFLAGS) -o $@
  96802. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  96803. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  96804. + $(AM_LDFLAGS) $(LDFLAGS) -o $@
  96805. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  96806. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  96807. +am__v_CCLD_0 = @echo " CCLD " $@;
  96808. +am__v_CCLD_1 =
  96809. SOURCES = $(libfiasco_output_la_SOURCES)
  96810. DIST_SOURCES = $(libfiasco_output_la_SOURCES)
  96811. +am__can_run_installinfo = \
  96812. + case $$AM_UPDATE_INFO_DIR in \
  96813. + n|no|NO) false;; \
  96814. + *) (install-info --version) >/dev/null 2>&1;; \
  96815. + esac
  96816. HEADERS = $(noinst_HEADERS)
  96817. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  96818. +# Read a list of newline-separated strings from the standard input,
  96819. +# and print each of them once, without duplicates. Input order is
  96820. +# *not* preserved.
  96821. +am__uniquify_input = $(AWK) '\
  96822. + BEGIN { nonempty = 0; } \
  96823. + { items[$$0] = 1; nonempty = 1; } \
  96824. + END { if (nonempty) { for (i in items) print i; }; } \
  96825. +'
  96826. +# Make sure the list of sources is unique. This is necessary because,
  96827. +# e.g., the same source file might be shared among _SOURCES variables
  96828. +# for different programs/libraries.
  96829. +am__define_uniq_tagged_files = \
  96830. + list='$(am__tagged_files)'; \
  96831. + unique=`for i in $$list; do \
  96832. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  96833. + done | $(am__uniquify_input)`
  96834. ETAGS = etags
  96835. CTAGS = ctags
  96836. +am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
  96837. + ChangeLog
  96838. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  96839. ACLOCAL = @ACLOCAL@
  96840. AMTAR = @AMTAR@
  96841. +AM_CPPFLAGS = @AM_CPPFLAGS@
  96842. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  96843. AR = @AR@
  96844. AUTOCONF = @AUTOCONF@
  96845. AUTOHEADER = @AUTOHEADER@
  96846. @@ -85,6 +196,7 @@
  96847. CYGPATH_W = @CYGPATH_W@
  96848. DEFS = @DEFS@
  96849. DEPDIR = @DEPDIR@
  96850. +DLLTOOL = @DLLTOOL@
  96851. DSYMUTIL = @DSYMUTIL@
  96852. DUMPBIN = @DUMPBIN@
  96853. ECHO_C = @ECHO_C@
  96854. @@ -94,7 +206,6 @@
  96855. EXEEXT = @EXEEXT@
  96856. FGREP = @FGREP@
  96857. GREP = @GREP@
  96858. -INCLUDES = @INCLUDES@
  96859. INSTALL = @INSTALL@
  96860. INSTALL_DATA = @INSTALL_DATA@
  96861. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  96862. @@ -109,7 +220,9 @@
  96863. LIPO = @LIPO@
  96864. LN_S = @LN_S@
  96865. LTLIBOBJS = @LTLIBOBJS@
  96866. +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  96867. MAKEINFO = @MAKEINFO@
  96868. +MANIFEST_TOOL = @MANIFEST_TOOL@
  96869. MKDIR_P = @MKDIR_P@
  96870. NM = @NM@
  96871. NMEDIT = @NMEDIT@
  96872. @@ -135,6 +248,7 @@
  96873. abs_srcdir = @abs_srcdir@
  96874. abs_top_builddir = @abs_top_builddir@
  96875. abs_top_srcdir = @abs_top_srcdir@
  96876. +ac_ct_AR = @ac_ct_AR@
  96877. ac_ct_CC = @ac_ct_CC@
  96878. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  96879. am__include = @am__include@
  96880. @@ -167,7 +281,6 @@
  96881. libexecdir = @libexecdir@
  96882. localedir = @localedir@
  96883. localstatedir = @localstatedir@
  96884. -lt_ECHO = @lt_ECHO@
  96885. mandir = @mandir@
  96886. mkdir_p = @mkdir_p@
  96887. oldincludedir = @oldincludedir@
  96888. @@ -205,14 +318,13 @@
  96889. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu output/Makefile'; \
  96890. $(am__cd) $(top_srcdir) && \
  96891. $(AUTOMAKE) --gnu output/Makefile
  96892. -.PRECIOUS: Makefile
  96893. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  96894. @case '$?' in \
  96895. *config.status*) \
  96896. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  96897. *) \
  96898. - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  96899. - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  96900. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
  96901. + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
  96902. esac;
  96903.  
  96904. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  96905. @@ -226,14 +338,17 @@
  96906.  
  96907. clean-noinstLTLIBRARIES:
  96908. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  96909. - @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
  96910. - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  96911. - test "$$dir" != "$$p" || dir=.; \
  96912. - echo "rm -f \"$${dir}/so_locations\""; \
  96913. - rm -f "$${dir}/so_locations"; \
  96914. - done
  96915. -libfiasco-output.la: $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_DEPENDENCIES)
  96916. - $(LINK) $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_LIBADD) $(LIBS)
  96917. + @list='$(noinst_LTLIBRARIES)'; \
  96918. + locs=`for p in $$list; do echo $$p; done | \
  96919. + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  96920. + sort -u`; \
  96921. + test -z "$$locs" || { \
  96922. + echo rm -f $${locs}; \
  96923. + rm -f $${locs}; \
  96924. + }
  96925. +
  96926. +libfiasco-output.la: $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_DEPENDENCIES) $(EXTRA_libfiasco_output_la_DEPENDENCIES)
  96927. + $(AM_V_CCLD)$(LINK) $(libfiasco_output_la_OBJECTS) $(libfiasco_output_la_LIBADD) $(LIBS)
  96928.  
  96929. mostlyclean-compile:
  96930. -rm -f *.$(OBJEXT)
  96931. @@ -241,33 +356,39 @@
  96932. distclean-compile:
  96933. -rm -f *.tab.c
  96934.  
  96935. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@
  96936. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@
  96937. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@
  96938. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@
  96939. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@
  96940. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/write.Plo@am__quote@
  96941. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/matrices.Plo@am__quote@ # am--include-marker
  96942. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mc.Plo@am__quote@ # am--include-marker
  96943. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nd.Plo@am__quote@ # am--include-marker
  96944. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tree.Plo@am__quote@ # am--include-marker
  96945. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/weights.Plo@am__quote@ # am--include-marker
  96946. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/write.Plo@am__quote@ # am--include-marker
  96947. +
  96948. +$(am__depfiles_remade):
  96949. + @$(MKDIR_P) $(@D)
  96950. + @echo '# dummy' >$@-t && $(am__mv) $@-t $@
  96951. +
  96952. +am--depfiles: $(am__depfiles_remade)
  96953.  
  96954. .c.o:
  96955. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96956. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96957. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96958. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96959. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96960. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96961. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96962. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  96963. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  96964.  
  96965. .c.obj:
  96966. -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  96967. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96968. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96969. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  96970. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  96971. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  96972. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96973. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  96974. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  96975.  
  96976. .c.lo:
  96977. -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96978. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  96979. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  96980. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  96981. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  96982. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  96983. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  96984. -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  96985. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  96986.  
  96987. mostlyclean-libtool:
  96988. -rm -f *.lo
  96989. @@ -275,26 +396,15 @@
  96990. clean-libtool:
  96991. -rm -rf .libs _libs
  96992.  
  96993. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  96994. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  96995. - unique=`for i in $$list; do \
  96996. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  96997. - done | \
  96998. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  96999. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  97000. - mkid -fID $$unique
  97001. -tags: TAGS
  97002. +ID: $(am__tagged_files)
  97003. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  97004. +tags: tags-am
  97005. +TAGS: tags
  97006.  
  97007. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97008. - $(TAGS_FILES) $(LISP)
  97009. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  97010. set x; \
  97011. here=`pwd`; \
  97012. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97013. - unique=`for i in $$list; do \
  97014. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97015. - done | \
  97016. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97017. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  97018. + $(am__define_uniq_tagged_files); \
  97019. shift; \
  97020. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  97021. test -n "$$unique" || unique=$$empty_fix; \
  97022. @@ -306,15 +416,11 @@
  97023. $$unique; \
  97024. fi; \
  97025. fi
  97026. -ctags: CTAGS
  97027. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  97028. - $(TAGS_FILES) $(LISP)
  97029. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  97030. - unique=`for i in $$list; do \
  97031. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  97032. - done | \
  97033. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  97034. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  97035. +ctags: ctags-am
  97036. +
  97037. +CTAGS: ctags
  97038. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  97039. + $(am__define_uniq_tagged_files); \
  97040. test -z "$(CTAGS_ARGS)$$unique" \
  97041. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  97042. $$unique
  97043. @@ -323,11 +429,29 @@
  97044. here=`$(am__cd) $(top_builddir) && pwd` \
  97045. && $(am__cd) $(top_srcdir) \
  97046. && gtags -i $(GTAGS_ARGS) "$$here"
  97047. +cscopelist: cscopelist-am
  97048. +
  97049. +cscopelist-am: $(am__tagged_files)
  97050. + list='$(am__tagged_files)'; \
  97051. + case "$(srcdir)" in \
  97052. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  97053. + *) sdir=$(subdir)/$(srcdir) ;; \
  97054. + esac; \
  97055. + for i in $$list; do \
  97056. + if test -f "$$i"; then \
  97057. + echo "$(subdir)/$$i"; \
  97058. + else \
  97059. + echo "$$sdir/$$i"; \
  97060. + fi; \
  97061. + done >> $(top_builddir)/cscope.files
  97062.  
  97063. distclean-tags:
  97064. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  97065.  
  97066. -distdir: $(DISTFILES)
  97067. +distdir: $(BUILT_SOURCES)
  97068. + $(MAKE) $(AM_MAKEFLAGS) distdir-am
  97069. +
  97070. +distdir-am: $(DISTFILES)
  97071. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  97072. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  97073. list='$(DISTFILES)'; \
  97074. @@ -371,10 +495,15 @@
  97075.  
  97076. installcheck: installcheck-am
  97077. install-strip:
  97078. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  97079. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  97080. - `test -z '$(STRIP)' || \
  97081. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  97082. + if test -z '$(STRIP)'; then \
  97083. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  97084. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  97085. + install; \
  97086. + else \
  97087. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  97088. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  97089. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  97090. + fi
  97091. mostlyclean-generic:
  97092.  
  97093. clean-generic:
  97094. @@ -392,7 +521,12 @@
  97095. mostlyclean-am
  97096.  
  97097. distclean: distclean-am
  97098. - -rm -rf ./$(DEPDIR)
  97099. + -rm -f ./$(DEPDIR)/matrices.Plo
  97100. + -rm -f ./$(DEPDIR)/mc.Plo
  97101. + -rm -f ./$(DEPDIR)/nd.Plo
  97102. + -rm -f ./$(DEPDIR)/tree.Plo
  97103. + -rm -f ./$(DEPDIR)/weights.Plo
  97104. + -rm -f ./$(DEPDIR)/write.Plo
  97105. -rm -f Makefile
  97106. distclean-am: clean-am distclean-compile distclean-generic \
  97107. distclean-tags
  97108. @@ -438,7 +572,12 @@
  97109. installcheck-am:
  97110.  
  97111. maintainer-clean: maintainer-clean-am
  97112. - -rm -rf ./$(DEPDIR)
  97113. + -rm -f ./$(DEPDIR)/matrices.Plo
  97114. + -rm -f ./$(DEPDIR)/mc.Plo
  97115. + -rm -f ./$(DEPDIR)/nd.Plo
  97116. + -rm -f ./$(DEPDIR)/tree.Plo
  97117. + -rm -f ./$(DEPDIR)/weights.Plo
  97118. + -rm -f ./$(DEPDIR)/write.Plo
  97119. -rm -f Makefile
  97120. maintainer-clean-am: distclean-am maintainer-clean-generic
  97121.  
  97122. @@ -459,18 +598,21 @@
  97123.  
  97124. .MAKE: install-am install-strip
  97125.  
  97126. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  97127. - clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  97128. - distclean-compile distclean-generic distclean-libtool \
  97129. - distclean-tags distdir dvi dvi-am html html-am info info-am \
  97130. - install install-am install-data install-data-am install-dvi \
  97131. - install-dvi-am install-exec install-exec-am install-html \
  97132. - install-html-am install-info install-info-am install-man \
  97133. - install-pdf install-pdf-am install-ps install-ps-am \
  97134. - install-strip installcheck installcheck-am installdirs \
  97135. - maintainer-clean maintainer-clean-generic mostlyclean \
  97136. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  97137. - pdf pdf-am ps ps-am tags uninstall uninstall-am
  97138. +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
  97139. + clean-generic clean-libtool clean-noinstLTLIBRARIES \
  97140. + cscopelist-am ctags ctags-am distclean distclean-compile \
  97141. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  97142. + dvi-am html html-am info info-am install install-am \
  97143. + install-data install-data-am install-dvi install-dvi-am \
  97144. + install-exec install-exec-am install-html install-html-am \
  97145. + install-info install-info-am install-man install-pdf \
  97146. + install-pdf-am install-ps install-ps-am install-strip \
  97147. + installcheck installcheck-am installdirs maintainer-clean \
  97148. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  97149. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  97150. + tags tags-am uninstall uninstall-am
  97151. +
  97152. +.PRECIOUS: Makefile
  97153.  
  97154.  
  97155. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  97156. diff -Nru Fiasco-master/stamp-h Fiasco-master-pfiasco/stamp-h
  97157. --- Fiasco-master/stamp-h 1969-12-31 19:00:00.000000000 -0500
  97158. +++ Fiasco-master-pfiasco/stamp-h 2019-06-17 21:08:34.419356191 -0400
  97159. @@ -0,0 +1 @@
  97160. +timestamp
Advertisement
Add Comment
Please, Sign In to add comment